/* ============================================================
   WINDERLAND - Custom CSS
   Magical fantasy casino - pure CSS animations
   ============================================================ */

:root {
  --royal-50: #f1eefe;
  --royal-100: #dcd2fc;
  --royal-200: #b9a5f9;
  --royal-300: #9678f6;
  --royal-400: #734bf3;
  --royal-500: #5a2cdc;
  --royal-600: #4422a8;
  --royal-700: #2e1875;
  --royal-800: #1a0b3d;
  --royal-900: #0d051f;
  --sapphire: #1e3a8a;
  --violet-deep: #3b1e7d;
  --violet-soft: #6b46c1;
  --emerald-magic: #10b981;
  --emerald-soft: #34d399;
  --gold-warm: #d4af37;
  --gold-bright: #f5c842;
  --gold-champagne: #f1d68b;
  --ruby: #e11d48;
  --turquoise: #06b6d4;
  --pearl: #f8f4ff;
  --lavender: #c4b5fd;

  --grad-royal: linear-gradient(135deg, #1a0b3d 0%, #2e1875 50%, #3b1e7d 100%);
  --grad-magic: linear-gradient(135deg, #4422a8 0%, #6b46c1 100%);
  --grad-gold: linear-gradient(135deg, #f5c842 0%, #d4af37 50%, #f1d68b 100%);
  --grad-sapphire: linear-gradient(135deg, #0d051f 0%, #1a0b3d 50%, #1e3a8a 100%);
  --grad-emerald: linear-gradient(135deg, #10b981 0%, #34d399 100%);
}

/* ============== Base ============== */
html { scroll-behavior: smooth; }
body {
  background: var(--grad-sapphire);
  background-attachment: fixed;
  color: var(--pearl);
  font-family: 'Inter', system-ui, sans-serif;
  line-height: 1.6;
  position: relative;
  min-height: 100vh;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background:
    radial-gradient(circle at 15% 25%, rgba(91, 44, 220, 0.25) 0%, transparent 45%),
    radial-gradient(circle at 85% 75%, rgba(212, 175, 55, 0.15) 0%, transparent 50%),
    radial-gradient(circle at 50% 50%, rgba(107, 70, 193, 0.18) 0%, transparent 60%);
  pointer-events: none;
  z-index: 0;
}

main { position: relative; z-index: 1; }

::selection { background: var(--gold-bright); color: var(--royal-900); }

/* ============== Magical floating particles ============== */
.magical-bg {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}
.particle {
  position: absolute;
  width: 4px;
  height: 4px;
  background: var(--gold-bright);
  border-radius: 50%;
  box-shadow: 0 0 12px var(--gold-bright), 0 0 24px rgba(245, 200, 66, 0.4);
  opacity: 0;
  animation: float-particle 18s linear infinite;
}
.particle:nth-child(1) { left: 5%; animation-delay: 0s; animation-duration: 22s; }
.particle:nth-child(2) { left: 15%; animation-delay: 2s; animation-duration: 16s; background: var(--turquoise); box-shadow: 0 0 12px var(--turquoise); }
.particle:nth-child(3) { left: 25%; animation-delay: 4s; animation-duration: 20s; }
.particle:nth-child(4) { left: 35%; animation-delay: 6s; animation-duration: 18s; background: var(--lavender); box-shadow: 0 0 12px var(--lavender); }
.particle:nth-child(5) { left: 45%; animation-delay: 8s; animation-duration: 24s; }
.particle:nth-child(6) { left: 55%; animation-delay: 1s; animation-duration: 17s; background: var(--emerald-soft); box-shadow: 0 0 12px var(--emerald-soft); }
.particle:nth-child(7) { left: 65%; animation-delay: 3s; animation-duration: 21s; }
.particle:nth-child(8) { left: 75%; animation-delay: 5s; animation-duration: 19s; background: var(--turquoise); box-shadow: 0 0 12px var(--turquoise); }
.particle:nth-child(9) { left: 85%; animation-delay: 7s; animation-duration: 23s; }
.particle:nth-child(10) { left: 92%; animation-delay: 9s; animation-duration: 18s; background: var(--lavender); box-shadow: 0 0 12px var(--lavender); }
.particle:nth-child(11) { left: 30%; animation-delay: 11s; animation-duration: 26s; }
.particle:nth-child(12) { left: 70%; animation-delay: 13s; animation-duration: 20s; }

@keyframes float-particle {
  0% { transform: translateY(110vh) scale(0.4); opacity: 0; }
  10% { opacity: 0.8; }
  50% { transform: translateY(50vh) translateX(30px) scale(1); opacity: 1; }
  90% { opacity: 0.6; }
  100% { transform: translateY(-10vh) translateX(-20px) scale(0.6); opacity: 0; }
}

/* ============== Top bar ============== */
.top-bar {
  background: linear-gradient(90deg, rgba(13, 5, 31, 0.95), rgba(26, 11, 61, 0.95));
  border-bottom: 1px solid rgba(212, 175, 55, 0.2);
  position: relative;
  z-index: 60;
}

/* ============== Header / Navigation ============== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  background: linear-gradient(180deg, rgba(13, 5, 31, 0.7), rgba(26, 11, 61, 0.55));
  border-bottom: 1px solid rgba(212, 175, 55, 0.12);
  transition: background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}
.site-header.is-scrolled {
  background: linear-gradient(180deg, rgba(13, 5, 31, 0.92), rgba(26, 11, 61, 0.85));
  border-bottom-color: rgba(212, 175, 55, 0.25);
  box-shadow: 0 8px 32px -12px rgba(0, 0, 0, 0.6);
}

.logo { display: inline-flex; align-items: center; gap: 0.75rem; text-decoration: none; }
.logo-crest {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  filter: drop-shadow(0 0 10px rgba(245, 200, 66, 0.4));
  transition: transform 0.3s ease, filter 0.3s ease;
}
.logo:hover .logo-crest {
  transform: rotate(-12deg) scale(1.05);
  filter: drop-shadow(0 0 18px rgba(245, 200, 66, 0.7));
}
.logo-text { display: flex; flex-direction: column; line-height: 1; }
.logo-name {
  font-family: 'Cinzel', serif;
  font-weight: 800;
  font-size: 1.4rem;
  background: var(--grad-gold);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: 0.04em;
}
.logo-sub {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 0.72rem;
  color: rgba(248, 244, 255, 0.65);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-top: 2px;
}

.nav-link {
  position: relative;
  display: inline-block;
  padding: 0.55rem 1rem;
  font-family: 'Cormorant Garamond', serif;
  font-weight: 600;
  font-size: 1.05rem;
  letter-spacing: 0.04em;
  color: rgba(248, 244, 255, 0.85);
  text-decoration: none;
  transition: color 0.25s ease;
  border-radius: 8px;
}
.nav-link::after {
  content: "";
  position: absolute;
  bottom: 4px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: var(--grad-gold);
  border-radius: 2px;
  transition: width 0.3s ease, box-shadow 0.3s ease;
}
.nav-link:hover {
  color: var(--gold-bright);
}
.nav-link:hover::after {
  width: 70%;
  box-shadow: 0 0 8px rgba(245, 200, 66, 0.6);
}

/* Mobile menu */
.burger {
  display: inline-flex;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 22px;
  background: transparent;
  border: 0;
  padding: 0;
  cursor: pointer;
}
.burger span {
  display: block;
  height: 3px;
  width: 100%;
  background: var(--gold-bright);
  border-radius: 3px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.burger.is-open span:nth-child(1) { transform: translateY(9px) rotate(45deg); }
.burger.is-open span:nth-child(2) { opacity: 0; }
.burger.is-open span:nth-child(3) { transform: translateY(-10px) rotate(-45deg); }
.mobile-menu {
  background: linear-gradient(180deg, rgba(13, 5, 31, 0.98), rgba(26, 11, 61, 0.98));
  border-top: 1px solid rgba(212, 175, 55, 0.2);
  animation: slide-down 0.3s ease;
}
@keyframes slide-down {
  from { opacity: 0; transform: translateY(-12px); }
  to { opacity: 1; transform: translateY(0); }
}
.mobile-link {
  display: block;
  padding: 0.85rem 1rem;
  font-family: 'Cormorant Garamond', serif;
  font-weight: 600;
  font-size: 1.15rem;
  color: var(--pearl);
  border-radius: 10px;
  transition: background 0.2s ease, color 0.2s ease;
}
.mobile-link:hover {
  background: rgba(212, 175, 55, 0.12);
  color: var(--gold-bright);
}

/* ============== Buttons ============== */
.btn-magic, .btn-magic-sm, .btn-magic-xl {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.95rem 2rem;
  font-family: 'Cinzel', serif;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--royal-900);
  background: var(--grad-gold);
  border: 0;
  border-radius: 14px;
  text-decoration: none;
  cursor: pointer;
  box-shadow:
    0 8px 25px -8px rgba(245, 200, 66, 0.7),
    inset 0 1px 0 rgba(255, 255, 255, 0.4),
    inset 0 -2px 0 rgba(122, 91, 18, 0.4);
  transition: transform 0.2s ease, box-shadow 0.3s ease;
  overflow: hidden;
}
.btn-magic-sm { padding: 0.6rem 1.2rem; font-size: 0.85rem; border-radius: 10px; }
.btn-magic-xl { padding: 1.25rem 2.75rem; font-size: 1.15rem; border-radius: 18px; }
.btn-magic::before, .btn-magic-sm::before, .btn-magic-xl::before {
  content: "";
  position: absolute;
  top: 0;
  left: -120%;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.6), transparent);
  transform: skewX(-20deg);
  animation: btn-shimmer 3s infinite;
}
@keyframes btn-shimmer {
  0%, 70% { left: -120%; }
  100% { left: 130%; }
}
.btn-magic:hover, .btn-magic-sm:hover, .btn-magic-xl:hover {
  transform: translateY(-2px);
  box-shadow:
    0 14px 35px -8px rgba(245, 200, 66, 0.9),
    inset 0 1px 0 rgba(255, 255, 255, 0.5),
    inset 0 -2px 0 rgba(122, 91, 18, 0.4),
    0 0 30px rgba(245, 200, 66, 0.4);
}
.btn-magic:active, .btn-magic-sm:active, .btn-magic-xl:active { transform: translateY(0); }

.btn-glow {
  position: absolute;
  inset: -2px;
  border-radius: inherit;
  background: var(--grad-gold);
  filter: blur(14px);
  opacity: 0.55;
  z-index: -1;
  animation: pulse-glow 2.5s ease-in-out infinite;
}
@keyframes pulse-glow {
  0%, 100% { opacity: 0.4; transform: scale(1); }
  50% { opacity: 0.7; transform: scale(1.06); }
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.85rem;
  font-family: 'Cinzel', serif;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gold-bright);
  background: rgba(245, 200, 66, 0.05);
  border: 2px solid var(--gold-warm);
  border-radius: 14px;
  text-decoration: none;
  transition: all 0.3s ease;
}
.btn-outline:hover {
  background: rgba(245, 200, 66, 0.15);
  border-color: var(--gold-bright);
  color: var(--gold-bright);
  box-shadow: 0 0 25px rgba(245, 200, 66, 0.35);
  transform: translateY(-2px);
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  padding: 0.55rem 1.1rem;
  font-family: 'Cormorant Garamond', serif;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--pearl);
  border: 1px solid rgba(248, 244, 255, 0.25);
  border-radius: 10px;
  text-decoration: none;
  transition: all 0.25s ease;
  background: rgba(248, 244, 255, 0.04);
}
.btn-ghost:hover {
  background: rgba(248, 244, 255, 0.1);
  border-color: var(--gold-bright);
  color: var(--gold-bright);
}

.btn-link {
  display: inline-flex;
  align-items: center;
  color: var(--lavender);
  font-weight: 500;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  padding-bottom: 2px;
  transition: color 0.25s ease, border-color 0.25s ease;
}
.btn-link:hover { color: var(--gold-bright); border-bottom-color: var(--gold-bright); }

/* ============== Sections common ============== */
.section { position: relative; padding: 6rem 0; }
@media (max-width: 768px) { .section { padding: 4rem 0; } }

.section-header { text-align: center; max-width: 800px; margin: 0 auto 4rem; }
.section-eyebrow {
  display: inline-block;
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 0.95rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-bright);
  margin-bottom: 1rem;
  padding: 0.4rem 1.2rem;
  border: 1px solid rgba(245, 200, 66, 0.25);
  border-radius: 999px;
  background: rgba(245, 200, 66, 0.05);
}
.section-title {
  font-family: 'Cinzel', serif;
  font-weight: 700;
  font-size: clamp(2rem, 5vw, 3.5rem);
  line-height: 1.15;
  color: var(--pearl);
  margin-bottom: 1.25rem;
}
.section-sub {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.05rem, 1.5vw, 1.25rem);
  color: rgba(248, 244, 255, 0.78);
  line-height: 1.6;
}

.title-glow {
  background: var(--grad-gold);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 0 40px rgba(245, 200, 66, 0.4);
  position: relative;
  display: inline-block;
}

/* ============== HERO ============== */
.hero {
  position: relative;
  overflow: hidden;
  min-height: 92vh;
  display: flex;
  align-items: center;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}
.hero-bg picture,
.hero-bg-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center right;
  display: block;
  /* Subtle slow zoom for life */
  animation: hero-bg-drift 30s ease-in-out infinite alternate;
}
@keyframes hero-bg-drift {
  0%   { transform: scale(1.0)  translateX(0); }
  100% { transform: scale(1.06) translateX(-1.5%); }
}
.hero-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    /* Darken left side for headline readability */
    linear-gradient(90deg,
      rgba(13, 5, 31, 0.92) 0%,
      rgba(13, 5, 31, 0.78) 18%,
      rgba(13, 5, 31, 0.45) 38%,
      rgba(13, 5, 31, 0.10) 60%,
      rgba(13, 5, 31, 0.00) 80%),
    /* Vertical fade to blend with sections above/below */
    linear-gradient(180deg,
      rgba(13, 5, 31, 0.55) 0%,
      rgba(13, 5, 31, 0.00) 30%,
      rgba(13, 5, 31, 0.00) 65%,
      rgba(13, 5, 31, 0.85) 100%),
    /* Subtle violet color wash */
    linear-gradient(180deg,
      rgba(91, 44, 220, 0.10) 0%,
      rgba(26, 11, 61, 0.20) 100%);
}
@media (max-width: 1023px) {
  .hero-bg-image { object-position: center; }
  .hero-overlay {
    background:
      linear-gradient(180deg,
        rgba(13, 5, 31, 0.5) 0%,
        rgba(13, 5, 31, 0.78) 60%,
        rgba(13, 5, 31, 0.95) 100%);
  }
}
.hero-stars {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    radial-gradient(1.5px 1.5px at 8% 18%, var(--gold-bright), transparent),
    radial-gradient(1px 1px at 22% 38%, white, transparent),
    radial-gradient(1.2px 1.2px at 12% 62%, var(--lavender), transparent),
    radial-gradient(1px 1px at 28% 78%, var(--turquoise), transparent),
    radial-gradient(1.5px 1.5px at 18% 88%, var(--gold-bright), transparent);
  background-size: 100% 100%;
  background-repeat: no-repeat;
  opacity: 0.5;
  animation: twinkle 6s ease-in-out infinite;
  mix-blend-mode: screen;
}
@keyframes twinkle {
  0%, 100% { opacity: 0.3; }
  50% { opacity: 0.7; }
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 1rem;
  letter-spacing: 0.1em;
  color: var(--gold-bright);
  padding: 0.5rem 1.4rem;
  background: rgba(245, 200, 66, 0.08);
  border: 1px solid rgba(245, 200, 66, 0.3);
  border-radius: 999px;
  margin-bottom: 2rem;
  backdrop-filter: blur(6px);
}

.hero-title {
  font-family: 'Cinzel', serif;
  font-weight: 800;
  font-size: clamp(2.4rem, 6vw, 4.8rem);
  line-height: 1.05;
  color: var(--pearl);
  margin-bottom: 1.5rem;
  text-shadow: 0 4px 30px rgba(13, 5, 31, 0.6);
}

.hero-sub {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.1rem, 1.6vw, 1.4rem);
  color: rgba(248, 244, 255, 0.85);
  max-width: 600px;
  line-height: 1.6;
}

.hero-stat {
  text-align: center;
  padding: 1rem 0.75rem;
  background: linear-gradient(135deg, rgba(91, 44, 220, 0.18), rgba(26, 11, 61, 0.4));
  border: 1px solid rgba(212, 175, 55, 0.18);
  border-radius: 12px;
  backdrop-filter: blur(6px);
  transition: transform 0.3s ease, border-color 0.3s ease;
}
.hero-stat:hover { transform: translateY(-3px); border-color: var(--gold-bright); }
.stat-num {
  display: block;
  font-family: 'Cinzel', serif;
  font-weight: 700;
  font-size: clamp(1.1rem, 2vw, 1.6rem);
  color: var(--gold-bright);
  line-height: 1;
  margin-bottom: 0.4rem;
}
.stat-label { font-size: 0.72rem; color: rgba(248, 244, 255, 0.7); letter-spacing: 0.04em; line-height: 1.3; display: block; }

/* Treasure chest visual */
.hero-visual { position: relative; }
.treasure-chest {
  position: relative;
  width: 100%;
  max-width: 480px;
  margin: 0 auto;
  aspect-ratio: 1;
  animation: chest-bob 5s ease-in-out infinite;
}
@keyframes chest-bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}
.chest-glow {
  position: absolute;
  inset: -20%;
  background: radial-gradient(circle, rgba(245, 200, 66, 0.35) 0%, rgba(107, 70, 193, 0.18) 40%, transparent 70%);
  filter: blur(20px);
  border-radius: 50%;
  animation: glow-breath 4s ease-in-out infinite;
  z-index: 0;
}
@keyframes glow-breath {
  0%, 100% { opacity: 0.6; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.08); }
}
.chest-svg { position: relative; z-index: 1; width: 100%; height: 100%; filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.4)); }
.chest-img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: auto;
  display: block;
  filter:
    drop-shadow(0 25px 50px rgba(0, 0, 0, 0.55))
    drop-shadow(0 0 40px rgba(245, 200, 66, 0.25));
  user-select: none;
  -webkit-user-drag: none;
}

/* Subtle floating sparkles around the chest (no big icons) */
.floating-spark {
  position: absolute;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: radial-gradient(circle, #fff8d4 0%, var(--gold-bright) 40%, transparent 70%);
  box-shadow: 0 0 14px rgba(245, 200, 66, 0.85), 0 0 28px rgba(245, 200, 66, 0.45);
  pointer-events: none;
  opacity: 0;
}
.floating-spark.spark-1 { top: 18%; left: 8%; animation: spark-twinkle 4.5s ease-in-out infinite; }
.floating-spark.spark-2 { top: 32%; right: 6%; width: 5px; height: 5px; animation: spark-twinkle 5.2s ease-in-out infinite 1.4s; }
.floating-spark.spark-3 { bottom: 28%; left: 12%; width: 4px; height: 4px; animation: spark-twinkle 4s ease-in-out infinite 0.6s; }
@keyframes spark-twinkle {
  0%, 100% { opacity: 0; transform: translateY(0) scale(0.6); }
  50% { opacity: 1; transform: translateY(-10px) scale(1); }
}

.hero-wave {
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  height: 80px;
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 80' preserveAspectRatio='none'><path fill='%230d051f' d='M0,40 C480,80 960,0 1440,40 L1440,80 L0,80 Z'/></svg>") center bottom / 100% 100% no-repeat;
  pointer-events: none;
}

/* ============== Bonus section ============== */
.bonus-section {
  background: linear-gradient(180deg, var(--royal-900) 0%, var(--royal-800) 100%);
}

.main-bonus-card {
  position: relative;
  background:
    linear-gradient(135deg, rgba(91, 44, 220, 0.4), rgba(59, 30, 125, 0.6)),
    linear-gradient(180deg, var(--royal-700), var(--royal-800));
  border: 2px solid transparent;
  border-radius: 28px;
  padding: 3rem 2.5rem;
  background-clip: padding-box;
  overflow: hidden;
  box-shadow:
    0 30px 80px -30px rgba(91, 44, 220, 0.6),
    0 0 0 1px rgba(212, 175, 55, 0.25);
}
.main-bonus-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 28px;
  padding: 2px;
  background: var(--grad-gold);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  opacity: 0.7;
}
.main-bonus-glow {
  position: absolute;
  top: -50%;
  right: -30%;
  width: 80%;
  height: 200%;
  background: radial-gradient(circle, rgba(245, 200, 66, 0.25) 0%, transparent 60%);
  filter: blur(40px);
  pointer-events: none;
}

.ribbon {
  display: inline-block;
  padding: 0.4rem 1rem;
  font-family: 'Cinzel', serif;
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  background: linear-gradient(135deg, var(--ruby), #be123c);
  color: white;
  border-radius: 6px;
  margin-bottom: 1rem;
  box-shadow: 0 4px 16px rgba(225, 29, 72, 0.4);
}

/* ======= Premium gold medallion check ======= */
.ic-check {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  display: inline-block;
  vertical-align: -5px;
  filter:
    drop-shadow(0 2px 3px rgba(0, 0, 0, 0.55))
    drop-shadow(0 0 6px rgba(245, 200, 66, 0.35));
}

.bonus-perks {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0;
  display: grid;
  gap: 0.85rem;
}
.bonus-perks li {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  font-size: 1.05rem;
  color: var(--pearl);
}
.bonus-perks .ic-check { width: 26px; height: 26px; }

.bonus-card-list .ic-check { width: 18px; height: 18px; vertical-align: -4px; }

/* ============================================================
   PARCHMENT SCROLL v3 — real PNG asset + content overlay
   ============================================================ */
.scroll-card {
  position: relative;
  margin: 0 auto;
  max-width: 420px;
  aspect-ratio: 760 / 704;
  filter:
    drop-shadow(0 25px 35px rgba(0, 0, 0, 0.55))
    drop-shadow(0 0 40px rgba(245, 200, 66, 0.18));
  /* Subtle floating animation for life */
  animation: scroll-float 6s ease-in-out infinite;
}
@keyframes scroll-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

.scroll-bg,
.scroll-bg img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  pointer-events: none;
  user-select: none;
  -webkit-user-drag: none;
}

/* Content overlay — sits over the parchment "safe area" inside the ornate frame */
.scroll-content {
  position: absolute;
  /* Tighter inset to avoid corner flourishes */
  top: 24%;
  left: 21%;
  right: 21%;
  bottom: 24%;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 0.4rem;
}

.scroll-num {
  font-family: 'Cinzel', serif;
  font-weight: 800;
  font-size: clamp(2rem, 3.6vw, 3rem);
  line-height: 1;
  background: linear-gradient(180deg, #fff8d4 0%, #f5c842 50%, #c89324 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow:
    0 0 30px rgba(245, 200, 66, 0.55);
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.6));
}

.scroll-subtitle {
  font-size: 0.58rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(248, 244, 255, 0.85);
  margin: 0;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.6);
  white-space: nowrap;
}

.scroll-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.35rem;
  width: 100%;
  max-width: 220px;
  margin-top: 0.5rem;
}

.scroll-mini {
  background:
    radial-gradient(circle at 50% 0%, rgba(245, 200, 66, 0.18), transparent 70%),
    linear-gradient(180deg, rgba(13, 5, 31, 0.78), rgba(26, 11, 61, 0.75));
  border: 1px solid rgba(245, 200, 66, 0.4);
  border-radius: 7px;
  padding: 0.35rem 0.2rem;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.1),
    0 2px 5px rgba(0, 0, 0, 0.45);
  min-width: 0;
}
.scroll-mini-num {
  font-family: 'Cinzel', serif;
  font-weight: 700;
  font-size: 0.78rem;
  background: linear-gradient(180deg, #fde68a 0%, #d4af37 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1.1;
  white-space: nowrap;
}
.scroll-mini-label {
  font-size: 8px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(248, 244, 255, 0.65);
  margin-top: 1px;
  white-space: nowrap;
}

@media (max-width: 1280px) {
  .scroll-card { max-width: 360px; }
  .scroll-num { font-size: clamp(1.8rem, 3.2vw, 2.6rem); }
  .scroll-subtitle { font-size: 0.52rem; letter-spacing: 0.08em; }
  .scroll-stats { max-width: 200px; }
  .scroll-mini-num { font-size: 0.72rem; }
}

/* Bonus cards grid */
.bonus-card {
  position: relative;
  background:
    linear-gradient(135deg, rgba(91, 44, 220, 0.18), rgba(26, 11, 61, 0.5));
  border: 1px solid rgba(245, 200, 66, 0.18);
  border-radius: 20px;
  padding: 2rem 1.75rem;
  transition: transform 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;
  overflow: hidden;
}
.bonus-card::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(245, 200, 66, 0.15) 0%, transparent 40%);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}
.bonus-card:hover {
  transform: translateY(-6px);
  border-color: var(--gold-bright);
  box-shadow: 0 20px 50px -15px rgba(245, 200, 66, 0.3);
}
.bonus-card:hover::before { opacity: 1; }
.bonus-card--featured {
  border-color: var(--gold-warm);
  background:
    linear-gradient(135deg, rgba(212, 175, 55, 0.16), rgba(91, 44, 220, 0.25));
}
.bonus-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 96px;
  height: 96px;
  margin-bottom: 1.25rem;
  position: relative;
}
/* Soft golden halo behind the icon — no border, no box, lets the rich illustration breathe */
.bonus-icon::before {
  content: "";
  position: absolute;
  inset: -8%;
  background:
    radial-gradient(circle, rgba(245, 200, 66, 0.32) 0%, rgba(107, 70, 193, 0.18) 35%, transparent 65%);
  filter: blur(10px);
  z-index: 0;
  opacity: 0.7;
  transition: opacity 0.4s ease, transform 0.4s ease;
}
.bonus-card:hover .bonus-icon::before {
  opacity: 1;
  transform: scale(1.12);
}
.bonus-icon picture,
.bonus-icon .bonus-img {
  position: relative;
  z-index: 1;
  width: 88px;
  height: 88px;
  object-fit: contain;
  display: block;
  filter:
    drop-shadow(0 6px 12px rgba(0, 0, 0, 0.45))
    drop-shadow(0 0 14px rgba(245, 200, 66, 0.18));
  transition: transform 0.45s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.bonus-card:hover .bonus-img {
  transform: scale(1.08) translateY(-2px);
}
.bonus-card--featured .bonus-icon::before {
  background:
    radial-gradient(circle, rgba(245, 200, 66, 0.45) 0%, rgba(16, 185, 129, 0.18) 40%, transparent 70%);
  opacity: 0.9;
}
.bonus-card-title {
  font-family: 'Cinzel', serif;
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--pearl);
  letter-spacing: 0.04em;
  margin-bottom: 0.5rem;
}
.bonus-amount {
  font-family: 'Cinzel', serif;
  font-weight: 800;
  font-size: 1.85rem;
  background: var(--grad-gold);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1.1;
  margin-bottom: 0.25rem;
}
.bonus-extra { color: rgba(248, 244, 255, 0.75); font-size: 0.95rem; margin-bottom: 1rem; }
.bonus-card-list {
  list-style: none;
  padding: 0;
  margin: 1rem 0 1.25rem;
  display: grid;
  gap: 0.45rem;
  font-size: 0.92rem;
  color: rgba(248, 244, 255, 0.8);
}
.bonus-card-list li { display: flex; align-items: center; gap: 0.5rem; }
.bonus-card-list i { color: var(--emerald-soft); font-size: 0.75rem; }
.bonus-btn {
  display: inline-flex;
  align-items: center;
  font-family: 'Cinzel', serif;
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold-bright);
  text-decoration: none;
  padding: 0.6rem 1.1rem;
  border: 1px solid var(--gold-warm);
  border-radius: 10px;
  background: rgba(245, 200, 66, 0.05);
  transition: all 0.3s ease;
}
.bonus-btn:hover {
  background: var(--grad-gold);
  color: var(--royal-900);
  box-shadow: 0 0 20px rgba(245, 200, 66, 0.4);
}

/* ============== Games section ============== */
.games-section {
  background: linear-gradient(180deg, var(--royal-800) 0%, var(--royal-900) 50%, var(--royal-800) 100%);
}

.tabs-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.7rem;
  margin-bottom: 3rem;
}
.tab-btn {
  display: inline-flex;
  align-items: center;
  padding: 0.7rem 1.4rem;
  font-family: 'Cormorant Garamond', serif;
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.04em;
  color: var(--pearl);
  background:
    linear-gradient(135deg, rgba(91, 44, 220, 0.2), rgba(26, 11, 61, 0.4));
  border: 1px solid rgba(245, 200, 66, 0.18);
  border-radius: 14px;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
}
.tab-btn:hover {
  border-color: var(--gold-bright);
  background: linear-gradient(135deg, rgba(245, 200, 66, 0.12), rgba(107, 70, 193, 0.2));
  transform: translateY(-2px);
}
.tab-btn.is-active {
  background: var(--grad-gold);
  color: var(--royal-900);
  border-color: var(--gold-bright);
  box-shadow: 0 8px 25px -8px rgba(245, 200, 66, 0.5);
}

.games-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1.5rem;
}

.game-card {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(91, 44, 220, 0.18), rgba(26, 11, 61, 0.5));
  padding: 0.5rem;
  border: 1px solid rgba(245, 200, 66, 0.18);
  transition: transform 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;
}
.game-card:hover {
  transform: translateY(-6px);
  border-color: var(--gold-bright);
  box-shadow: 0 20px 50px -15px rgba(245, 200, 66, 0.4);
}

.game-thumb {
  position: relative;
  aspect-ratio: 4/5;
  border-radius: 14px;
  overflow: hidden;
  background-size: cover;
  background-position: center;
}
.game-thumb-1 { background: linear-gradient(135deg, #6b46c1 0%, #1e3a8a 50%, #d4af37 100%); }
.game-thumb-2 { background: linear-gradient(135deg, #d4af37 0%, #4422a8 50%, #1a0b3d 100%); }
.game-thumb-3 { background: linear-gradient(135deg, #e11d48 0%, #1a0b3d 50%, #d4af37 100%); }
.game-thumb-4 { background: linear-gradient(135deg, #10b981 0%, #2e1875 50%, #1a0b3d 100%); }
.game-thumb-5 { background: linear-gradient(135deg, #06b6d4 0%, #4422a8 60%, #1a0b3d 100%); }
.game-thumb-6 { background: linear-gradient(135deg, #f5c842 0%, #be123c 50%, #1a0b3d 100%); }
.game-thumb-7 { background: linear-gradient(135deg, #34d399 0%, #1e3a8a 50%, #2e1875 100%); }
.game-thumb-8 { background: linear-gradient(135deg, #c4b5fd 0%, #6b46c1 50%, #1a0b3d 100%); }

.game-thumb::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 30%, rgba(255, 255, 255, 0.18) 0%, transparent 50%),
    linear-gradient(180deg, transparent 50%, rgba(13, 5, 31, 0.7) 100%);
  pointer-events: none;
}

.game-tag {
  position: absolute;
  top: 10px;
  left: 10px;
  padding: 0.3rem 0.7rem;
  font-family: 'Cinzel', serif;
  font-weight: 700;
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  background: linear-gradient(135deg, var(--ruby), #be123c);
  color: white;
  border-radius: 6px;
  z-index: 2;
  box-shadow: 0 4px 12px rgba(225, 29, 72, 0.4);
}
.tag-jackpot { background: linear-gradient(135deg, #f5c842, #d4af37); color: var(--royal-900); }
.tag-live { background: linear-gradient(135deg, #10b981, #059669); }
.tag-new { background: linear-gradient(135deg, #06b6d4, #0891b2); }
.tag-classic { background: linear-gradient(135deg, #6b46c1, #4422a8); }

.game-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, rgba(13, 5, 31, 0.4) 0%, rgba(13, 5, 31, 0.7) 100%);
  opacity: 0;
  transition: opacity 0.4s ease;
}
.game-card:hover .game-overlay { opacity: 1; }
.play-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.7rem 1.4rem;
  background: var(--grad-gold);
  color: var(--royal-900);
  font-family: 'Cinzel', serif;
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: 10px;
  text-decoration: none;
  transform: scale(0.85);
  transition: transform 0.3s ease;
  box-shadow: 0 8px 20px rgba(245, 200, 66, 0.4);
}
.game-card:hover .play-btn { transform: scale(1); }

.game-title {
  font-family: 'Cinzel', serif;
  font-weight: 600;
  font-size: 1rem;
  color: var(--pearl);
  margin: 0.85rem 0.5rem 0.25rem;
  line-height: 1.2;
}
.game-meta {
  font-size: 0.78rem;
  color: rgba(248, 244, 255, 0.6);
  margin: 0 0.5rem 0.75rem;
}

/* ============== VIP section ============== */
.vip-section {
  background:
    linear-gradient(135deg, rgba(91, 44, 220, 0.15), rgba(26, 11, 61, 0.7)),
    linear-gradient(180deg, var(--royal-900) 0%, var(--royal-800) 100%);
}

.vip-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1.5rem;
}
.vip-card {
  text-align: center;
  padding: 2rem 1.25rem;
  border-radius: 20px;
  border: 1px solid rgba(245, 200, 66, 0.18);
  background:
    linear-gradient(180deg, rgba(91, 44, 220, 0.18), rgba(13, 5, 31, 0.7));
  transition: transform 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;
  position: relative;
  overflow: hidden;
}
.vip-card:hover {
  transform: translateY(-6px);
  border-color: var(--gold-bright);
  box-shadow: 0 20px 50px -15px rgba(245, 200, 66, 0.4);
}
.vip-icon {
  width: 70px;
  height: 70px;
  margin: 0 auto 1.25rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 1.7rem;
  position: relative;
  box-shadow: 0 10px 30px -10px currentColor;
}
.vip-bronze .vip-icon { background: linear-gradient(135deg, #cd7f32, #8b4513); color: white; }
.vip-silver .vip-icon { background: linear-gradient(135deg, #e5e7eb, #9ca3af); color: var(--royal-900); }
.vip-gold .vip-icon { background: var(--grad-gold); color: var(--royal-900); }
.vip-platinum .vip-icon { background: linear-gradient(135deg, #c4b5fd, #6b46c1); color: white; }
.vip-diamond .vip-icon { background: linear-gradient(135deg, #06b6d4, #1e3a8a); color: white; }
.vip-royal .vip-icon { background: linear-gradient(135deg, #e11d48, #6b46c1); color: white; }

.vip-card h3 {
  font-family: 'Cinzel', serif;
  font-weight: 700;
  font-size: 1.3rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--pearl);
  margin-bottom: 0.5rem;
}
.vip-points {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 0.95rem;
  color: var(--gold-bright);
  margin-bottom: 1.25rem;
}
.vip-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.5rem;
  font-size: 0.88rem;
  color: rgba(248, 244, 255, 0.78);
  text-align: left;
}
.vip-card ul li::before {
  content: "✦";
  color: var(--gold-bright);
  margin-right: 0.5rem;
}

/* ============== Payments section ============== */
.payments-section {
  background: linear-gradient(180deg, var(--royal-800) 0%, var(--royal-900) 100%);
}
.payments-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 1rem;
  margin-bottom: 4rem;
}
.pay-badge {
  text-align: center;
  padding: 1.4rem 0.75rem;
  background:
    linear-gradient(135deg, rgba(91, 44, 220, 0.18), rgba(26, 11, 61, 0.5));
  border: 1px solid rgba(245, 200, 66, 0.22);
  border-radius: 16px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}
.pay-badge::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--grad-gold);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
  z-index: 0;
  border-radius: inherit;
  filter: blur(20px);
}
.pay-badge:hover {
  transform: translateY(-3px);
  border-color: var(--gold-bright);
}
.pay-badge:hover::before { opacity: 0.18; }
.pay-name {
  display: block;
  font-family: 'Cinzel', serif;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.06em;
  color: var(--pearl);
  margin-bottom: 0.35rem;
  position: relative;
  z-index: 1;
}
.pay-time {
  font-size: 0.72rem;
  color: var(--gold-bright);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  position: relative;
  z-index: 1;
}

.payments-table-wrap { max-width: 1000px; margin: 0 auto; }
.payments-table-wrap table {
  background: linear-gradient(180deg, rgba(91, 44, 220, 0.12), rgba(26, 11, 61, 0.45));
  border-collapse: collapse;
  width: 100%;
  font-size: 0.95rem;
}
.payments-table-wrap thead {
  background: rgba(13, 5, 31, 0.7);
}
.payments-table-wrap th {
  font-family: 'Cinzel', serif;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.78rem;
  color: var(--gold-bright);
  padding: 1rem 1.1rem;
  text-align: left;
  border-bottom: 1px solid rgba(245, 200, 66, 0.2);
}
.payments-table-wrap td {
  padding: 0.95rem 1.1rem;
  border-bottom: 1px solid rgba(245, 200, 66, 0.08);
  color: rgba(248, 244, 255, 0.85);
}
.payments-table-wrap tbody tr:hover { background: rgba(245, 200, 66, 0.05); }
.payments-table-wrap td strong { color: var(--pearl); }

/* ============== Trust section ============== */
.trust-section {
  background:
    radial-gradient(ellipse at center, rgba(107, 70, 193, 0.2) 0%, transparent 60%),
    linear-gradient(180deg, var(--royal-900) 0%, var(--royal-800) 100%);
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}
.trust-card {
  position: relative;
  padding: 2.25rem 1.75rem;
  border-radius: 22px;
  background:
    linear-gradient(135deg, rgba(91, 44, 220, 0.16), rgba(13, 5, 31, 0.7));
  border: 1px solid rgba(245, 200, 66, 0.15);
  transition: all 0.4s ease;
  text-align: center;
}
.trust-card:hover {
  transform: translateY(-4px);
  border-color: var(--gold-bright);
  box-shadow: 0 18px 45px -15px rgba(245, 200, 66, 0.3);
}
.trust-shield {
  width: 80px;
  height: 90px;
  margin: 0 auto 1.5rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: var(--gold-bright);
  background:
    linear-gradient(180deg, rgba(245, 200, 66, 0.2), rgba(212, 175, 55, 0.05));
  clip-path: polygon(50% 0%, 100% 18%, 100% 60%, 50% 100%, 0% 60%, 0% 18%);
  border: 1px solid rgba(245, 200, 66, 0.3);
  filter: drop-shadow(0 8px 18px rgba(245, 200, 66, 0.25));
}
.trust-card h3 {
  font-family: 'Cinzel', serif;
  font-weight: 700;
  font-size: 1.2rem;
  letter-spacing: 0.04em;
  color: var(--pearl);
  margin-bottom: 0.75rem;
}
.trust-card p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: rgba(248, 244, 255, 0.78);
}

/* ============== FAQ ============== */
.faq-section {
  background: linear-gradient(180deg, var(--royal-800) 0%, var(--royal-900) 100%);
}
.faq-list { display: grid; gap: 0.85rem; }
.faq-item {
  background:
    linear-gradient(135deg, rgba(91, 44, 220, 0.14), rgba(26, 11, 61, 0.45));
  border: 1px solid rgba(245, 200, 66, 0.16);
  border-radius: 16px;
  overflow: hidden;
  transition: border-color 0.3s ease;
}
.faq-item[open] { border-color: rgba(245, 200, 66, 0.4); }
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 1.3rem 1.6rem;
  font-family: 'Cormorant Garamond', serif;
  font-weight: 600;
  font-size: 1.15rem;
  color: var(--pearl);
  position: relative;
  padding-right: 3.5rem;
  transition: color 0.25s ease;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "\f078";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  position: absolute;
  right: 1.5rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--gold-bright);
  transition: transform 0.3s ease;
  font-size: 0.85rem;
}
.faq-item[open] summary::after { transform: translateY(-50%) rotate(180deg); }
.faq-item summary:hover { color: var(--gold-bright); }
.faq-content {
  padding: 0 1.6rem 1.4rem;
  color: rgba(248, 244, 255, 0.78);
  line-height: 1.7;
  animation: faq-open 0.35s ease;
}
@keyframes faq-open {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ============== Final CTA ============== */
.final-cta {
  position: relative;
  padding: 7rem 0;
  background:
    radial-gradient(ellipse at center, rgba(107, 70, 193, 0.4) 0%, var(--royal-900) 70%);
  overflow: hidden;
}
.cta-portal {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 700px;
  height: 700px;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(245, 200, 66, 0.18) 0%, rgba(107, 70, 193, 0.1) 50%, transparent 70%);
  filter: blur(20px);
  animation: portal-rotate 14s linear infinite;
  pointer-events: none;
  border-radius: 50%;
}
@keyframes portal-rotate {
  0% { transform: translate(-50%, -50%) rotate(0deg) scale(1); }
  50% { transform: translate(-50%, -50%) rotate(180deg) scale(1.1); }
  100% { transform: translate(-50%, -50%) rotate(360deg) scale(1); }
}

/* ============== Footer ============== */
.site-footer {
  position: relative;
  background:
    linear-gradient(180deg, var(--royal-900) 0%, #07021a 100%);
  border-top: 1px solid rgba(212, 175, 55, 0.2);
  overflow: hidden;
}
.footer-particles {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.footer-particles span {
  position: absolute;
  width: 3px;
  height: 3px;
  background: var(--gold-bright);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--gold-bright);
  opacity: 0.5;
  animation: footer-twinkle 5s ease-in-out infinite;
}
.footer-particles span:nth-child(1) { top: 15%; left: 8%; animation-delay: 0s; }
.footer-particles span:nth-child(2) { top: 30%; left: 25%; animation-delay: 1s; background: var(--turquoise); box-shadow: 0 0 8px var(--turquoise); }
.footer-particles span:nth-child(3) { top: 60%; left: 50%; animation-delay: 2s; }
.footer-particles span:nth-child(4) { top: 25%; left: 75%; animation-delay: 3s; background: var(--lavender); box-shadow: 0 0 8px var(--lavender); }
.footer-particles span:nth-child(5) { top: 70%; left: 90%; animation-delay: 1.5s; }
@keyframes footer-twinkle {
  0%, 100% { opacity: 0.3; transform: scale(0.8); }
  50% { opacity: 1; transform: scale(1.2); }
}

.footer-heading {
  font-family: 'Cinzel', serif;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold-bright);
  margin-bottom: 1.25rem;
  position: relative;
  padding-bottom: 0.7rem;
}
.footer-heading::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 2px;
  background: var(--grad-gold);
  border-radius: 2px;
}

.footer-link {
  display: inline-block;
  color: rgba(248, 244, 255, 0.7);
  font-size: 0.95rem;
  text-decoration: none;
  transition: color 0.25s ease, padding 0.25s ease;
}
.footer-link:hover { color: var(--gold-bright); padding-left: 4px; }

.social-coin {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 30% 30%, var(--gold-bright), var(--gold-warm) 70%, #8a6c14 100%);
  color: var(--royal-900);
  text-decoration: none;
  font-size: 0.95rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 12px rgba(245, 200, 66, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.4);
}
.social-coin:hover {
  transform: translateY(-3px) rotate(8deg);
  box-shadow: 0 8px 20px rgba(245, 200, 66, 0.5);
}

.footer-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(245, 200, 66, 0.3), transparent);
}

.trust-mini {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: rgba(248, 244, 255, 0.7);
  font-size: 0.85rem;
}
.trust-mini i { color: var(--gold-bright); font-size: 1.1rem; }

.age-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  font-family: 'Cinzel', serif;
  font-weight: 800;
  font-size: 0.85rem;
  color: white;
  background: linear-gradient(135deg, var(--ruby), #be123c);
  border-radius: 50%;
  box-shadow: 0 4px 12px rgba(225, 29, 72, 0.4);
}
.reg-badge {
  display: inline-block;
  padding: 0.3rem 0.8rem;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(248, 244, 255, 0.8);
  border: 1px solid rgba(245, 200, 66, 0.25);
  border-radius: 999px;
  background: rgba(245, 200, 66, 0.05);
}

/* ============== Back-to-top ============== */
.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 50px;
  height: 50px;
  background: var(--grad-gold);
  color: var(--royal-900);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-size: 1rem;
  z-index: 50;
  opacity: 0;
  pointer-events: none;
  transform: translateY(20px);
  transition: all 0.35s ease;
  box-shadow: 0 8px 25px rgba(245, 200, 66, 0.45);
}
.back-to-top.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
.back-to-top:hover {
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 12px 32px rgba(245, 200, 66, 0.6);
}

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

/* ============== Responsive ============== */
@media (max-width: 640px) {
  .main-bonus-card { padding: 2rem 1.5rem; }
  .bonus-card { padding: 1.5rem 1.25rem; }
  .games-grid { grid-template-columns: repeat(2, 1fr); gap: 1rem; }
  .game-title { font-size: 0.85rem; }
  .game-meta { font-size: 0.7rem; }
  .tab-btn { padding: 0.55rem 1rem; font-size: 0.9rem; }
  .back-to-top { bottom: 1rem; right: 1rem; width: 44px; height: 44px; }
}
