/* ==========================================================================
   1. VARIABLES DE THÈME & BASE
   ========================================================================== */
[data-bs-theme="dark"] {
  --topo-bg-color: #0d1117;
  --topo-line-color: #3b4351;
  --card-bg: rgba(22, 27, 34, 0.85);
  --footer-bg: #0d1117;
  --footer-border: rgba(255, 255, 255, 0.1);
  --neon-cyan: #00f3ff;
  --neon-green: #9246ff;
  --neon-pink: #ff46aa;
}

[data-bs-theme="light"] {
  --topo-bg-color: #f8f9fa;
  --topo-line-color: #a0aec0;
  --card-bg: rgba(255, 255, 255, 0.85);
  --footer-bg: #e2e2dc;
  --footer-border: #111111;
  --neon-cyan: #0d6efd;
  --neon-green: #6610f2;
  --neon-pink: #d63384;
}

html {
  font-family: sans-serif;
  line-height: 1.15;
  -webkit-text-size-adjust: 100%;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
  padding-top: 75px; /* Compense la navbar fixe */
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', sans-serif;
}



.cursor-pointer { cursor: pointer; }

/* ==========================================================================
   2. FOND FIXE TOPOGRAPHIQUE & EFFETS
   ========================================================================== */
.fixed-background-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: -1;
  pointer-events: none;
  background-image: url("https://www.afba-airsoft.fr/assets/img/bg-texture-01.jpg");
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
  background-color: #0d1117;
  opacity: 0.45;
  filter: blur(2px) contrast(90%);
  transition: filter 0.3s ease, opacity 0.3s ease;
}

body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: -1;
  pointer-events: none;
  background: radial-gradient(circle at center, rgba(13, 17, 23, 0.4) 0%, rgba(13, 17, 23, 0.85) 100%);
}

[data-bs-theme="light"] .fixed-background-bg {
  opacity: 0.;
  filter: blur(2px) invert(1) grayscale(100%) contrast(110%);
}

[data-bs-theme="light"] body::before {
  background: radial-gradient(circle at center, rgba(248, 249, 250, 0.3) 0%, rgba(248, 249, 250, 0.75) 100%);
}

.parallax-section {
  position: relative;
  width: 100%;
  background: transparent !important;
  padding-top: 3.5rem;
  padding-bottom: 3.5rem;
  overflow: hidden;
}

body > section:first-of-type {
  padding-top: 1.5rem;
}

.parallax-section .container {
  position: relative;
  z-index: 2;
}

.content-card {
  position: relative;
  z-index: 1;
  background: var(--card-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.card-glass {
  background-color: rgba(22, 27, 34, 0.5) !important;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: none !important;
  transition: background-color 0.3s ease, transform 0.25s ease, box-shadow 0.3s ease;
}

.card-glass:hover {
  background-color: rgba(22, 27, 34, 0.7) !important;
}

[data-bs-theme="light"] .card-glass {
  background-color: rgba(255, 255, 255, 0.65) !important;
}

[data-bs-theme="light"] .card-glass:hover {
  background-color: rgba(255, 255, 255, 0.85) !important;
}

/* Motif de points décoratif */
.dots-pattern {
  position: absolute;
  width: 120px;
  height: 320px;
  z-index: 0;
  pointer-events: none;
  opacity: 0.5;
}

.dots-card-right {
  top: -10px;
  right: -10px;
}

/* Positionnement en haut à gauche */
.cross-card-left,
.dots-card-left {
  top: -20px;
  left: -20px;
  right: auto; /* Annule le placement à droite si d'autres classes s'appliquaient */
}

[data-bs-theme="dark"] .dots-pattern {
  background-image: radial-gradient(var(--neon-green) 1.5px, transparent 1.5px);
  background-size: 14px 14px;
}

[data-bs-theme="light"] .dots-pattern {
  background-image: radial-gradient(#6c757d 1.5px, transparent 1.5px);
  background-size: 14px 14px;
}



/* Adaptation des cartes de la galerie avec style Punk */

.gallery-item .punk-card {
  cursor: pointer;
  min-height: 220px;
}

.punk-card-overlay {
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0.85) 100%);
  pointer-events: none; /* Laisse le clic traverser vers la carte */
}

.gallery-item.hide {
  display: none !important;
}

/* STYLES ADMIN & UPLOAD */
.drop-zone {
  transition: all 0.2s ease-in-out;
  background-color: rgba(255, 255, 255, 0.02);
}

.drop-zone:hover, .drop-zone.dragover {
  border-color: var(--bs-primary) !important;
  background-color: rgba(13, 110, 253, 0.05);
}

.cursor-pointer {
  cursor: pointer;
}

.border-dashed {
  border-style: dashed !important;
}

/* ÉCRAN DE VERROUILLAGE ADMIN */
#authOverlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: #000;
  z-index: 9999;
}

/* --- Style de la Galerie --- */
.gallery-card {
  height: 280px;
  cursor: pointer;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.gallery-card:hover {
  transform: translateY(-5px);
  border-color: rgba(255, 255, 255, 0.3) !important;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
}

.gallery-img {
  transition: transform 0.5s ease;
}

.gallery-card:hover .gallery-img {
  transform: scale(1.08);
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0.85) 100%);
  opacity: 0.9;
  transition: opacity 0.3s ease;
}

.gallery-card:hover .gallery-overlay {
  opacity: 1;
}

/* Animations de filtre */
.gallery-item {
  transition: all 0.4s ease;
}

.gallery-item.hide {
  display: none !important;
}
/* ==========================================================================
   3. PHOTO DU JOUEUR & DÉCOR GÉOMÉTRIQUE (BRÉSIL / TACTICAL)
   ========================================================================== */
.about-image-wrapper {
  position: relative;
  display: inline-block;
  vertical-align: bottom;
}

/* Verrouille l'ancrage du décor géométrique en bas de la photo */
.about-image-wrapper .ncr-page-decor {
  display: block;
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 1;
  pointer-events: none;
  transform: scale(0.92);
  transform-origin: bottom center;
}

.hero-photo {
  position: relative;
  z-index: 2;
  margin-bottom: 0 !important;
  display: block;
}

/* Layers du décor aux tons Jaune & Vert Fluo */
.ncr-page-decor__layer-bg {
  display: block;
  position: absolute;
  left: 0; top: 0; bottom: 0; right: -50%;
  transform: skew(20deg);
  /* Points en vert fluo subtil */
  background-image: radial-gradient(rgba(80, 253, 2, 0.25) 1px, transparent 1px);
  background-size: 16px 16px;
  mix-blend-mode: overlay;
}

.ncr-page-decor__layer-1 {
  display: block;
  position: absolute;
  left: 55%; bottom: 0;
  background-color: #051a08;
  background-image: linear-gradient(#00C853, #020d04);
  width: 55%; height: 85%;
  transform: skew(-20deg) translateX(-50%);
  overflow: hidden;
}
.ncr-page-decor__layer-1::before {
  content: "";
  display: block;
  position: absolute;
  right: 9%; top: 0; width: 91%; bottom: 0;
  background-color: rgba(0, 0, 0, 0.35);
  mix-blend-mode: overlay;
}

.ncr-page-decor__layer-2 {
  display: block;
  position: absolute;
  left: 40%; bottom: 0;
  background-color: #0b2e13;
  background-image: linear-gradient(#1b5e20, #041007);
  width: 50%; height: 75%;
  transform: skew(-20deg) translateX(-50%);
  overflow: hidden;
}
.ncr-page-decor__layer-2::before {
  content: "";
  display: block;
  position: absolute;
  left: 11%; top: 0; width: 89%; bottom: 0;
  background-color: rgba(0, 0, 0, 0.25);
  mix-blend-mode: overlay;
}

.ncr-page-decor__layer-3 {
  display: block;
  position: absolute;
  left: 60%; bottom: 0;
  background-color: #50FD02;
  background-image: linear-gradient(#FFDF00, #1b5e20);
  width: 40%; height: 100%;
  transform: skew(-20deg) translateX(-50%);
  overflow: hidden;
}
.ncr-page-decor__layer-3::before {
  content: "";
  display: block;
  position: absolute;
  right: 50%; top: 0; width: 50%; bottom: 0;
  background-color: rgba(255, 255, 255, 0.2);
  mix-blend-mode: overlay;
}
.ncr-page-decor__layer-3::after {
  content: "";
  display: block;
  position: absolute;
  left: 50%; top: 0; width: 2px; height: 35%;
  /* Ligne de lumière jaune vif */
  background-color: #FFDF00;
}

.ncr-page-decor__layer-4 {
  display: block;
  position: absolute;
  left: 88%; top: 2%; width: 2px; height: 45%;
  background-color: #FFDF00;
  box-shadow: 0 0 10px #FFDF00, 0 0 20px rgba(255, 223, 0, 0.5);
  transform: skew(-20deg) translateX(-50%);
}

.ncr-page-decor__layer-5 {
  display: block;
  position: absolute;
  left: 15%; bottom: 0; width: 2px; height: 45%;
  background-color: #50FD02;
  box-shadow: 0 0 10px #50FD02, 0 0 20px rgba(80, 253, 2, 0.5);
  transform: skew(-20deg) translateX(-50%);
}

.ncr-page-decor__layer-6 {
  position: absolute;
  overflow: hidden;
  left: 0; bottom: 10%; width: 70%; height: 100px;
  opacity: 0.6;
  background-image: radial-gradient(#FFDF00 1px, transparent 1px);
  background-size: 20px 20px;
  mix-blend-mode: overlay;
  clip-path: polygon(0% 0%, 100% 0, 100% 100%, 0 100%);
}

.ncr-page-decor--cyber .ncr-page-decor__layer-1 { background-image: linear-gradient(#004d40, #00251a); }
.ncr-page-decor--cyber .ncr-page-decor__layer-2 { background-image: linear-gradient(#2e7d32, #1b5e20); }
.ncr-page-decor--cyber .ncr-page-decor__layer-3 { background-image: linear-gradient(#FFDF00, #00C853); }

[data-bs-theme="light"] .ncr-page-decor { opacity: 0.75; }


/* Motif de base (Dark Mode par défaut) */
.cross-pattern {
  position: absolute;
  pointer-events: none;
  width: 220px;
  height: 220px;
  background-image: url("data:image/svg+xml,%3Csvg width='24' height='24' viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 5h2v6h6v2h-6v6h-2v-6H5v-2h6V5z' fill='%23ffffff' fill-opacity='0.15'/%3E%3C/svg%3E");
  background-size: 24px 24px;
  -webkit-mask-image: radial-gradient(circle at center, black 10%, transparent 75%);
  mask-image: radial-gradient(circle at center, black 10%, transparent 75%);
}

/* Version Light Mode : Croix foncées */
[data-bs-theme="light"] .cross-pattern {
  background-image: url("data:image/svg+xml,%3Csvg width='24' height='24' viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 5h2v6h6v2h-6v6h-2v-6H5v-2h6V5z' fill='%23000000' fill-opacity='0.12'/%3E%3C/svg%3E");
}
/* Positionnement en haut à droite */
.cross-card-right {
  top: -20px;
  right: -20px;
}
/* Rend les cellules du tableau complètement transparentes */
.table-transparent,
.table-transparent > :not(caption) > * > * {
  background-color: transparent !important;
}
/* ==========================================
   1. GRILLE ARRIÈRE-PLAN (Grid Pattern)
   ========================================== */
.bg-grid-pattern {
  background-size: 40px 40px;
  background-image: 
    linear-gradient(to right, rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
}
/* GRID PATTERN - Mode Light (Quadrillage sombre subtil) */
[data-bs-theme="light"] .bg-grid-pattern {
  background-image: 
    linear-gradient(to right, rgba(0, 0, 0, 0.08) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(0, 0, 0, 0.08) 1px, transparent 1px);
}

.grid-pattern {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: 
    linear-gradient(to right, rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: 24px 24px;
  -webkit-mask-image: radial-gradient(circle at center, black 30%, transparent 80%);
  mask-image: radial-gradient(circle at center, black 30%, transparent 80%);
}

/* GRID PATTERN - Mode Light (Quadrillage sombre subtil) */
[data-bs-theme="light"] .grid-pattern {
  background-image: 
    linear-gradient(to right, rgba(0, 0, 0, 0.08) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(0, 0, 0, 0.08) 1px, transparent 1px);
}

/* Version avec dégradé radial pour concentrer la grille au centre */
.bg-grid-radial {
  background-size: 40px 40px;
  background-image: 
    linear-gradient(to right, rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  mask-image: radial-gradient(circle at center, black 40%, transparent 90%);
  -webkit-mask-image: radial-gradient(circle at center, black 40%, transparent 90%);
}

.bg-hex-pattern {
  background-color: #0d0f12; /* Ajuste selon ton fond */
  opacity: 0.8;
  background-image:  
    linear-gradient(30deg, rgba(255, 255, 255, 0.03) 12%, transparent 12.5%, transparent 87%, rgba(255, 255, 255, 0.03) 87.5%, rgba(255, 255, 255, 0.03)),
    linear-gradient(150deg, rgba(255, 255, 255, 0.03) 12%, transparent 12.5%, transparent 87%, rgba(255, 255, 255, 0.03) 87.5%, rgba(255, 255, 255, 0.03)),
    linear-gradient(30deg, rgba(255, 255, 255, 0.03) 12%, transparent 12.5%, transparent 87%, rgba(255, 255, 255, 0.03) 87.5%, rgba(255, 255, 255, 0.03)),
    linear-gradient(150deg, rgba(255, 255, 255, 0.03) 12%, transparent 12.5%, transparent 87%, rgba(255, 255, 255, 0.03) 87.5%, rgba(255, 255, 255, 0.03));
  background-size: 40px 70px;
  background-position: 0 0, 0 0, 20px 35px, 20px 35px;
}

.bg-lines-pattern {
  background-size: 100% 8px; /* Modifie 8px pour écarter ou rapprocher les lignes */
  background-image: linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0.03) 1px,
    transparent 1px
  );
}

.bg-target-crosses {
  background-size: 40px 40px;
  background-image: 
    linear-gradient(rgba(255, 255, 255, 0.06) 2px, transparent 2px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.06) 2px, transparent 2px);
  background-position: -1px -1px;
}

/* HACHURES - Mode Dark (par défaut) */
.bg-hatch-pattern {
  background-image: repeating-linear-gradient(
    45deg,
    rgba(255, 255, 255, 0.05),
    rgba(255, 255, 255, 0.05) 10px,
    transparent 10px,
    transparent 20px
  );
}

/* HACHURES - Mode Light (hachures sombres et discrètes) */
[data-bs-theme="light"] .bg-hatch-pattern {
  background-image: repeating-linear-gradient(
    45deg,
    rgba(0, 0, 0, 0.05),
    rgba(0, 0, 0, 0.05) 10px,
    transparent 10px,
    transparent 20px
  );
}

.bg-hatch-pattern {
  background-image: repeating-linear-gradient(
    45deg,
    rgba(var(--bs-body-color-rgb, 255, 255, 255), 0.05),
    rgba(var(--bs-body-color-rgb, 255, 255, 255), 0.05) 10px,
    transparent 10px,
    transparent 20px
  );
}
.cursor-pointer {
  cursor: pointer;
}

/* ==========================================
   2. EFFET GLITCH SUR LES TITRES
   ========================================== */

/* Micro-secousse pour accentuer le glitch */
@keyframes glitch-skew {
  0% { transform: skew(0deg); }
  20% { transform: skew(-2deg); }
  40% { transform: skew(1.5deg); }
  60% { transform: skew(-0.5deg); }
  80% { transform: skew(1deg); }
  100% { transform: skew(0deg); }
}

/* ==========================================================================
   4. TITRES, SPECS & IDENTITÉ
   ========================================================================== */
.hero-pseudo-gradient {
  background: linear-gradient(135deg, #00f3ff 0%, #7928ca 50%, #ff0080 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 0 18px rgba(0, 243, 255, 0.3));
  letter-spacing: -1px;
}

[data-bs-theme="light"] .hero-pseudo-gradient {
  background: linear-gradient(135deg, #0d6efd 0%, #6610f2 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 0 10px rgba(13, 110, 253, 0.2));
}

.tracking-wider { letter-spacing: 2px; }
.text-neon-accent { color: var(--neon-cyan); opacity: 0.8; }

.profile-specs-grid {
  border-top: 1px solid rgba(0, 255, 0, 0.08);
  border-bottom: 1px solid rgba(0, 255, 0, 0.08);
}

.text-spec-value { color: var(--neon-cyan); }

[data-bs-theme="light"] .profile-specs-grid { border-color: rgba(0, 0, 0, 0.1); }
[data-bs-theme="light"] .text-spec-value { color: var(--neon-cyan); }

.status-dot {
  width: 8px;
  height: 8px;
  background-color: #198754;
  border-radius: 50%;
  box-shadow: 0 0 8px #198754;
}

/* ==========================================================================
   5. NAVIGATION (NAVBAR)
   ========================================================================== */
[data-bs-theme="dark"] .navbar-valkivid {
  --nav-bg: rgba(13, 17, 23, 0.85);
  --nav-link-color: rgba(255, 255, 255, 1);
  --nav-border: rgba(0, 255, 0, 0.1);
}

[data-bs-theme="light"] .navbar-valkivid {
  --nav-bg: rgba(13, 17, 23, 0.85);
  --nav-link-color: rgba(255, 255, 255, 1);
  --nav-border: rgba(0, 255, 0, 0.1);
}

.navbar-valkivid {
  background: var(--nav-bg);
  border-bottom-color: var(--nav-border) !important;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 0.8rem 0;
  transition: background-color 0.3s ease;
}

.navbar-valkivid .nav-link {
  color: var(--nav-link-color);
  position: relative;
  letter-spacing: 0.1em;
  font-size: 1 rem;
  padding: 0.5rem 0;
  transition: color 0.25s ease;
}

.navbar-valkivid .nav-link:hover,
.navbar-valkivid .nav-link.active {
  color: rgba(0, 255, 0, 0.85);
}


.navbar-valkivid .nav-link:hover::after,
.navbar-valkivid .nav-link.active::after {
  transform: scaleX(1);
  transform-origin: left;
}

.valkivid-logo {
  width: 50px; height: 50px;
  background-color: var(--neon-green);
  border-radius: 50%;
  display: flex;
  align-items: center; justify-content: center;
  color: #fff;
  font-weight: 900;
  font-size: 1.2rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.valkivid-logo:hover {
  transform: scale(1.08);
  box-shadow: 0 0 20px rgba(146, 70, 255, 0.5);
}

.transition-zoom { transition: transform 0.3s ease; } .transition-zoom:hover { transform: scale(1.02); }

.navbar-nav .nav-link {
    position: relative;
    transition: color 0.2s ease;
}

.navbar-nav .nav-link:hover {
    color: #fff;
    text-shadow: 2px 0 #ff0055, -2px 0 #00FF21;
    animation: glitch-anim 0.3s infinite linear alternate-reverse;
}

@keyframes glitch-anim {
    0% { transform: translate(0); }
    20% { transform: translate(-2px, 2px); }
    40% { transform: translate(-2px, -2px); }
    60% { transform: translate(2px, 2px); }
    80% { transform: translate(2px, -2px); }
    100% { transform: translate(0); }
}
/* ==========================================================================
   6. EFFETS GLITCH & SOCIALS
   ========================================================================== */
.glitch-link {
  position: relative;
  display: inline-block;
  color: #a3ff12;
  font-weight: 700;
  text-decoration: none;
  z-index: 1;
  transition: color 0.3s ease;
}

[data-bs-theme="light"] .glitch-link { color: var(--neon-green); }

.glitch-link::before,
.glitch-link::after {
  content: attr(data-text);
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  clip-path: inset(0 0 0 0);
  opacity: 0;
  pointer-events: none;
}

.glitch-link::before { color: #00f0ff; z-index: -1; }
.glitch-link::after { color: #ff007f; z-index: -2; }

.glitch-link:hover::before { opacity: 1; animation: glitch-anim-1 0.2s infinite linear alternate-reverse; }
.glitch-link:hover::after { opacity: 1; animation: glitch-anim-2 0.2s infinite linear alternate-reverse; }

@keyframes glitch-anim-1 {
  0% { transform: translate(-2px, 1px); clip-path: inset(10% 0 60% 0); }
  50% { transform: translate(2px, -1px); clip-path: inset(50% 0 10% 0); }
  100% { transform: translate(-1px, -2px); clip-path: inset(30% 0 40% 0); }
}

@keyframes glitch-anim-2 {
  0% { transform: translate(2px, -1px); clip-path: inset(40% 0 20% 0); }
  50% { transform: translate(-2px, 2px); clip-path: inset(10% 0 70% 0); }
  100% { transform: translate(1px, 1px); clip-path: inset(80% 0 5% 0); }
}

/* Icônes Réseaux */
.social-icon-link,
.social-btn {
  color: var(--bs-body-color, #ffffff);
  transition: color 0.3s ease, border-color 0.3s ease;
  display: inline-flex;
  align-items: center; justify-content: center;
  text-decoration: none;
}

.social-icon-link:hover,
.social-btn:hover {
  color: #00ffcc;
  border-color: #00ffcc;
  animation: socialGlitch 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94) both infinite;
}

@keyframes socialGlitch {
  0% { transform: translate(0); text-shadow: none; }
  20% { transform: translate(-2px, 2px); text-shadow: 2px -2px 0px #ff0055, -2px 2px 0px #00ffff; }
  40% { transform: translate(-1px, -1px); text-shadow: -2px -2px 0px #ff0055, 2px 2px 0px #00ffff; }
  60% { transform: translate(2px, 1px); text-shadow: 1px 2px 0px #ff0055, -1px -2px 0px #00ffff; }
  80% { transform: translate(1px, -2px); text-shadow: -1px 1px 0px #ff0055, 1px -1px 0px #00ffff; }
  100% { transform: translate(0); text-shadow: none; }
}

/* ==========================================================================
   7. SECTIONS PASSIONS & GALERIE PUNK
   ========================================================================== */
.passions-title {
  letter-spacing: -1px;
  line-height: 1.1;
}

.passion-card {
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1), 
              box-shadow 0.35s cubic-bezier(0.4, 0, 0.2, 1),
              border-color 0.35s ease;
}

.passion-card:hover {
  transform: translateY(-8px);
  border-color: rgba(107, 203, 41, 0.5) !important;
  box-shadow: 0 12px 30px rgba(107, 203, 41, 0.2);
}

.passion-img-container {
  position: relative;
  width: 100%; height: 220px;
  overflow: hidden;
}

.passion-img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.passion-card:hover .passion-img { transform: scale(1.08); }

.passion-badge {
  position: absolute;
  top: 12px; right: 12px;
  background: rgba(13, 17, 23, 0.85);
  color: var(--neon-green);
  border: 1px solid rgba(146, 70, 255, 0.4);
  backdrop-filter: blur(8px);
  padding: 10px 10px;
  border-radius: 8px;
  font-size: 0.8rem;
  font-weight: 700;
}

/* Galerie Punk */
.punk-card {
  position: relative;
  aspect-ratio: 1 / 1;
  width: 100%;
  overflow: hidden;
  background-color: #0d0d0d;
  border: 3px solid transparent;
  /* Dégradé Jaune Brésil / Vert Fluo / Blanc ou Vert Foncé pour donner du relief */
  border-image: linear-gradient(135deg, #FFDF00, #50FD02, #00C853) 1;
  box-shadow: 6px 6px 0px rgba(0, 0, 0, 0.8);
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  cursor: pointer;
}


.punk-img {
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0.45;
  filter: grayscale(40%) contrast(120%) brightness(0.85);
  transition: transform 0.3s ease;
}

.punk-img2 {
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0.45;
  filter: grayscale(40%) contrast(120%) brightness(0.85);
  transition: transform 0.3s ease;
}

.punk-card::before {
    content: '';
    position: absolute;
    /* Change la couleur ici si c'était du rose/violet/cyan d'origine */
    background: linear-gradient(45deg, #00FF41, #FFDF00); /* Dégradé Vert / Jaune */
  z-index: 1;
  transition: opacity 0.3s ease;
}

.punk-card:hover {
    border-color: #00FF41; /* Vert fluo éclatant */
    box-shadow: 0 0 20px rgba(255, 223, 0, 0.5), /* Éclat Jaune Brésil */
                inset 0 0 15px rgba(0, 255, 65, 0.3); /* Lueur Vert fluo interne */
}

.punk-card:hover::before { opacity: 0; }
.punk-card:hover .punk-img { opacity: 1; filter: grayscale(0%) contrast(115%) brightness(1); }

.punk-card::after {
  content: "";
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background-size: cover; background-position: center;
  opacity: 0;
  pointer-events: none;
  z-index: 2;
}

.punk-card:hover::after {
  opacity: 0.8;
  background-image: var(--img-url);
  filter: drop-shadow(-3px 0px #ff0055) drop-shadow(3px 0px #00dfd8);
  animation: punk-glitch-anim 0.25s steps(2, end) infinite alternate;
}

@keyframes punk-glitch-anim {
  0% { transform: translate(-2px, 1px); }
  100% { transform: translate(2px, -1px); }
}

/* Animation de flottaison de la réplique */
@keyframes floatReplica {
  0%, 100% {
    transform: translateY(0px) rotate(0deg);
  }
  50% {
    transform: translateY(-12px) rotate(-1deg);
  }
}

/* Animation de l'ombre au sol */
@keyframes floatShadow {
  0%, 100% {
    transform: scale(1);
    opacity: 0.3;
  }
  50% {
    transform: scale(0.85);
    opacity: 0.15;
  }
}

.replica-floating {
  animation: floatReplica 4s ease-in-out infinite;
  filter: drop-shadow(0 15px 15px rgba(0,0,0,0.4));
}

.replica-shadow {
  width: 60%;
  height: 12px;
  background: radial-gradient(ellipse at center, rgba(0,0,0,0.6) 0%, transparent 70%);
  border-radius: 50%;
  margin: 10px auto 0 auto;
  animation: floatShadow 4s ease-in-out infinite;
}

/* ==========================================================================
   8. UTILITAIRES & FINITIONS
   ========================================================================== */
.fw-extrabold { font-weight: 800; }
.text-xs { font-size: 0.75rem; }
.fs-7 { font-size: 0.8rem; }

.text-gradient {
  background: linear-gradient(135deg, #E1C802 0%, #50FD02 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.transition-opacity { transition: opacity 0.15s ease-in-out; })
.font-decorative { font-family: "Rock Salt", cursive; }

.signature-tilted {
  display: block;
  transform: rotate(-6deg);
  transform-origin: top right;
  font-size: 2.2rem;
  line-height: 1.2;
}

.book-item { transition: transform 0.3s ease; }
.book-item:hover { transform: translateY(-5px); }

[data-bs-theme="dark"] .about-image-card {
  box-shadow: 0 0 25px rgba(146, 70, 255, 0.15);
}
/* Effet Hexagone / Nid d'abeille */
.hex-container {
    width: 220px;
    height: 250px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    transition: transform 0.3s ease, filter 0.3s ease;
}

.hex-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.hex-container:hover img {
    transform: scale(1.1);
}

/* Définition des animations du décor géométrique */
@keyframes ncrPulse {
  0%, 100% { opacity: 0.7; transform: skew(-20deg) translateX(-50%) scale(1); }
  50% { opacity: 1; transform: skew(-20deg) translateX(-50%) scale(1.02); }
}

@keyframes ncrFloat {
  0%, 100% { transform: skew(-20deg) translateX(-50%) translateY(0); }
  50% { transform: skew(-20deg) translateX(-50%) translateY(-6px); }
}

@keyframes ncrGlow {
  0%, 100% { opacity: 0.4; filter: brightness(1); }
  50% { opacity: 0.9; filter: brightness(1.4); }
}

/* Application des animations sur tes calques spécifiques */

/* Le fond à pois glisse ou pulse légèrement */
.ncr-page-decor__layer-bg {
  animation: ncrGlow 4s ease-in-out infinite;
}

/* Le layer 1 pulse doucement en taille */
.ncr-page-decor__layer-1 {
  animation: ncrPulse 6s ease-in-out infinite;
}

/* Le layer 2 flotte de haut en bas doucement */
.ncr-page-decor__layer-2 {
  animation: ncrFloat 5s ease-in-out infinite;
}

/* Les lignes lumineuses (layer 4 et 5) scintillent */
.ncr-page-decor__layer-4,
.ncr-page-decor__layer-5 {
  animation: ncrGlow 2.5s ease-in-out infinite;
}

@media (min-width: 1920px) {
  .player-info-detail__value.h3 {
    font-size: 4.375rem;
  }
}

.player-info-detail__value {
  display: block;
  float: left;
  margin-right: 12px;
  color: #a3ff12;
}
@media (min-width: 375px) {
  .player-info-detail__value {
    margin-right: 18px;
  }
}
@media (min-width: 1920px) {
  .player-info-detail__value {
    margin-right: 26px;
  }
}
.player-info-detail__value.h3 {
  margin-bottom: 0;
  font-size: 2.5rem;
  letter-spacing: -0.03em;
}
@media (min-width: 375px) {
  .player-info-detail__value.h3 {
    font-size: 2.875rem;
  }
}
@media (min-width: 1920px) {
  .player-info-detail__value.h3 {
    font-size: 4.375rem;
  }
}
  
.player-info-detail__body {
  overflow: hidden;
}

.player-info-detail__label + .social-menu--default {
  margin-top: 1px;
}

.player-info-detail__link, .player-info-detail__label, .player-info-detail__title {
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: -0.03em;
  line-height: 1;
}

.player-info-detail__link, .player-info-detail__label {
  color: #5e627e;
}

.player-info-detail__label + * {
  margin-top: 5px;
}

@media (min-width: 1920px) {
  .player-info-detail__label + * {
    margin-top: 6px;
  }
}

.player-info-detail__title + .player-info-detail__label {
  margin-top: 4px;
}

.player-info-detail__link, .player-info-detail__label, .player-info-detail__title {
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: -0.03em;
  line-height: 1;
}

.player-info-detail__title {
  font-size: 1rem;
  line-height: 1;
}

@media (min-width: 768px) {
  .player-info-detail__title {
    font-size: 1.125rem;
  }
}

@media (min-width: 1920px) {
  .player-info-detail__title {
    font-size: 1.75rem;
  }
}

.player-info-detail__title + .player-info-detail__label {
  margin-top: 4px;
}

/* 1. On transforme le conteneur principal en Flexbox pour centrer verticalement le chiffre et le texte */
.player-info-detail {
  display: flex;
  align-items: center; /* Aligne verticalement le chiffre et le texte au milieu */
  gap: 12px;           /* Espace propre entre le chiffre et le texte (remplace le float/margin-right) */
}

/* 2. On nettoie l'ancien comportement en float qui pose problème */
.player-info-detail__value {
  display: block;
  float: none;         /* On annule le float */
  margin-right: 0;     /* Remplacé par le gap du flex */
  color: #a3ff12;
  line-height: 1;      /* Crucial pour que le gros chiffre n'ait pas de "fantôme" en haut/bas */
}

.player-info-detail__value.h3 {
  margin-bottom: 0;
  font-size: 2.5rem;
  letter-spacing: -0.03em;
}

@media (min-width: 375px) {
  .player-info-detail__value.h3 {
    font-size: 2.875rem;
  }
}

@media (min-width: 1920px) {
  .player-info-detail__value.h3 {
    font-size: 4.375rem;
  }
}

/* 3. Le corps du texte s'adapte naturellement dans le flex */
.player-info-detail__body {
  overflow: visible; /* Plus besoin de hidden avec flex */
}

.player-info-detail__link, .player-info-detail__label, .player-info-detail__title {
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: -0.03em;
  line-height: 1.2; /* Légèrement ajusté pour aérer les deux lignes de texte */
}

.player-info-detail__link, .player-info-detail__label {
  color: #5e627e;
}

.player-info-detail__label + * {
  margin-top: 3px; /* Petit espacement propre entre "Hectares" et "jouable" */
}

.player-info-detail__title {
  font-size: 1rem;
}

@media (min-width: 768px) {
  .player-info-detail__title {
    font-size: 1.125rem;
  }
}

@media (min-width: 1920px) {
  .player-info-detail__title {
    font-size: 1.75rem;
  }
}

