/* Styles personnalisés du site GBON. */
.text-gold-metallic {
      background: linear-gradient(135deg, #FFF1C5 0%, #F59E0B 40%, #D97706 70%, #854D0E 100%);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
    }
    .text-gold-light {
      background: linear-gradient(135deg, #FFFFFF 0%, #FDE68A 60%, #E5B239 100%);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
    }
    .border-gold-gradient {
      border-image: linear-gradient(to right, #B45309, #FDE68A, #B45309) 1;
    }

/* Subtle glowing borders and ambient animations */
    .glow-box-gold {
      box-shadow: 0 0 25px -5px rgba(229, 178, 57, 0.25);
    }
    .glow-box-gold-lg {
      box-shadow: 0 0 45px -8px rgba(245, 158, 11, 0.35);
    }
    .hero-mask {
      background: linear-gradient(180deg, rgba(7,6,5,0.3) 0%, rgba(7,6,5,0.5) 45%, rgba(7,6,5,0.95) 85%, #070605 100%);
    }
    .hero-vignette {
      box-shadow: inset 0 0 120px rgba(0, 0, 0, 0.85);
    }
    /* Hide scrollbars for horizontal timelines while retaining scrollability */
    .no-scrollbar::-webkit-scrollbar {
      display: none;
    }
    .no-scrollbar {
      -ms-overflow-style: none;
      scrollbar-width: none;
    }

    #main-header > div > a[aria-label*="Gbon"] {
  gap: 1rem;
}

/* Header : logo au-dessus, AFRIKA TOON sur une seule ligne dessous */
#main-header a[aria-label="Retour en haut - Gbon"] > div {
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  gap: 0 !important;
}

#main-header a[aria-label="Retour en haut - Gbon"] > div img {
  display: block;
  width: 72px;
  height: 36px;
  object-fit: contain;
}

#main-header a[aria-label="Retour en haut - Gbon"] > div span {
  margin-top: 0 !important;
  white-space: nowrap;
}

/* Footer : logo au-dessus, sous-titre sur une seule ligne dessous */
[data-purpose="site-footer"] > div > div:first-child > div:first-child > div:first-child {
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  gap: 0 !important;
}

[data-purpose="site-footer"] > div > div:first-child > div:first-child > div:first-child img {
  width: 96px;
  height: 48px;
  object-fit: contain;
}

[data-purpose="site-footer"] > div > div:first-child > div:first-child > div:first-child span {
  white-space: nowrap;
}

/* Section Afrika Toon : garder l'image nette */
#studio .aspect-square > img {
  filter: none !important;
}

#studio .aspect-square > .absolute.inset-0 {
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  background: rgba(7, 6, 5, 0.2) !important;
}

/* Centrer la carte sur l'image */
#studio .aspect-square > div.relative.z-10 {
  position: absolute !important;
  top: 50% !important;
  left: 50% !important;
  transform: translate(-50%, -50%) !important;
  width: min(320px, calc(100% - 32px));
}
/* Cartes des personnages : alléger le dégradé sur les portraits */
#personnages [data-purpose="character-card"] > div:first-child > div.absolute.inset-0 {
  background: linear-gradient(
    to top,
    rgba(24, 21, 18, 0.2),
    transparent 45%
  ) !important;
}

/* Réduire légèrement le texte descriptif */
#personnages [data-purpose="character-card"] p.text-neutral-300 {
  font-size: 0.8125rem !important;
  line-height: 1.55 !important;
}

/* Bloc Univers : alléger le dégradé sombre sur les illustrations */
#univers .group > div:first-child > div.absolute.inset-0 {
  background: linear-gradient(
    to top,
    rgba(24, 21, 18, 0.2),
    transparent 50%
  ) !important;
}