/* ==========================================================================
   Babyredisaprincess PREMIUM DESIGN SYSTEM & STYLESHEET
   ========================================================================== */

/* --- Google Fonts ---
   Montserrat: body & UI. Oswald: condensed display face — its sporting,
   scoreboard-like character suits a betting/casino brand and sets the
   headings apart from the rounded body text. */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,400;1,700&family=Oswald:wght@500;600;700&display=swap');

/* ==========================================================================
   DESIGN TOKENS
   --------------------------------------------------------------------------
   HOW TO RE-SKIN THE WHOLE SITE:
   The brand colour lives in exactly TWO places — change these and every
   button, border, glow, badge and heading accent follows automatically:
       --color-primary       (hex form, used for solid colours)
       --color-primary-rgb   (r,g,b form, used inside rgba() glows/tints)
   Keep the two in sync (same colour, one as #hex, one as "r, g, b").
   `--color-gold*` are kept as ALIASES of the primary so older rules that
   still say "gold" keep working. `--color-secondary` is the warm accent
   (CTA / hover), likewise split into hex + rgb.
   ========================================================================== */
:root {
  /* ---- Brand: primary (the one knob to turn) ---- */
  --color-primary: #4b9814;
  /* Premium Green */
  --color-primary-rgb: 75, 152, 20;
  --color-primary-light: #81d742;
  /* highlight sheen */
  --color-primary-deep: #1e7e34;
  /* shadow side */

  /* ---- Brand: secondary / accent (CTA, hover) ---- */
  --color-secondary: #81d742;
  /* Light Green */
  --color-secondary-rgb: 129, 215, 66;
  --color-secondary-hover: #1e7e34;
  /* darker green for :hover */

  /* ---- Legacy aliases → primary (do not hardcode gold elsewhere) ---- */
  --color-gold: var(--color-primary);
  --color-gold-light: var(--color-primary-light);
  --color-gold-deep: var(--color-primary-deep);
  --color-gold-rgb: var(--color-primary-rgb);
  --color-accent: var(--color-secondary);
  --color-accent-rgb: var(--color-secondary-rgb);

  /* ---- Status colours ---- */
  --color-green: #22c55e;
  --color-red: #ef4444;
  --color-red-strong: #dc2626;
  /* brighter red (play button) */
  --color-red-strong-hover: #b91c1c;
  --color-amber: #fbbf24;
  /* jackpot / wheel glow (distinct from primary) */
  --color-amber-rgb: 251, 191, 36;
  --color-neutral: #4b5563;
  /* muted grey (maintenance badge) */

  /* ---- Surfaces (base) ---- */
  --bg-body: #ffffff;
  /* Clean White */
  --bg-deepest: #f8fafc;
  /* deeper than body (footer) */
  --bg-header: rgba(255, 255, 255, 0.95);
  /* Glassmorphic White */
  --bg-sidebar: #ffffff;
  --bg-card: #ffffff;
  /* Clean White Card */
  --bg-card-hover: #f1f5f9;
  --bg-input: #f8fafc;
  --bg-elevated: #ffffff;
  /* lifted surface for layered depth */
  --surface-card-2: var(--surface-card-2);
  /* common 2nd stop of card gradients */

  /* ---- Accent surfaces (gradient card backdrops, off-palette by design) ---- */
  --surface-slate: #f8fafc;
  --surface-slate-deep: #e2e8f0;
  --surface-navy: #f0fdf4;
  --surface-navy-deep: #dcfce7;
  --surface-purple: #fdf4ff;
  --surface-purple-deep: #fae8ff;
  --surface-teal: #f0fdfa;
  --surface-teal-deep: #ccfbf1;
  --surface-olive: #f7fee7;
  --surface-olive-deep: #ecfccb;
  --surface-brown: #fdf8f6;
  --surface-brown-deep: #ffedd5;

  /* ---- Text ---- */
  --text-primary: #2d3748;
  /* Dark Charcoal */
  --text-secondary: #4a5568;
  /* Muted Slate Gray */
  --text-muted: #64748b;
  --text-on-gold: #ffffff;
  /* Pure White on primary */

  /* ---- Borders ---- */
  --border-color: rgba(var(--color-primary-rgb), 0.15);
  /* Hairline brand border */
  --border-hover: rgba(var(--color-primary-rgb), 0.4);

  /* ---- Brand gradient (derived from primary) ---- */
  --gradient-gold: linear-gradient(135deg, var(--color-primary-light) 0%, var(--color-primary) 45%, var(--color-primary-deep) 100%);
  --gradient-gold-soft: linear-gradient(135deg, rgba(var(--color-primary-rgb), 0.18) 0%, rgba(var(--color-primary-rgb), 0.06) 100%);

  /* ---- Shadows ---- */
  --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.5);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.7);
  --shadow-glow: 0 0 30px rgba(var(--color-primary-rgb), 0.12);
  --shadow-gold-lg: 0 18px 48px -12px rgba(var(--color-primary-rgb), 0.28);

  /* ---- Metrics & motion ---- */
  --header-height: 80px;
  --border-radius: 16px;
  --font-family: 'Montserrat', sans-serif;
  --font-display: 'Oswald', 'Montserrat', sans-serif;
  --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* --- Base & Reset Styles --- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-family);
  background-color: var(--bg-body);
  /* Faint twin gold auras top-left/top-right give the page cinematic depth
     instead of a flat black field. Fixed so they stay put while scrolling. */
  background-image:
    radial-gradient(60% 50% at 15% 0%, rgba(var(--color-primary-rgb), 0.06) 0%, transparent 60%),
    radial-gradient(55% 45% at 90% 5%, rgba(var(--color-secondary-rgb), 0.05) 0%, transparent 55%);
  background-attachment: fixed;
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* Display face for the page's loud voices — hero, section headings, big numbers.
   Condensed + tight tracking reads like a scoreboard, on-brand for betting. */
.slide-title,
.section-title,
.game-card-title,
.download-title,
.intro-right h2,
.jackpot-value,
.promo-banner-title,
.detail-title,
.policy-title,
.footer-brand-title,
.promo-modal-title,
.wheel-title {
  font-family: var(--font-display);
  letter-spacing: 0.5px;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

ul {
  list-style: none;
}

button,
input,
select,
textarea {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  background: none;
  border: none;
  outline: none;
}

button {
  cursor: pointer;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: var(--border-radius);
}

/* --- Scrollbar --- */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}

::-webkit-scrollbar-track {
  background: var(--bg-body);
}

::-webkit-scrollbar-thumb {
  background: var(--bg-card);
  border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--color-gold);
}

/* ==========================================================================
   LAYOUT STRUCTURE
   ========================================================================== */
.app-container {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.main-wrapper {
  display: flex;
  flex-direction: column;
  flex: 1;
  margin-top: var(--header-height);
  position: relative;
  width: 100%;
}

.content-area {
  flex: 1;
  padding: 16px;
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
}

/* ==========================================================================
   HEADER COMPONENT
   ========================================================================== */
header.Babyredisaprincess-header {
  height: var(--header-height);
  background-color: var(--bg-header);
  border-bottom: 1px solid var(--border-color);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  backdrop-filter: blur(10px);
}

.header-container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  padding: 0 16px;
  position: relative;
}

.header-left {
  display: flex;
  align-items: center;
  gap: 16px;
}

.menu-toggle {
  display: none;
  font-size: 22px;
  color: var(--text-primary);
  background: none;
  cursor: pointer;
}

.logo {
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 800;
  font-size: 30px;
  font-style: italic;
  letter-spacing: -1.5px;
}

.logo i {
  color: var(--color-gold);
  font-size: 22px;
  transform: rotate(-15deg);
  text-shadow: 0 0 10px rgba(var(--color-primary-rgb), 0.4);
}

.logo-gold {
  color: var(--color-gold);
  text-shadow: 0 0 10px rgba(var(--color-primary-rgb), 0.3);
}

.logo-white {
  color: var(--text-primary);
}

/* Nav Menu Central */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 4px;
  height: 100%;
}

.nav-item-wrapper {
  height: 100%;
  display: flex;
  align-items: center;
}

.nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  padding: 6px 14px;
  font-weight: 700;
  font-size: 11px;
  color: var(--text-secondary);
  transition: var(--transition);
  text-transform: uppercase;
  text-align: center;
  height: 100%;
  position: relative;
  /* Position badges relative to links */
}

.nav-item i:first-child {
  font-size: 18px;
  color: var(--text-secondary);
  transition: var(--transition);
}

.nav-item:hover i:first-child,
.nav-item.active i:first-child {
  color: var(--color-gold);
  text-shadow: 0 0 8px rgba(var(--color-gold-rgb), 0.5);
}

.nav-item i.fa-chevron-down {
  font-size: 9px;
  margin-left: 2px;
  vertical-align: middle;
}

.nav-item:hover,
.nav-item.active {
  color: var(--text-primary);
}

.nav-item.active {
  color: var(--color-gold);
  border-bottom: 3px solid var(--color-gold);
  border-radius: 0;
  background: none;
}

/* Dropdown Mega-Menu Box */
.mega-menu {
  position: absolute;
  top: var(--header-height);
  left: 0;
  width: 100%;
  background-color: var(--bg-header);
  border: 1px solid var(--border-color);
  border-radius: 0 0 16px 16px;
  padding: 24px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  box-shadow: var(--shadow-md), var(--shadow-glow);
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  z-index: 1010;
  transform: translateY(20px);
}

.mega-menu.casino-cols {
  grid-template-columns: repeat(5, 1fr);
}

.nav-item-wrapper:hover .mega-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

/* Mega-Menu Cards */
.mega-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 16px;
  text-align: center;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  height: 220px;
  transition: var(--transition);
}

.mega-card:hover {
  border-color: var(--color-gold);
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(var(--color-primary-rgb), 0.15);
}

.mega-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(var(--color-primary-rgb), 0.05) 0%, rgba(0, 0, 0, 0) 100%);
  opacity: 0;
  transition: var(--transition);
}

.mega-card:hover::before {
  opacity: 1;
}

.mega-card-logo {
  font-size: 24px;
  font-weight: 800;
  color: var(--color-gold);
  margin-bottom: 8px;
  letter-spacing: -0.5px;
}

.mega-card-logo span {
  color: var(--text-primary);
}

.mega-card-img {
  font-size: 64px;
  color: rgba(255, 255, 255, 0.06);
  margin: 12px 0;
  transition: var(--transition);
}

.mega-card:hover .mega-card-img {
  color: var(--color-gold);
  transform: scale(1.1);
  text-shadow: 0 0 20px rgba(var(--color-primary-rgb), 0.4);
}

.mega-card-title {
  font-weight: 700;
  font-size: 16px;
  margin-bottom: 12px;
}

.btn-mega-play {
  padding: 6px 20px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--text-primary);
  transition: var(--transition);
}

.mega-card:hover .btn-mega-play {
  background-color: var(--color-gold);
  border-color: var(--color-gold);
  color: var(--text-on-gold);
  box-shadow: 0 4px 12px rgba(var(--color-primary-rgb), 0.3);
}

/* Auth Buttons */
.auth-buttons {
  display: flex;
  align-items: center;
  gap: 12px;
}

.btn {
  padding: 10px 24px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 14px;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.btn-login {
  background-color: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-hover);
  color: var(--color-gold);
}

.btn-login:hover {
  background-color: rgba(var(--color-primary-rgb), 0.08);
  box-shadow: 0 0 15px rgba(var(--color-primary-rgb), 0.2);
}

.btn-register {
  background: var(--gradient-gold);
  color: var(--text-on-gold);
  font-weight: 700;
  box-shadow: 0 4px 12px rgba(var(--color-primary-rgb), 0.25);
  position: relative;
  overflow: hidden;
  animation: registerPulse 3s infinite ease-in-out;
}

.btn-register::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -60%;
  width: 30%;
  height: 200%;
  background: linear-gradient(to right,
      rgba(255, 255, 255, 0) 0%,
      rgba(255, 255, 255, 0.5) 50%,
      rgba(255, 255, 255, 0) 100%);
  transform: rotate(30deg);
  animation: btnShimmer 3s infinite ease-in-out;
}

.btn-register:hover {
  background: linear-gradient(135deg, var(--color-primary-light) 0%, var(--color-primary-light) 45%, var(--color-primary) 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(var(--color-primary-rgb), 0.55);
}

@keyframes registerPulse {
  0% {
    box-shadow: 0 0 8px rgba(var(--color-primary-rgb), 0.3);
    transform: scale(1);
  }

  50% {
    box-shadow: 0 0 20px rgba(var(--color-primary-rgb), 0.6);
    transform: scale(1.02);
  }

  100% {
    box-shadow: 0 0 8px rgba(var(--color-primary-rgb), 0.3);
    transform: scale(1);
  }
}

@keyframes btnShimmer {
  0% {
    left: -60%;
  }

  25% {
    left: 140%;
  }

  100% {
    left: 140%;
  }
}

/* ==========================================================================
   HOMEPAGE SPECIFIC COMPONENTS
   ========================================================================== */

/* Hero Banner Slider */
.hero-slider {
  position: relative;
  width: 100%;
  height: 400px;
  background-color: var(--bg-card);
  overflow: hidden;
  border-bottom: 1px solid var(--border-color);
}

/* Cinematic vignette over the whole stage — darkens edges so the slide
   content reads as spotlit rather than flat. Sits above slides, below dots. */
.hero-slider::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 3;
  box-shadow: inset 0 -60px 80px -30px rgba(0, 0, 0, 0.85),
    inset 0 60px 60px -40px rgba(0, 0, 0, 0.5);
}

.slider-container {
  display: flex;
  width: 100%;
  height: 100%;
}

.slide {
  flex-shrink: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 80px;
  position: absolute;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.8s ease-in-out, visibility 0.8s ease-in-out;
}

.slide::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, #09090b 0%, #09090b 45%, rgba(9, 9, 11, 0.85) 60%, rgba(9, 9, 11, 0.15) 100%);
  z-index: 1;
}

.slide.active {
  opacity: 1;
  visibility: visible;
  position: relative;
}

.slide-content {
  max-width: 550px;
  position: relative;
  z-index: 2;
}

.slide-badge {
  background-color: var(--color-accent);
  color: var(--text-primary);
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  display: inline-block;
  margin-bottom: 16px;
  box-shadow: 0 2px 8px rgba(var(--color-secondary-rgb), 0.3);
}

.slide-title {
  font-size: 46px;
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 16px;
  letter-spacing: 0.5px;
}

/* Metallic gold fill on the emphasis word (100%, 1.5%…).
   Guarded with @supports so browsers that can't clip text to the gradient
   keep the solid gold colour instead of rendering the word invisible. */
.slide-title span {
  color: var(--color-gold);
}

@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  .slide-title span {
    background: linear-gradient(180deg, var(--color-gold-light) 0%, var(--color-gold) 55%, var(--color-gold-deep) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
  }
}

.slide-desc {
  color: var(--text-secondary);
  font-size: 16px;
  margin-bottom: 24px;
}

.btn-slide-cta {
  background-color: var(--color-accent);
  color: var(--text-primary);
  box-shadow: 0 4px 14px rgba(var(--color-secondary-rgb), 0.4);
}

.btn-slide-cta:hover {
  background-color: var(--color-secondary-hover);
}

.slide-graphic {
  width: 40%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 160px;
  color: rgba(255, 255, 255, 0.04);
  position: relative;
  z-index: 2;
}

.slide-graphic i {
  transition: var(--transition);
}

.slide.active .slide-graphic i {
  color: var(--color-gold);
  text-shadow: 0 0 40px rgba(var(--color-primary-rgb), 0.3);
  transform: rotate(-5deg) scale(1.05);
  animation: floatIcon 4s infinite ease-in-out;
}

@keyframes floatIcon {
  0% {
    transform: translateY(0) rotate(-5deg);
  }

  50% {
    transform: translateY(-12px) rotate(-2deg);
  }

  100% {
    transform: translateY(0) rotate(-5deg);
  }
}

.slider-dots {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 10;
}

.slider-dot {
  width: 32px;
  height: 6px;
  border-radius: 3px;
  background-color: rgba(255, 255, 255, 0.2);
  cursor: pointer;
  transition: var(--transition);
}

.slider-dot.active {
  background-color: var(--color-gold);
  width: 48px;
}

/* Marquee Announcement Bar */
.marquee-bar {
  background-color: var(--bg-body);
  border-bottom: 1px solid var(--border-color);
  height: 40px;
  overflow: hidden;
}

.marquee-container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 16px;
  height: 100%;
  padding: 0 16px;
}

.marquee-label {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--color-gold);
  font-weight: 700;
  font-size: 13px;
  white-space: nowrap;
  background-color: var(--bg-body);
  padding-right: 16px;
  border-right: 1px solid var(--border-color);
  z-index: 5;
}

.marquee-content {
  flex: 1;
  overflow: hidden;
  white-space: nowrap;
}

.marquee-text {
  display: inline-block;
  padding-left: 100%;
  animation: marqueeScroll 25s linear infinite;
  font-size: 13px;
  color: var(--text-secondary);
}

.marquee-text span {
  color: var(--text-primary);
  font-weight: 600;
  margin-right: 32px;
}

@keyframes marqueeScroll {
  0% {
    transform: translate3d(0, 0, 0);
  }

  100% {
    transform: translate3d(-100%, 0, 0);
  }
}

/* Game Categories Grid */
.game-grid-section {
  padding: 40px 0;
}

.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}

.section-title {
  font-size: 26px;
  font-weight: 700;
  text-transform: uppercase;
  position: relative;
  padding-left: 18px;
  letter-spacing: 1px;
}

/* Signature: a tapered gold "flame" bar — brighter at the base, fading up —
   that reads as a lit marker rather than a plain rule. */
.section-title::before {
  content: '';
  position: absolute;
  left: 0;
  top: 2px;
  bottom: 2px;
  width: 5px;
  background: linear-gradient(180deg, var(--color-gold-light) 0%, var(--color-gold) 50%, var(--color-gold-deep) 100%);
  border-radius: 3px;
  box-shadow: 0 0 14px rgba(var(--color-gold-rgb), 0.7);
}

/* Thin fading underline echoes the marker and anchors the heading */
.section-title::after {
  content: '';
  position: absolute;
  left: 18px;
  bottom: -8px;
  width: 48px;
  height: 2px;
  background: linear-gradient(90deg, var(--color-gold) 0%, transparent 100%);
  border-radius: 2px;
}

.game-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.game-card {
  height: 280px;
  border-radius: 16px;
  border: 1px solid var(--border-color);
  /* Layered surface: deep base + gold pool rising from the bottom-left,
     so an empty card still has depth without an image. */
  background:
    radial-gradient(120% 80% at 0% 100%, rgba(var(--color-primary-rgb), 0.08) 0%, transparent 55%),
    linear-gradient(160deg, #16151a 0%, #0f0e12 100%);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px;
  transition: var(--transition);
}

.game-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 40%, rgba(9, 9, 11, 0.95) 100%);
  z-index: 1;
}

.game-card:hover {
  transform: translateY(-6px);
  border-color: var(--color-gold);
  box-shadow: 0 12px 32px rgba(var(--color-primary-rgb), 0.15);
}

.game-card-bg-icon {
  position: absolute;
  top: 16px;
  right: 16px;
  font-size: 150px;
  color: rgba(var(--color-primary-rgb), 0.05);
  z-index: 0;
  transition: var(--transition);
}

.game-card:hover .game-card-bg-icon {
  color: rgba(var(--color-primary-rgb), 0.12);
  transform: rotate(-10deg) scale(1.08);
  text-shadow: 0 0 40px rgba(var(--color-primary-rgb), 0.3);
}

.game-card-content {
  position: relative;
  z-index: 2;
}

.game-card-title {
  font-size: 22px;
  font-weight: 800;
  margin-bottom: 6px;
  text-transform: uppercase;
}

.game-card-desc {
  color: var(--text-secondary);
  font-size: 13px;
  margin-bottom: 16px;
}

.btn-game-play {
  background: var(--gradient-gold);
  color: var(--text-on-gold);
  font-weight: 700;
  text-transform: uppercase;
  padding: 8px 24px;
  border-radius: 20px;
  font-size: 13px;
  box-shadow: 0 4px 12px rgba(var(--color-primary-rgb), 0.3);
}

.btn-game-play:hover {
  box-shadow: 0 6px 18px rgba(var(--color-primary-rgb), 0.45);
  transform: translateY(-1px);
}

/* Feature Row / Trust Elements */
.features-section {
  padding: 40px 0;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.feature-item {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 24px;
  display: flex;
  align-items: center;
  gap: 16px;
  transition: var(--transition);
}

.feature-item:hover {
  border-color: var(--color-gold);
  transform: translateY(-2px);
  background-color: var(--bg-card-hover);
}

.feature-icon {
  font-size: 32px;
  color: var(--color-gold);
  text-shadow: 0 0 10px rgba(var(--color-primary-rgb), 0.2);
}

.feature-title {
  font-weight: 700;
  font-size: 15px;
  margin-bottom: 4px;
}

.feature-desc {
  color: var(--text-secondary);
  font-size: 12px;
}

/* App Download Banner */
.download-section {
  background: linear-gradient(135deg, var(--bg-card) 0%, var(--surface-card-2) 100%);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 40px 0;
}

.download-content {
  max-width: 600px;
}

.download-title {
  font-size: 28px;
  font-weight: 800;
  margin-bottom: 12px;
  text-transform: uppercase;
}

.download-title span {
  color: var(--color-gold);
}

.download-desc {
  color: var(--text-secondary);
  font-size: 14px;
  margin-bottom: 24px;
}

.qr-container {
  display: flex;
  gap: 24px;
}

.qr-item {
  background-color: var(--text-primary);
  padding: 8px;
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 120px;
  color: var(--text-on-gold);
}

.qr-code {
  width: 104px;
  height: 104px;
  background-color: #ddd;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: bold;
}

.qr-label {
  font-size: 11px;
  font-weight: 700;
  margin-top: 6px;
  text-transform: uppercase;
}

.download-phone-mockup {
  font-size: 180px;
  color: rgba(255, 255, 255, 0.06);
  text-shadow: 0 0 40px rgba(255, 255, 255, 0.1);
}

/* ==========================================================================
   PROMOTIONS PAGE SPECIFIC (khuyenmai.html)
   ========================================================================== */
.promo-banner {
  background: linear-gradient(135deg, var(--bg-card) 0%, #261f36 100%);
  height: auto;
  border-radius: 16px;
  display: flex;
  align-items: center;
  padding: 0 48px;
  margin-bottom: 32px;
  border: 1px solid var(--border-color);
}

.promo-banner-title {
  font-size: 32px;
  font-weight: 800;
  text-transform: uppercase;
}

.promo-banner-title span {
  color: var(--color-gold);
}

.filter-bar {
  display: flex;
  gap: 8px;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 16px;
  margin-bottom: 32px;
  overflow-x: auto;
}

.filter-btn {
  padding: 8px 24px;
  border-radius: 20px;
  font-weight: 600;
  font-size: 13px;
  text-transform: uppercase;
  color: var(--text-secondary);
  background-color: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-color);
  transition: var(--transition);
}

.filter-btn:hover,
.filter-btn.active {
  color: var(--text-on-gold);
  background-color: var(--color-gold);
  border-color: var(--color-gold);
}

.promo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.promo-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 380px;
  transition: var(--transition);
}

.promo-card:hover {
  transform: translateY(-4px);
  border-color: var(--color-gold);
  box-shadow: var(--shadow-md);
}

.promo-img-placeholder {
  height: 180px;
  background: linear-gradient(135deg, var(--bg-card) 0%, var(--surface-card-2) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 64px;
  color: var(--color-gold);
  position: relative;
  overflow: hidden;
}

/* When the placeholder holds a real image (WP: the_post_thumbnail), it covers
   the whole box; the badge stays on top via its own positioning + z-index. */
.promo-img-placeholder img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0;
  transition: transform 0.4s ease;
}

.promo-card:hover .promo-img-placeholder img {
  transform: scale(1.05);
}

.promo-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  background-color: var(--color-accent);
  color: var(--text-primary);
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
}

.promo-content {
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex: 1;
}

.promo-title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
  line-height: 1.3;
}

.promo-desc {
  color: var(--text-secondary);
  font-size: 12px;
  margin-bottom: 16px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.btn-promo-detail {
  width: 100%;
  background-color: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  font-weight: 700;
  padding: 10px;
  border-radius: 8px;
  text-transform: uppercase;
  font-size: 13px;
  transition: var(--transition);
}

.promo-card:hover .btn-promo-detail {
  background-color: var(--color-gold);
  border-color: var(--color-gold);
  color: var(--text-on-gold);
  box-shadow: 0 4px 12px rgba(var(--color-primary-rgb), 0.2);
}

/* ==========================================================================
   PROMOTION DETAIL PAGE (khuyenmai-chitiet.html)
   ========================================================================== */
.breadcrumbs {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text-secondary);
  margin-bottom: 24px;
}

.breadcrumbs a:hover {
  color: var(--color-gold);
}

.breadcrumbs i {
  font-size: 10px;
}

.two-col-layout {
  display: flex;
  gap: 32px;
  align-items: flex-start;
}

.sidebar-col {
  width: 320px;
  flex-shrink: 0;
  position: sticky;
  top: 100px;
}

.main-col {
  flex: 1;
}

/* Sidebar Promotion List Widget */
.widget-box {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 24px;
  margin-bottom: 24px;
}

.widget-title {
  font-size: 16px;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 16px;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 8px;
}

.widget-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.widget-item {
  display: flex;
  gap: 12px;
}

.widget-thumb {
  width: 80px;
  height: 50px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--bg-card) 0%, var(--surface-card-2) 100%);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-gold);
  font-size: 20px;
  overflow: hidden;
  position: relative;
}

.widget-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
  display: block;
}

.widget-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.widget-item-title {
  font-size: 13px;
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 4px;
}

.widget-item-title:hover {
  color: var(--color-gold);
}

.widget-item-date {
  font-size: 11px;
  color: var(--text-muted);
}

/* Detail Main Content Box */
.detail-box {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 32px;
}

.detail-large-banner {
  height: 280px;
  background: linear-gradient(135deg, var(--bg-card) 0%, var(--surface-card-2) 100%);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-gold);
  font-size: 84px;
  margin-bottom: 24px;
  border: 1px solid var(--border-color);
  overflow: hidden;
  position: relative;
}

.detail-large-banner img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
  display: block;
}

.detail-title {
  font-size: 28px;
  font-weight: 800;
  margin-bottom: 24px;
  text-transform: uppercase;
}

.detail-meta-info {
  display: flex;
  gap: 32px;
  margin-bottom: 32px;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 16px;
}

.meta-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text-secondary);
}

.meta-item i {
  color: var(--color-gold);
}

.detail-section {
  margin-bottom: 32px;
}

.detail-section-title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--color-gold);
  text-transform: uppercase;
}

.detail-table {
  width: 100%;
  border-collapse: collapse;
  margin: 16px 0;
  font-size: 14px;
}

.detail-table th,
.detail-table td {
  border: 1px solid var(--border-color);
  padding: 12px 16px;
  text-align: left;
}

.detail-table th {
  background-color: rgba(255, 255, 255, 0.03);
  font-weight: 700;
}

.detail-table tr:nth-child(even) td {
  background-color: rgba(255, 255, 255, 0.01);
}

.detail-list {
  list-style: decimal;
  padding-left: 20px;
  font-size: 14px;
  color: var(--text-secondary);
}

.detail-list li {
  margin-bottom: 8px;
}

.btn-detail-join {
  width: 100%;
  max-width: 240px;
  margin: 24px auto 0 auto;
  display: flex;
  background-color: var(--color-accent);
  color: var(--text-primary);
  font-weight: 700;
  text-transform: uppercase;
  padding: 12px;
  border-radius: 8px;
  box-shadow: 0 4px 14px rgba(var(--color-secondary-rgb), 0.4);
}

.btn-detail-join:hover {
  background-color: var(--color-secondary-hover);
  transform: translateY(-2px);
}

/* ==========================================================================
   POLICY PAGE SPECIFIC (chinhsach.html)
   ========================================================================== */
.policy-sidebar {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 16px;
}

.policy-sidebar-title {
  font-size: 15px;
  font-weight: 700;
  text-transform: uppercase;
  padding: 12px;
  border-bottom: 1px solid var(--border-color);
  margin-bottom: 8px;
}

.policy-nav-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.policy-nav-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-secondary);
  transition: var(--transition);
}

.policy-nav-item:hover,
.policy-nav-item.active {
  color: var(--text-primary);
  background-color: rgba(255, 255, 255, 0.04);
}

.policy-nav-item.active {
  color: var(--color-gold);
  background-color: rgba(var(--color-primary-rgb), 0.08);
  border-left: 3px solid var(--color-gold);
  border-radius: 0 8px 8px 0;
}

.policy-content-box {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 32px;
}

.policy-title {
  font-size: 26px;
  font-weight: 800;
  margin-bottom: 24px;
  text-transform: uppercase;
}

.policy-text h2 {
  font-size: 18px;
  font-weight: 700;
  margin: 24px 0 12px 0;
  color: var(--color-gold);
}

.policy-text p {
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 16px;
  text-align: justify;
}

.policy-text ul {
  list-style: disc;
  padding-left: 20px;
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 16px;
}

.policy-text li {
  margin-bottom: 8px;
}

/* ==========================================================================
   FOOTER COMPONENT
   ========================================================================== */
.footer {
  background-color: var(--bg-deepest);
  border-top: 1px solid var(--border-color);
  padding: 64px 32px 32px 32px;
  width: 100%;
}

.footer-container {
  max-width: 1280px;
  margin: 0 auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}

.footer-brand-title {
  font-size: 24px;
  font-weight: 800;
  margin-bottom: 16px;
  text-transform: uppercase;
}

.footer-brand-title span {
  color: var(--color-gold);
}

.footer-brand-desc {
  color: var(--text-secondary);
  font-size: 13px;
  line-height: 1.8;
  margin-bottom: 24px;
}

.footer-col-title {
  font-size: 15px;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 8px;
}

.footer-col-title::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 32px;
  height: 2px;
  background-color: var(--color-gold);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 13px;
  color: var(--text-secondary);
}

.footer-links a:hover {
  color: var(--color-gold);
  padding-left: 4px;
}

/* Partner Logos */
.footer-partners {
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  padding: 32px 0;
  margin-bottom: 32px;
}

.partners-title {
  text-align: center;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 20px;
  letter-spacing: 1px;
}

.partners-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 32px;
}

.partner-logo {
  font-size: 22px;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.15);
  font-style: italic;
  transition: var(--transition);
}

.partner-logo span {
  color: var(--color-gold);
  opacity: 0.5;
}

.partner-logo:hover {
  color: var(--text-primary);
}

.partner-logo:hover span {
  opacity: 1;
}

/* License and Copyright Bar */
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  color: var(--text-muted);
}

.license-badges {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 20px;
}

.license-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.2);
}

.license-badge i {
  font-size: 18px;
}

/* ==========================================================================
   FLOATING SIDEBAR WIDGET
   ========================================================================== */
.floating-widget {
  position: fixed;
  right: 24px;
  bottom: 80px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 990;
}

.widget-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  color: var(--text-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  position: relative;
}

.widget-btn:hover {
  background-color: var(--color-gold);
  border-color: var(--color-gold);
  color: var(--text-on-gold);
  box-shadow: 0 4px 12px rgba(var(--color-primary-rgb), 0.4);
}

.widget-btn-tooltip {
  position: absolute;
  right: 60px;
  background-color: var(--text-on-gold);
  color: var(--text-primary);
  padding: 4px 12px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 600;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

.widget-btn:hover .widget-btn-tooltip {
  opacity: 1;
  visibility: visible;
}

/* Creative Introduction / About Section */
.intro-section {
  padding: 60px 0;
  border-bottom: 1px solid var(--border-color);
}

.intro-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 48px;
  align-items: center;
}

.intro-left {
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 200px;
  color: rgba(var(--color-primary-rgb), 0.03);
  position: relative;
}

.intro-left i {
  color: var(--color-gold);
  text-shadow: 0 0 50px rgba(var(--color-primary-rgb), 0.25);
  animation: introFloat 6s infinite ease-in-out;
}

@keyframes introFloat {
  0% {
    transform: translateY(0) rotate(0deg);
  }

  50% {
    transform: translateY(-15px) rotate(3deg);
  }

  100% {
    transform: translateY(0) rotate(0deg);
  }
}

.intro-right h4 {
  color: var(--color-gold);
  font-size: 14px;
  font-weight: 800;
  text-transform: uppercase;
  margin-bottom: 12px;
  letter-spacing: 2px;
}

.intro-right h2 {
  font-size: 32px;
  font-weight: 800;
  margin-bottom: 20px;
  text-transform: uppercase;
  line-height: 1.3;
}

.intro-right h2 span {
  color: var(--color-gold);
}

.intro-right p {
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.8;
  margin-bottom: 24px;
  text-align: justify;
}

.intro-features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.intro-feat-item {
  display: flex;
  align-items: center;
  gap: 12px;
  background-color: var(--bg-card);
  padding: 14px;
  border-radius: 8px;
  border: 1px solid var(--border-color);
}

.intro-feat-item i {
  color: var(--color-gold);
  font-size: 18px;
}

.intro-feat-title {
  font-weight: 700;
  font-size: 13px;
}

/* FAQ Accordion Section */
.faq-section {
  padding: 60px 0;
  border-bottom: 1px solid var(--border-color);
}

.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 32px;
}

.faq-item {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  overflow: hidden;
  transition: var(--transition);
}

.faq-item:hover,
.faq-item.active {
  border-color: var(--border-hover);
}

.faq-question {
  padding: 20px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
  user-select: none;
}

.faq-question i {
  font-size: 14px;
  color: var(--color-gold);
  transition: var(--transition);
}

.faq-item.active .faq-question i {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s cubic-bezier(0, 1, 0, 1);
  padding: 0 24px;
}

.faq-item.active .faq-answer {
  max-height: 1000px;
  padding: 0 24px 20px 24px;
  transition: max-height 0.3s cubic-bezier(1, 0, 1, 0);
}

.faq-answer p {
  color: var(--text-secondary);
  font-size: 13px;
  line-height: 1.7;
}

/* SEO Content Section */
.seo-section {
  padding: 60px 0;
}

.seo-box {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 32px;
}

.seo-title {
  font-size: 20px;
  font-weight: 800;
  text-transform: uppercase;
  margin-bottom: 16px;
  color: var(--color-gold);
}

.seo-text {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.8;
  text-align: justify;
}

.seo-text p {
  margin-bottom: 14px;
}

.seo-text strong {
  color: var(--text-primary);
}

/* ==========================================================================
   SCROLL REVEAL & POLISHED ANIMATIONS
   ========================================================================== */

/* Sticky Header Scroll Transition */
header.Babyredisaprincess-header {
  transition: background-color 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

header.Babyredisaprincess-header.scrolled {
  background-color: rgba(18, 18, 22, 0.95);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
  border-color: rgba(var(--color-primary-rgb), 0.15);
}

/* Card Hover Shine Sweep Effect */
.game-card,
.promo-card,
.mega-card {
  position: relative;
  overflow: hidden;
}

.game-card::before,
.promo-card::before,
.mega-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -150%;
  width: 50%;
  height: 100%;
  background: linear-gradient(to right,
      rgba(255, 255, 255, 0) 0%,
      rgba(255, 255, 255, 0.13) 50%,
      rgba(255, 255, 255, 0) 100%);
  transform: skewX(-25deg);
  z-index: 3;
  transition: none;
}

.game-card:hover::before,
.promo-card:hover::before,
.mega-card:hover::before {
  left: 150%;
  transition: all 0.75s ease-in-out;
}

/* Slide Content Sequential Reveal */
.slide .slide-badge,
.slide .slide-title,
.slide .slide-desc,
.slide .btn-slide-cta,
.slide .slide-graphic {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1), transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.slide.active .slide-badge {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.2s;
}

.slide.active .slide-title {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.4s;
}

.slide.active .slide-desc {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.6s;
}

.slide.active .btn-slide-cta {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.8s;
}

.slide.active .slide-graphic {
  opacity: 1;
  transform: translateY(0) scale(1);
  transition: opacity 1s ease-out, transform 1s ease-out;
  transition-delay: 0.5s;
}

/* Scroll Reveal Classes */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

.delay-1 {
  transition-delay: 0.1s;
}

.delay-2 {
  transition-delay: 0.2s;
}

.delay-3 {
  transition-delay: 0.3s;
}

.delay-4 {
  transition-delay: 0.4s;
}

/* Jackpot & Winner Board Section */
.jackpot-section {
  padding: 40px 0;
  border-bottom: 1px solid var(--border-color);
}

.jackpot-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 24px;
}

.jackpot-box {
  background: radial-gradient(circle at center, #2b1f0c 0%, #17120a 100%);
  border: 2px solid var(--color-gold);
  box-shadow: 0 0 30px rgba(var(--color-primary-rgb), 0.2);
  border-radius: 16px;
  padding: 32px;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.jackpot-title {
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 4px;
  color: var(--text-primary);
  text-transform: uppercase;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.jackpot-title i {
  color: var(--color-gold);
  animation: pulseCrown 1.5s infinite alternate;
}

@keyframes pulseCrown {
  0% {
    transform: scale(1);
    text-shadow: 0 0 10px rgba(var(--color-amber-rgb), 0.5);
  }

  100% {
    transform: scale(1.2);
    text-shadow: 0 0 20px rgba(var(--color-amber-rgb), 0.9);
  }
}

.jackpot-value {
  font-size: 46px;
  font-weight: 700;
  color: var(--color-gold);
  text-shadow: 0 0 25px rgba(var(--color-primary-rgb), 0.55);
  /* tabular-nums keeps every digit the same width so the live ticker
     doesn't jitter as the number climbs */
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum" 1;
  letter-spacing: 1px;
  margin: 16px 0;
  animation: jackpotGlow 2.5s ease-in-out infinite;
}

@keyframes jackpotGlow {

  0%,
  100% {
    text-shadow: 0 0 22px rgba(var(--color-primary-rgb), 0.45);
  }

  50% {
    text-shadow: 0 0 34px rgba(var(--color-primary-rgb), 0.8);
  }
}

.winner-board {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  height: 250px;
  overflow: hidden;
  position: relative;
}

.winner-board-title {
  font-size: 14px;
  font-weight: 800;
  text-transform: uppercase;
  margin-bottom: 16px;
  color: var(--text-primary);
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.winner-ticker-container {
  flex: 1;
  overflow: hidden;
  position: relative;
}

.winner-ticker {
  display: flex;
  flex-direction: column;
  gap: 12px;
  position: absolute;
  width: 100%;
  animation: scrollWinners 20s linear infinite;
}

.winner-ticker:hover {
  animation-play-state: paused;
}

@keyframes scrollWinners {
  0% {
    transform: translateY(0);
  }

  100% {
    transform: translateY(-50%);
  }
}

.winner-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  background-color: rgba(255, 255, 255, 0.02);
  padding: 10px 16px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.03);
}

.winner-user {
  font-weight: 700;
  color: var(--color-gold);
}

.winner-game {
  color: var(--text-secondary);
}

.winner-amount {
  font-weight: 800;
  color: var(--color-green);
}

/* ==========================================================================
   RESPONSIVE DESIGN (MEDIA QUERIES)
   ========================================================================== */
@media (max-width: 1024px) {
  .menu-toggle {
    display: block;
  }

  .nav-menu {
    display: none;
    /* Managed by JS for mobile drawer */
  }

  .game-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .two-col-layout {
    flex-direction: column;
  }

  .sidebar-col {
    width: 100%;
    position: static;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .intro-grid {
    grid-template-columns: 1fr;
    gap: 32px;
    text-align: center;
  }

  .intro-left {
    font-size: 140px;
  }

  .jackpot-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

@media (max-width: 768px) {
  header.Babyredisaprincess-header {
    padding: 0 16px;
  }

  .logo {
    font-size: 24px;
  }

  .auth-buttons .btn {
    padding: 8px 16px;
    font-size: 12px;
  }

  .hero-slider {
    height: 300px;
  }

  .slide {
    padding: 0 32px;
  }

  .slide-title {
    font-size: 28px;
  }

  .slide-graphic {
    display: none;
  }

  .download-section {
    flex-direction: column;
    gap: 32px;
    text-align: center;
    padding: 24px;
  }

  .qr-container {
    justify-content: center;
  }

  .download-phone-mockup {
    font-size: 120px;
  }

  .promo-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }
}

/* ==========================================================================
   WELCOME POP-UP MODAL
   ========================================================================== */
.promo-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(8px);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

.promo-modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.promo-modal {
  background: radial-gradient(circle at top, var(--bg-card-hover) 0%, var(--bg-body) 100%);
  border: 2px solid var(--color-gold);
  border-radius: 20px;
  width: 90%;
  max-width: 500px;
  padding: 40px 32px;
  text-align: center;
  position: relative;
  box-shadow: 0 0 50px rgba(var(--color-primary-rgb), 0.3);
  transform: scale(0.7);
  transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.promo-modal-overlay.active .promo-modal {
  transform: scale(1);
}

.promo-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  color: var(--text-muted);
  font-size: 20px;
  cursor: pointer;
  transition: var(--transition);
}

.promo-modal-close:hover {
  color: var(--text-primary);
  transform: scale(1.1);
}

.promo-modal-gift {
  font-size: 80px;
  color: var(--color-gold);
  margin-bottom: 24px;
  text-shadow: 0 0 30px rgba(var(--color-primary-rgb), 0.5);
  animation: giftBounce 2s infinite ease-in-out;
}

@keyframes giftBounce {

  0%,
  100% {
    transform: translateY(0) scale(1);
  }

  50% {
    transform: translateY(-10px) scale(1.05);
  }
}

.promo-modal-title {
  font-size: 22px;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 12px;
  text-transform: uppercase;
}

.promo-modal-subtitle {
  font-size: 14px;
  color: var(--color-gold);
  font-weight: 700;
  margin-bottom: 20px;
}

.promo-modal-desc {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 28px;
}

.promo-modal-btn {
  background-color: var(--color-gold);
  color: var(--text-on-gold);
  font-weight: 800;
  padding: 14px 32px;
  border-radius: 30px;
  font-size: 14px;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: 0 4px 15px rgba(var(--color-primary-rgb), 0.4);
}

.promo-modal-btn:hover {
  background-color: var(--text-primary);
  box-shadow: 0 4px 20px rgba(255, 255, 255, 0.6);
  transform: translateY(-2px);
}

/* ==========================================================================
   LUCKY WHEEL FLOATING & MODAL
   ========================================================================== */
.lucky-wheel-btn {
  position: fixed;
  bottom: 100px;
  left: 24px;
  z-index: 999;
  background: radial-gradient(circle, var(--color-primary) 0%, var(--color-primary-deep) 100%);
  width: 65px;
  height: 65px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-on-gold);
  font-size: 26px;
  cursor: pointer;
  box-shadow: 0 0 20px rgba(var(--color-primary-rgb), 0.5);
  border: 2px solid #fff;
  animation: wheelButtonGlow 2s infinite alternate, wheelButtonBounce 3s infinite ease-in-out;
}

@keyframes wheelButtonGlow {
  0% {
    box-shadow: 0 0 10px rgba(var(--color-primary-rgb), 0.4);
  }

  100% {
    box-shadow: 0 0 25px rgba(var(--color-primary-rgb), 0.8);
  }
}

@keyframes wheelButtonBounce {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-10px);
  }
}

.lucky-wheel-tooltip {
  position: absolute;
  left: 80px;
  background-color: var(--text-on-gold);
  color: var(--text-primary);
  padding: 6px 12px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 700;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transform: translateX(-10px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.lucky-wheel-btn:hover .lucky-wheel-tooltip {
  opacity: 1;
  transform: translateX(0);
}

/* Lucky Wheel Modal Overlay */
.wheel-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(8px);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

.wheel-modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.wheel-modal {
  background: radial-gradient(circle at top, var(--bg-card-hover) 0%, var(--bg-body) 100%);
  border: 2px solid var(--color-gold);
  border-radius: 20px;
  width: 90%;
  max-width: 450px;
  padding: 40px 24px;
  text-align: center;
  position: relative;
  box-shadow: 0 0 50px rgba(var(--color-primary-rgb), 0.3);
  transform: scale(0.7);
  transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.wheel-modal-overlay.active .wheel-modal {
  transform: scale(1);
}

.wheel-title {
  font-size: 20px;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 24px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.wheel-container {
  position: relative;
  width: 300px;
  height: 300px;
  margin-bottom: 24px;
}

#wheelCanvas {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  box-shadow: 0 0 25px rgba(var(--color-primary-rgb), 0.4);
  border: 4px solid var(--color-gold);
}

.wheel-pointer {
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 30px;
  height: 40px;
  background-color: var(--color-red);
  clip-path: polygon(50% 100%, 0 0, 100% 0);
  z-index: 10;
  filter: drop-shadow(0 2px 5px rgba(0, 0, 0, 0.5));
}

.wheel-spin-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 70px;
  height: 70px;
  background: radial-gradient(circle, #fff 0%, #e2e8f0 100%);
  border-radius: 50%;
  border: 4px solid var(--color-gold);
  color: var(--text-on-gold);
  font-weight: 900;
  font-size: 14px;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 11;
  user-select: none;
  transition: transform 0.1s ease;
}

.wheel-spin-btn:active {
  transform: translate(-50%, -50%) scale(0.95);
}

.wheel-spin-btn.disabled {
  pointer-events: none;
  background: #cbd5e1;
}

/* Wheel Result Popup */
.wheel-result-popup {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.7);
  background-color: rgba(9, 9, 11, 0.95);
  border: 2px solid var(--color-gold);
  padding: 24px;
  border-radius: 16px;
  box-shadow: 0 0 30px rgba(var(--color-amber-rgb), 0.5);
  width: 80%;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), visibility 0.3s ease;
  z-index: 12;
}

.wheel-result-popup.active {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, -50%) scale(1);
}

.wheel-result-title {
  color: var(--color-gold);
  font-size: 18px;
  font-weight: 800;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.wheel-result-msg {
  font-size: 13px;
  color: var(--text-primary);
  line-height: 1.6;
  margin-bottom: 18px;
}

/* Features Highlight Section — black-gold cards ("Thương Hiệu Uy Tín" block).
   NOTE: .features-section is intentionally shared with the trust-row above;
   this declaration wins on padding/background, the earlier one adds the
   hairline top/bottom borders. Keep both in sync if you touch spacing. */
.features-section {
  padding: 60px 0;
  background-color: transparent;
  /* let the body's ambient glow show through */
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  margin-top: 40px;
}

.feature-card {
  /* Was mahogany/orange — reworked to the house black-gold palette so the
     block stops breaking the champagne colour story. */
  background: linear-gradient(160deg, #1c1710 0%, #12100b 55%, #0d0b07 100%);
  border: 1px solid rgba(var(--color-primary-rgb), 0.22);
  border-radius: 20px;
  padding: 48px 24px 28px;
  text-align: center;
  position: relative;
  /* NOTE: must NOT be overflow:hidden — the badge is positioned half above
     the top edge, and clipping would slice its icon off. */
  transition: var(--transition);
  margin-top: 30px;
  /* Space for the floating badge */
}

/* Soft gold wash pooling from the top where the badge sits. border-radius +
   inset match the card so it stays inside the rounded corners without needing
   overflow:hidden on the card (which would clip the badge). */
.feature-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 20px;
  background: radial-gradient(90% 60% at 50% 0%, rgba(var(--color-primary-rgb), 0.10) 0%, transparent 60%);
  pointer-events: none;
  z-index: 0;
}

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-gold-lg);
  border-color: var(--color-gold);
}

.feature-badge-icon {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  /* Dark disc + gold ring + glowing gold glyph: maximum contrast, the icon
     can never sink into its background the way a dark glyph on gold did. */
  background: radial-gradient(circle at 50% 40%, #23201a 0%, #16130d 100%);
  border: 2px solid var(--color-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  color: var(--color-gold);
  position: absolute;
  top: 0;
  left: 50%;
  transform: translate(-50%, -50%);
  box-shadow: 0 0 0 4px var(--bg-body), 0 6px 18px rgba(0, 0, 0, 0.6), 0 0 22px rgba(var(--color-primary-rgb), 0.35);
  z-index: 3;
}

.feature-badge-icon i {
  color: var(--color-gold);
  line-height: 1;
  text-shadow: 0 0 12px rgba(var(--color-primary-rgb), 0.5);
}

.feature-card-title {
  font-size: 15px;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  position: relative;
  z-index: 1;
}

.feature-card-desc {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.6;
  position: relative;
  z-index: 1;
}

@media (max-width: 992px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .features-grid {
    grid-template-columns: 1fr;
  }
}

/* Game Hấp Dẫn Section */
.featured-games-section {
  padding: 40px 0;
  background-color: var(--bg-body);
}

.featured-games-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 16px;
  margin-top: 24px;
}

.featured-game-card {
  position: relative;
  background-color: var(--bg-card);
  border-radius: 12px;
  border: 1px solid var(--border-color);
  overflow: hidden;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  height: 250px;
  /* Tall rectangular shape */
}

.featured-game-card:hover {
  transform: translateY(-5px);
  border-color: var(--color-gold);
  box-shadow: var(--shadow-md), var(--shadow-glow);
}

.game-jackpot-badge {
  position: absolute;
  top: 8px;
  left: 8px;
  background: rgba(0, 0, 0, 0.75);
  border: 1px solid var(--color-gold);
  border-radius: 20px;
  padding: 3px 8px;
  font-size: 10px;
  font-weight: 700;
  color: var(--color-gold);
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 4px;
}

.game-img-container {
  flex: 1;
  background-size: cover;
  background-position: center;
  position: relative;
}

.game-hover-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.75);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: all 0.3s ease;
  z-index: 5;
}

.featured-game-card:hover .game-hover-overlay {
  opacity: 1;
}

.btn-game-play-hover {
  background-color: var(--color-red-strong);
  /* Luxury bright red button */
  color: var(--text-primary);
  border: none;
  border-radius: 20px;
  padding: 8px 16px;
  font-size: 11px;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(220, 38, 38, 0.5);
  transform: scale(0.8);
  transition: all 0.3s ease;
  text-transform: uppercase;
}

.featured-game-card:hover .btn-game-play-hover {
  transform: scale(1);
}

.btn-game-play-hover:hover {
  background-color: var(--color-red-strong-hover);
  transform: scale(1.05);
}

.game-title-info {
  background-color: #16161a;
  padding: 8px 12px;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 2px;
  border-top: 1px solid var(--border-color);
}

.game-title-text {
  font-size: 12px;
  font-weight: 700;
  color: var(--text-primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.game-subtitle-text {
  font-size: 10px;
  color: var(--text-secondary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Maintenance state */
.featured-game-card.maintenance .game-hover-overlay {
  opacity: 1;
  background-color: rgba(0, 0, 0, 0.6);
  pointer-events: none;
}

.maintenance-badge {
  background-color: var(--color-neutral);
  /* grey badge */
  color: var(--text-primary);
  border-radius: 4px;
  padding: 4px 12px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
}

@media (max-width: 1200px) {
  .featured-games-grid {
    grid-template-columns: repeat(5, 1fr);
  }
}

@media (max-width: 992px) {
  .featured-games-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 768px) {
  .featured-games-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 576px) {
  .featured-games-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ==========================================================================
   ACCESSIBILITY FLOOR
   ========================================================================== */

/* Visible keyboard focus — the gold identity carried onto focus rings so
   tabbing through the site stays on-brand and clearly traceable. */
a:focus-visible,
button:focus-visible,
.faq-question:focus-visible,
.slider-dot:focus-visible,
.wheel-spin-btn:focus-visible,
.nav-item:focus-visible {
  outline: 2px solid var(--color-gold);
  outline-offset: 3px;
  border-radius: 6px;
}

/* Respect users who ask for less motion: kill the ambient loops (pulse,
   bounce, shimmer, marquee, jackpot glow) but keep instant state changes
   so the UI still responds. */
@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  /* Reveal-on-scroll must not leave content stuck invisible */
  .reveal {
    opacity: 1 !important;
    transform: none !important;
  }

  .slide .slide-badge,
  .slide .slide-title,
  .slide .slide-desc,
  .slide .btn-slide-cta,
  .slide .slide-graphic {
    opacity: 1 !important;
    transform: none !important;
  }
}