:root {
  /* ... tes autres variables ... */
  --accent-color-start: #6c63ff; /* Ta couleur de départ */
  --accent-color-end: #b066ff;   /* Ta couleur de fin */

  --accent-color-H-start: 242;
  --accent-color-S-start: 100%;
  --accent-color-L-start: 69%;

  --accent-color-H-end: 273;
  --accent-color-S-end: 100%;
  --accent-color-L-end: 70%;
}

/* === Styles Vidéo Fond === */
.home-background-video-container {
    position: fixed; /* Fixé par rapport à la fenêtre */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1; /* Très important: Derrière tout le reste */
    overflow: hidden; /* Empêcher tout débordement */
}
.home-background-video-container video {
    /* Assure que la vidéo couvre toute la zone */
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    /* Centrage (utile si l'aspect ratio ne correspond pas parfaitement) */
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    /* Comportement de redimensionnement */
    object-fit: cover;
}
.home-background-video-container .video-overlay {
    position: absolute;
    inset: 0; /* top: 0; right: 0; bottom: 0; left: 0; */
    /* Utiliser la variable CSS pour le fond, avec opacité */
    background-color: rgba(19, 20, 31, 0.65); /* Approx var(--primary-bg) avec 65% opacité */
    /* Ou une couleur fixe si besoin: background-color: rgba(0, 0, 0, 0.6); */
    z-index: 0; /* Au-dessus de la vidéo, mais sous le contenu */
}

.home-cta-button {
    /* Augmenter la taille du padding */
    padding-left: 2rem;  /* 32px */
    padding-right: 2rem; /* 32px */
    padding-top: 1rem;   /* 16px */
    padding-bottom: 1rem;/* 16px */

    /* Augmenter la taille de la police */
    font-size: 1.125rem; /* text-lg */
    font-weight: 500;    /* medium */

    /* Assurer que l'icône s'adapte si besoin (fa-lg devrait suffire) */
    /* line-height: 1; */ /* Peut aider à l'alignement vertical */
}

.home-cta-button-discover {
  padding: 0.8rem 2rem; /* Ajuste le padding pour qu'il soit similaire en taille au bouton "Jouer" */
  font-size: 1.125rem;  /* text-lg, ou la taille que tu utilises pour "Jouer Maintenant !" */
  font-weight: 600;     /* semibold, ou le poids que tu utilises pour "Jouer Maintenant !" */
  letter-spacing: 0.025em; /* Léger espacement des lettres */

  /* Style de base (similaire à .about-nav-button.active mais adapté) */
  background: var(--accent-gradient); /* Utilise ton dégradé accent */
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.15); /* Bordure claire subtile */

  /* Ombres pour effet "outset" (qui ressort) */
  box-shadow:
      /* Ombre principale douce en bas à droite (couleur foncée de ton thème) */
      8px 8px 18px -2px var(--neu-shadow-dark, rgba(8, 8, 13, 0.7)),
      /* Ombre claire en haut à gauche (couleur claire de ton thème) */
      -6px -6px 16px -2px var(--neu-shadow-light, rgba(29, 30, 42, 0.35)),
      /* Optionnel: très légère ombre interne pour accentuer le relief */
      inset 0px 1px 1px rgba(255, 255, 255, 0.1),
      /* Optionnel: lueur subtile de la couleur d'accent */
      0 0 10px -2px var(--accent-glow, rgba(108, 99, 255, 0.2));

  transition: transform 0.2s ease-out, box-shadow 0.2s ease-out, background 0.2s ease-out;
}

.home-cta-button-discover:hover {
  transform: translateY(-3px) scale(1.03)  skewX(-5deg); /* Effet de survol un peu plus prononcé */
  /* Assombrir légèrement le dégradé ou changer les ombres au survol */
  background: linear-gradient(135deg, rgba(108, 99, 255, 0.4) 0%, rgba(176, 102, 255, 0.4) 100%); 

  box-shadow:
      10px 10px 22px -3px var(--neu-shadow-dark, rgba(8, 8, 13, 0.75)),
      -8px -8px 20px -3px var(--neu-shadow-light, rgba(29, 30, 42, 0.4)),
      inset 0px 1px 1px rgba(255, 255, 255, 0.15),
      0 0 15px -1px var(--accent-glow, rgba(108, 99, 255, 0.3));
}

.home-cta-button-discover:active {
  transform: translateY(-1px) scale(0.99);
  /* Ombres inversées pour effet "pressé" */
  box-shadow:
      inset 4px 4px 8px -1px var(--neu-shadow-dark, rgba(8, 8, 13, 0.6)),
      inset -3px -3px 7px -1px var(--neu-shadow-light, rgba(29, 30, 42, 0.25)),
      0 0 8px -2px var(--accent-glow, rgba(108, 99, 255, 0.15));
}

/* S'assurer qu'il est aussi grand que le bouton "Jouer" (tu peux ajuster) */
.home-cta-button, .home-cta-button-discover {
  min-height: 60px; /* Exemple, ajuste à la hauteur de ton bouton "Jouer" */
}

/* Optionnel: Ajuster la taille de l'icône si fa-lg ne suffit pas */
/*
.home-cta-button i {
    font-size: 1.25em;
}
*/

/* Colonne Image */
.home-image-column img {
    filter: drop-shadow(0 10px 8px rgba(0, 0, 0, 0.4));
    transition: transform 0.3s ease-in-out;
}
.home-image-column:hover img {
    transform: scale(1.03) rotate(1deg);
}



.home-background-logo-animated-global {
    position: fixed;
    top: 67px;
    left: 0;
    width: auto;
    height: auto;
    max-width: 558px;
    object-fit: contain;
    z-index: 3;
    opacity: 0;
    transform-origin: top left;
    transform: translate(-100%, -50%) scale(0.6) rotate(-15deg); 
    pointer-events: none;
  }
     
  .home-background-logo-animated-global.logo-animation-start {
    animation: logoEntryAnimation 3.3s cubic-bezier(0.4, 0, 0.2, 1) -0.6s forwards;
  }
     
  @keyframes logoEntryAnimation {
    0% {
      transform: translate(-100%, -50%) scale(0.6) rotate(-15deg);
      opacity: 0;
    }
    30% { 
      opacity: 0.5;
    }
    40% { 
      opacity: 1;
      /* Le transform à ce point sera interpolé. Si l'animation démarre effectivement ici
         (à cause du délai négatif de -0.8s, qui est 40% de 2.0s),
         l'opacité sera de 1. */
    }
    100% {
      transform: translate(0, 0) scale(1) rotate(0deg);
      opacity: 1;
    }
  }


  /* --- NOUVEAU : Style pour le Compteur Holographique --- */
@keyframes hologram-blink {
  from, to { opacity: 1; }
  50% { opacity: 0.3; }
}

.home-image-column {
  position: relative;
  /* Active le contexte 3D pour la perspective */
  perspective: 800px;
}

.hologram-stats-wrapper {
  position: absolute;
  top: 12%; /* Position en haut */
  left: 50%;
  transform: translateX(-50%); /* Centrage horizontal initial */
  width: 100%;
  text-align: center;
  pointer-events: none;
  /* Applique la perspective de droite à gauche */
  transform-style: preserve-3d;
  transform: translateX(-50%) rotateY(-21deg); /* 347deg = -13deg */
}

.hologram-stats-content {
  display: inline-block;
  font-family: 'Share Tech Mono', monospace;
  font-size: clamp(1rem, 2.5vw, 1.5rem); /* Taille de police responsive */
  color: #a7eaff;
  padding: 0.25rem 0.75rem;
  white-space: nowrap;
  text-shadow: 
      0 0 2px #a7eaff,
      0 0 10px #71d9ff,
      0 0 20px #00F0FF;
}

.hologram-cursor {
  display: inline-block;
  animation: hologram-blink 1.2s step-end infinite;
  background-color: #a7eaff;
  box-shadow: 0 0 10px #71d9ff, 0 0 20px #00F0FF;
  margin-left: 0.5em;
  width: 0.6em; /* Curseur plus large */
  height: 1.1em; /* Curseur plus haut */
  vertical-align: -0.1em; /* Ajustement vertical */
}





/* Responsive pour mobile */
@media (max-width: 767px) {
  .hologram-stats-wrapper {
    top: 9%;
    left: 45%;
    transform: translateX(-50%) rotateY(-33deg);
  }
}
  
  /* Media queries */
  @media (max-width: 1024px) {
    .home-background-logo-animated-global {
      max-width: 400px;
    }
  }

  

/* --- Responsive --- */
@media (max-width: 767px) { /* En dessous de 'md' */
    .home-text-column {
        order: 2;
        margin-top: 0rem;
    }
    .home-background-logo-animated-global {
        top: 3px;
        max-width: 300px;
      }
    .home-image-column {
        order: 1;
    }
    .home-page-container {
        min-height: calc(100vh - 100px);
        padding-top: 2rem;
        padding-bottom: 2rem;
    }
     .home-text-column h1 {
        font-size: 2.5rem;
     }
     .home-text-column p {
        font-size: 1rem;
     }
     /* Ajuster la taille du bouton sur mobile si besoin */
     .home-cta-button {
        padding-left: 1.5rem;  /* 24px */
        padding-right: 1.5rem; /* 24px */
        padding-top: 0.75rem;  /* 12px */
        padding-bottom: 0.75rem; /* 12px */
        font-size: 1rem;       /* text-base */
     }
}

@media (max-width: 558px) {
    .home-background-logo-animated-global {
      max-width: 90%;
    }
  }
  @media (max-width: 400px) {
    .home-background-logo-animated-global {
      max-width: 200px;
    }
  }
  body.page-tutorial .home-background-logo-animated-global {
    top: 10px;
  }