/* ==========================================================================
   POUSSEYSTAN.GOV — Peak Modern Y2K McBling Luxury Stylesheet
   Preserves the exact bubblegum-pink, berry-crimson, gold-glitter & leopard
   soul of pousseykard.carrd.co, elevated with holographic foil, glass depth,
   3D tilt physics, and editorial typography.
   ========================================================================== */

@property --holo-spin {
  syntax: '<angle>';
  initial-value: 0deg;
  inherits: false;
}

:root {
  /* Core Original Palette + Elevated Luxury Tones */
  --pink-bg: #ffdfe9;
  --pink-soft: #fff0f5;
  --pink-blush: #ffd1e2;
  --pink-vivid: #f74a83;
  --pink-hot: #ff2e82;
  --pink-text: #c21452;
  --pink-text-muted: #d63c73;
  --berry: #ad073d;
  --berry-dark: #6f0427;
  --berry-glass: rgba(173, 7, 61, 0.14);
  --rose-border: #de64ad;
  --gold: #f5c352;
  --gold-bright: #ffe89e;
  --gold-deep: #b87b16;
  --lilac: #c990e8;
  --white: #ffffff;

  /* Fonts */
  --font-display: 'Bona Nova', Georgia, serif;
  --font-serif: 'Amiri', Georgia, serif;
  --font-accent: 'Andada Pro', Georgia, serif;
  --font-gov: 'Unbounded', system-ui, sans-serif;

  /* Shadows & Radii */
  --shadow-sanctuary:
    0 24px 70px rgba(84, 5, 36, 0.42),
    0 0 0 1px rgba(255, 255, 255, 0.65) inset,
    0 0 42px rgba(255, 118, 178, 0.38);
  --shadow-card: 0 14px 36px rgba(173, 7, 61, 0.16);
  --shadow-glow-pink: 0 0 28px rgba(247, 74, 131, 0.45);
  --radius-xl: 28px;
  --radius-lg: 20px;
  --radius-md: 14px;
  --radius-pill: 999px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  font-size: 16px;
  scroll-behavior: auto; /* Lenis handles smooth scroll */
  background-color: #26120b;
  color: var(--pink-text);
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-serif);
  color: var(--pink-text);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

::selection {
  background: var(--pink-vivid);
  color: #fff;
}

img {
  max-width: 100%;
  display: block;
}

[hidden] {
  display: none !important;
}

button,
input {
  font-family: inherit;
}

a {
  color: var(--berry);
  text-decoration: none;
}

/* ==========================================================================
   BACKDROP LAYERS (Iconic Leopard + Vignette + WebGL 3D + FX Canvas)
   ========================================================================== */

.leopard-backdrop {
  position: fixed;
  inset: 0;
  z-index: 0;
  background-image: url('../assets/images/bg.gif');
  background-repeat: repeat;
  background-size: 420px auto;
  background-position: center;
  filter: saturate(1.12) contrast(1.04);
  will-change: transform;
}

.leopard-vignette {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(255, 176, 214, 0.32), transparent 55%),
    radial-gradient(ellipse at 50% 50%, rgba(40, 8, 22, 0.12) 45%, rgba(28, 6, 16, 0.62) 100%);
}

.bg3d-canvas {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  z-index: 2;
  pointer-events: none;
}

.fx-canvas {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  z-index: 60;
  pointer-events: none;
}

/* ==========================================================================
   VAULT PRELOADER
   ========================================================================== */

.preloader {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 50% 35%, rgba(255, 130, 190, 0.35), transparent 60%),
    linear-gradient(155deg, #2b0518 0%, #520929 48%, #210412 100%);
  color: #fff;
  transition: opacity 0.65s cubic-bezier(0.76, 0, 0.24, 1),
    transform 0.75s cubic-bezier(0.76, 0, 0.24, 1);
  cursor: pointer;
}

.preloader.is-hidden {
  opacity: 0;
  transform: translateY(-100%);
  pointer-events: none;
}

.preloader-inner {
  text-align: center;
  padding: 2rem;
  max-width: 440px;
  width: 90%;
}

.preloader-gem {
  font-size: 3.4rem;
  margin-bottom: 0.75rem;
  animation: gemFloat 1.4s ease-in-out infinite alternate;
  filter: drop-shadow(0 0 26px rgba(255, 77, 166, 0.9));
}

@keyframes gemFloat {
  from {
    transform: translateY(0) scale(1) rotate(-6deg);
  }
  to {
    transform: translateY(-10px) scale(1.12) rotate(6deg);
  }
}

.preloader-gov {
  font-family: var(--font-gov);
  font-size: 0.68rem;
  letter-spacing: 0.22em;
  color: var(--gold-bright);
  margin-bottom: 0.6rem;
}

.preloader-title {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 4vw, 2.3rem);
  font-weight: 700;
  margin-bottom: 1.4rem;
  background: linear-gradient(90deg, #fff, #ffcce4, #ffe89e, #fff);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: shimmerText 2.2s linear infinite;
}

.preloader-bar-track {
  height: 7px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  overflow: hidden;
  border: 1px solid rgba(255, 212, 234, 0.3);
  margin-bottom: 0.75rem;
}

.preloader-bar-fill {
  height: 100%;
  width: 0%;
  border-radius: 999px;
  background: linear-gradient(90deg, #ff4da6, #ffd966, #ff85c0);
  box-shadow: 0 0 18px rgba(255, 77, 166, 0.85);
  transition: width 0.16s linear;
}

.preloader-status {
  font-family: var(--font-gov);
  font-size: 0.64rem;
  letter-spacing: 0.14em;
  color: rgba(255, 223, 236, 0.82);
}

/* ==========================================================================
   TOP GOV MARQUEE TICKER
   ========================================================================== */

.gov-ticker {
  position: relative;
  z-index: 20;
  overflow: hidden;
  background: linear-gradient(90deg, #75042a, #ad073d, #d91c63, #ad073d, #75042a);
  border-bottom: 1px solid rgba(255, 232, 158, 0.55);
  box-shadow: 0 4px 20px rgba(74, 3, 28, 0.45);
  padding: 0.45rem 0;
}

.gov-ticker-track {
  display: flex;
  gap: 2.5rem;
  width: max-content;
  font-family: var(--font-gov);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: #fff5fa;
  animation: tickerScroll 28s linear infinite;
}

.gov-ticker-track span {
  white-space: nowrap;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.35);
}

@keyframes tickerScroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

/* ==========================================================================
   STICKY FLOATING GLASS-BERRY DOCK
   ========================================================================== */

.floating-dock {
  position: sticky;
  top: 12px;
  z-index: 40;
  margin: 14px auto 0;
  max-width: 900px;
  width: calc(100% - 24px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.55rem;
  padding: 0.48rem 0.8rem;
  border-radius: var(--radius-pill);
  background: rgba(255, 234, 243, 0.86);
  backdrop-filter: blur(18px) saturate(1.6);
  -webkit-backdrop-filter: blur(18px) saturate(1.6);
  border: 1.5px solid rgba(173, 7, 61, 0.28);
  box-shadow:
    0 12px 34px rgba(96, 4, 37, 0.28),
    0 1px 0 rgba(255, 255, 255, 0.85) inset;
}

.dock-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.36rem;
  font-family: var(--font-gov);
  font-size: 0.64rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  color: var(--berry);
  white-space: nowrap;
  padding: 0.22rem 0.4rem;
  border-radius: var(--radius-pill);
  transition: transform 0.25s ease;
  flex-shrink: 0;
}

.dock-brand:hover {
  transform: scale(1.04);
}

.dock-gem {
  font-size: 1rem;
  filter: drop-shadow(0 0 8px rgba(247, 74, 131, 0.7));
}

.dock-links {
  display: flex;
  align-items: center;
  gap: 0.14rem;
  flex-wrap: nowrap;
  justify-content: center;
}

.dock-link {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.84rem;
  color: var(--berry);
  padding: 0.34rem 0.6rem;
  border-radius: var(--radius-pill);
  transition: background 0.25s ease, color 0.25s ease, transform 0.2s ease, box-shadow 0.25s ease;
  white-space: nowrap;
}

.dock-link:hover {
  background: rgba(247, 74, 131, 0.16);
  color: var(--berry-dark);
  transform: translateY(-1px);
}

.dock-link.is-active {
  background: linear-gradient(135deg, var(--pink-vivid), var(--berry));
  color: #fff;
  box-shadow: 0 4px 14px rgba(173, 7, 61, 0.35);
}

.dock-controls {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  flex-shrink: 0;
}

.dock-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.26rem;
  border: 1px solid rgba(173, 7, 61, 0.26);
  background: rgba(255, 255, 255, 0.78);
  color: var(--berry);
  border-radius: var(--radius-pill);
  padding: 0.32rem 0.58rem;
  font-family: var(--font-gov);
  font-size: 0.6rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.24s ease;
}

.dock-btn:hover {
  background: #fff;
  border-color: var(--pink-vivid);
  box-shadow: 0 4px 14px rgba(247, 74, 131, 0.28);
  transform: translateY(-1px);
}

.dock-btn[aria-pressed='true'] {
  background: linear-gradient(135deg, #ff3e8a, #f5b93b);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 0 18px rgba(255, 62, 138, 0.55);
}

/* ==========================================================================
   MAIN CENTERED PINK SANCTUARY SHELL
   ========================================================================== */

.page-shell {
  position: relative;
  z-index: 10;
  padding: 20px 18px 64px;
  display: flex;
  justify-content: center;
}

.sanctuary {
  position: relative;
  width: 100%;
  max-width: 820px;
  background: linear-gradient(
    180deg,
    rgba(255, 223, 233, 0.96) 0%,
    rgba(255, 232, 240, 0.95) 45%,
    rgba(255, 221, 233, 0.96) 100%
  );
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 34px;
  padding: 2.6rem clamp(1.2rem, 4vw, 3rem) 3rem;
  box-shadow: var(--shadow-sanctuary);
  border: 2px solid rgba(255, 255, 255, 0.75);
  overflow: hidden;
}

.sanctuary::before {
  content: '';
  position: absolute;
  inset: 8px;
  border-radius: 26px;
  border: 1px solid rgba(173, 7, 61, 0.2);
  pointer-events: none;
}

.sanctuary-sheen {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 12% 6%, rgba(255, 255, 255, 0.65), transparent 34%),
    radial-gradient(circle at 88% 18%, rgba(255, 215, 118, 0.22), transparent 36%),
    radial-gradient(circle at 50% 84%, rgba(247, 74, 131, 0.12), transparent 44%);
}

/* ==========================================================================
   3D HOLOGRAPHIC FOIL & TILT SHARED SYSTEM
   ========================================================================== */

[data-tilt] {
  --rx: 0deg;
  --ry: 0deg;
  --mx: 50%;
  --my: 50%;
  --holo-angle: 120deg;
  transform: perspective(1000px) rotateX(var(--rx)) rotateY(var(--ry));
  transform-style: preserve-3d;
  transition: transform 0.24s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.3s ease;
  will-change: transform;
}

[data-tilt].is-tilting {
  transition: transform 0.06s linear;
}

.holo-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: inherit;
  opacity: 0;
  transition: opacity 0.35s ease;
  background: radial-gradient(
    circle at var(--mx, 50%) var(--my, 50%),
    rgba(255, 255, 255, 0.45) 0%,
    rgba(255, 198, 229, 0.22) 28%,
    transparent 65%
  );
  mix-blend-mode: overlay;
  z-index: 4;
}

.holo-overlay.holo-rainbow {
  background:
    radial-gradient(
      circle at var(--mx, 50%) var(--my, 50%),
      rgba(255, 255, 255, 0.55) 0%,
      transparent 48%
    ),
    linear-gradient(
      var(--holo-angle, 120deg),
      transparent 12%,
      rgba(255, 92, 178, 0.28) 30%,
      rgba(255, 231, 120, 0.34) 46%,
      rgba(130, 235, 255, 0.28) 60%,
      rgba(210, 130, 255, 0.28) 74%,
      transparent 88%
    );
  mix-blend-mode: color-dodge;
}

[data-tilt]:hover .holo-overlay,
body.glitter-overdrive .holo-overlay {
  opacity: 0.92;
}

/* ==========================================================================
   DIVIDERS & SECTION SPACING
   ========================================================================== */

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

.luxury-divider {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 2.8rem 0;
  color: var(--berry);
  font-size: 0.9rem;
  letter-spacing: 0.24em;
  opacity: 0.85;
}

.luxury-divider::before,
.luxury-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--berry), transparent);
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */

.gov-badge-row {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 1.35rem;
}

.gov-seal-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.38rem 0.9rem;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(173, 7, 61, 0.28);
  font-family: var(--font-gov);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--berry);
  box-shadow: 0 4px 14px rgba(173, 7, 61, 0.1);
}

.gov-seal-gold {
  background: linear-gradient(135deg, #fff5cf, #ffd975);
  color: #6b3d00;
  border-color: rgba(184, 123, 22, 0.45);
}

.pulse-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #ff257b;
  box-shadow: 0 0 10px #ff257b;
  animation: pulseDot 1.6s ease-in-out infinite;
}

@keyframes pulseDot {
  0%,
  100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.45);
    opacity: 0.55;
  }
}

/* Gold Bokeh Glitter Title Plaque (Upgraded #container07) */
.glitter-title-plaque {
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  padding: 2rem 1.8rem 1.6rem;
  text-align: center;
  border: 2px solid rgba(255, 226, 138, 0.85);
  box-shadow:
    0 18px 46px rgba(130, 74, 0, 0.28),
    0 0 32px rgba(255, 211, 96, 0.34),
    0 0 0 1px rgba(173, 7, 61, 0.25);
  margin-bottom: 2.2rem;
}

.glitter-bg {
  position: absolute;
  inset: -12px;
  background:
    linear-gradient(180deg, rgba(46, 22, 2, 0.32), rgba(74, 10, 34, 0.42)),
    url('../assets/images/container07.gif') center / cover no-repeat;
  filter: saturate(1.18) contrast(1.06);
  z-index: 0;
}

.glitter-frame-corners span {
  position: absolute;
  color: #ffe89e;
  font-size: 1rem;
  z-index: 3;
  text-shadow: 0 0 10px rgba(255, 232, 158, 0.9);
}
.glitter-frame-corners span:nth-child(1) { top: 10px; left: 14px; }
.glitter-frame-corners span:nth-child(2) { top: 10px; right: 14px; }
.glitter-frame-corners span:nth-child(3) { bottom: 10px; left: 14px; }
.glitter-frame-corners span:nth-child(4) { bottom: 10px; right: 14px; }

.main-title {
  position: relative;
  z-index: 2;
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2.15rem, 6.2vw, 3.85rem);
  font-weight: 700;
  line-height: 1.15;
  color: #ffffff;
  text-shadow:
    0 2px 0 rgba(124, 5, 45, 0.55),
    0 6px 24px rgba(0, 0, 0, 0.52),
    0 0 28px rgba(255, 224, 130, 0.55);
  transform: translateZ(24px);
}

.title-line {
  display: block;
}

.title-line-accent {
  text-shadow: none;
  background: linear-gradient(90deg, #ffffff 0%, #fff6cc 32%, #ffe07d 52%, #ffd4eb 76%, #ffffff 100%);
  background-size: 220% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: shimmerText 4.5s linear infinite;
  filter: drop-shadow(0 3px 10px rgba(42, 4, 18, 0.88)) drop-shadow(0 0 22px rgba(255, 224, 130, 0.65));
}

@keyframes shimmerText {
  to {
    background-position: 220% center;
  }
}

.title-subtag {
  position: relative;
  z-index: 2;
  margin: 0.7rem 0 0;
  font-family: var(--font-gov);
  font-size: 0.62rem;
  letter-spacing: 0.24em;
  color: #ffe9b5;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.6);
}

/* Hero 3D Holographic Collector Card (#image01.jpg) */
.hero-stage {
  display: flex;
  justify-content: center;
  margin: 2rem 0 2.3rem;
}

.hero-holo-card {
  position: relative;
  display: block;
  width: min(510px, 100%);
  border-radius: 30px;
  padding: 5px;
  background: conic-gradient(
    from var(--holo-spin),
    #ff4da6,
    #ffe07d,
    #ff9ed2,
    #c68cff,
    #ff2b85,
    #ff4da6
  );
  animation: spinHoloBorder 7s linear infinite;
  box-shadow:
    0 24px 56px rgba(173, 7, 61, 0.34),
    0 0 42px rgba(247, 74, 131, 0.32);
}

@keyframes spinHoloBorder {
  to {
    --holo-spin: 360deg;
  }
}

.hero-card-inner {
  position: relative;
  border-radius: 25px;
  overflow: hidden;
  background: #ffdce9;
}

.hero-collage-img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.hero-holo-card:hover .hero-collage-img {
  transform: scale(1.03);
}

.hero-card-hud {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 14px;
  z-index: 6;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.hud-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.38rem 0.78rem;
  border-radius: var(--radius-pill);
  font-family: var(--font-gov);
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.hud-chip-live {
  background: rgba(34, 4, 22, 0.72);
  color: #fff;
  border: 1px solid rgba(255, 134, 196, 0.55);
}

.live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #ff4298;
  box-shadow: 0 0 10px #ff4298;
  animation: pulseDot 1.3s ease-in-out infinite;
}

.hud-chip-edition {
  background: rgba(255, 240, 247, 0.86);
  color: var(--berry);
  border: 1px solid rgba(173, 7, 61, 0.3);
}

.float-charm {
  position: absolute;
  font-size: 1.85rem;
  pointer-events: none;
  transform: translateZ(46px);
  filter: drop-shadow(0 8px 14px rgba(120, 4, 45, 0.35));
  z-index: 8;
  animation: charmBob 3.4s ease-in-out infinite;
}

.charm-tl { top: -14px; left: -14px; animation-delay: 0s; }
.charm-tr { top: -16px; right: -12px; animation-delay: 0.7s; }
.charm-bl { bottom: -14px; left: -14px; animation-delay: 1.4s; }
.charm-br { bottom: -14px; right: -12px; animation-delay: 2.1s; }

@keyframes charmBob {
  0%, 100% {
    transform: translateZ(46px) translateY(0) rotate(-5deg);
  }
  50% {
    transform: translateZ(56px) translateY(-8px) rotate(6deg);
  }
}

/* Intro Decree Box (#text06) */
.decree-box {
  position: relative;
  background: rgba(255, 255, 255, 0.72);
  border: 1.5px solid rgba(173, 7, 61, 0.25);
  border-radius: 22px;
  padding: 1.65rem 1.75rem 1.4rem;
  box-shadow: 0 12px 30px rgba(173, 7, 61, 0.09);
  margin-bottom: 1.6rem;
}

.decree-ribbon {
  display: inline-block;
  font-family: var(--font-gov);
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: #fff;
  background: linear-gradient(90deg, var(--berry), var(--pink-vivid));
  padding: 0.28rem 0.85rem;
  border-radius: var(--radius-pill);
  margin-bottom: 0.85rem;
  box-shadow: 0 4px 12px rgba(173, 7, 61, 0.28);
}

.intro-subtitle {
  margin: 0;
  font-family: var(--font-serif);
  font-size: clamp(1.25rem, 2.6vw, 1.55rem);
  font-weight: 400;
  line-height: 1.55;
  color: var(--pink-text);
}

/* Live Treasury Telemetry Strip */
.treasury-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.8rem;
  margin-bottom: 1.6rem;
}

.treasury-stat {
  position: relative;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.9), rgba(255, 224, 236, 0.85));
  border: 1.5px solid rgba(173, 7, 61, 0.24);
  border-radius: 18px;
  padding: 1rem 0.75rem;
  text-align: center;
  box-shadow: 0 10px 22px rgba(173, 7, 61, 0.1);
}

.stat-icon {
  display: block;
  font-size: 1.45rem;
  margin-bottom: 0.25rem;
}

.stat-value {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2.6vw, 1.62rem);
  font-weight: 700;
  color: var(--berry);
  line-height: 1.15;
}

.stat-label {
  display: block;
  margin-top: 0.25rem;
  font-family: var(--font-gov);
  font-size: 0.56rem;
  letter-spacing: 0.06em;
  color: var(--pink-text-muted);
  text-transform: uppercase;
}

/* Spotlight Search Bar */
.spotlight-bar {
  text-align: center;
}

.spotlight-input-wrap {
  position: relative;
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.88);
  border: 2px solid rgba(173, 7, 61, 0.28);
  border-radius: var(--radius-pill);
  padding: 0.35rem 0.9rem;
  box-shadow: 0 8px 24px rgba(173, 7, 61, 0.11);
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.spotlight-input-wrap:focus-within {
  border-color: var(--pink-vivid);
  box-shadow: 0 0 0 4px rgba(247, 74, 131, 0.2), 0 12px 26px rgba(173, 7, 61, 0.18);
}

.spotlight-icon {
  font-size: 1.05rem;
  margin-right: 0.55rem;
}

.spotlight-input {
  flex: 1;
  border: none;
  background: transparent;
  padding: 0.5rem 0.25rem;
  font-family: var(--font-serif);
  font-size: 1.08rem;
  color: var(--berry-dark);
  outline: none;
}

.spotlight-input::placeholder {
  color: rgba(194, 20, 82, 0.52);
}

.spotlight-input::-webkit-search-cancel-button,
.spotlight-input::-webkit-search-decoration {
  -webkit-appearance: none;
  appearance: none;
  display: none;
}

.spotlight-clear {
  border: none;
  background: rgba(173, 7, 61, 0.12);
  color: var(--berry);
  width: 28px;
  height: 28px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 0.82rem;
  display: grid;
  place-items: center;
  transition: background 0.2s ease, color 0.2s ease;
}

.spotlight-clear:hover {
  background: var(--berry);
  color: #fff;
}

.spotlight-hint {
  margin: 0.65rem 0 0;
  font-size: 0.96rem;
  color: var(--pink-text-muted);
}

.spotlight-hint strong {
  color: var(--berry);
}

/* ==========================================================================
   CINEMA PIXEL-RIBBON BANNERS (Donation Alerts & Twitch)
   ========================================================================== */

.cinema-banner {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 170px;
  padding: 1.5rem 1.2rem;
  border-radius: 24px;
  overflow: hidden;
  border: 2px solid rgba(173, 7, 61, 0.42);
  box-shadow:
    0 18px 40px rgba(102, 4, 38, 0.24),
    0 0 0 1px rgba(255, 255, 255, 0.45) inset;
  margin-bottom: 1.5rem;
}

.cinema-banner-bg {
  position: absolute;
  inset: -14px;
  background-size: cover;
  background-position: center;
  transition: transform 0.6s ease;
  z-index: 0;
}

.cinema-banner:hover .cinema-banner-bg {
  transform: scale(1.06);
}

.cinema-banner-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(28, 4, 15, 0.22),
    rgba(95, 5, 38, 0.48)
  );
  z-index: 1;
}

.pixel-ribbon-img {
  position: relative;
  z-index: 3;
  width: min(490px, 92%);
  height: auto;
  transform: translateZ(34px);
  filter: drop-shadow(0 12px 24px rgba(0, 0, 0, 0.55));
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.cinema-banner:hover .pixel-ribbon-img {
  transform: translateZ(46px) scale(1.04);
}

.banner-cta-pill {
  position: relative;
  z-index: 3;
  margin-top: 0.7rem;
  padding: 0.3rem 0.9rem;
  border-radius: var(--radius-pill);
  background: rgba(255, 240, 247, 0.9);
  color: var(--berry);
  font-family: var(--font-gov);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.32);
  transform: translateZ(26px);
  transition: background 0.25s ease, color 0.25s ease;
}

.cinema-banner:hover .banner-cta-pill {
  background: var(--pink-vivid);
  color: #fff;
}

/* ==========================================================================
   TOP-3 VIP SHEIKH PODIUM CARDS
   ========================================================================== */

.podium-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.9rem;
  margin-bottom: 1.5rem;
}

.podium-card {
  position: relative;
  border-radius: 20px;
  padding: 1.2rem 0.95rem 1.05rem;
  text-align: center;
  cursor: pointer;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.85);
  border: 1.5px solid rgba(173, 7, 61, 0.28);
  box-shadow: 0 12px 28px rgba(173, 7, 61, 0.13);
  transition: transform 0.25s ease, box-shadow 0.3s ease;
}

.podium-card:hover {
  box-shadow: 0 18px 38px rgba(173, 7, 61, 0.24);
}

.podium-card.podium-1 {
  background: linear-gradient(155deg, #fffaf0 0%, #ffe6ef 55%, #ffefc2 100%);
  border: 2px solid #e6a825;
  box-shadow: 0 16px 36px rgba(212, 148, 12, 0.28);
}

.podium-card.podium-2 {
  background: linear-gradient(155deg, #ffffff 0%, #ffe1ee 60%, #f4ddff 100%);
  border: 2px solid #d45ca0;
}

.podium-card.podium-3 {
  background: linear-gradient(155deg, #fff7fa 0%, #ffd8e8 100%);
  border: 2px solid #d94a7b;
}

.podium-crown {
  font-size: 1.7rem;
  line-height: 1;
  margin-bottom: 0.35rem;
  display: block;
}

.podium-rank-tag {
  display: inline-block;
  font-family: var(--font-gov);
  font-size: 0.54rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--berry);
  background: rgba(173, 7, 61, 0.1);
  padding: 0.22rem 0.58rem;
  border-radius: var(--radius-pill);
  margin-bottom: 0.45rem;
  white-space: nowrap;
}

.podium-1 .podium-rank-tag {
  background: linear-gradient(90deg, #f3b82d, #ffe285);
  color: #5b3100;
}

.podium-name {
  font-family: var(--font-display);
  font-size: 1.18rem;
  font-weight: 700;
  color: var(--berry-dark);
  margin: 0.15rem 0 0.35rem;
  word-break: break-word;
}

.podium-metric {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--pink-vivid);
}

.podium-sub {
  display: block;
  margin-top: 0.25rem;
  font-size: 0.85rem;
  color: var(--pink-text-muted);
}

/* ==========================================================================
   REGISTRY TOOLBAR & LUXURY TABLES (Exact Berry-Grid Heritage + Modern UX)
   ========================================================================== */

.registry-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-bottom: 0.85rem;
}

.toolbar-title {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-size: 1.12rem;
  font-weight: 700;
  color: var(--berry);
}

.toolbar-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--pink-vivid);
  box-shadow: 0 0 10px var(--pink-vivid);
}

.toolbar-dot.dot-twitch {
  background: #a44cff;
  box-shadow: 0 0 10px #a44cff;
}

.toolbar-count {
  font-family: var(--font-gov);
  font-size: 0.64rem;
  background: rgba(173, 7, 61, 0.14);
  color: var(--berry);
  padding: 0.18rem 0.55rem;
  border-radius: var(--radius-pill);
}

.sort-pills {
  display: flex;
  gap: 0.35rem;
  flex-wrap: wrap;
}

.sort-pill {
  border: 1px solid rgba(173, 7, 61, 0.3);
  background: rgba(255, 255, 255, 0.72);
  color: var(--berry);
  border-radius: var(--radius-pill);
  padding: 0.32rem 0.72rem;
  font-family: var(--font-gov);
  font-size: 0.6rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
}

.sort-pill:hover {
  background: #fff;
  border-color: var(--pink-vivid);
}

.sort-pill.is-active {
  background: linear-gradient(135deg, var(--pink-vivid), var(--berry));
  color: #fff;
  border-color: transparent;
  box-shadow: 0 4px 14px rgba(173, 7, 61, 0.28);
}

.luxury-table-wrap {
  border-radius: 20px;
  overflow: hidden;
  border: 1.5px solid var(--berry);
  background: rgba(255, 232, 241, 0.75);
  box-shadow: 0 12px 30px rgba(173, 7, 61, 0.12);
}

.luxury-table {
  width: 100%;
  border-collapse: collapse;
  text-align: center;
}

.luxury-table thead th {
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 2.2vw, 1.32rem);
  font-weight: 700;
  color: var(--berry);
  background: rgba(173, 7, 61, 0.18);
  padding: 0.72rem 0.65rem;
  border-bottom: 1.5px solid var(--berry);
  border-right: 1px solid rgba(173, 7, 61, 0.35);
}

.luxury-table thead th:last-child {
  border-right: none;
}

.luxury-table tbody tr {
  position: relative;
  cursor: pointer;
  transition: background 0.22s ease, transform 0.2s ease;
}

.luxury-table tbody tr:nth-child(even) {
  background: rgba(255, 255, 255, 0.32);
}

.luxury-table tbody tr:hover {
  background: linear-gradient(90deg, rgba(247, 74, 131, 0.16), rgba(255, 255, 255, 0.72), rgba(247, 74, 131, 0.16));
}

.luxury-table tbody td {
  font-family: var(--font-serif);
  font-size: clamp(1.12rem, 2.4vw, 1.38rem);
  line-height: 1.35;
  color: var(--pink-text);
  padding: 0.56rem 0.65rem;
  border-bottom: 1px solid rgba(173, 7, 61, 0.32);
  border-right: 1px solid rgba(173, 7, 61, 0.24);
  vertical-align: middle;
}

.luxury-table tbody tr:last-child td {
  border-bottom: none;
}

.luxury-table tbody td:last-child {
  border-right: none;
}

.col-rank {
  width: 54px;
}

.rank-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 28px;
  height: 28px;
  padding: 0 0.35rem;
  border-radius: 50%;
  font-family: var(--font-gov);
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--berry);
  background: rgba(173, 7, 61, 0.08);
}

.rank-badge.is-top1 {
  background: linear-gradient(135deg, #ffd85c, #f29d12);
  color: #4f2500;
  box-shadow: 0 2px 10px rgba(242, 157, 18, 0.45);
}

.rank-badge.is-top2 {
  background: linear-gradient(135deg, #ffffff, #f2b7d9);
  color: var(--berry-dark);
  border: 1px solid var(--rose-border);
}

.rank-badge.is-top3 {
  background: linear-gradient(135deg, #ff99c2, #e03e7d);
  color: #fff;
}

.donor-cell {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  flex-wrap: wrap;
}

.donor-name {
  font-weight: 700;
  color: var(--pink-text);
  transition: color 0.2s ease;
}

.luxury-table tbody tr:hover .donor-name {
  color: var(--berry-dark);
}

.cross-badges {
  display: inline-flex;
  gap: 0.22rem;
  align-items: center;
}

.mini-badge {
  font-size: 0.72rem;
  padding: 0.06rem 0.32rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(173, 7, 61, 0.2);
  line-height: 1.2;
}

.metric-cell {
  position: relative;
  min-width: 112px;
}

.metric-val {
  position: relative;
  z-index: 2;
  font-weight: 700;
  color: var(--berry);
  font-variant-numeric: tabular-nums;
}

.metric-bar-bg {
  position: relative;
  height: 5px;
  width: 82%;
  margin: 4px auto 0;
  border-radius: 999px;
  background: rgba(173, 7, 61, 0.11);
  overflow: hidden;
}

.metric-bar-fill {
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--pink-vivid), #ffb84d);
  transition: width 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.metric-bar-fill.bar-twitch {
  background: linear-gradient(90deg, #b84dff, var(--pink-vivid));
}

.metric-bar-fill.bar-bits {
  background: linear-gradient(90deg, #00c4d6, #ff4da6);
}

.table-empty {
  padding: 2rem 1rem;
  text-align: center;
  font-size: 1.15rem;
  color: var(--berry);
}

/* ==========================================================================
   STEAM BRATVA LEOPARD VAULT (#container02 + #gallery01 + #table03)
   ========================================================================== */

.steam-leopard-vault {
  position: relative;
  border-radius: 26px;
  padding: 2.2rem 1.4rem;
  background: url('../assets/images/container02.jpg') center / cover no-repeat;
  border: 2.5px solid #e6b24c;
  box-shadow:
    0 20px 44px rgba(84, 38, 4, 0.34),
    0 0 0 1px rgba(173, 7, 61, 0.3);
  display: flex;
  justify-content: center;
  overflow: hidden;
  margin-bottom: 1.5rem;
}

.steam-leopard-vault::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, transparent 35%, rgba(35, 14, 4, 0.45) 100%);
  pointer-events: none;
}

.ferret-shrine-card {
  position: relative;
  z-index: 2;
  display: block;
  width: min(320px, 92%);
  border-radius: 24px;
  overflow: hidden;
  border: 2px solid #de64ad;
  background: #14050d;
  box-shadow:
    0 22px 48px rgba(0, 0, 0, 0.55),
    0 0 32px rgba(247, 74, 131, 0.45);
}

.ferret-caption-glass {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.58rem 0.9rem;
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  font-family: var(--font-accent);
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #ba3a63;
  border-bottom: 1px solid rgba(222, 100, 173, 0.55);
}

.ferret-gif {
  width: 100%;
  height: auto;
  display: block;
}

.ferret-footer-cta {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 5;
  white-space: nowrap;
  padding: 0.34rem 0.85rem;
  border-radius: var(--radius-pill);
  background: rgba(28, 6, 18, 0.82);
  color: #ffe89e;
  border: 1px solid rgba(255, 224, 125, 0.55);
  font-family: var(--font-gov);
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  transition: background 0.25s ease, color 0.25s ease;
}

.ferret-shrine-card:hover .ferret-footer-cta {
  background: var(--pink-vivid);
  color: #fff;
  border-color: #fff;
}

.steam-trophies {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.85rem;
  margin-bottom: 1.25rem;
}

.steam-trophy-card {
  position: relative;
  border-radius: 20px;
  padding: 1.1rem 1rem;
  background: linear-gradient(155deg, rgba(255, 255, 255, 0.9), rgba(255, 226, 238, 0.86));
  border: 1.5px solid rgba(173, 7, 61, 0.3);
  box-shadow: 0 12px 26px rgba(173, 7, 61, 0.12);
  cursor: pointer;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.steam-trophy-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.4rem;
}

.steam-trophy-name {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--berry-dark);
}

.steam-trophy-name.is-italic {
  font-style: italic;
}

.steam-game-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.game-chip {
  font-family: var(--font-serif);
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 1.25;
  padding: 0.22rem 0.6rem;
  border-radius: 10px;
  background: rgba(247, 74, 131, 0.12);
  color: var(--berry);
  border: 1px solid rgba(173, 7, 61, 0.22);
}

.steam-table-wrap tbody td {
  font-weight: 700;
}

.col-steam-name {
  width: 38%;
}

/* ==========================================================================
   HONORABLE MENTION CONSTELLATION (#container05 + #list01)
   ========================================================================== */

.honorable-banner {
  position: relative;
  overflow: hidden;
  border-radius: 22px;
  padding: 1.55rem 1.4rem;
  text-align: center;
  border: 2px solid rgba(226, 178, 245, 0.85);
  box-shadow:
    0 16px 36px rgba(102, 42, 128, 0.26),
    0 0 28px rgba(222, 166, 255, 0.35);
  margin-bottom: 1.4rem;
}

.honorable-banner-bg {
  position: absolute;
  inset: -10px;
  background-size: cover;
  background-position: center;
  filter: brightness(0.95) saturate(1.15);
  z-index: 0;
}

.honorable-title {
  position: relative;
  z-index: 2;
  margin: 0;
  font-family: var(--font-serif);
  font-size: clamp(1.85rem, 4.4vw, 2.55rem);
  font-weight: 700;
  color: #ffffff;
  text-shadow:
    0 2px 16px rgba(84, 12, 68, 0.65),
    0 0 24px rgba(255, 255, 255, 0.65);
}

.honorable-subtitle {
  position: relative;
  z-index: 2;
  margin: 0.3rem 0 0;
  font-family: var(--font-gov);
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  color: rgba(255, 245, 255, 0.92);
}

.constellation-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.8rem;
}

.constellation-card {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 0.95rem;
  padding: 1.05rem 1.25rem;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.86), rgba(255, 229, 242, 0.82));
  border: 1.5px solid rgba(173, 7, 61, 0.22);
  box-shadow: 0 8px 22px rgba(173, 7, 61, 0.09);
  cursor: pointer;
  overflow: hidden;
  transition: border-color 0.25s ease, box-shadow 0.28s ease;
}

.constellation-card:hover {
  border-color: var(--pink-vivid);
  box-shadow: 0 14px 32px rgba(247, 74, 131, 0.22);
}

.constellation-star {
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #ff4da6, #ad073d);
  color: #fff;
  font-size: 1.1rem;
  box-shadow: 0 6px 14px rgba(173, 7, 61, 0.3);
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.constellation-card:hover .constellation-star {
  transform: rotate(72deg) scale(1.1);
}

.constellation-content {
  flex: 1;
}

.constellation-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-bottom: 0.22rem;
}

.constellation-role-pill {
  font-family: var(--font-gov);
  font-size: 0.54rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  color: var(--berry);
  background: rgba(247, 74, 131, 0.14);
  padding: 0.2rem 0.58rem;
  border-radius: var(--radius-pill);
}

.constellation-line {
  margin: 0;
  font-family: var(--font-serif);
  font-size: clamp(1.12rem, 2.2vw, 1.32rem);
  line-height: 1.52;
  letter-spacing: 0.04em;
  color: var(--pink-text);
}

.constellation-line strong {
  color: var(--berry-dark);
}

/* ==========================================================================
   DEDICATION LETTER SANCTUARY (#container06 + #text04 + #image06.png)
   ========================================================================== */

.dedication-sanctuary {
  position: relative;
  background: linear-gradient(180deg, #ffffff 0%, #fff8fb 100%);
  border-radius: clamp(36px, 7vw, 76px);
  padding: clamp(2rem, 5vw, 3.2rem) clamp(1.4rem, 5vw, 3.2rem) 2rem;
  border: 2px solid rgba(247, 74, 131, 0.26);
  box-shadow:
    0 24px 56px rgba(173, 7, 61, 0.14),
    0 0 0 8px rgba(255, 255, 255, 0.52);
  text-align: center;
}

.wax-seal {
  width: 56px;
  height: 56px;
  margin: -3.2rem auto 0.9rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 1.65rem;
  background: linear-gradient(135deg, #ff5aa8, #ad073d);
  box-shadow:
    0 10px 24px rgba(173, 7, 61, 0.4),
    0 0 0 4px #fff;
}

.dedication-eyebrow {
  font-family: var(--font-gov);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--pink-vivid);
  margin-bottom: 1.25rem;
}

.dedication-body {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  max-width: 600px;
  margin: 0 auto;
}

.dedication-body p {
  margin: 0;
  font-family: var(--font-serif);
  font-size: clamp(1.06rem, 2vw, 1.2rem);
  line-height: 1.72;
  letter-spacing: 0.025em;
  color: var(--pink-text);
}

.dedication-body p:last-child {
  font-size: clamp(1.18rem, 2.3vw, 1.38rem);
  font-weight: 700;
  color: var(--berry);
  margin-top: 0.35rem;
}

.dedication-portrait-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.2rem;
  margin-top: 1.8rem;
  padding-top: 1rem;
  border-top: 1px dashed rgba(247, 74, 131, 0.28);
}

.dedication-sign {
  text-align: left;
  padding-bottom: 0.8rem;
}

.sign-label {
  display: block;
  font-size: 0.95rem;
  color: var(--pink-text-muted);
}

.sign-name {
  display: block;
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
  font-style: italic;
  color: var(--berry);
}

.kiss-portrait-wrap {
  position: relative;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  cursor: pointer;
}

.kiss-portrait-img {
  width: clamp(175px, 32vw, 248px);
  height: auto;
  border-radius: 30px;
  filter: drop-shadow(0 16px 26px rgba(247, 74, 131, 0.28));
  transition: transform 0.38s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.kiss-portrait-wrap:hover .kiss-portrait-img {
  transform: translateY(-8px) rotate(-2.5deg) scale(1.05);
}

.kiss-hint {
  margin-top: 0.35rem;
  font-family: var(--font-gov);
  font-size: 0.56rem;
  letter-spacing: 0.08em;
  color: var(--pink-vivid);
  opacity: 0.85;
}

/* ==========================================================================
   FINALE: UPDATE STAMP, MAGNETIC SOCIAL PORTAL & 3D DIAMOND VAULT
   ========================================================================== */

.update-stamp {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  width: fit-content;
  margin: 0 auto 1.35rem;
  padding: 0.42rem 1rem;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(173, 7, 61, 0.26);
  font-family: var(--font-serif);
  font-size: 1rem;
  color: var(--berry);
}

.social-portal {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-bottom: 2rem;
}

.social-medallion {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.68rem 1.2rem;
  border-radius: var(--radius-pill);
  background: linear-gradient(145deg, #ffffff, #ffe3ef);
  border: 1.5px solid rgba(173, 7, 61, 0.35);
  color: var(--berry);
  box-shadow: 0 10px 24px rgba(173, 7, 61, 0.14);
  transition: transform 0.2s ease, background 0.28s ease, color 0.28s ease, box-shadow 0.28s ease;
}

.social-medallion:hover {
  background: linear-gradient(135deg, var(--pink-vivid), var(--berry));
  color: #fff;
  border-color: transparent;
  box-shadow: 0 14px 30px rgba(173, 7, 61, 0.36);
}

.social-svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
  flex-shrink: 0;
}

.social-label {
  font-family: var(--font-gov);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.05em;
}

/* Grand Finale Vault (#container03 upgraded!) */
.finale-vault {
  position: relative;
  border-radius: 28px;
  overflow: hidden;
  border: 2px solid rgba(255, 198, 228, 0.65);
  box-shadow:
    0 24px 56px rgba(45, 3, 22, 0.45),
    0 0 36px rgba(247, 74, 131, 0.3);
  padding: 2rem 1.6rem;
}

.finale-vault-bg {
  position: absolute;
  inset: -10px;
  background-size: cover;
  background-position: center;
  filter: blur(2px) brightness(0.68) saturate(1.15);
  z-index: 0;
}

.finale-vault-scrim {
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse at 70% 45%,
    rgba(255, 62, 152, 0.28),
    rgba(20, 4, 14, 0.72)
  );
  z-index: 1;
}

.finale-columns {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.8rem;
  align-items: center;
}

.finale-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.85rem;
}

.medallion-frame {
  position: relative;
  width: min(250px, 82%);
  aspect-ratio: 234 / 280;
  border-radius: 50%;
  padding: 6px;
  background: conic-gradient(
    from var(--holo-spin),
    #ff4da6,
    #ffe07d,
    #ffffff,
    #ff2b85,
    #ff4da6
  );
  animation: spinHoloBorder 6s linear infinite;
  box-shadow: 0 20px 44px rgba(0, 0, 0, 0.55);
  overflow: hidden;
}

.medallion-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.diamond-stage-wrap {
  position: relative;
  width: min(290px, 100%);
  height: 240px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 20px;
}

.diamond3d-mount {
  width: 100%;
  height: 100%;
  cursor: grab;
  touch-action: none;
}

.diamond3d-mount:active {
  cursor: grabbing;
}

.diamond3d-canvas {
  width: 100%;
  height: 100%;
  display: block;
}

.classic-diamond-gif {
  max-width: 240px;
  max-height: 210px;
  object-fit: contain;
  filter: drop-shadow(0 0 26px rgba(255, 77, 166, 0.75));
  cursor: pointer;
}

.diamond-controls {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.55rem;
}

.jackpot-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  border: none;
  border-radius: var(--radius-pill);
  padding: 0.62rem 1.2rem;
  background: linear-gradient(135deg, #ff3e96, #f5b93b);
  color: #fff;
  font-family: var(--font-gov);
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  cursor: pointer;
  box-shadow: 0 10px 26px rgba(255, 62, 150, 0.5);
  transition: transform 0.2s ease, box-shadow 0.25s ease;
}

.jackpot-btn:hover {
  box-shadow: 0 14px 34px rgba(255, 198, 72, 0.65);
}

.jackpot-count {
  background: rgba(34, 3, 18, 0.45);
  padding: 0.14rem 0.5rem;
  border-radius: var(--radius-pill);
  font-variant-numeric: tabular-nums;
}

.mode-switch-btn {
  border: 1px solid rgba(255, 220, 240, 0.45);
  background: rgba(255, 255, 255, 0.12);
  color: #ffe3f1;
  border-radius: var(--radius-pill);
  padding: 0.55rem 0.9rem;
  font-family: var(--font-gov);
  font-size: 0.58rem;
  font-weight: 700;
  cursor: pointer;
  backdrop-filter: blur(8px);
  transition: all 0.2s ease;
}

.mode-switch-btn:hover {
  background: rgba(255, 255, 255, 0.24);
  color: #fff;
}

.finale-caption {
  font-family: var(--font-gov);
  font-size: 0.58rem;
  letter-spacing: 0.14em;
  color: #ffd7ec;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.7);
}

/* Footer */
.site-footer {
  margin-top: 2rem;
  text-align: center;
  padding-top: 1.2rem;
  border-top: 1px solid rgba(173, 7, 61, 0.2);
}

.footer-brand {
  font-family: var(--font-gov);
  font-size: 0.64rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  color: var(--berry);
  margin-bottom: 0.35rem;
}

.footer-credits {
  font-size: 0.95rem;
  color: var(--pink-text-muted);
}

.footer-credits a {
  text-decoration: underline;
  font-weight: 700;
}

/* ==========================================================================
   SOVEREIGN SHEIKH 3D HOLOGRAPHIC PASSPORT MODAL
   ========================================================================== */

.passport-backdrop {
  position: fixed;
  inset: 0;
  z-index: 95;
  display: grid;
  place-items: center;
  padding: 1rem;
  background: rgba(34, 4, 18, 0.72);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  animation: fadeInModal 0.25s ease forwards;
}

.passport-backdrop[hidden] {
  display: none;
}

@keyframes fadeInModal {
  from { opacity: 0; }
  to { opacity: 1; }
}

.passport-modal-shell {
  position: relative;
  width: min(500px, 100%);
}

.passport-close {
  position: absolute;
  top: -14px;
  right: -10px;
  z-index: 12;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 2px solid #fff;
  background: var(--berry);
  color: #fff;
  font-size: 1rem;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
  transition: transform 0.2s ease, background 0.2s ease;
}

.passport-close:hover {
  transform: rotate(90deg) scale(1.08);
  background: var(--pink-vivid);
}

.passport-card {
  position: relative;
  border-radius: 26px;
  padding: 1.55rem 1.5rem 1.4rem;
  background:
    radial-gradient(circle at 85% 15%, rgba(255, 224, 125, 0.35), transparent 48%),
    linear-gradient(155deg, #fff6fa 0%, #ffd8e8 52%, #f9d8ff 100%);
  border: 3px solid #f0b541;
  box-shadow:
    0 28px 64px rgba(0, 0, 0, 0.55),
    0 0 42px rgba(255, 77, 166, 0.45);
  overflow: hidden;
  color: var(--berry-dark);
}

.passport-watermark {
  position: absolute;
  right: -30px;
  bottom: 58px;
  font-family: var(--font-gov);
  font-size: 2.3rem;
  font-weight: 800;
  color: rgba(173, 7, 61, 0.06);
  transform: rotate(-18deg);
  pointer-events: none;
  white-space: nowrap;
}

.passport-header {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding-bottom: 0.85rem;
  border-bottom: 1.5px solid rgba(173, 7, 61, 0.22);
  margin-bottom: 1rem;
}

.passport-crest {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: linear-gradient(135deg, #ad073d, #ff4da6);
  display: grid;
  place-items: center;
  font-size: 1.35rem;
  flex-shrink: 0;
  box-shadow: 0 6px 14px rgba(173, 7, 61, 0.3);
}

.passport-gov-lines {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.passport-country {
  font-family: var(--font-gov);
  font-size: 0.56rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: var(--berry);
}

.passport-doc-type {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--berry-dark);
}

.passport-serial {
  font-family: var(--font-gov);
  font-size: 0.6rem;
  padding: 0.22rem 0.55rem;
  border-radius: 8px;
  background: rgba(173, 7, 61, 0.12);
  color: var(--berry);
  font-weight: 700;
}

.passport-identity {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.passport-avatar-seal {
  width: 66px;
  height: 66px;
  border-radius: 20px;
  display: grid;
  place-items: center;
  font-size: 2.15rem;
  background: linear-gradient(135deg, #ffffff, #ffe39b);
  border: 2px solid #e6a825;
  box-shadow: 0 8px 20px rgba(173, 7, 61, 0.18);
  flex-shrink: 0;
}

.passport-tier-badge {
  display: inline-block;
  font-family: var(--font-gov);
  font-size: 0.56rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  padding: 0.22rem 0.6rem;
  border-radius: var(--radius-pill);
  background: linear-gradient(90deg, var(--berry), var(--pink-vivid));
  color: #fff;
  margin-bottom: 0.3rem;
}

.passport-name {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 4vw, 1.8rem);
  font-weight: 700;
  color: var(--berry-dark);
  line-height: 1.15;
  word-break: break-word;
}

.passport-aliases {
  font-size: 0.85rem;
  color: var(--pink-text-muted);
  margin-top: 0.15rem;
}

.passport-stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(115px, 1fr));
  gap: 0.6rem;
  margin-bottom: 0.9rem;
}

.passport-stat {
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(173, 7, 61, 0.22);
  border-radius: 14px;
  padding: 0.65rem 0.6rem;
  text-align: center;
}

.passport-stat-val {
  display: block;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--berry);
}

.passport-stat-lbl {
  display: block;
  font-family: var(--font-gov);
  font-size: 0.52rem;
  letter-spacing: 0.08em;
  color: var(--pink-text-muted);
  margin-top: 0.15rem;
}

.passport-extra {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  margin-bottom: 1.1rem;
}

.passport-note {
  background: rgba(255, 255, 255, 0.74);
  border-left: 3px solid var(--pink-vivid);
  border-radius: 10px;
  padding: 0.55rem 0.75rem;
  font-size: 0.98rem;
  line-height: 1.45;
  color: var(--berry-dark);
}

.passport-note strong {
  display: block;
  font-family: var(--font-gov);
  font-size: 0.55rem;
  letter-spacing: 0.1em;
  color: var(--pink-vivid);
  margin-bottom: 0.2rem;
}

.passport-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.65rem;
  padding-top: 0.85rem;
  border-top: 1px dashed rgba(173, 7, 61, 0.28);
}

.salute-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border: none;
  border-radius: var(--radius-pill);
  padding: 0.58rem 1rem;
  background: linear-gradient(135deg, var(--pink-vivid), var(--berry));
  color: #fff;
  font-family: var(--font-gov);
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(173, 7, 61, 0.32);
  transition: transform 0.18s ease, box-shadow 0.25s ease;
}

.salute-btn:hover {
  transform: scale(1.04);
  box-shadow: 0 12px 26px rgba(247, 74, 131, 0.45);
}

.salute-btn:active {
  transform: scale(0.96);
}

.salute-count {
  background: rgba(255, 255, 255, 0.24);
  padding: 0.12rem 0.45rem;
  border-radius: var(--radius-pill);
}

.passport-stamp-official {
  font-family: var(--font-gov);
  font-size: 0.56rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--berry);
  border: 1.5px dashed var(--berry);
  border-radius: 8px;
  padding: 0.26rem 0.52rem;
  transform: rotate(-3deg);
}

/* ==========================================================================
   GLITTER OVERDRIVE MODE
   ========================================================================== */

body.glitter-overdrive .sanctuary {
  box-shadow:
    0 24px 70px rgba(173, 7, 61, 0.55),
    0 0 70px rgba(255, 92, 178, 0.65),
    0 0 0 2px rgba(255, 232, 158, 0.9) inset;
}

body.glitter-overdrive .leopard-backdrop {
  filter: saturate(1.38) contrast(1.08) brightness(1.08);
}

body.glitter-overdrive .gov-ticker {
  background: linear-gradient(90deg, #ff257b, #f5b93b, #c255ff, #ff257b);
  background-size: 200% auto;
  animation: shimmerText 4s linear infinite;
}

/* ==========================================================================
   RESPONSIVE REFINEMENTS
   ========================================================================== */

@media (max-width: 780px) {
  .floating-dock {
    padding: 0.45rem 0.6rem;
    gap: 0.4rem;
  }

  .dock-brand-text,
  .dock-btn-label {
    display: none;
  }

  .dock-links {
    gap: 0.12rem;
  }

  .dock-link {
    font-size: 0.78rem;
    padding: 0.3rem 0.5rem;
  }

  .treasury-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .podium-grid,
  .steam-trophies,
  .finale-columns {
    grid-template-columns: 1fr;
  }

  .dedication-portrait-row {
    flex-direction: column-reverse;
    align-items: center;
    text-align: center;
  }

  .dedication-sign {
    text-align: center;
  }

  .sanctuary {
    border-radius: 24px;
    padding: 1.8rem 1rem 2.2rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}
