: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: stretch;
  justify-content: center;
  overflow: hidden;
}

.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: left;
  display: flex;
  flex-direction: column;
  gap: 24px;
  animation: fadeIn 1.2s ease;
}

.hero-kicker {
  font-size: 0.95em;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: rgba(255, 255, 255, 0.65);
}

.hero-content h1 {
  font-size: 3.6em;
  color: #00bfff;
  line-height: 1.1;
}

.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;
}

.hero-card ul li::before {
  content: "•";
  margin-right: 8px;
  color: #00bfff;
}

.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;
  }

  .hero-content {
    align-items: center;
    text-align: center;
  }

  .hero-content h1 {
    font-size: 3em;
  }

  .hero-lead {
    max-width: 100%;
  }

  .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;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  height: 2px;
  width: 20px;
  margin: 0 auto;
  background: #fff;
}

.logo {
  font-size: 1.5em;
  color: #00bfff;
  font-weight: bold;
}

.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;
}

.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: #181f2a;
  border-radius: 20px;
  box-shadow: 0 16px 44px rgba(0, 191, 255, 0.18);
}

.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 30px;
  border-radius: 12px;
  background: #00bfff;
  color: #fff;
  font-weight: 600;
  text-decoration: none;
  border: none;
  cursor: pointer;
  box-shadow: 0 12px 32px rgba(0, 191, 255, 0.25);
  transition: transform 0.2s, box-shadow 0.2s;
}

.insider-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 38px rgba(0, 191, 255, 0.35);
}

.insider-status {
  min-height: 20px;
  font-size: 0.95em;
  color: #e0e6ee;
}

.insider-status.success {
  color: #54ffa8;
}

.insider-status.error {
  color: #ff7597;
}

.insider-hp {
  position: absolute;
  left: -9999px;
  opacity: 0;
}

@media (max-width: 900px) {
  .insider-form-grid {
    grid-template-columns: 1fr;
  }

  .insider-field-full {
    grid-column: span 1;
  }
}

@media (max-width: 700px) {
  .insider-cta {
    margin: 40px 16px 0;
    padding: 32px 20px;
  }

  .insider-btn {
    width: 100%;
  }

  .insider-form-footer {
    flex-direction: column;
    align-items: stretch;
  }

  .insider-status {
    text-align: center;
  }
}

.nav-cta {
  background: #00bfff;
  color: #fff !important;
  padding: 8px 14px;
  border-radius: 8px;
  font-weight: 600;
  box-shadow: 0 2px 8px rgba(0, 191, 255, 0.15);
}

.nav-cta:hover {
  background: #0099cc;
}

/* Responsive nav */
@media (max-width: 820px) {
  .menu-toggle {
    display: flex;
  }

  .nav-links {
    position: absolute;
    top: 76px;
    right: 16px;
    left: 16px;
    flex-direction: column;
    background: rgba(0, 0, 0, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 12px 16px;
    gap: 10px;
    transform: translateY(-10px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s, transform 0.2s;
  }

  .nav-links.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 2em;
}

.nav-links a {
  color: white;
  text-decoration: none;
  transition: color 0.3s;
}

.nav-links a:hover {
  color: #00bfff;
}

.hero {
  height: 100vh;
  background: linear-gradient(to bottom right, #001f3f, #000);
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
  animation: fadeIn 2s ease-in;
}

.hero h1 {
  font-size: 3em;
  margin-bottom: 0.5em;
  color: #00bfff;
}

.hero p {
  font-size: 1.2em;
  color: #ccc;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(50px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.footer {
  background: #03224c;
  color: #fff;
  padding: 50px 0 30px 0;
  font-size: 1em;
  margin-top: 60px;
}

.footer-container {
  max-width: 1200px;
  margin: auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 40px;
}

.footer-col {
  flex: 1 1 200px;
  min-width: 200px;
}

.footer-col h3 {
  margin-bottom: 20px;
  font-size: 1.3em;
  font-weight: 600;
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-col ul li {
  margin-bottom: 12px;
  color: #fff;
  font-size: 1em;
}

.footer-col ul li a {
  color: #fff;
  text-decoration: none;
  transition: color 0.2s;
}

.footer-col ul li a:hover {
  color: #00bfff;
}

.footer-socials a {
  display: inline-block;
  margin-right: 10px;
  font-size: 1.2em;
}

.footer-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-form input[type="email"] {
  padding: 8px;
  border: none;
  border-bottom: 2px solid #fff;
  background: transparent;
  color: #fff;
  outline: none;
}

.footer-form button {
  background: #00bfff;
  color: #fff;
  border: none;
  padding: 10px 0;
  font-size: 1em;
  cursor: pointer;
  transition: background 0.2s;
}

.footer-form button:hover {
  background: #0099cc;
}

@media (max-width: 900px) {
  .footer-container {
    flex-direction: column;
    gap: 30px;
    align-items: flex-start;
  }
}

/* Service Section */
.service_section {
  padding: 60px 0;
  background: #10182000;
  margin-top: -765px;
}

.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;
  }
}

/* About Section */
.about-section {
  background: #10182000;
  padding: 80px 0 60px 0;
  margin-top: -765px;
}

.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 {
  width: 100%;
  max-width: 250px;
  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%);
  }
}

.insider-actions {
  display: flex;
  gap: 0.5rem;
  text-align: center;
  display: flex;
  justify-content: center;
  /* centre horizontalement */
  align-items: center;
  /* centre verticalement les éléments dans le conteneur */
  gap: 10px;
  /* espace entre les boutons et le séparateur */

  align-items: center;
}

.insider-btn {
  padding: 0.6rem 1rem;
  border-radius: 8px;
  text-decoration: none;
  display: inline-block;
}

.insider-btn.secondary {
  background: transparent;
  border: 1px solid;
}

.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;
}