#profil-page .parallax-item:first-child {
  position: relative;
  min-height: 500px;
  overflow: hidden
}

#profil-page .parallax-item:nth-child(2) {
  z-index: 2;
  margin-top: -120px;
  min-height: 0;
}

.image-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  overflow: hidden
}
.image-background img {
  width: 100%;
  height: 100vh;
  object-fit: cover;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
.profile-card {
  border-radius: var(--border-radius-20);
  box-shadow: var(--xds-shadow)
}

.social-profil-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  opacity: 0.7;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.social-profil-links a:hover {
  transform: scale(1.08);
  opacity: 1;
}

.social-profil-links a:focus-visible {
  transform: scale(1.08);
  opacity: 1;
  outline: none;
}

.social-profil-links svg {
  width: 26px;
  height: 26px;
  color: #2b2b2b;
  transition: color 0.3s ease;
}

[data-bs-theme="dark"] .social-profil-links svg {
  color: #cacaca;
}

.social-profil-links .xdsbtn-twitch:hover svg {
  color: var(--xdsbtn-hover-Twitch);
}

.social-profil-links .xdsbtn-instagram:hover svg {
  color: var(--xdsbtn-hover-Instagram);
}

.social-profil-links .xdsbtn-threads:hover svg {
  color: var(--xdsbtn-hover-Threads);
}

.social-profil-links .xdsbtn-tiktok:hover svg {
  color: var(--xdsbtn-hover-Tiktok);
}

.social-profil-links .xdsbtn-youtube:hover svg {
  color: var(--xdsbtn-hover-YouTube);
}
.section-title {
  font-size: .9rem;
  font-weight: 800;
  letter-spacing: 1px;
  padding-bottom: 10px;
  margin-bottom: 20px
}
.season-item {
  display: flex;
  align-items: center;
  padding: 10px;
  border-radius: var(--border-radius-10);
  margin-bottom: 8px
}
.season-icon {
  width: 40px;
  height: 40px;
  background: #2ecc71;
  color: #fff;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  margin-right: 12px
}
.season-name {
  font-weight: 600;
  font-size: .9rem;
  margin-bottom: 0
}
.season-detail {
  font-size: .75rem;
  color: #718096
}

.game-thumb {
  position: relative;
  border-radius: var(--border-radius-10);
  overflow: hidden;
  aspect-ratio: 3/4;
  background-size: cover;
  background-position: center;
  transition: .3s
}

.game-title {
  position: absolute;
  color: white;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 1.5rem 1rem 1rem;
  background: linear-gradient(transparent,rgba(0,0,0,.8));
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.3s ease;
  text-align: center;
}

.game-thumb:hover .game-title {
  opacity: 1;
  transform: translateY(0);
}

.profile-cards-list {
  display: grid;
  gap: 1rem;
}

.profile-card-item {
  display: grid;
  grid-template-columns: 190px 1fr;
  gap: 1rem;
}

.profile-card-visual img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  display: block;
}

.profile-card-meta p {
  margin-bottom: 0.45rem;
  font-size: 0.92rem;
}

.profile-card-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

#profil-page .profile-card-actions .btn .icon svg {
  width: 15px;
  height: 15px;
}

[data-bs-theme=dark] .profile-card-item {
  border-color: rgba(255, 255, 255, 0.18);
}

@media (max-width: 767px) {
  .profile-card-item {
    grid-template-columns: 1fr;
  }

  .profile-card-visual {
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .profile-card-visual img {
    max-width: 220px;
  }

}

.chart-container {
  position: relative;
  height: 180px;
  width: 100%
}
.mk-compare-chart-wrap {
  position: relative;
  height: 320px;
  width: 100%;
}

.mk-compare-player-row {
  display: flex;
  align-items: center;
  gap: 12px;
}

.mk-compare-player-row label {
  white-space: nowrap;
}

.mk-compare-player-row .ts-wrapper,
.mk-compare-player-row select {
  flex: 1;
  min-width: 0;
}

@media (max-width: 767px) {
  .mk-compare-player-row {
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
  }
}

#ProfilModal .modal-content,
#ProfilModal .modal-body {
  overflow: visible !important;
}

#mkCompareModal .modal-content,
#mkCompareModal .modal-body {
  overflow: visible !important;
}

#ProfilModal input,
#ProfilModal textarea {
  background-color: #ececec
}
#ProfilModal #drop-zone {
  border: 2px dashed #ccc!important;
  cursor: pointer;
  background: #f8f9fa;
  transition: .3s
}
[data-bs-theme=dark] #ProfilModal input,
[data-bs-theme=dark] #ProfilModal textarea {
  background-color: #3a3a3a;
  color: #fff
}
[data-bs-theme=dark] #ProfilModal #drop-zone {
  border: 2px dashed #666!important;
  background: #2a2a2a
}

.ts-dropdown {
    z-index: 1060 !important;
    position: absolute !important;
}
.ts-control {
    min-height: 38px !important;
    padding: 6px 12px !important;
    font-size: 0.9rem !important;
}

.ts-dropdown-content {
    max-height: 200px !important;
}

.ts-wrapper {
    margin-bottom: 0 !important;
}

[data-bs-theme=dark] .ts-control,
[data-bs-theme=dark] .ts-dropdown-content {
	color: #fff !important;
}

/* Container centré avec un fond très clair pour délimiter la zone */
#nav-tab {
    padding: 6px;
    border-radius: 12px;
    display: inline-flex; /* Permet au container de s'adapter à la largeur des boutons */
    margin-bottom: 2rem;
	  font-family: "Urbanist";
    font-weight: 500;
}

/* Style des boutons (onglets) */
#nav-tab .nav-link {
    color: #6c757d;
    border: 1px solid transparent !important;
    border-radius: 8px !important;
    padding: 8px 20px;
    font-size: 0.9rem;
    transition: all 0.2s ease-in-out;
    background: transparent;
}

/* Survol léger */
#nav-tab .nav-link:hover {
    color: #333;
    background-color: rgba(0, 0, 0, 0.03);
}

/* Onglet actif : Fond blanc, bordure simple et texte noir */
#nav-tab .nav-link.active {
    background-color: #ececec !important;
    color: #000 !important;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    font-weight: 600;
}

[data-bs-theme=dark] #nav-tab .nav-link.active {
	background-color: #ffffff;
}
