/* ==========================================================================
   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-purple: #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-purple: #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: 'Rajdhani', sans-serif;
  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.lucienmorille.fr/img/topo-bg.webp");
  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.25;
  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-purple) 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;
}
/* ==========================================================================
   3. PHOTO DU JOUEUR & DÉCOR GÉOMÉTRIQUE (NCR)
   ========================================================================== */
.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 NCR */
.ncr-page-decor__layer-bg {
  display: block;
  position: absolute;
  left: 0; top: 0; bottom: 0; right: -50%;
  transform: skew(20deg);
  background-image: radial-gradient(rgba(146, 70, 255, 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: #1a0933;
  background-image: linear-gradient(#4a1596, #0d041a);
  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: #5c1bb5;
  background-image: linear-gradient(#7c2ae8, #2a085c);
  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: #9246ff;
  background-image: linear-gradient(#ff46aa, #5c1bb5);
  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.25);
  mix-blend-mode: overlay;
}
.ncr-page-decor__layer-3::after {
  content: "";
  display: block;
  position: absolute;
  left: 50%; top: 0; width: 2px; height: 35%;
  background-color: #ff007f;
}

.ncr-page-decor__layer-4 {
  display: block;
  position: absolute;
  left: 88%; top: 2%; width: 2px; height: 45%;
  background-color: #ff46aa;
  box-shadow: 0 0 10px #ff46aa, 0 0 20px rgba(255, 70, 170, 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: #ff007f;
  box-shadow: 0 0 10px #ff007f, 0 0 20px rgba(255, 0, 127, 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(#ff46aa 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(#501287, #0c0422); }
.ncr-page-decor--cyber .ncr-page-decor__layer-2 { background-image: linear-gradient(#8126f7, #24005a); }
.ncr-page-decor--cyber .ncr-page-decor__layer-3 { background-image: linear-gradient(#ff46aa, #7928ca); }

[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(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 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, 0.85);
  --nav-border: rgba(255, 255, 255, 0.1);
}

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

.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.05em;
  font-size: 0.9rem;
  padding: 0.5rem 0;
  transition: color 0.25s ease;
}

.navbar-valkivid .nav-link:hover,
.navbar-valkivid .nav-link.active {
  color: var(--neon-purple);
}

.navbar-valkivid .nav-link::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 100%; height: 2px;
  background-color: var(--neon-purple);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s ease;
}

.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-purple);
  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);
}

/* ==========================================================================
   6. EFFETS GLITCH & SOCIALS
   ========================================================================== */
.glitch-link {
  position: relative;
  display: inline-block;
  color: #38bdf8;
  font-weight: 700;
  text-decoration: none;
  z-index: 1;
  transition: color 0.3s ease;
}

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

.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(146, 70, 255, 0.5) !important;
  box-shadow: 0 12px 30px rgba(146, 70, 255, 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-purple);
  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;
  border-image: linear-gradient(135deg, #ff0055, #7928ca, #00dfd8) 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: all 0.4s ease;
}

.punk-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background: rgba(13, 13, 13, 0.3);
  z-index: 1;
  transition: opacity 0.3s ease;
}

.punk-card:hover {
  transform: translate(-4px, -4px);
  border-image: linear-gradient(135deg, #00dfd8, #7928ca, #ff0055) 1;
  box-shadow: 10px 10px 0px rgba(121, 40, 202, 0.5);
}

.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, #9246ff 0%, #ff46aa 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.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);
}