@font-face {
  font-family: 'CabinetGrotesk';
  src: url('../fonts/CabinetGrotesk-Variable.ttf') format('truetype-variations');
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --color-bg-dark: #050505;
  --color-bg-mid: #0a1a2f;
  --color-bg-light: #001f3f;
  --color-primary: #00bfff;
  --color-primary-strong: #0099cc;
  --color-primary-dark: #0066ff;
  --color-primary-soft: rgba(0, 191, 255, 0.18);
  --color-text-main: #ffffff;
  --color-text-soft: #d8e9ff;
  --color-text-muted: #9fcaff;
  --color-surface: rgba(8, 16, 30, 0.92);
  --color-surface-glass: rgba(3, 24, 48, 0.92);
  --color-shadow: rgba(0, 191, 255, 0.2);
  --color-highlight: #73c5ff;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', sans-serif;
  background: linear-gradient(135deg, var(--color-bg-dark), var(--color-bg-mid), var(--color-bg-light));
  background-attachment: fixed;
  background-size: cover;
  color: var(--color-text-main);
  overflow-x: hidden;
  transition: background 0.3s, color 0.3s;
}

.changelog-hero {
  position: relative;
  min-height: 100vh;
  padding: 140px 6vw 120px;
  background: radial-gradient(circle at 15% 20%, rgba(0, 191, 255, 0.25) 0%, rgba(0, 191, 255, 0) 45%),
    radial-gradient(circle at 85% 30%, rgba(255, 129, 87, 0.2) 0%, rgba(255, 129, 87, 0) 50%),
    linear-gradient(135deg, #061222, #02060f 65%, #000 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
}

.hero-inner {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 60px;
  max-width: 1200px;
  width: 100%;
  align-items: center;
}

.hero-content {
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 24px;
  animation: fadeIn 1.2s ease;
  width: 100%;
  padding: 0 20px;
}

.hero-kicker {
  font-size: 0.95em;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: rgba(255, 255, 255, 0.65);
}

.hero-content h1 {
  font-family: 'CabinetGrotesk', sans-serif;
  font-size: clamp(3rem, 15vw, 15rem);
  font-weight: 950;
  color: #fff;
  line-height: 0.9;
  text-transform: uppercase;
  letter-spacing: -2px;
  background: linear-gradient(180deg, #fff 40%, #00bfff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 0.1em;
  filter: drop-shadow(0 0 40px rgba(0, 191, 255, 0.6));
  animation: title-glow 3s ease-in-out infinite alternate;
  white-space: normal;
}

@keyframes title-glow {
  from {
    filter: drop-shadow(0 0 20px rgba(0, 191, 255, 0.4));
  }

  to {
    filter: drop-shadow(0 0 50px rgba(0, 191, 255, 0.8));
  }
}

.hero-lead {
  font-size: 1.15em;
  color: #d8e9ff;
  max-width: 520px;
}

.hero-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-highlights span {
  background: rgba(0, 191, 255, 0.16);
  border: 1px solid rgba(0, 191, 255, 0.3);
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 0.9em;
  color: #8ddeff;
}

.cta-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 26px;
  border-radius: 12px;
  background: linear-gradient(135deg, #00bfff, #00a1ff);
  color: #fff;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 12px 28px rgba(0, 191, 255, 0.35);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.cta-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 44px rgba(0, 191, 255, 0.5);
}

.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-card {
  position: relative;
  background: rgba(8, 16, 30, 0.92);
  border: 1px solid rgba(0, 191, 255, 0.2);
  border-radius: 20px;
  padding: 32px;
  max-width: 420px;
  box-shadow: 0 24px 60px rgba(0, 191, 255, 0.15);
  backdrop-filter: blur(10px);
}

.hero-card::before {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: 22px;
  padding: 2px;
  background: linear-gradient(135deg, rgba(0, 191, 255, 0.6), rgba(108, 92, 231, 0.45));
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask-composite: exclude;
}

.hero-card-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(0, 191, 255, 0.18);
  color: #8ddeff;
  border-radius: 999px;
  padding: 6px 14px;
  font-size: 0.85em;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.hero-card h3 {
  margin: 18px 0 12px;
  font-size: 1.6em;
  color: #fff;
}

.hero-card p {
  color: #cfe9ff;
  font-size: 1em;
  line-height: 1.6;
  margin-bottom: 18px;
}

.hero-card ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  color: #9bcfff;
  margin-bottom: 20px;
}

.presentation {
  padding: 100px 20px;
  position: relative;
}

.presentation h2 {
  font-family: 'CabinetGrotesk', sans-serif;
  font-size: 3.5em;
  font-weight: 800;
  color: #00bfff;
  margin-bottom: 20px;
  letter-spacing: -1px;
}

.presentation p {
  font-size: 1.25em;
  line-height: 1.7;
  color: #d8e9ff;
  max-width: 800px;
  margin: 0 auto;
}

.cta-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 0;
  color: #8ddeff;
  text-decoration: none;
  font-weight: 600;
}

.cta-ghost:hover {
  color: #fff;
}

.changelog-main {
  padding: 80px 6vw 120px;
}

.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 60px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.section-kicker {
  text-transform: uppercase;
  letter-spacing: 3px;
  font-size: 0.9em;
  color: rgba(255, 255, 255, 0.55);
}

.section-header h2 {
  font-size: 2.8em;
  color: #00bfff;
}

.section-header p {
  color: #d0deff;
  line-height: 1.7;
}

.release-card-grid {
  display: grid;
  gap: 40px;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.release-card {
  background: rgba(8, 16, 30, 0.92);
  border-radius: 22px;
  padding: 26px;
  border: 1px solid rgba(255, 255, 255, 0.04);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: relative;
  overflow: hidden;
}

.release-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 24px;
  border: 1px solid rgba(0, 191, 255, 0.18);
  pointer-events: none;
}

.release-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.9em;
  color: rgba(255, 255, 255, 0.6);
}

.release-tag {
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 0.75em;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.release-tag-major {
  background: rgba(0, 191, 255, 0.2);
  color: #8ddeff;
}

.release-tag-season {
  background: rgb(36, 112, 121);
  color: #ffb49a;
}

.release-tag-event {
  background: rgba(139, 92, 246, 0.2);
  color: #cdb6ff;
}

.release-date {
  font-size: 0.85em;
  color: rgba(255, 255, 255, 0.45);
}

.release-card-image {
  position: relative;
  border-radius: 18px;
  height: 190px;
  background-size: cover;
  background-position: center;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.release-card h3 {
  font-size: 1.5em;
  color: #fff;
}

.release-intro {
  color: #cde1ff;
  line-height: 1.6;
}

.release-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  color: #9fcaff;
}

.release-features li::before {
  content: "✦";
  margin-right: 10px;
  color: #00bfff;
}

.release-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 0.85em;
  color: rgba(255, 255, 255, 0.7);
}

.timeline-section {
  margin-top: 120px;
}

.timeline {
  position: relative;
  padding-left: 40px;
  display: flex;
  flex-direction: column;
  gap: 50px;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 16px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, rgba(0, 191, 255, 0.6), rgba(0, 191, 255, 0.1));
}

.timeline-item {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 30px;
  align-items: start;
}

.timeline-badge {
  font-weight: 600;
  color: #8ddeff;
  border-radius: 999px;
  padding: 10px 18px;
  background: rgba(8, 16, 30, 0.9);
  border: 1px solid rgba(0, 191, 255, 0.2);
  text-align: center;
}

.timeline-content {
  background: rgba(8, 16, 30, 0.85);
  border-radius: 18px;
  padding: 20px 24px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.25);
}

.timeline-content h3 {
  color: #fff;
  margin-bottom: 10px;
}

.timeline-content p {
  color: #c8ddff;
  line-height: 1.6;
  margin-bottom: 14px;
}

.timeline-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 0.85em;
  color: rgba(255, 255, 255, 0.7);
}

.insight-section {
  margin-top: 120px;
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.insight-card {
  background: rgba(8, 16, 30, 0.88);
  border-radius: 20px;
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow: 0 20px 56px rgba(0, 0, 0, 0.35);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.insight-card.highlight {
  border: 1px solid rgba(0, 191, 255, 0.25);
  background: linear-gradient(135deg, rgba(0, 191, 255, 0.12), rgba(8, 16, 30, 0.92));
}

.insight-card h2,
.insight-card h3 {
  color: #fff;
}

.insight-card p {
  color: #cfe5ff;
  line-height: 1.6;
}

.insight-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  color: #a9d4ff;
}

.insight-list li {
  display: flex;
  align-items: center;
  gap: 10px;
}

.insight-list span {
  font-size: 1.1em;
}

.community-card {
  background: linear-gradient(135deg, rgba(0, 191, 255, 0.08), rgba(102, 51, 153, 0.12));
  border: 1px solid rgba(139, 92, 246, 0.25);
}

.community-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 0.9em;
  color: #d4c9ff;
}

.community-highlights span {
  background: rgba(139, 92, 246, 0.18);
  border: 1px solid rgba(139, 92, 246, 0.32);
  padding: 8px 12px;
  border-radius: 999px;
}

@media (max-width: 1100px) {
  .hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 40px;
  }

  .hero-content {
    align-items: center;
    text-align: center;
    padding: 0;
  }

  .hero-content h1 {
    font-size: clamp(2.5rem, 12vw, 8rem);
  }

  .hero-lead {
    max-width: 100%;
    font-size: 1.1em;
  }

  .hero-highlights {
    justify-content: center;
  }
}

@media (max-width: 820px) {
  .timeline {
    padding-left: 0;
  }

  .timeline::before {
    left: 9px;
  }

  .timeline-item {
    grid-template-columns: 1fr;
    padding-left: 36px;
  }

  .timeline-badge {
    justify-self: flex-start;
  }
}

@media (max-width: 680px) {
  .changelog-hero {
    padding: 120px 24px 80px;
  }

  .cta-primary {
    width: 100%;
    justify-content: center;
  }

  .hero-card {
    width: 100%;
  }
}

@media (max-width: 520px) {
  .release-card {
    padding: 24px 20px;
  }

  .timeline-item {
    padding-left: 24px;
  }

  .timeline-content {
    padding: 18px 20px;
  }
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(0, 0, 0, 0);
  /* Fond semi-transparent pour meilleure lisibilité */
  padding: 1em 2em;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  box-sizing: border-box;
  height: 76px;
  z-index: 1000;
  /* Toujours au-dessus du contenu */
  transition: background 0.3s;
}

#music-player {
  margin-left: 20px;
  /* décale seulement le player par rapport au logo */
}

nav:hover {
  background: rgba(0, 0, 0, 0.473);
  /* Effet léger au survol */
}

/* Nav améliorée */
nav.scrolled {
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(6px);
}

.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: rgba(0, 191, 255, 0.1);
  border: 1px solid rgba(0, 191, 255, 0.3);
  border-radius: 8px;
  cursor: pointer;
  z-index: 1001;
}

.menu-toggle span {
  display: block;
  height: 2px;
  width: 20px;
  margin: 0 auto;
  background: #fff;
}

nav h1.logo {
  font-family: 'CabinetGrotesk', sans-serif;
  font-size: 1.4rem !important;
  font-weight: 850 !important;
  text-transform: uppercase;
  letter-spacing: 2px;
  background: linear-gradient(180deg, #fff 20%, #00d2ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 12px rgba(0, 210, 255, 0.5));
  text-decoration: none;
  position: relative;
  transition: all 0.3s ease;
  margin: 0 !important;
  padding: 0 !important;
  line-height: 1.1 !important;
  display: inline-block;
  vertical-align: middle;
}

.logo:hover {
  filter: drop-shadow(0 0 15px rgba(0, 191, 255, 0.6));
  transform: scale(1.02);
}

nav h1.logo::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 100%;
  height: 2px;
  background: #00d2ff;
  border-radius: 2px;
  box-shadow: 0 0 8px rgba(0, 210, 255, 0.8);
}

.nav-links li {
  list-style: none;
}

.nav-links a {
  position: relative;
  padding: 6px 0;
}

.nav-links a.active::after,
.nav-links a:hover::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  height: 2px;
  width: 100%;
  background: #00bfff;
  border-radius: 2px;
}

/* Exclure les boutons spéciaux de l'effet de barre sous le texte */
.nav-links .nav-download-btn::after,
.nav-links .user-dropdown-btn::after,
.nav-links .nav-cta::after {
  content: none !important;
  display: none !important;
}

.nav-links button a {
  text-decoration: none;
}

.nav-links button a:hover {
  text-decoration: none;
  color: #fff;
}

.nav-links button a::after,
.nav-links button a:hover::after {
  content: none !important;
  display: none !important;
}

button:hover {
  transform: scale(1.10);
  transition: transform 0.18s;
}

.insider-cta {
  max-width: 920px;
  margin: 60px auto 0;
  padding: 44px 36px;
  background: rgba(8, 16, 30, 0.6);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(0, 191, 255, 0.1);
  border-radius: 24px;
  box-shadow: 0 16px 44px rgba(0, 0, 0, 0.3);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.insider-cta:hover {
  transform: translateY(-15px);
  border-color: rgba(0, 191, 255, 0.4);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5), 0 0 20px rgba(0, 191, 255, 0.2);
}

.insider-cta h2 {
  font-size: 2.2em;
  color: #00bfff;
  margin-bottom: 12px;
  text-align: center;
}

.insider-cta p {
  color: #e0e6ee;
  font-size: 1.1em;
  margin-bottom: 32px;
  text-align: center;
}

.insider-form {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.insider-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(220px, 1fr));
  gap: 20px 24px;
}

.insider-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  text-align: left;
  color: #d7e7ff;
  font-size: 0.95em;
  font-weight: 600;
}

.insider-field span {
  letter-spacing: 0.3px;
}

.insider-field input,
.insider-field textarea {
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid rgba(0, 191, 255, 0.35);
  background: rgba(3, 24, 48, 0.65);
  color: #fff;
  font-size: 1em;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.insider-field input:focus,
.insider-field textarea:focus {
  outline: none;
  border-color: rgba(0, 191, 255, 0.85);
  box-shadow: 0 0 0 3px rgba(0, 191, 255, 0.20);
}

.insider-field textarea {
  resize: vertical;
  min-height: 120px;
}

.insider-field-full {
  grid-column: span 2;
}

.insider-form-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
}


.insider-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border-radius: 12px;
  font-weight: 600;
  text-decoration: none;
  font-size: 1.05em;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  border: none;
  position: relative;
  overflow: hidden;
}

.insider-btn:not(.secondary) {
  background: linear-gradient(135deg, #00bfff, #0080ff);
  color: #fff;
  box-shadow: 0 8px 25px rgba(0, 191, 255, 0.3);
}

.insider-btn.secondary {
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
}

.insider-btn:hover {
  transform: translateY(-3px) scale(1.02);
}

.insider-btn:not(.secondary):hover {
  box-shadow: 0 12px 35px rgba(0, 191, 255, 0.5);
  filter: brightness(1.1);
}

.insider-btn.secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(0, 191, 255, 0.5);
  box-shadow: 0 8px 25px rgba(0, 191, 255, 0.2);
}

.insider-btn:active {
  transform: translateY(-1px);
}

.insider-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-top: 10px;
}

.separator {
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.9em;
  font-weight: 500;
  text-transform: lowercase;
}

.insider-status {
  min-height: 20px;
  font-size: 0.95em;
  color: #e0e6ee;
}

.insider-status.success {
  color: #54ffa8;
}

.insider-status.error {
  color: #ff7597;
}

@media (max-width: 700px) {
  .insider-actions {
    flex-direction: column;
    width: 100%;
  }

  .insider-btn {
    width: 100%;
  }

  .separator {
    margin: 5px 0;
  }
}


nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 5%;
  background: rgba(8, 16, 30, 0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0, 191, 255, 0.1);
  z-index: 1000;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

nav.scrolled {
  padding: 10px 5%;
  background: rgba(5, 5, 5, 0.9);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.nav-left {
  display: flex;
  align-items: center;
  gap: 20px;
}

.nav-logo-img {
  height: 120px;
  width: auto;
  transition: height 0.3s;
}

/* Responsive nav */
@media (max-width: 820px) {
  .menu-toggle {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    width: 32px;
    height: 24px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1100;
  }

  .menu-toggle span {
    width: 100%;
    height: 2px;
    background: #00bfff;
    transform: scaleX(1);
    /* Added this line */
    border-radius: 10px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    transform-origin: center;
  }

  /* Footer Logo Styles */
  .footer-logo-text {
    font-size: 1.5rem !important;
    background: linear-gradient(180deg, #fff 40%, #00bfff 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    filter: drop-shadow(0 0 5px rgba(0, 191, 255, 0.3));
    margin-bottom: 1rem;
    display: inline-block;
  }

  .footer-logo-text::after {
    display: none;
    /* No underline in footer */
  }

  .menu-toggle.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }

  .menu-toggle.active span:nth-child(2) {
    opacity: 0;
    transform: translateX(-10px);
  }

  .menu-toggle.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    height: 100vh;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: rgba(3, 14, 28, 0.98);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    gap: 25px;
    transform: translateX(100%);
    opacity: 0;
    visibility: hidden;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1090;
    padding: 80px 40px;
  }

  .nav-links.open {
    transform: translateX(0);
    opacity: 1;
    visibility: visible;
  }

  .nav-links li {
    width: 100%;
    text-align: center;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.4s ease;
    transition-delay: calc(0.1s * var(--item-index, 0));
  }

  .nav-links.open li {
    opacity: 1;
    transform: translateY(0);
  }

  .nav-links a {
    font-size: 1.25em;
    display: block;
    padding: 10px;
  }

  .nav-logo-img {
    height: 50px;
  }

  #music-player {
    gap: 5px !important;
    padding: 2px 8px !important;
    margin-left: 10px;
  }

  #music-player input,
  #music-player #music-time,
  #music-player div {
    display: none !important;
  }

  #music-play-btn,
  #snow-toggle {
    padding: 6px !important;
    font-size: 1.1em !important;
  }
}

.nav-links {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 2.5em;
}

.nav-links a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95em;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: #00bfff;
  transition: width 0.3s ease;
}

.nav-links a:hover {
  color: #fff;
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  padding: 8px 16px;
  background: rgba(0, 191, 255, 0.1);
  border: 1px solid rgba(0, 191, 255, 0.3);
  border-radius: 30px;
  color: #fff !important;
  text-decoration: none !important;
  transition: all 0.3s;
  font-weight: 500;
  font-size: 0.95em;
  backdrop-filter: blur(4px);
}

.nav-cta:hover {
  background: rgba(0, 191, 255, 0.2);
  border-color: var(--color-primary);
  box-shadow: 0 0 15px rgba(0, 191, 255, 0.3);
  transform: translateY(-2px);
  text-decoration: none !important;
}

.nav-cta-danger {
  background: #ff4757;
  color: #fff !important;
  padding: 10px 20px;
  border-radius: 50px;
  font-weight: 600;
  box-shadow: 0 4px 15px rgba(255, 71, 87, 0.3);
  transition: all 0.3s ease !important;
}

.nav-cta-danger:hover {
  background: #ff2e44;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 71, 87, 0.4);
}

.hero {
  min-height: 100vh;
  background: linear-gradient(to bottom right, #001f3f, #000);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 120px 20px 60px;
  min-height: auto;
}

.hero h1 {
  font-size: 2.2em;
}

.hero p {
  font-size: 1.1em;
}

.hero h1 {
  font-size: 3em;
  margin-bottom: 0.5em;
  color: #00bfff;
}

.hero p {
  font-size: 1.2em;
  color: #ccc;
}

/* Features Section */
.features {
  display: flex;
  justify-content: center;
  gap: 40px;
  padding: 40px 20px;
  flex-wrap: wrap;
  background: transparent;
}

.feature {
  background: #181f2a;
  border-radius: 16px;
  padding: 30px;
  width: 280px;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0, 191, 255, 0.1);
  transition: transform 0.3s, box-shadow 0.3s;
}

.feature:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 24px rgba(0, 191, 255, 0.2);
}

@media (max-width: 820px) {
  .features {
    gap: 20px;
    padding: 20px 10px;
  }

  .feature {
    width: 100%;
    max-width: 320px;
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(50px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* --- Premium Multi-Tier Footer --- */
.footer {
  background: rgba(3, 14, 28, 0.85);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  color: #fff;
  padding: 80px 0 0 0;
  margin-top: 100px;
  border-top: 1px solid rgba(0, 191, 255, 0.15);
  position: relative;
  overflow: hidden;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--color-primary), transparent);
  animation: footer-glow 4s linear infinite;
}

@keyframes footer-glow {
  0% {
    transform: translateX(-100%);
  }

  100% {
    transform: translateX(100%);
  }
}

.footer-container {
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: 0 5%;
}

/* Tier 1: Brand & Identity */
.footer-brand {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 60px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-logo-area {
  max-width: 600px;
}

.footer-logo-img {
  height: 80px;
  margin-bottom: 20px;
  filter: drop-shadow(0 0 10px rgba(0, 191, 255, 0.3));
}

.footer-mission {
  color: rgba(255, 255, 255, 0.7);
  font-size: 1.05em;
  line-height: 1.6;
}

.footer-social-wrap {
  display: flex;
  gap: 15px;
}

.social-circle {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-decoration: none;
  font-size: 1.25em;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.social-circle:hover {
  background: var(--color-primary);
  color: #000;
  transform: translateY(-5px);
  box-shadow: 0 0 20px rgba(0, 191, 255, 0.4);
  border-color: var(--color-primary);
}

/* Tier 2: Links & Newsletter */
.footer-main {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 60px;
  margin-bottom: 60px;
}

.footer-col h3 {
  color: var(--color-primary);
  font-size: 1.15em;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 25px;
  position: relative;
}

.footer-col h3::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 30px;
  height: 2px;
  background: var(--color-primary);
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 14px;
}

.footer-col a {
  color: rgba(255, 255, 255, 0.65);
  text-decoration: none;
  transition: all 0.25s ease;
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-col a i {
  font-size: 0.9em;
  opacity: 0.7;
}

.footer-col a:hover {
  color: var(--color-primary);
  padding-left: 8px;
}

/* Review Widget Enhancement */
.review-card-native {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 16px;
  margin-top: 15px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
  width: 100%;
  max-width: 240px;
}

.google-review,
.trustpilot-review {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  width: 100%;
}

.trustpilot-review {
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.stars {
  color: #FFD700;
  font-size: 1em;
  margin-bottom: 2px;
  display: block;
  text-shadow: 0 0 8px rgba(255, 215, 0, 0.2);
}

.review-card-native .review-btn {
  background: #ffffff !important;
  color: #000000 !important;
  text-decoration: none;
  border: 1px solid #000000;
  border-radius: 4px;
  height: 48px;
  width: 100%;
  max-width: 220px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: Arial, sans-serif;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
  box-sizing: border-box;
  gap: 8px;
}

.review-card-native .review-btn i {
  color: #000000 !important;
  font-size: 1.2em;
}

.google-btn:hover,
.google-btn:hover i {
  color: #4285F4 !important;
  border-color: #4285F4 !important;
}

.trustpilot-btn:hover,
.trustpilot-btn:hover i {
  color: #00b67a !important;
  border-color: #00b67a !important;
}

.review-btn:hover {
  background: #fcfcfc !important;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Newsletter */
.newsletter-form {
  margin-top: 15px;
}

.newsletter-input-group {
  display: flex;
  gap: 8px;
}

.newsletter-input {
  flex: 1;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 10px 14px;
  border-radius: 6px;
  color: #fff;
  outline: none;
  font-size: 0.9em;
}

.newsletter-input:focus {
  border-color: var(--color-primary);
}

.newsletter-submit {
  background: var(--color-primary);
  border: none;
  width: 40px;
  border-radius: 6px;
  color: #000;
  cursor: pointer;
}

/* Tier 3: Bottom Bar */
.footer-bottom {
  background: rgba(3, 14, 28, 0.95);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 20px 0;
  width: 100%;
}

.footer-bottom-container {
  max-width: 100%;
  margin: auto;
  padding: 0 5%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.9em;
  color: rgba(255, 255, 255, 0.45);
}

.footer-bottom a {
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 8px 18px;
  border-radius: 50px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
}

.footer-bottom a:hover {
  background: rgba(0, 191, 255, 0.1);
  border-color: rgba(0, 191, 255, 0.4);
  color: var(--color-primary);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 191, 255, 0.15);
}

.footer-bottom a.footer-siret-link {
  background: none;
  border: none;
  padding: 0;
  color: inherit;
  text-decoration: none;
  transform: none;
  box-shadow: none;
}

.footer-bottom a.footer-siret-link:hover {
  color: var(--color-primary);
  background: none;
  border-color: transparent;
}

/* Floating Back to Top */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background: var(--color-primary);
  color: #000;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s;
  z-index: 1000;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
}

/* Responsive */
@media (max-width: 992px) {
  .footer-main {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .footer-brand {
    flex-direction: column;
    text-align: center;
    gap: 30px;
  }

  .footer-main {
    grid-template-columns: 1fr;
  }

  .footer-bottom-container {
    flex-direction: column;
    gap: 15px;
    text-align: center;
  }
}

/* Service Section */
.service_section {
  padding: 60px 0;
  background: #10182000;
  margin-top: 40px;
}

.heading_container {
  text-align: center;
  margin-bottom: 40px;
}

.heading_container h2 {
  color: #00bfff;
  font-size: 2.5em;
  margin-bottom: 10px;
}

.heading_container span {
  color: #fff;
}

.heading_container p {
  color: #ccc;
  font-size: 1.1em;
}

.Merch-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 40px 60px;
  margin-bottom: 40px;
}


.Merch {
  background: #181f2a;
  border-radius: 18px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.15);
  padding: 24px 18px 18px 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 320px;
  transition: transform 0.2s, box-shadow 0.2s;
}

.Merch:hover {
  transform: translateY(-8px) scale(1.03);
  box-shadow: 0 8px 32px rgba(0, 191, 255, 0.15);
}

.Merch-image {
  width: 220px;
  height: 220px;
  object-fit: contain;
  margin-bottom: 18px;
}

.Merch p {
  color: #fff;
  font-size: 1.1em;
  margin: 10px 0 18px 0;
  text-align: center;
}

.Merch .nav-link button {
  background: #00bfff;
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 10px 28px;
  font-size: 1em;
  cursor: pointer;
  transition: background 0.2s;
  font-weight: 600;
  box-shadow: 0 2px 8px rgba(0, 191, 255, 0.08);
}

.Merch .nav-link button:hover {
  background: #0099cc;
}

@media (max-width: 1100px) {
  .Merch-grid {
    gap: 32px 24px;
  }

  .Merch {
    width: 240px;
    padding: 16px 8px 12px 8px;
  }

  .Merch-image {
    width: 140px;
    height: 140px;
  }
}

@media (max-width: 700px) {
  .Merch-grid {
    flex-direction: column;
    align-items: center;
    gap: 24px;
  }

  .Merch {
    width: 90vw;
    max-width: 340px;
  }
}

/* --- Collaboration Page Redesign --- */
.collab-section {
  padding: 100px 0;
  text-align: center;
}

.collab-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 50px auto;
  padding: 0 40px;
}

@media (min-width: 1024px) {
  .collab-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* --- Bento Grid Features --- */
.bento-section {
  padding: 60px 5%;
  max-width: 1400px;
  margin: 0 auto;
}

.bento-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: repeat(2, 300px);
  gap: 24px;
}

.bento-item {
  position: relative;
  background: rgba(18, 25, 38, 0.4);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(0, 191, 255, 0.1);
  border-radius: 24px;
  padding: 40px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 30px;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.bento-item:hover {
  transform: translateY(-8px);
  border-color: rgba(0, 191, 255, 0.4);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 0 20px rgba(0, 191, 255, 0.1);
}

.bento-item i {
  font-size: 2.5em;
  color: #00bfff;
  margin-bottom: 20px;
  filter: drop-shadow(0 0 10px rgba(0, 191, 255, 0.3));
}

.bento-item h3 {
  font-family: 'CabinetGrotesk', sans-serif;
  font-size: 1.8em;
  font-weight: 800;
  color: #fff;
  margin-bottom: 12px;
}

.bento-item p {
  color: #cfe9ff;
  line-height: 1.6;
  font-size: 1.05em;
  opacity: 0.8;
}

/* Bento Variants */
.bento-large {
  grid-column: span 2;
  grid-row: span 2;
  background: linear-gradient(135deg, rgba(0, 191, 255, 0.15) 0%, rgba(18, 25, 38, 0.4) 100%);
  justify-content: center;
  align-items: center;
  text-align: center;
  gap: 20px;
}

.bento-large i {
  font-size: 5em;
  margin-bottom: 0px;
}

.bento-large h3 {
  font-size: 2.5em;
}

.bento-tall {
  grid-row: span 2;
  justify-content: center;
  text-align: center;
}

.bento-tall i {
  font-size: 4em;
}

.bento-wide {
  grid-column: span 2;
}

@media (max-width: 1100px) {
  .bento-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: auto;
    gap: 16px;
  }

  .bento-item {
    padding: 24px;
    gap: 20px;
  }

  .bento-large,
  .bento-tall,
  .bento-wide {
    grid-column: span 2;
    grid-row: span 1;
  }

  .bento-large i {
    font-size: 3.5em;
  }

  .bento-large h3 {
    font-size: 1.8em;
  }
}

@media (max-width: 600px) {
  .bento-grid {
    grid-template-columns: 1fr;
  }

  .bento-large,
  .bento-tall,
  .bento-wide {
    grid-column: span 1;
  }

  .bento-item h3 {
    font-size: 1.5em;
  }
}

/* --- Scroll Reveal Animations --- */
.reveal-up {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 1s cubic-bezier(0.23, 1, 0.32, 1),
    transform 1s cubic-bezier(0.23, 1, 0.32, 1);
  will-change: transform, opacity;
}

.reveal-up.active {
  opacity: 1;
  transform: translateY(0);
}

/* Staggered Delays for Bento Grid or Lists */
.delay-100 {
  transition-delay: 0.1s;
}

.delay-200 {
  transition-delay: 0.2s;
}

.delay-300 {
  transition-delay: 0.3s;
}

.delay-400 {
  transition-delay: 0.4s;
}

.delay-500 {
  transition-delay: 0.5s;
}

.partner-card {
  background: rgba(24, 31, 42, 0.4);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(0, 191, 255, 0.1);
  border-radius: 20px;
  padding: 40px 30px;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.partner-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at top right, rgba(0, 191, 255, 0.1), transparent 70%);
  opacity: 0;
  transition: opacity 0.4s;
}

.partner-card:hover {
  transform: translateY(-10px) scale(1.02);
  border-color: rgba(0, 191, 255, 0.5);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 0 20px rgba(0, 191, 255, 0.1);
}

.partner-card:hover::before {
  opacity: 1;
}

.partner-img-wrapper {
  width: 140px;
  height: 140px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 50%;
  padding: 20px;
  margin-bottom: 25px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: transform 0.4s;
}

.partner-img-wrapper.large-img-wrapper {
  width: 220px;
  height: 220px;
  padding: 15px;
}

/* Specific style for products/games to have massive images */
.product-img-card {
  padding: 15px !important;
  display: flex;
  flex-direction: column;
}

.product-img-card .partner-img-wrapper {
  width: 100%;
  height: 400px;
  /* Massive height for the image area */
  background: transparent;
  border: none;
  border-radius: 0;
  padding: 0;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: visible;
  /* Allow image to breathe */
}

.product-img-card .partner-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transform: scale(1.5);
  /* Force scale up even more */
  filter: drop-shadow(0 15px 30px rgba(0, 0, 0, 0.4));
  transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.product-img-card:hover .partner-img {
  transform: scale(1.7);
  /* Even larger on hover */
}

.partner-card:hover .partner-img-wrapper {
  transform: scale(1.1) rotate(5deg);
}

.partner-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.partner-info {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex-grow: 1;
}

.partner-info h3 {
  color: #fff;
  font-size: 1.5em;
  margin-bottom: 12px;
  font-family: 'Plank', sans-serif;
}

.partner-info p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.82em;
  line-height: 1.6;
  margin-bottom: 25px;
}

.partner-link {
  background: linear-gradient(135deg, #00bfff, #0066ff);
  color: #fff;
  text-decoration: none;
  padding: 12px 30px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.9em;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.3s;
  box-shadow: 0 10px 20px rgba(0, 191, 255, 0.2);
  margin-top: auto;
  /* Align buttons at bottom */
}

.partner-link:hover {
  transform: scale(1.05);
  box-shadow: 0 15px 30px rgba(0, 191, 255, 0.4);
  filter: brightness(1.1);
}

@media (max-width: 768px) {
  .collab-grid {
    padding: 0 20px;
    grid-template-columns: 1fr;
  }
}

/* --- Team Page Redesign --- */
.team-section {
  padding: 80px 0 120px;
  width: 100%;
}

.team-container {
  width: 100%;
  max-width: 1400px;
  padding: 0 5%;
  margin: 0 auto;
}

.team-category {
  margin-bottom: 80px;
}

.category-title {
  color: var(--color-primary);
  font-size: 2.2em;
  font-family: 'Kenney Mini', sans-serif;
  text-align: center;
  margin-bottom: 50px;
  position: relative;
  display: block;
  letter-spacing: 2px;
}

.category-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 20%;
  width: 60%;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--color-primary), transparent);
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
  justify-content: center;
  align-items: stretch;
}

/* Special centering for smaller grids (like Managers) */
.team-grid.single-item {
  display: flex;
  justify-content: center;
}

.team-card {
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(0, 191, 255, 0.1);
  border-radius: 24px;
  padding: 40px 20px;
  text-align: center;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  overflow: hidden;
  max-width: 350px;
  width: 100%;
  margin: 0 auto;
}

.team-card.founder-card {
  border-color: rgba(0, 191, 255, 0.5);
  background: linear-gradient(135deg, rgba(0, 191, 255, 0.1), rgba(255, 255, 255, 0.02));
  box-shadow: 0 0 40px rgba(0, 191, 255, 0.1);
}

.team-card.founder-card .member-name {
  color: var(--color-primary);
  text-shadow: 0 0 10px rgba(0, 191, 255, 0.3);
}

.team-card::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at center, rgba(0, 191, 255, 0.08), transparent 70%);
  opacity: 0;
  transition: opacity 0.4s;
}

.team-card:hover {
  transform: translateY(-12px);
  border-color: var(--color-primary);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 0 20px rgba(0, 191, 255, 0.2);
}

.team-card:hover::before {
  opacity: 1;
}

/* --- Extensions de l'Index Premium --- */

/* Games Gallery */
.games-gallery {
  padding: 120px 20px;
  max-width: 1300px;
  margin: 0 auto;
  position: relative;
}

.games-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 40px;
  margin-top: 60px;
}

.game-card {
  position: relative;
  background: rgba(8, 16, 30, 0.6);
  border-radius: 24px;
  overflow: hidden;
  backdrop-filter: blur(12px);
  border: 1px solid rgba(0, 191, 255, 0.1);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.game-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 24px;
  padding: 1.5px;
  background: linear-gradient(135deg, rgba(0, 191, 255, 0.4), transparent, rgba(0, 191, 255, 0.2));
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask-composite: exclude;
  pointer-events: none;
}

.game-card:hover {
  transform: translateY(-15px);
  border-color: rgba(0, 191, 255, 0.4);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5), 0 0 20px rgba(0, 191, 255, 0.2);
}

.game-image {
  position: relative;
  /* use intrinsic aspect ratio instead of fixed height */
  width: 100%;
  height: 0;
  padding-top: 56.25%;
  /* 16:9 ratio – adjust as needed */
  overflow: hidden;
}

.game-image img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.game-card:hover .game-image img {
  transform: scale(1.15);
}

.game-overlay {
  position: absolute;
  bottom: 20px;
  left: 20px;
  z-index: 2;
}

.game-tag {
  background: rgba(0, 191, 255, 0.9);
  color: #000;
  padding: 6px 14px;
  border-radius: 50px;
  font-size: 0.8em;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  box-shadow: 0 4px 15px rgba(0, 191, 255, 0.4);
}

.game-info {
  padding: 30px;
}

.game-info h3 {
  margin-bottom: 12px;
  color: #fff;
  font-size: 1.7em;
  font-family: 'CabinetGrotesk', sans-serif;
}

.game-info p {
  color: rgba(216, 233, 255, 0.7);
  font-size: 1em;
  line-height: 1.7;
  margin-bottom: 25px;
}

.game-link {
  color: var(--color-primary);
  text-decoration: none;
  font-weight: 700;
  font-size: 1em;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: all 0.3s ease;
}

.game-link i {
  font-size: 0.9em;
  transition: transform 0.3s ease;
}

.game-link:hover {
  color: #fff;
}

.game-link:hover i {
  transform: translateX(6px);
}

@media (max-width: 1100px) {
  .games-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
  }
}

@media (max-width: 600px) {
  .games-gallery {
    padding: 60px 20px;
  }

  .game-info {
    padding: 20px;
  }

  .game-info h3 {
    font-size: 1.4em;
  }
}

/* Stats Section */
.stats-section {
  padding: 100px 20px;
  background: radial-gradient(circle at center, rgba(0, 191, 255, 0.05), transparent 70%);
}

.stats-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

@media (max-width: 1100px) {
  .stats-container {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .stats-container {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .stat-item {
    padding: 30px 20px;
  }

  .stat-value {
    font-size: 2.5em;
  }
}

.stat-item {
  background: rgba(8, 16, 30, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.05);
  padding: 50px 30px;
  border-radius: 30px;
  text-align: center;
  backdrop-filter: blur(10px);
  transition: all 0.4s ease;
}

.stat-item:hover {
  background: rgba(8, 16, 30, 0.6);
  border-color: rgba(0, 191, 255, 0.3);
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.stat-icon {
  font-size: 2.5em;
  color: var(--color-primary);
  margin-bottom: 20px;
  filter: drop-shadow(0 0 10px rgba(0, 191, 255, 0.3));
}

.stat-value {
  font-size: 3.5em;
  font-weight: 900;
  color: #fff;
  font-family: 'CabinetGrotesk', sans-serif;
  line-height: 1;
  margin-bottom: 10px;
  background: linear-gradient(180deg, #fff, var(--color-primary));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.stat-label {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.9em;
  text-transform: uppercase;
  letter-spacing: 3px;
  font-weight: 600;
}

/* Roadmap Section */
.roadmap-section {
  padding: 120px 20px;
  max-width: 1100px;
  margin: 0 auto;
}

.roadmap-timeline {
  position: relative;
  margin-top: 80px;
  padding-left: 50px;
}

@media (max-width: 600px) {
  .roadmap-timeline {
    padding-left: 30px;
  }
}

.roadmap-timeline::before {
  content: '';
  position: absolute;
  left: 4px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(180deg,
      rgba(0, 191, 255, 0) 0%,
      rgba(0, 191, 255, 0.5) 20%,
      rgba(0, 191, 255, 0.5) 80%,
      rgba(0, 191, 255, 0) 100%);
}

@media (max-width: 600px) {
  .roadmap-timeline::before {
    left: 2px;
  }
}

.roadmap-item {
  position: relative;
  padding-bottom: 80px;
}

.roadmap-item:last-child {
  padding-bottom: 0;
}

.roadmap-marker {
  position: absolute;
  left: -54px;
  top: 0;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--color-primary);
  border: 3px solid #050505;
  box-shadow: 0 0 15px var(--color-primary);
  z-index: 2;
}

@media (max-width: 600px) {
  .roadmap-marker {
    left: -32px;
    width: 12px;
    height: 12px;
  }
}

.roadmap-date {
  font-weight: 800;
  color: var(--color-primary);
  margin-bottom: 15px;
  font-size: 1.1em;
  letter-spacing: 1px;
}

.roadmap-content {
  background: rgba(10, 26, 47, 0.4);
  padding: 40px;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  position: relative;
  transition: all 0.3s ease;
}

@media (max-width: 600px) {
  .roadmap-content {
    padding: 24px;
  }

  .roadmap-content h3 {
    font-size: 1.3em;
  }
}

.roadmap-content:hover {
  background: rgba(10, 26, 47, 0.6);
  border-color: rgba(0, 191, 255, 0.2);
}

.roadmap-icon {
  position: absolute;
  top: -20px;
  right: 30px;
  font-size: 3em;
  color: rgba(0, 191, 255, 0.1);
  transition: all 0.3s ease;
}

.roadmap-item:hover .roadmap-icon {
  color: rgba(0, 191, 255, 0.2);
  transform: translateY(-5px);
}

.roadmap-content h3 {
  margin-bottom: 12px;
  font-size: 1.6em;
  color: #fff;
  font-family: 'CabinetGrotesk', sans-serif;
}

.roadmap-content p {
  color: rgba(216, 233, 255, 0.7);
  font-size: 1.05em;
  line-height: 1.6;
}

/* Testimonials Section */
.testimonials-section {
  padding: 120px 20px;
  background: linear-gradient(180deg, transparent, rgba(0, 191, 255, 0.03), transparent);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  max-width: 1200px;
  margin: 60px auto 0;
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 30px;
  overflow: hidden;
}

@media (max-width: 1100px) {
  .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .testimonials-grid {
    grid-template-columns: 1fr;
    border-radius: 20px;
  }
}

.testimonial-card {
  background: rgba(8, 16, 30, 0.5);
  padding: 45px;
  border-right: 1px solid rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(12px);
  display: flex;
  flex-direction: column;
  gap: 30px;
  position: relative;
  transition: all 0.4s ease;
}

.testimonial-card:last-child {
  border-right: none;
}

.testimonial-card:hover {
  background: rgba(8, 16, 30, 0.7);
  z-index: 1;
}

.testimonial-content i {
  color: var(--color-primary);
  font-size: 2.5em;
  opacity: 0.2;
  margin-bottom: 5px;
}

.testimonial-content p {
  font-style: italic;
  color: rgba(216, 233, 255, 0.9);
  line-height: 1.8;
  font-size: 1.1em;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: auto;
}

.author-avatar {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--color-primary), #0066ff);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.4em;
  box-shadow: 0 10px 20px rgba(0, 191, 255, 0.2);
  overflow: hidden;
  /* ensure image fits */
}

/* when using an actual image, remove gradient background */
.author-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

/* hide the icon if image is present */
.author-avatar i {
  display: none;
}

.author-info strong {
  display: block;
  color: #fff;
  font-size: 1.1em;
  margin-bottom: 4px;
}

.author-info span {
  font-size: 0.9em;
  color: rgba(0, 191, 255, 0.6);
  font-weight: 600;
}

@media (max-width: 768px) {
  .testimonial-card {
    padding: 30px 20px;
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  }

  .testimonial-card:last-child {
    border-bottom: none;
  }
}

/* show image at best size while preserving aspect ratio */
.game-image img {
  object-fit: contain !important;
  width: 100% !important;
  height: 100% !important;
  max-width: 100%;
  max-height: 100%;
  image-rendering: pixelated;
}

/* return to flex centering to avoid odd placement */
.game-image {
  display: flex;
  align-items: center;
  justify-content: center;
}


.member-avatar-wrapper {
  width: 120px;
  height: 120px;
  margin: 0 auto 25px;
  border-radius: 50%;
  background: rgba(0, 191, 255, 0.05);
  border: 2px solid rgba(0, 191, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5em;
  color: var(--color-primary);
  transition: all 0.4s;
  position: relative;
  z-index: 1;
  overflow: hidden;
}

.member-avatar-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.team-card:hover .member-avatar-wrapper {
  transform: scale(1.05);
  border-color: var(--color-primary);
  box-shadow: 0 0 20px rgba(0, 191, 255, 0.4);
}

.team-card:hover .member-avatar-wrapper img {
  transform: scale(1.1);
}

.member-name {
  color: #fff;
  font-size: 1.6em;
  font-weight: 700;
  margin-bottom: 8px;
  letter-spacing: 0.5px;
}

.member-role {
  color: var(--color-primary);
  font-size: 0.9em;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 600;
  opacity: 0.8;
}

.founder-badge {
  position: absolute;
  top: 15px;
  right: 15px;
  background: var(--color-primary);
  color: #000;
  font-size: 0.7em;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 50px;
  text-transform: uppercase;
}

/* --- Team Page End --- */

/* --- Game Pages (Wild Horizon, etc.) --- */
.game-hero {
  padding: 120px 5% 60px;
  text-align: center;
  background: radial-gradient(circle at top, rgba(0, 191, 255, 0.1) 0%, transparent 70%);
}

.game-title {
  font-size: 4em;
  font-weight: 800;
  margin-bottom: 20px;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 4px;
}

.game-title span {
  color: var(--color-primary);
  text-shadow: 0 0 20px rgba(0, 191, 255, 0.5);
}

.game-main-img-wrapper {
  max-width: 1000px;
  margin: 40px auto;
  position: relative;
}

.game-main-img {
  width: 100%;
  border-radius: 24px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.game-content-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 5%;
}

.game-section {
  padding: 80px 0;
  display: flex;
  align-items: center;
  gap: 60px;
}

.game-section.reverse {
  flex-direction: row-reverse;
}

.game-info {
  flex: 1;
}

.game-info h2 {
  font-size: 2.5em;
  color: var(--color-primary);
  margin-bottom: 20px;
}

.game-info p {
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.8;
  font-size: 1.1em;
}

.game-visual {
  flex: 1;
}

.game-visual img {
  width: 100%;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.game-cta-section {
  padding: 100px 5%;
  text-align: center;
  background: linear-gradient(to bottom, transparent, rgba(0, 191, 255, 0.05));
}

.game-btn-group {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
}

.btn-premium {
  padding: 15px 40px;
  font-size: 1.1em;
  font-weight: 700;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.3s;
  text-transform: uppercase;
  letter-spacing: 1px;
  display: inline-block;
}

.btn-primary-gaming {
  background: var(--color-primary);
  color: #000;
  border: none;
  box-shadow: 0 0 20px rgba(0, 191, 255, 0.3);
}

.btn-outline-gaming {
  background: transparent;
  color: var(--color-primary);
  border: 2px solid var(--color-primary);
}

.btn-premium:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 191, 255, 0.5);
}

/* Responsive Game Pages */
@media (max-width: 820px) {
  .game-hero {
    padding: 100px 5% 40px;
  }

  .game-title {
    font-size: 2.5em;
    letter-spacing: 2px;
  }

  .game-section,
  .game-section.reverse {
    flex-direction: column !important;
    gap: 30px;
    padding: 40px 0;
    text-align: center;
  }

  .game-info h2 {
    font-size: 1.8em;
  }

  .game-info p {
    font-size: 1em;
  }

  .game-visual img {
    width: 100% !important;
    max-width: 400px;
    margin: 0 auto;
  }

  .game-btn-group {
    flex-direction: column;
    gap: 15px;
  }

  .btn-premium {
    width: 100%;
    padding: 12px 20px;
  }
}

/* About Section */
.about-section {
  background: #10182000;
  padding: 80px 0 60px 0;
  margin-top: 40px;
}

.about-container {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 60px;
  flex-wrap: wrap;
  padding: 0 24px;
}

.about-text {
  flex: 2;
  min-width: 300px;
}

.about-text h1 {
  color: #fff;
  font-size: 2.7em;
  margin-bottom: 18px;
  font-weight: 700;
}

.about-text .accent {
  color: #00bfff;
}

.about-text p {
  color: #ccc;
  font-size: 1.2em;
  margin-bottom: 18px;
  line-height: 1.6;
}

.about-values {
  list-style: none;
  padding: 0;
  margin: 0;
}

.about-values li {
  color: #00bfff;
  font-size: 1.1em;
  margin-bottom: 10px;
  font-weight: 500;
}

.about-img {
  flex: 1;
  min-width: 220px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.about-img img {
  width: 260px;
  max-width: 100%;
  border-radius: 18px;
  box-shadow: 0 4px 24px rgba(0, 191, 255, 0.10);
  background: #181f2a;
  padding: 12px;
}

@media (max-width: 900px) {
  .about-container {
    flex-direction: column;
    gap: 36px;
    text-align: center;
  }

  .about-img {
    justify-content: center;
  }
}

@media (max-width: 700px) {
  .hero {
    height: auto;
    padding: 80px 10px 40px 10px;
  }

  .hero h1 {
    font-size: 2em;
  }

  .hero p {
    font-size: 1em;
  }
}

/* Responsive Footer */
@media (max-width: 700px) {
  .footer {
    padding: 30px 0 20px 0;
    font-size: 0.95em;
    margin-top: 30px;
  }

  .footer-container {
    flex-direction: column;
    gap: 20px;
    align-items: flex-start;
    padding: 0 10px;
  }

  .footer-col {
    min-width: unset;
    width: 100%;
  }
}

#player {
  position: absolute;
  top: 300px;
  left: 300px;
  width: 50px;
  height: 50px;
  background-color: #00bfff;
  border-radius: 8px;
  z-index: 999;
  transition: top 0.1s, left 0.1s;
}

body.light-theme {
  background: #fff;
  color: #222;
}

body.dark-theme {
  background: #222;
  color: #fff;
}

/* Bouton thème */
#theme-toggle {
  padding: 8px 16px;
  border: none;
  background: #eee;
  color: #222;
  cursor: pointer;
  border-radius: 5px;
  margin-top: 10px;
}

body.dark-theme #theme-toggle {
  background: #333;
  color: #fff;
}

.taillor {
  font-family: 'Taillor Amillate', sans-serif;
}

@font-face {
  font-family: 'Kenney Mini';
  src: url('../fonts/KenneyMini.ttf') format('truetype');
}

.kenney {
  font-family: 'Kenney Mini', sans-serif;
}

@font-face {
  font-family: 'Plank';
  src: url('fonts/PLANK___.TTF') format('truetype');
}

.plank {
  font-family: 'Plank', sans-serif;
}

.login-section {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

.auth-form {
  background: #181f2a;
  padding: 40px 32px;
  border-radius: 18px;
  box-shadow: 0 4px 24px rgba(0, 191, 255, 0.2);
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
  max-width: 350px;
}

.auth-form h2 {
  text-align: center;
  color: #00bfff;
}

.auth-form input {
  width: 100%;
  padding: 10px;
  border: none;
  border-bottom: 2px solid #00bfff;
  background: transparent;
  color: #fff;
  outline: none;
}

.auth-form button {
  background: #00bfff;
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 12px 0;
  font-size: 1.1em;
  font-weight: 600;
  cursor: pointer;
}

.auth-form button:hover {
  background: #0099cc;
}

.switch-form {
  text-align: center;
  color: #ccc;
}

.switch-form a {
  color: #00bfff;
  text-decoration: none;
  font-weight: 600;
}

.message {
  text-align: center;
  font-size: 0.95em;
}

.quantum-status {
  padding: 80px 20px;
  background: #10182000;
}

.status-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 40px;
}

.status-card {
  background: #181f2a;
  border-radius: 18px;
  box-shadow: 0 4px 24px rgba(0, 191, 255, 0.15);
  padding: 24px;
  width: 260px;
  text-align: center;
  transition: transform 0.2s, box-shadow 0.2s;
}

.status-card:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 8px 32px rgba(0, 191, 255, 0.2);
}

.status-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 12px;
}

.status-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #ccc;
}

.status-dot.online {
  background: #00bfff;
}

.status-value {
  font-size: 1.4em;
  font-weight: bold;
  color: #00bfff;
  margin-bottom: 8px;
}

.status-desc {
  font-size: 1em;
  color: #ccc;
}

.section-titles {
  padding: 100px 20px 60px 20px;
  background: #0a1a2f00;
  text-align: center;
}

.title-container {
  max-width: 900px;
  margin: 0 auto;
}

.main-title {
  font-size: 3.2em;
  font-weight: 700;
  color: #00bfff;
  margin-bottom: 20px;
  font-family: 'Plank', sans-serif;
  letter-spacing: 1px;
}

.subtitle {
  font-size: 2em;
  font-weight: 500;
  color: #fff;
  margin-bottom: 16px;
}

.section-description {
  font-size: 1.2em;
  color: #ccc;
  line-height: 1.6;
  font-family: 'Segoe UI', sans-serif;
}

@media (max-width: 700px) {
  .main-title {
    font-size: 2.2em;
  }

  .subtitle {
    font-size: 1.5em;
  }

  .section-description {
    font-size: 1em;
  }
}

.status-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  display: inline-block;
  margin-right: 8px;
  transition: background-color 0.3s ease;
}

.online {
  background-color: limegreen;
}

.offline {
  background-color: red;
}

.status-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  display: inline-block;
  margin-right: 8px;
  transition: background-color 0.3s ease;
}

.online {
  background-color: limegreen;
}

.intermediate {
  background-color: orange;
}

.offline {
  background-color: red;
}

.image-carousel {
  background-color: #0f172a00;
  padding: 40px 20px;
  color: #fff;
}

.carousel-container {
  position: relative;
  overflow: hidden;
  max-width: 1000px;
  margin: 0 auto;
}

.carousel-track {
  display: flex;
  transition: transform 0.5s ease;
}

.carousel-track img {
  flex: 0 0 auto;
  width: 260px;
  height: 160px;
  object-fit: cover;
  margin: 0 10px;
  border-radius: 10px;
  box-shadow: 0 2px 20px rgba(0, 191, 255, 0);
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: #00bfff00;
  border: none;
  color: white;
  font-size: 2em;
  padding: 10px;
  cursor: pointer;
  border-radius: 50%;
  z-index: 1;
}

.carousel-btn.prev {
  left: 10px;
}

.carousel-btn.next {
  right: 10px;
}

.lightbox {
  display: none;
  position: fixed;
  z-index: 9999;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(15, 23, 42, 0.95);
  justify-content: center;
  align-items: center;
}

.lightbox-content {
  position: relative;
  max-width: 90%;
  max-height: 90%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.lightbox-img {
  width: auto;
  height: auto;
  max-width: 500%;
  max-height: 500%;
  border-radius: 12px;
  box-shadow: 0 0 30px rgba(0, 191, 255, 0.4);
}

.cookie-banner {
  position: fixed;
  bottom: 24px;
  left: 24px;
  right: auto;
  display: flex;
  background: rgba(3, 24, 48, 0.92);
  backdrop-filter: blur(12px);
  border-radius: 16px;
  border: 1px solid rgba(0, 191, 255, 0.25);
  box-shadow: 0 18px 40px rgba(0, 191, 255, 0.20);
  max-width: 320px;
  padding: 18px 20px;
  gap: 16px;
  z-index: 1100;
  transform: translateY(120%);
  opacity: 0;
  transition: transform 0.35s ease, opacity 0.35s ease;
}

.cookie-banner.show {
  transform: translateY(0);
  opacity: 1;
}

.cookie-banner__accent {
  width: 6px;
  border-radius: 10px;
  background: linear-gradient(180deg, #30b6ff, #0060ff);
  box-shadow: 0 8px 20px rgba(0, 191, 255, 0.35);
}

.cookie-banner__content {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
  color: #d6e9ff;
  font-size: 0.95em;
  line-height: 1.4;
}

.cookie-banner__actions {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
}

.cookie-banner__button {
  padding: 10px 18px;
  border-radius: 10px;
  border: none;
  background: linear-gradient(135deg, #00bfff, #0066ff);
  color: #fff;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 12px 28px rgba(0, 191, 255, 0.25);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.cookie-banner__button:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 32px rgba(0, 191, 255, 0.35);
}

.cookie-banner__button--secondary {
  background: rgba(3, 24, 48, 0.6);
  color: #9fc9ff;
  box-shadow: 0 0 0 rgba(0, 0, 0, 0);
  border: 1px solid rgba(0, 191, 255, 0.25);
}

.cookie-banner__button--secondary:hover,
.cookie-banner__button--secondary:focus {
  background: rgba(0, 191, 255, 0.15);
  color: #ffffff;
  box-shadow: 0 10px 20px rgba(0, 191, 255, 0.25);
}

.cookie-banner__link {
  color: #73c5ff;
  text-decoration: underline;
  font-weight: 600;
}

@media (max-width: 600px) {
  .cookie-banner {
    right: 16px;
    left: 16px;
    bottom: 16px;
    max-width: unset;
  }

  .cookie-banner__actions {
    justify-content: flex-start;
  }
}

.close-btn {
  position: absolute;
  top: -20px;
  right: -20px;
  font-size: 1.8em;
  border-radius: 20px;
  color: #fff;
  background: rgba(0, 191, 255, 0);
  padding: 6px 10px;
  cursor: pointer;
  transition: background 0.3s;
  box-shadow: 0 2px 8px rgba(0, 191, 255, 0);
}

.close-btn:hover {
  background: rgba(0, 191, 255, 0.199)
}

@keyframes scroll-title {
  0% {
    transform: translateX(100%);
  }

  100% {
    transform: translateX(-100%);
  }
}

/* Consolidated styles above */

.cookie-banner,
.custom-popup {
  position: fixed;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%) translateY(40px);
  background: rgba(8, 16, 30, 0.98);
  color: #fff;
  border-radius: 18px;
  box-shadow: 0 8px 32px rgba(0, 191, 255, 0.18);
  padding: 28px 36px;
  z-index: 9999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s, transform 0.35s;
  min-width: 320px;
  max-width: 90vw;
  border: 1.5px solid #00bfff;
}

.cookie-banner.show,
.custom-popup.show {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.cookie-banner__button,
.custom-popup__button {
  background: #00bfff;
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 10px 22px;
  font-weight: 600;
  margin-right: 12px;
  cursor: pointer;
  transition: background 0.18s;
  box-shadow: 0 2px 8px rgba(0, 191, 255, 0.08);
}

.cookie-banner__button:hover,
.custom-popup__button:hover {
  background: #0099cc;
}

.cookie-banner__link {
  color: #8ddeff;
  text-decoration: underline;
  font-weight: 500;
}

@media (max-width: 600px) {

  .cookie-banner,
  .custom-popup {
    padding: 18px 10px;
    min-width: 0;
    font-size: 0.98em;
  }
}

/* --- BARRE DE SCROLL CUSTOM --- */
body,
html {
  scrollbar-width: auto;
  scrollbar-color: #00bfff #181f2a;
}

::-webkit-scrollbar {
  width: 16px;
  background: #181f2a;
  border-radius: 8px;
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(135deg, #00bfff 60%, #0099cc 100%);
  border-radius: 8px;
  min-height: 40px;
  box-shadow: 0 2px 8px rgba(0, 191, 255, 0.10);
  transition: background 0.2s;
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(135deg, #0099cc 60%, #00bfff 100%);
}

::-webkit-scrollbar-track {
  background: #181f2a;
  border-radius: 8px;
}

.custom-video-wrapper {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0, 191, 255, 0.15);
  background: #000;
}

.custom-video-wrapper video {
  width: 100%;
  display: block;
}

.video-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  background: rgba(3, 24, 48, 0.92);
  backdrop-filter: blur(8px);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.control-btn {
  background: #00bfff;
  color: #fff;
  border: none;
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 1em;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0, 191, 255, 0.2);
  transition: background 0.2s;
}

.control-btn:hover {
  background: #0099cc;
}

#seek-bar,
#volume-bar {
  flex: 1;
  margin: 0 12px;
  accent-color: #00bfff;
}

.partner-img-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 120px;
  background: none;
  /* enlève fond ovale */
  border-radius: 0;
  /* supprime forme arrondie */
  box-shadow: none;
  /* enlève halo */
}

/* Enlève le carré/ovale/halo autour des logos */
.partner-img-wrapper,
.partner-img-wrapper::before,
.partner-img-wrapper::after,
.partner-img,
.partner-card .partner-img-wrapper,
.partner-card .partner-img-wrapper::before,
.partner-card .partner-img-wrapper::after {
  background: transparent !important;
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
}

/* Centrage + taille logo (et + gros si tu veux) */
.partner-img-wrapper {
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  height: 120px !important;
  padding: 0 !important;
  border-radius: 0 !important;
}

.partner-img {
  max-height: 90px !important;
  width: auto !important;
  object-fit: contain !important;
  border-radius: 0 !important;
}

/* Enlève le soulignement sur toute la carte */
.partner-card.partner-clickable,
.partner-card.partner-clickable * {
  text-decoration: none !important;
  color: inherit;
}

/* Crop Kel'étoile logo to show only the star */
.logo-star-crop {
  overflow: hidden !important;
  display: flex !important;
  justify-content: center !important;
  align-items: flex-start !important;
}

.logo-star-crop .partner-img {
  height: 145% !important;
  /* Zoom slightly less to show full star */
  width: auto !important;
  object-fit: contain !important;
  object-position: top !important;
  max-height: none !important;
  margin-top: 0 !important;
}

/* --- Extensions de l'Index --- */
/* Games Gallery */
.games-gallery {
  padding: 100px 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.games-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.game-card {
  background: var(--color-surface);
  border: 1px solid rgba(0, 191, 255, 0.1);
  border-radius: 20px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  backdrop-filter: blur(10px);
}

.game-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 191, 255, 0.15);
  border-color: var(--color-primary);
}

.game-image {
  position: relative;
  width: 100%;
  height: 0;
  padding-top: 56.25%;
  /* 16:9 aspect ratio */
  overflow: hidden;
}

.game-image img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  max-width: 90%;
  max-height: 90%;
  transition: transform 0.5s ease;
}

.game-card:hover .game-image img {
  transform: scale(1.1);
}

.game-overlay {
  position: absolute;
  top: 15px;
  right: 15px;
}

.game-tag {
  background: var(--color-primary);
  color: #fff;
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 0.75em;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.game-info {
  padding: 25px;
}

.game-info h3 {
  margin-bottom: 10px;
  color: #fff;
  font-size: 1.5em;
}

.game-info p {
  color: var(--color-text-soft);
  font-size: 0.95em;
  line-height: 1.6;
  margin-bottom: 20px;
}

.game-link {
  color: var(--color-primary);
  text-decoration: none;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: gap 0.2s ease;
}

.game-link:hover {
  gap: 12px;
}

/* Stats Section */
.stats-section {
  padding: 60px 20px;
  background: rgba(0, 191, 255, 0.03);
  border-top: 1px solid rgba(0, 191, 255, 0.1);
  border-bottom: 1px solid rgba(0, 191, 255, 0.1);
}

.stats-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
  text-align: center;
}

.stat-value {
  font-size: 3em;
  font-weight: 800;
  color: var(--color-primary);
  font-family: 'CabinetGrotesk', sans-serif;
  margin-bottom: 5px;
}

.stat-label {
  color: var(--color-text-muted);
  font-size: 0.9em;
  text-transform: uppercase;
  letter-spacing: 2px;
}

/* Roadmap Section */
.roadmap-section {
  padding: 100px 20px;
  max-width: 1000px;
  margin: 0 auto;
}

.roadmap-timeline {
  position: relative;
  margin-top: 50px;
  padding-left: 30px;
}

.roadmap-timeline::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, var(--color-primary) 0%, rgba(0, 191, 255, 0) 100%);
}

.roadmap-item {
  position: relative;
  padding-bottom: 50px;
}

.roadmap-item::before {
  content: '';
  position: absolute;
  left: -34px;
  top: 0;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--color-primary);
  box-shadow: 0 0 10px var(--color-primary);
}

.roadmap-date {
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 10px;
  font-size: 0.9em;
}

.roadmap-content {
  background: var(--color-surface);
  padding: 20px 25px;
  border-radius: 15px;
  border: 1px solid rgba(0, 191, 255, 0.1);
}

.roadmap-content h3 {
  margin-bottom: 8px;
  font-size: 1.25em;
}

.roadmap-content p {
  color: var(--color-text-soft);
  font-size: 0.95em;
  line-height: 1.5;
}

/* Testimonials Section */
.testimonials-section {
  padding: 100px 20px;
  max-width: 1100px;
  margin: 0 auto;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.testimonial-card {
  background: var(--color-surface-glass);
  padding: 35px;
  border-radius: 20px;
  border: 1px solid rgba(0, 191, 255, 0.1);
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.testimonial-content i {
  color: var(--color-primary);
  font-size: 1.5em;
  margin-bottom: 15px;
  opacity: 0.5;
}

.testimonial-content p {
  font-style: italic;
  color: var(--color-text-soft);
  line-height: 1.7;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 15px;
}

.author-avatar {
  width: 50px;
  height: 50px;
  background: var(--color-primary-soft);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary);
}

.author-info strong {
  display: block;
  color: #fff;
}

.author-info span {
  font-size: 0.85em;
  color: var(--color-text-muted);
}

/* User Dropdown */
.user-menu {
  position: relative;
  display: inline-block;
  margin-left: 15px;
}

.user-dropdown-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  padding: 8px 16px;
  background: rgba(0, 191, 255, 0.1);
  border: 1px solid rgba(0, 191, 255, 0.3);
  border-radius: 30px;
  color: #fff;
  transition: all 0.3s;
}

.user-dropdown-btn:hover {
  background: rgba(0, 191, 255, 0.2);
  border-color: var(--color-primary);
}

.dropdown-menu {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  background: #0a1a2f;
  border: 1px solid rgba(0, 191, 255, 0.2);
  border-radius: 12px;
  min-width: 180px;
  display: none;
  flex-direction: column;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  z-index: 1000;
  overflow: hidden;
}

.dropdown-menu.active {
  display: flex !important;
}

.dropdown-item {
  padding: 12px 20px;
  color: #fff !important;
  text-decoration: none !important;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: 0.2s;
}

.dropdown-item:hover {
  background: rgba(0, 191, 255, 0.1);
  color: var(--color-primary) !important;
}

.dropdown-item i {
  color: var(--color-primary);
}

.nav-download-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  padding: 8px 16px;
  background: rgba(0, 191, 255, 0.1);
  border: 1px solid rgba(0, 191, 255, 0.3);
  border-radius: 30px;
  color: #fff !important;
  text-decoration: none !important;
  transition: all 0.3s;
  font-weight: 500;
  font-size: 0.95em;
}

.nav-download-btn:hover {
  background: rgba(0, 191, 255, 0.2);
  border-color: var(--color-primary);
  box-shadow: 0 0 15px rgba(0, 191, 255, 0.3);
  transform: translateY(-2px);
  text-decoration: none !important;
}

/* Custom Launcher Dropdown Menu CSS */
.nav-item-dropdown {
    position: relative;
    display: inline-block;
}

.nav-item-dropdown .dropdown-menu-custom {
    display: none;
    position: absolute;
    right: 0;
    top: 100%;
    background-color: #181f2a;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.5);
    z-index: 1000;
    border-radius: 8px;
    overflow: hidden;
    margin-top: 10px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.nav-item-dropdown .dropdown-menu-custom a {
    color: white;
    padding: 12px 16px;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: background-color 0.2s ease;
}

.nav-item-dropdown .dropdown-menu-custom a:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

/* Show the dropdown menu on hover */
.nav-item-dropdown:hover .dropdown-menu-custom {
    display: block;
    animation: fadeIn 0.2s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* --- Wiki Page Styling --- */
.wiki-main {
  max-width: 1100px;
  margin: 0 auto;
  padding: 110px 5% 80px;
}

.wiki-intro {
  font-size: 1.1em;
  color: rgba(255, 255, 255, 0.78);
  text-align: center;
  max-width: 900px;
  margin: 0 auto 40px;
  line-height: 1.6;
}

.wiki-search {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 45px;
}

.wiki-search input {
  flex: 1 1 360px;
  max-width: 480px;
  padding: 14px 18px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  font-size: 1em;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.wiki-search input:focus {
  outline: none;
  border-color: rgba(0, 191, 255, 0.6);
  box-shadow: 0 0 0 3px rgba(0, 191, 255, 0.18);
}

.wiki-search button {
  padding: 14px 22px;
  border-radius: 12px;
  border: none;
  background: linear-gradient(135deg, rgba(0, 191, 255, 0.95), rgba(0, 163, 255, 0.95));
  color: #000;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 10px 22px rgba(0, 191, 255, 0.25);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.wiki-search button:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(0, 191, 255, 0.35);
}

.wiki-categories {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  margin-bottom: 60px;
}

.category-card {
  background: rgba(8, 16, 30, 0.88);
  border: 1px solid rgba(0, 191, 255, 0.17);
  border-radius: 18px;
  padding: 22px 18px;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.category-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 45px rgba(0, 191, 255, 0.2);
  border-color: rgba(0, 191, 255, 0.35);
}

.category-icon {
  font-size: 1.7em;
}

.category-card h3 {
  font-size: 1.35em;
  color: #e5f7ff;
}

.category-card p {
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.6;
}

.wiki-section {
  margin-bottom: 60px;
}

.wiki-section h2 {
  font-size: 2.2em;
  color: var(--color-primary);
  margin-bottom: 24px;
}

.wiki-articles {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 22px;
}

.wiki-article {
  background: rgba(8, 16, 30, 0.78);
  border: 1px solid rgba(0, 191, 255, 0.14);
  border-radius: 18px;
  padding: 22px;
  box-shadow: 0 16px 35px rgba(0, 0, 0, 0.25);
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.wiki-article:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 191, 255, 0.3);
}

.wiki-article h4 {
  font-size: 1.3em;
  margin-bottom: 10px;
}

.wiki-article p {
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.6;
}

.faq-section {
  margin-top: 40px;
  max-width: 980px;
  margin-left: auto;
  margin-right: auto;
}

.faq-item {
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  padding: 18px 22px;
  margin-bottom: 14px;
  background: rgba(8, 16, 30, 0.72);
  cursor: pointer;
  transition: background 0.2s ease, box-shadow 0.2s ease;
}

.faq-item:hover {
  background: rgba(8, 16, 30, 0.84);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.2);
}

.faq-question {
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, 0.92);
  font-size: 1.05em;
}

.faq-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(0, 191, 255, 0.15);
  border: 1px solid rgba(0, 191, 255, 0.3);
  color: rgba(255, 255, 255, 0.8);
  font-weight: 700;
  transition: transform 0.2s ease, background 0.2s ease;
}

.faq-item.active .faq-toggle {
  transform: rotate(45deg);
  background: rgba(0, 191, 255, 0.25);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.25s ease, opacity 0.25s ease;
  opacity: 0;
  margin-top: 10px;
}

.faq-item.active .faq-answer {
  max-height: 300px;
  opacity: 1;
}

.faq-answer p {
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.6;
  margin-top: 6px;
}

@media (max-width: 820px) {
  .wiki-main {
    padding: 100px 4% 60px;
  }

  .wiki-articles {
    grid-template-columns: 1fr;
  }

  .wiki-categories {
    grid-template-columns: 1fr;
  }
}
