/* ==========================================================================
   Cash Royale — Premium Gaming & Casino Website
   Mobile-first responsive design | Dark theme with gold & red accents
   ========================================================================== */

/* ---------- Google Fonts ---------- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Playfair+Display:wght@400;600;700;800&display=swap');

/* ==========================================================================
   1. CSS Reset
   ========================================================================== */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--ff-body);
  font-size: var(--fs-base);
  line-height: 1.6;
  color: var(--clr-text);
  background-color: var(--clr-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
}

p a,
li a:not(.nav-links a):not(.footer-links a),
.faq-answer a,
.accordion__body a,
.about__text a,
.section-content a,
.legal-content a,
.card-text a,
td a {
  color: var(--clr-gold);
  text-decoration: underline;
  text-decoration-color: rgba(255, 215, 0, 0.4);
  text-underline-offset: 3px;
  transition: color 0.3s ease, text-decoration-color 0.3s ease;
}

p a:hover,
li a:not(.nav-links a):not(.footer-links a):hover,
.faq-answer a:hover,
.accordion__body a:hover,
.about__text a:hover,
.section-content a:hover,
.legal-content a:hover,
.card-text a:hover,
td a:hover {
  color: var(--clr-gold-light);
  text-decoration-color: var(--clr-gold);
}

ul, ol { list-style: none; }
button, input, textarea, select { font: inherit; }
button { cursor: pointer; border: none; background: none; }

/* ==========================================================================
   2. Custom Properties
   ========================================================================== */
:root {
  /* --- Colors --- */
  --clr-gold:        #FFD700;
  --clr-gold-light:  #F5C518;
  --clr-gold-dark:   #B8960C;
  --clr-red:         #E63946;
  --clr-red-dark:    #DC2626;

  --clr-bg:          #0a0a0f;
  --clr-bg-alt:      #12121a;
  --clr-bg-card:     #1a1a2e;
  --clr-bg-glass:    rgba(26, 26, 46, 0.65);

  --clr-text:        #f0f0f0;
  --clr-text-muted:  #a0a0b0;
  --clr-text-white:  #ffffff;
  --clr-border:      rgba(255, 215, 0, 0.15);

  /* --- Gradients --- */
  --grad-gold:   linear-gradient(135deg, #FFD700, #F5C518, #B8960C);
  --grad-red:    linear-gradient(135deg, #E63946, #DC2626);
  --grad-bg:     linear-gradient(180deg, #0a0a0f 0%, #12121a 50%, #1a1a2e 100%);
  --grad-hero:   linear-gradient(180deg, rgba(10,10,15,.85) 0%, rgba(18,18,26,.7) 50%, rgba(10,10,15,.95) 100%);

  /* --- Typography --- */
  --ff-body:     'Inter', system-ui, sans-serif;
  --ff-heading:  'Playfair Display', Georgia, serif;

  --fs-xs:   clamp(0.7rem,  0.65rem + 0.25vw, 0.8rem);
  --fs-sm:   clamp(0.8rem,  0.75rem + 0.25vw, 0.9rem);
  --fs-base: clamp(0.95rem, 0.9rem  + 0.25vw, 1.05rem);
  --fs-md:   clamp(1.1rem,  1rem    + 0.5vw,  1.3rem);
  --fs-lg:   clamp(1.4rem,  1.2rem  + 1vw,    2rem);
  --fs-xl:   clamp(1.8rem,  1.4rem  + 1.8vw,  2.8rem);
  --fs-xxl:  clamp(2.2rem,  1.6rem  + 2.5vw,  3.6rem);
  --fs-hero: clamp(2.6rem,  2rem    + 3vw,    4.5rem);

  /* --- Spacing --- */
  --sp-xs:  0.25rem;
  --sp-sm:  0.5rem;
  --sp-md:  1rem;
  --sp-lg:  1.5rem;
  --sp-xl:  2.5rem;
  --sp-2xl: 4rem;
  --sp-3xl: 6rem;

  /* --- Shadows --- */
  --shadow-sm:   0 2px 8px rgba(0,0,0,.25);
  --shadow-md:   0 4px 20px rgba(0,0,0,.35);
  --shadow-lg:   0 8px 40px rgba(0,0,0,.5);
  --shadow-gold: 0 0 20px rgba(255,215,0,.25);
  --shadow-glow: 0 0 30px rgba(255,215,0,.35);

  /* --- Borders --- */
  --radius-sm:  6px;
  --radius-md:  12px;
  --radius-lg:  20px;
  --radius-xl:  30px;
  --radius-full: 9999px;

  /* --- Transitions --- */
  --tr-fast:   150ms ease;
  --tr-base:   300ms ease;
  --tr-slow:   500ms ease;
  --tr-spring: 400ms cubic-bezier(0.34, 1.56, 0.64, 1);

  /* --- Layout --- */
  --nav-h:     70px;
  --container:  1200px;
}

/* ==========================================================================
   3. Typography
   ========================================================================== */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--ff-heading);
  font-weight: 700;
  line-height: 1.2;
  color: var(--clr-text-white);
}

h1 { font-size: var(--fs-hero); }
h2 { font-size: var(--fs-xxl); }
h3 { font-size: var(--fs-xl); }
h4 { font-size: var(--fs-lg); }
h5 { font-size: var(--fs-md); }

p + p { margin-top: var(--sp-md); }

.section-title {
  text-align: center;
  margin-bottom: var(--sp-xl);
}

.section-title h2 {
  margin-bottom: var(--sp-sm);
}

.section-title p {
  color: var(--clr-text-muted);
  max-width: 600px;
  margin-inline: auto;
}

.section__title {
  text-align: center;
  margin-bottom: 0.75rem;
}

.section__subtitle {
  text-align: center;
  color: var(--clr-text-muted);
  max-width: 600px;
  margin: 0 auto 2.5rem;
}

.section-subtitle {
  color: var(--clr-text-muted);
  max-width: 600px;
  margin: 0 auto 2rem;
}

/* ==========================================================================
   4. Layout — Sections & Container
   ========================================================================== */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--sp-lg);
}

.section {
  padding: var(--sp-3xl) 0;
}

.section:nth-child(even) {
  background-color: var(--clr-bg-alt);
}

.section:nth-child(odd) {
  background-color: var(--clr-bg);
}

.section-padding {
  padding: 4rem 0;
}

/* ==========================================================================
   5. Navigation
   ========================================================================== */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  background: rgba(10, 10, 15, 0.7);
  backdrop-filter: blur(16px) saturate(1.6);
  -webkit-backdrop-filter: blur(16px) saturate(1.6);
  border-bottom: 1px solid var(--clr-border);
  transition: background var(--tr-base);
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.navbar-logo {
  font-family: var(--ff-heading);
  font-size: var(--fs-lg);
  font-weight: 800;
  background: var(--grad-gold);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* --- Nav Container (sub-pages) --- */
.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* --- Navbar Menu (original) --- */
.navbar-menu {
  display: none;
  flex-direction: column;
  position: absolute;
  top: var(--nav-h);
  left: 0;
  right: 0;
  background: rgba(10, 10, 15, 0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  padding: var(--sp-lg);
  gap: var(--sp-sm);
  border-bottom: 1px solid var(--clr-border);
}

.navbar-menu.active {
  display: flex;
}

.navbar-menu a {
  display: block;
  padding: var(--sp-sm) var(--sp-md);
  color: var(--clr-text-muted);
  font-weight: 500;
  font-size: var(--fs-base);
  border-radius: var(--radius-sm);
  transition: color var(--tr-fast), background var(--tr-fast);
}

.navbar-menu a:hover,
.navbar-menu a.active {
  color: var(--clr-gold);
  background: rgba(255, 215, 0, 0.06);
}

/* --- Nav Links (sub-pages, same behavior as .navbar-menu) --- */
.nav-links {
  display: none;
  flex-direction: column;
  position: absolute;
  top: var(--nav-h);
  left: 0;
  right: 0;
  background: rgba(10, 10, 15, 0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  padding: var(--sp-lg);
  gap: var(--sp-sm);
  border-bottom: 1px solid var(--clr-border);
}

.nav-links.active {
  display: flex;
}

.nav-links a {
  display: block;
  padding: var(--sp-sm) var(--sp-md);
  color: var(--clr-text-muted);
  font-weight: 500;
  font-size: var(--fs-base);
  border-radius: var(--radius-sm);
  transition: color var(--tr-fast), background var(--tr-fast);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--clr-gold);
  background: rgba(255, 215, 0, 0.06);
}

/* --- Navbar__menu (index.html BEM variant, same behavior) --- */
.navbar__menu {
  display: none;
  flex-direction: column;
  position: absolute;
  top: var(--nav-h);
  left: 0;
  right: 0;
  background: rgba(10, 10, 15, 0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  padding: var(--sp-lg);
  gap: var(--sp-sm);
  border-bottom: 1px solid var(--clr-border);
}

.navbar__menu.active {
  display: flex;
}

.navbar__link {
  display: block;
  padding: var(--sp-sm) var(--sp-md);
  color: var(--clr-text-muted);
  font-weight: 500;
  font-size: var(--fs-base);
  border-radius: var(--radius-sm);
  transition: color var(--tr-fast), background var(--tr-fast);
}

.navbar__link:hover,
.navbar__link.active {
  color: var(--clr-gold);
  background: rgba(255, 215, 0, 0.06);
}

/* --- Nav CTA Button --- */
.nav-cta,
.btn-nav {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 1.25rem;
  background: var(--grad-gold);
  color: #0a0a0f;
  font-weight: 600;
  font-size: var(--fs-sm);
  border-radius: 30px;
  min-height: 36px;
  transition: box-shadow var(--tr-base);
  border: none;
}

.nav-cta:hover,
.btn-nav:hover {
  box-shadow: 0 0 20px rgba(255, 215, 0, .35);
}

/* --- Navbar BEM (index.html) --- */
.navbar__logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.navbar__crown {
  font-size: 1.5rem;
}

.navbar__brand {
  background: var(--grad-gold);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-family: var(--ff-heading);
  font-weight: 800;
  font-size: var(--fs-lg);
}

.navbar__cta {
  padding: 0.5rem 1.25rem;
  background: var(--grad-gold);
  color: #0a0a0f;
  font-weight: 600;
  font-size: var(--fs-sm);
  border-radius: 30px;
  min-height: 36px;
  transition: box-shadow var(--tr-base);
}

.navbar__cta:hover {
  box-shadow: 0 0 20px rgba(255, 215, 0, .35);
}

.navbar__hamburger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  width: 28px;
  padding: 4px 0;
}

.navbar__hamburger span {
  display: block;
  height: 2px;
  background: var(--clr-text);
  border-radius: 2px;
  transition: transform var(--tr-base), opacity var(--tr-fast);
}

.navbar__hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.navbar__hamburger.active span:nth-child(2) { opacity: 0; }
.navbar__hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* --- Hamburger (shared) --- */
.hamburger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  width: 28px;
  padding: 4px 0;
}

.hamburger span {
  display: block;
  height: 2px;
  background: var(--clr-text);
  border-radius: 2px;
  transition: transform var(--tr-base), opacity var(--tr-fast);
}

.hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ==========================================================================
   5b. Logo
   ========================================================================== */
.logo {
  font-family: var(--ff-heading);
  font-size: var(--fs-lg);
  font-weight: 800;
  color: var(--clr-text-white);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.logo-text {
  background: var(--grad-gold);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.logo-highlight {
  color: var(--clr-gold);
  -webkit-text-fill-color: var(--clr-gold);
}

.logo span {
  color: var(--clr-gold);
  -webkit-text-fill-color: var(--clr-gold);
}

.logo-icon {
  color: var(--clr-gold);
  font-size: 1.5rem;
}

/* ==========================================================================
   6. Hero Section
   ========================================================================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: var(--grad-bg);
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--grad-hero);
  z-index: 1;
}

.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(1.5px 1.5px at 10% 20%, rgba(255,215,0,.35) 50%, transparent 50%),
    radial-gradient(2px   2px   at 30% 65%, rgba(255,215,0,.2)  50%, transparent 50%),
    radial-gradient(1px   1px   at 55% 15%, rgba(245,197,24,.3) 50%, transparent 50%),
    radial-gradient(1.5px 1.5px at 70% 80%, rgba(255,215,0,.25) 50%, transparent 50%),
    radial-gradient(2px   2px   at 85% 35%, rgba(245,197,24,.2) 50%, transparent 50%),
    radial-gradient(1px   1px   at 45% 50%, rgba(255,215,0,.3)  50%, transparent 50%),
    radial-gradient(1.5px 1.5px at 20% 85%, rgba(245,197,24,.2) 50%, transparent 50%),
    radial-gradient(1px   1px   at 90% 60%, rgba(255,215,0,.25) 50%, transparent 50%);
  background-size: 200% 200%;
  animation: particleDrift 20s linear infinite;
  z-index: 1;
  pointer-events: none;
}

@keyframes particleDrift {
  0%   { background-position: 0% 0%; }
  50%  { background-position: 100% 100%; }
  100% { background-position: 0% 0%; }
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 750px;
  padding: var(--sp-xl) var(--sp-lg);
}

.hero-content h1 {
  margin-bottom: var(--sp-lg);
}

.hero-content p {
  font-size: var(--fs-md);
  color: var(--clr-text-muted);
  margin-bottom: var(--sp-xl);
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-md);
  justify-content: center;
}

.hero-mini {
  min-height: 45vh;
  padding-top: var(--nav-h);
}

/* --- Hero BEM (index.html) --- */
.hero__bg {
  position: absolute;
  inset: 0;
}

.hero__inner {
  position: relative;
  z-index: 2;
  max-width: 750px;
  padding: 2.5rem 1.5rem;
  text-align: center;
}

.hero__title {
  margin-bottom: 1.5rem;
}

.hero__subtitle {
  font-size: var(--fs-md);
  color: var(--clr-text-muted);
  margin-bottom: 2.5rem;
}

.hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

.hero__stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}

.stat {
  text-align: center;
}

.stat__number {
  font-family: var(--ff-heading);
  font-size: var(--fs-xl);
  font-weight: 700;
  color: var(--clr-gold);
  display: block;
}

.stat__label {
  font-size: var(--fs-sm);
  color: var(--clr-text-muted);
}

/* --- Hero subtitle (sub-pages) --- */
.hero-subtitle,
.page-hero-text,
.page-hero-subtitle {
  color: var(--clr-text-muted);
  font-size: var(--fs-md);
  max-width: 700px;
  margin: 0 auto 1.5rem;
}

/* ==========================================================================
   6b. Page Hero (sub-pages)
   ========================================================================== */
.page-hero {
  min-height: 40vh;
  display: flex;
  align-items: center;
  text-align: center;
  background: var(--grad-bg);
  padding-top: calc(var(--nav-h) + 2rem);
  padding-bottom: 3rem;
  position: relative;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--grad-hero);
  z-index: 0;
}

.page-hero .container {
  position: relative;
  z-index: 1;
}

.page-hero h1 {
  margin-bottom: 1rem;
}

/* ==========================================================================
   7. Buttons
   ========================================================================== */

/* --- Unified Button Base --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 48px;
  padding: 0.85rem 2rem;
  font-weight: 600;
  font-size: var(--fs-base);
  border-radius: 30px;
  transition: transform 0.15s ease, box-shadow 0.3s ease;
  cursor: pointer;
  border: none;
  text-align: center;
  position: relative;
  overflow: hidden;
}

/* --- Primary / Gold --- */
.cta-btn-primary,
.btn-primary,
.btn--gold {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-sm);
  min-height: 48px;
  padding: 0.85rem 2rem;
  font-weight: 600;
  font-size: var(--fs-base);
  border-radius: var(--radius-xl);
  border: none;
  cursor: pointer;
  transition: transform var(--tr-fast), box-shadow var(--tr-base);
  position: relative;
  overflow: hidden;
  background: var(--grad-gold);
  color: #0a0a0f;
  box-shadow: var(--shadow-gold);
}

.cta-btn-primary:hover,
.btn-primary:hover,
.btn--gold:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow);
}

.cta-btn-primary:active,
.btn-primary:active,
.btn--gold:active {
  transform: translateY(0);
}

/* --- Secondary / Red --- */
.cta-btn-secondary,
.btn-secondary,
.btn--red {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-sm);
  min-height: 48px;
  padding: 0.85rem 2rem;
  font-weight: 600;
  font-size: var(--fs-base);
  border-radius: var(--radius-xl);
  border: none;
  cursor: pointer;
  transition: transform var(--tr-fast), box-shadow var(--tr-base);
  position: relative;
  overflow: hidden;
  background: var(--grad-red);
  color: var(--clr-text-white);
  box-shadow: 0 0 16px rgba(230, 57, 70, 0.25);
}

.cta-btn-secondary:hover,
.btn-secondary:hover,
.btn--red:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 28px rgba(230, 57, 70, 0.4);
}

.cta-btn-secondary:active,
.btn-secondary:active,
.btn--red:active {
  transform: translateY(0);
}

/* --- Outline --- */
.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 48px;
  padding: 0.85rem 2rem;
  font-weight: 600;
  font-size: var(--fs-base);
  border-radius: 30px;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.3s ease, background 0.3s ease, color 0.3s ease;
  background: transparent;
  border: 2px solid var(--clr-gold);
  color: var(--clr-gold);
}

.btn-outline:hover {
  background: var(--clr-gold);
  color: #0a0a0f;
}

/* --- Size Variants --- */
.btn-lg,
.btn--lg {
  padding: 1rem 2.5rem;
  font-size: 1.05rem;
}

.btn-sm,
.btn--sm,
.btn-small {
  padding: 0.5rem 1.25rem;
  font-size: 0.85rem;
  min-height: 36px;
}

/* --- Pulse Animations --- */
@keyframes pulse-gold {
  0%, 100% { box-shadow: 0 0 0 0 rgba(255,215,0,.4); }
  50%      { box-shadow: 0 0 0 12px rgba(255,215,0,0); }
}

@keyframes pulse-red {
  0%, 100% { box-shadow: 0 0 0 0 rgba(230,57,70,.4); }
  50%      { box-shadow: 0 0 0 12px rgba(230,57,70,0); }
}

.cta-btn-primary.pulse,
.btn-primary.pulse,
.btn--gold.pulse { animation: pulse-gold 2s infinite; }

.cta-btn-secondary.pulse,
.btn-secondary.pulse,
.btn--red.pulse { animation: pulse-red 2s infinite; }

/* ==========================================================================
   8. Feature Cards
   ========================================================================== */
.feature-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-xl);
}

.feature-card {
  background: var(--clr-bg-glass);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-md);
  padding: var(--sp-xl);
  transition: transform var(--tr-base), border-color var(--tr-base), box-shadow var(--tr-base);
}

.feature-card:hover {
  transform: translateY(-6px);
  border-color: var(--clr-gold);
  box-shadow: var(--shadow-gold);
}

.feature-card .icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  background: rgba(255, 215, 0, 0.08);
  color: var(--clr-gold);
  font-size: 1.6rem;
  margin-bottom: var(--sp-lg);
}

.feature-card h4 {
  margin-bottom: var(--sp-sm);
}

.feature-card p {
  color: var(--clr-text-muted);
  font-size: var(--fs-sm);
}

/* --- Feature Card Icon (index.html BEM) --- */
.feature-card__icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  background: rgba(255, 215, 0, 0.08);
  color: var(--clr-gold);
  margin-bottom: 1.5rem;
}

/* --- Feature Icon (about page) --- */
.feature-icon {
  color: var(--clr-gold);
  margin-bottom: 1rem;
}

/* --- Features Grid (about page) --- */
.features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

/* ==========================================================================
   9. About Section — Two Column
   ========================================================================== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-xl);
  align-items: center;
}

.about-image {
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--clr-border);
}

.about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-text h2 {
  margin-bottom: var(--sp-lg);
}

.about-text p {
  color: var(--clr-text-muted);
  margin-bottom: var(--sp-md);
}

/* ==========================================================================
   10. Why Players / Benefits Grid
   ========================================================================== */
.benefits-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-lg);
}

.benefit-card {
  background: var(--clr-bg-card);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-md);
  padding: var(--sp-xl);
  text-align: center;
  transition: transform var(--tr-base), box-shadow var(--tr-base);
}

.benefit-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.benefit-card .icon {
  font-size: 2rem;
  color: var(--clr-gold);
  margin-bottom: var(--sp-md);
}

.benefit-card h4 {
  margin-bottom: var(--sp-sm);
}

.benefit-card p {
  color: var(--clr-text-muted);
  font-size: var(--fs-sm);
}

.benefit-card__icon {
  font-size: 2rem;
  color: var(--clr-gold);
  margin-bottom: 1rem;
}

/* ==========================================================================
   11. Bonuses Section
   ========================================================================== */
.bonuses-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-xl);
}

.bonus-card {
  position: relative;
  background: var(--clr-bg-card);
  border-radius: var(--radius-md);
  padding: var(--sp-xl);
  border: 1px solid var(--clr-border);
  overflow: hidden;
  transition: transform var(--tr-base), box-shadow var(--tr-base);
}

.bonus-card::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: var(--grad-gold);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity var(--tr-base);
  pointer-events: none;
}

.bonus-card:hover::before {
  opacity: 1;
}

.bonus-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-gold);
}

.bonus-badge {
  position: absolute;
  top: 16px;
  right: -30px;
  background: var(--grad-red);
  color: var(--clr-text-white);
  font-size: var(--fs-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 4px 40px;
  transform: rotate(45deg);
}

.bonus-card h4 {
  margin-bottom: var(--sp-sm);
}

.bonus-card .bonus-value {
  font-family: var(--ff-heading);
  font-size: var(--fs-xl);
  color: var(--clr-gold);
  font-weight: 700;
  margin-bottom: var(--sp-sm);
}

.bonus-card p {
  color: var(--clr-text-muted);
  font-size: var(--fs-sm);
}

/* --- Bonus Card BEM (index.html) --- */
.bonus-card__badge {
  position: absolute;
  top: 12px;
  right: 12px;
  padding: 4px 12px;
  font-size: var(--fs-xs);
  font-weight: 700;
  text-transform: uppercase;
  border-radius: var(--radius-full);
}

.bonus-card__badge--new {
  background: var(--clr-gold);
  color: #0a0a0f;
}

.bonus-card__badge--hot {
  background: var(--clr-red);
  color: white;
}

.bonus-card__icon {
  color: var(--clr-gold);
  margin-bottom: 1rem;
}

/* ==========================================================================
   12. Download Guide — Step Cards
   ========================================================================== */
.steps-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-xl);
  counter-reset: step;
}

.step-card {
  position: relative;
  background: var(--clr-bg-card);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-md);
  padding: var(--sp-xl);
  padding-left: calc(var(--sp-xl) + 48px);
  counter-increment: step;
}

.step-card::before {
  content: counter(step);
  position: absolute;
  left: var(--sp-lg);
  top: var(--sp-xl);
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-full);
  background: var(--grad-gold);
  color: #0a0a0f;
  font-weight: 700;
  font-size: var(--fs-sm);
}

.step-card h4 {
  margin-bottom: var(--sp-xs);
}

.step-card p {
  color: var(--clr-text-muted);
  font-size: var(--fs-sm);
}

/* --- Steps BEM (index.html) --- */
.steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  counter-reset: step-counter;
}

.steps--alt {
  counter-reset: step-counter;
}

.step {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  background: var(--clr-bg-card);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-md);
  padding: 1.5rem;
}

.step__number {
  width: 40px;
  height: 40px;
  min-width: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--grad-gold);
  color: #0a0a0f;
  font-weight: 700;
  font-size: 1rem;
}

.step__content h3 {
  font-size: var(--fs-base);
  margin-bottom: 0.25rem;
  font-family: var(--ff-body);
  font-weight: 600;
}

.step__content p {
  color: var(--clr-text-muted);
  font-size: var(--fs-sm);
}

/* ==========================================================================
   13. Registration Guide (reuses .steps-grid / .step-card)
   ========================================================================== */
.registration-steps {
  counter-reset: step;
}

.registration__cta {
  text-align: center;
  margin-top: 2rem;
}

/* ==========================================================================
   14. Gameplay Gallery
   ========================================================================== */
.gameplay-gallery {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-md);
}

.gameplay-item {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
}

.gameplay-item img {
  width: 100%;
  display: block;
  transition: transform var(--tr-slow);
}

.gameplay-item:hover img {
  transform: scale(1.05);
}

.gameplay-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(10,10,15,.85) 100%);
  display: flex;
  align-items: flex-end;
  padding: var(--sp-lg);
  opacity: 0;
  transition: opacity var(--tr-base);
}

.gameplay-item:hover .gameplay-overlay {
  opacity: 1;
}

.gameplay-overlay span {
  color: var(--clr-text-white);
  font-weight: 600;
}

/* --- Gameplay BEM (index.html) --- */
.gameplay__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: center;
}

.gameplay__text h2 {
  margin-bottom: 1rem;
}

.gameplay__text p {
  color: var(--clr-text-muted);
  margin-bottom: 0.75rem;
}

.gameplay__images {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

/* ==========================================================================
   15. Mobile Compatibility / Device Mockup
   ========================================================================== */
.device-mockup-area {
  display: flex;
  justify-content: center;
  padding: var(--sp-xl) 0;
}

.device-mockup {
  position: relative;
  width: 260px;
  height: 520px;
  background: var(--clr-bg-card);
  border-radius: 36px;
  border: 3px solid var(--clr-border);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.device-mockup::before {
  content: '';
  position: absolute;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 6px;
  background: var(--clr-border);
  border-radius: var(--radius-full);
}

.device-mockup img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* --- Mobile BEM (index.html) --- */
.mobile__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: center;
}

.mobile__text h2 {
  margin-bottom: 1rem;
}

.mobile__text p {
  color: var(--clr-text-muted);
  margin-bottom: 0.75rem;
}

.mobile__devices {
  list-style: disc;
  padding-left: 1.5rem;
  color: var(--clr-text-muted);
  margin-top: 1rem;
}

.mobile__devices li {
  margin-bottom: 0.5rem;
  font-size: var(--fs-sm);
}

/* ==========================================================================
   16. Security Section / Trust Badges
   ========================================================================== */
.trust-badges {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-lg);
  justify-content: center;
}

.trust-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--sp-sm);
  padding: var(--sp-lg);
  background: var(--clr-bg-card);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-md);
  min-width: 140px;
  text-align: center;
  transition: border-color var(--tr-base);
}

.trust-badge:hover {
  border-color: var(--clr-gold);
}

.trust-badge .shield-icon {
  font-size: 2.2rem;
  color: var(--clr-gold);
}

.trust-badge span {
  font-size: var(--fs-sm);
  color: var(--clr-text-muted);
  font-weight: 500;
}

.trust-badge__icon {
  color: var(--clr-gold);
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

/* --- Security Text (index.html) --- */
.security__text {
  max-width: 800px;
  margin: 2rem auto 0;
}

.security__text p {
  color: var(--clr-text-muted);
  margin-bottom: 0.75rem;
}

.security__text a {
  color: var(--clr-gold);
}

/* ==========================================================================
   17. Testimonials / Reviews
   ========================================================================== */
.testimonials-slider {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-xl);
}

.testimonial-card {
  background: var(--clr-bg-glass);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-md);
  padding: var(--sp-xl);
}

.testimonial-card .stars {
  color: var(--clr-gold);
  font-size: var(--fs-md);
  margin-bottom: var(--sp-md);
  letter-spacing: 2px;
}

.testimonial-card blockquote {
  font-style: italic;
  color: var(--clr-text-muted);
  margin-bottom: var(--sp-lg);
  position: relative;
  padding-left: var(--sp-lg);
  border-left: 3px solid var(--clr-gold);
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: var(--sp-md);
}

.testimonial-author .avatar {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-full);
  object-fit: cover;
  border: 2px solid var(--clr-gold);
}

.testimonial-author .name {
  font-weight: 600;
  color: var(--clr-text-white);
}

.testimonial-author .role {
  font-size: var(--fs-xs);
  color: var(--clr-text-muted);
}

/* --- Testimonial Slider BEM (index.html) --- */
.testimonial-slider {
  position: relative;
}

.testimonial-slider__track {
  display: flex;
  gap: 1.5rem;
  overflow: hidden;
}

.testimonial-slider__track .testimonial-card {
  flex: 0 0 100%;
  min-width: 0;
}

.testimonial-card__stars {
  color: var(--clr-gold);
  font-size: var(--fs-md);
  margin-bottom: 1rem;
  letter-spacing: 2px;
}

.testimonial-card__quote {
  font-style: italic;
  color: var(--clr-text-muted);
  margin-bottom: 1.5rem;
  padding-left: 1rem;
  border-left: 3px solid var(--clr-gold);
}

.testimonial-card__author {
  display: flex;
  flex-direction: column;
}

.testimonial-card__author strong {
  color: var(--clr-text-white);
}

.testimonial-card__author span {
  font-size: var(--fs-xs);
  color: var(--clr-text-muted);
}

.testimonial-slider__controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-top: 2rem;
}

.testimonial-slider__arrow {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--clr-bg-card);
  border: 1px solid var(--clr-border);
  color: var(--clr-text-muted);
  cursor: pointer;
  transition: border-color 0.15s, color 0.15s;
}

.testimonial-slider__arrow:hover {
  border-color: var(--clr-gold);
  color: var(--clr-gold);
}

.testimonial-slider__dots {
  display: flex;
  gap: 0.5rem;
}

.testimonial-slider__dots .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--clr-border);
  border: none;
  cursor: pointer;
  transition: background 0.3s;
}

.testimonial-slider__dots .dot.active {
  background: var(--clr-gold);
}

/* ==========================================================================
   18. FAQ Accordion
   ========================================================================== */
.faq-list {
  max-width: 800px;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  gap: var(--sp-md);
}

.faq-item {
  background: var(--clr-bg-card);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color var(--tr-base);
}

.faq-item.active {
  border-color: var(--clr-gold);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: var(--sp-lg);
  font-weight: 600;
  color: var(--clr-text-white);
  font-size: var(--fs-base);
  text-align: left;
  cursor: pointer;
  background: none;
  border: none;
  transition: color var(--tr-fast);
}

.faq-item.active .faq-question {
  color: var(--clr-gold);
}

.faq-question .faq-icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.faq-icon::before,
.faq-icon::after {
  content: '';
  position: absolute;
  background: currentColor;
  border-radius: 1px;
  transition: transform var(--tr-base);
}

.faq-icon::before {
  width: 14px;
  height: 2px;
}

.faq-icon::after {
  width: 2px;
  height: 14px;
}

.faq-item.active .faq-icon::after {
  transform: rotate(90deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--tr-slow);
}

.faq-item.active .faq-answer {
  max-height: 300px;
}

.faq-answer-inner {
  padding: 0 var(--sp-lg) var(--sp-lg);
  color: var(--clr-text-muted);
  font-size: var(--fs-sm);
  line-height: 1.7;
}

/* --- FAQ Category (faq.html) --- */
.faq-category {
  margin-bottom: 3rem;
}

.faq-category h2 {
  font-size: var(--fs-lg);
  color: var(--clr-gold);
  margin-bottom: 1.5rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--clr-border);
}

.faq-section {
  padding: 3rem 0;
}

/* --- FAQ Quick Cards (contact page) --- */
.faq-quick-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
}

.faq-quick-card {
  background: var(--clr-bg-card);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  transition: border-color 0.3s;
}

.faq-quick-card:hover {
  border-color: var(--clr-gold);
}

.faq-quick-card h3 {
  font-size: var(--fs-base);
  margin-bottom: 0.5rem;
  font-family: var(--ff-body);
}

.faq-quick-card p {
  color: var(--clr-text-muted);
  font-size: var(--fs-sm);
  margin-bottom: 0.75rem;
}

.link-arrow {
  color: var(--clr-gold);
  font-size: var(--fs-sm);
  font-weight: 500;
}

.link-arrow:hover {
  text-decoration: underline;
}

/* --- FAQ More (index.html) --- */
.faq__more {
  text-align: center;
  margin-top: 2rem;
  color: var(--clr-text-muted);
}

.faq__more a {
  color: var(--clr-gold);
}

/* --- Accordion BEM (index.html) --- */
.accordion {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.accordion__item {
  background: var(--clr-bg-card);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color 0.3s;
}

.accordion__item.active {
  border-color: var(--clr-gold);
}

.accordion__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 1.25rem 1.5rem;
  font-weight: 600;
  color: var(--clr-text-white);
  text-align: left;
  cursor: pointer;
  background: none;
  border: none;
  transition: color 0.15s;
}

.accordion__item.active .accordion__header {
  color: var(--clr-gold);
}

.accordion__icon {
  transition: transform 0.3s;
  flex-shrink: 0;
}

.accordion__item.active .accordion__icon {
  transform: rotate(180deg);
}

.accordion__body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease;
}

.accordion__item.active .accordion__body {
  max-height: 300px;
}

.accordion__body p {
  padding: 0 1.5rem 1.5rem;
  color: var(--clr-text-muted);
  font-size: var(--fs-sm);
  line-height: 1.7;
}

/* ==========================================================================
   19. Contact Form
   ========================================================================== */
.contact-form-card {
  max-width: 640px;
  margin-inline: auto;
  background: var(--clr-bg-glass);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-lg);
  padding: var(--sp-xl);
}

.form-group {
  margin-bottom: var(--sp-lg);
}

.form-group label {
  display: block;
  margin-bottom: var(--sp-xs);
  font-weight: 500;
  font-size: var(--fs-sm);
  color: var(--clr-text-muted);
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.8rem 1rem;
  background: rgba(10, 10, 15, 0.6);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-sm);
  color: var(--clr-text);
  font-size: var(--fs-base);
  transition: border-color var(--tr-fast), box-shadow var(--tr-fast);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--clr-gold);
  box-shadow: 0 0 0 3px rgba(255, 215, 0, 0.12);
}

.form-group textarea {
  min-height: 130px;
  resize: vertical;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(160, 160, 176, 0.5);
}

.form-group input.invalid,
.form-group textarea.invalid {
  border-color: #E63946;
}

.error-msg {
  color: #E63946;
  font-size: var(--fs-xs);
  display: none;
  margin-top: 0.25rem;
}

.form-success {
  background: rgba(34, 197, 94, 0.15);
  color: #22c55e;
  padding: 1rem;
  border-radius: var(--radius-sm);
  margin-top: 1rem;
  text-align: center;
  font-weight: 500;
}

/* --- Form Wrapper (contact page) --- */
.form-wrapper {
  max-width: 640px;
  margin: 0 auto;
  background: var(--clr-bg-glass);
  backdrop-filter: blur(12px);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
}

.form-wrapper h2 {
  margin-bottom: 0.5rem;
}

.form-wrapper > p {
  color: var(--clr-text-muted);
  margin-bottom: 1.5rem;
}

/* --- Contact Cards --- */
.contact-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
}

.contact-card {
  background: var(--clr-bg-card);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-md);
  padding: 2rem;
  text-align: center;
  transition: transform 0.3s, border-color 0.3s;
}

.contact-card:hover {
  transform: translateY(-4px);
  border-color: var(--clr-gold);
}

.contact-card-icon {
  color: var(--clr-gold);
  margin-bottom: 1rem;
}

.contact-card-icon svg {
  width: 32px;
  height: 32px;
}

.contact-card h3 {
  margin-bottom: 0.5rem;
}

.contact-card p {
  color: var(--clr-text-muted);
}

.contact-card p a {
  color: var(--clr-gold);
}

.contact-card-note {
  font-size: var(--fs-xs);
  color: var(--clr-text-muted);
  display: block;
  margin-top: 0.5rem;
}

/* --- Support Hours (contact page) --- */
.support-hours-content {
  max-width: 700px;
  margin: 0 auto;
}

.support-hours-content h2 {
  margin-bottom: 1rem;
}

.support-hours-content p {
  color: var(--clr-text-muted);
}

.support-hours-list {
  list-style: disc;
  padding-left: 1.5rem;
  color: var(--clr-text-muted);
  margin: 1rem 0;
}

.support-hours-list li {
  margin-bottom: 0.5rem;
}

/* ==========================================================================
   20. Footer
   ========================================================================== */
.site-footer {
  background: var(--clr-bg);
  border-top: 1px solid var(--clr-border);
  padding: var(--sp-3xl) 0 var(--sp-xl);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-xl);
  margin-bottom: var(--sp-2xl);
}

.footer-col h5 {
  color: var(--clr-gold);
  margin-bottom: var(--sp-md);
  font-family: var(--ff-body);
  font-size: var(--fs-base);
  font-weight: 600;
}

.footer-col p {
  color: var(--clr-text-muted);
  font-size: var(--fs-sm);
  line-height: 1.7;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: var(--sp-sm);
}

.footer-col a {
  color: var(--clr-text-muted);
  font-size: var(--fs-sm);
  transition: color var(--tr-fast);
}

.footer-col a:hover {
  color: var(--clr-gold);
}

.social-links {
  display: flex;
  gap: var(--sp-md);
}

.social-links a {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-full);
  background: var(--clr-bg-card);
  border: 1px solid var(--clr-border);
  color: var(--clr-text-muted);
  font-size: 1.1rem;
  transition: color var(--tr-fast), border-color var(--tr-fast), transform var(--tr-fast);
}

.social-links a:hover {
  color: var(--clr-gold);
  border-color: var(--clr-gold);
  transform: translateY(-2px);
}

.footer-bottom {
  border-top: 1px solid var(--clr-border);
  padding-top: var(--sp-lg);
  display: flex;
  flex-direction: column;
  gap: var(--sp-md);
  align-items: center;
  text-align: center;
}

.footer-bottom p {
  color: var(--clr-text-muted);
  font-size: var(--fs-xs);
}

.footer-bottom-links {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-md);
  justify-content: center;
}

.footer-bottom-links a {
  color: var(--clr-text-muted);
  font-size: var(--fs-xs);
  transition: color var(--tr-fast);
}

.footer-bottom-links a:hover {
  color: var(--clr-gold);
}

/* --- Footer variant (sub-pages) --- */
.footer {
  border-top: 1px solid var(--clr-border);
  padding: 4rem 0 1.5rem;
  background: var(--clr-bg);
}

.footer-brand p {
  color: var(--clr-text-muted);
  font-size: var(--fs-sm);
  margin-top: 0.75rem;
}

.footer-links h4 {
  color: var(--clr-gold);
  font-size: var(--fs-base);
  margin-bottom: 0.75rem;
  font-family: var(--ff-body);
  font-weight: 600;
}

.footer-links ul {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-links a {
  color: var(--clr-text-muted);
  font-size: var(--fs-sm);
  transition: color 0.15s;
}

.footer-links a:hover {
  color: var(--clr-gold);
}

.footer-heading {
  color: var(--clr-gold);
  margin-bottom: 0.75rem;
  font-family: var(--ff-body);
  font-size: var(--fs-base);
  font-weight: 600;
}

.footer-about {
  color: var(--clr-text-muted);
  font-size: var(--fs-sm);
}

.footer-desc {
  color: var(--clr-text-muted);
  font-size: var(--fs-sm);
  margin-top: 0.75rem;
}

.footer-logo {
  font-family: var(--ff-heading);
  font-size: var(--fs-lg);
  font-weight: 700;
  background: var(--grad-gold);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.footer-disclaimer {
  color: rgba(160, 160, 176, 0.6);
  font-size: var(--fs-xs);
  margin-top: 0.5rem;
}

.age-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--clr-red);
  color: white;
  font-weight: 700;
  font-size: 0.8rem;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  margin-top: 0.75rem;
}

.responsible-gaming {
  color: rgba(160, 160, 176, 0.6);
  font-size: var(--fs-xs);
  margin-top: 0.5rem;
}

/* --- Footer BEM (index.html) --- */
.footer__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  margin-bottom: 3rem;
}

.footer__col h4 {
  color: var(--clr-gold);
  margin-bottom: 0.75rem;
  font-family: var(--ff-body);
  font-size: var(--fs-base);
  font-weight: 600;
}

.footer__col ul {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer__col a {
  color: var(--clr-text-muted);
  font-size: var(--fs-sm);
  transition: color 0.15s;
}

.footer__col a:hover {
  color: var(--clr-gold);
}

.footer__logo {
  font-family: var(--ff-heading);
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.footer__desc {
  color: var(--clr-text-muted);
  font-size: var(--fs-sm);
  margin-top: 0.75rem;
}

.footer__socials {
  display: flex;
  gap: 0.75rem;
  margin-top: 1rem;
}

.footer__social {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--clr-bg-card);
  border: 1px solid var(--clr-border);
  color: var(--clr-text-muted);
  transition: color 0.15s, border-color 0.15s, transform 0.15s;
}

.footer__social:hover {
  color: var(--clr-gold);
  border-color: var(--clr-gold);
  transform: translateY(-2px);
}

.footer__responsible p {
  color: rgba(160, 160, 176, 0.7);
  font-size: var(--fs-xs);
  margin-top: 1rem;
  line-height: 1.6;
}

.footer__bottom {
  border-top: 1px solid var(--clr-border);
  padding-top: 1.5rem;
}

.footer__bottom-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.footer__badges {
  display: flex;
  gap: 0.5rem;
}

.footer__disclaimer {
  color: rgba(160, 160, 176, 0.5);
  font-size: var(--fs-xs);
  margin-top: 1rem;
  line-height: 1.6;
  text-align: center;
}

/* ==========================================================================
   21. Breadcrumbs
   ========================================================================== */
.breadcrumbs {
  padding: var(--sp-md) 0;
  font-size: var(--fs-sm);
}

.breadcrumbs ul {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-xs);
  align-items: center;
}

.breadcrumbs li + li::before {
  content: '›';
  margin-right: var(--sp-xs);
  color: var(--clr-text-muted);
}

.breadcrumbs a {
  color: var(--clr-text-muted);
  transition: color var(--tr-fast);
}

.breadcrumbs a:hover {
  color: var(--clr-gold);
}

.breadcrumbs .current {
  color: var(--clr-gold);
}

/* --- Breadcrumb (ol-based, sub-pages) --- */
.breadcrumb-section {
  padding-top: var(--nav-h);
}

.breadcrumb ol {
  display: flex;
  gap: 0.5rem;
  list-style: none;
  padding: 1rem 0;
  font-size: var(--fs-sm);
}

.breadcrumb ol li + li::before {
  content: '›';
  margin-right: 0.5rem;
  color: var(--clr-text-muted);
}

.breadcrumb ol li a {
  color: var(--clr-text-muted);
  transition: color 0.15s ease;
}

.breadcrumb ol li a:hover {
  color: var(--clr-gold);
}

.breadcrumb ol li[aria-current] {
  color: var(--clr-gold);
}

/* ==========================================================================
   22. Scroll Animations
   ========================================================================== */
.fade-in,
.slide-up,
.slide-left,
.slide-right {
  opacity: 0;
  transition: opacity 0.6s ease, transform 0.6s ease;
  will-change: opacity, transform;
}

.fade-in          { transform: none; }
.slide-up         { transform: translateY(30px); }
.slide-left       { transform: translateX(40px); }
.slide-right      { transform: translateX(-40px); }

.fade-in.visible,
.slide-up.visible,
.slide-left.visible,
.slide-right.visible {
  opacity: 1;
  transform: none;
}

/* ==========================================================================
   23. Page-Specific Styles
   ========================================================================== */

/* -- Download page hero -- */
.download-hero {
  min-height: 50vh;
  text-align: center;
  display: flex;
  align-items: center;
  background: var(--grad-bg);
  padding-top: var(--nav-h);
}

/* -- About page hero -- */
.about-hero {
  min-height: 45vh;
  text-align: center;
  display: flex;
  align-items: center;
  background: var(--grad-bg);
  padding-top: var(--nav-h);
}

/* -- FAQ page -- */
.faq-page .section {
  padding-top: var(--sp-2xl);
}

/* -- Contact page -- */
.contact-page .section {
  padding-top: var(--sp-2xl);
}

/* -- Legal pages (privacy, terms, disclaimer) -- */
.legal-page {
  padding-top: var(--nav-h);
}

.legal-content {
  max-width: 800px;
  margin-inline: auto;
  padding: var(--sp-2xl) var(--sp-lg);
}

.legal-content h1 {
  font-size: var(--fs-xxl);
  margin-bottom: var(--sp-xl);
}

.legal-content h2 {
  font-size: var(--fs-lg);
  margin-top: var(--sp-xl);
  margin-bottom: var(--sp-md);
  color: var(--clr-gold);
}

.legal-content p {
  color: var(--clr-text-muted);
  margin-bottom: var(--sp-md);
  line-height: 1.8;
}

.legal-content ul {
  list-style: disc;
  padding-left: var(--sp-xl);
  color: var(--clr-text-muted);
  margin-bottom: var(--sp-md);
}

.legal-content ul li + li {
  margin-top: var(--sp-xs);
}

.legal-section {
  margin-bottom: 1.5rem;
}

.legal-header {
  margin-bottom: 2rem;
}

.last-updated {
  color: var(--clr-text-muted);
  font-size: var(--fs-sm);
  font-style: italic;
}

.legal-footer-links {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--clr-border);
}

.legal-footer-links a {
  color: var(--clr-gold);
}

/* ==========================================================================
   23b. App Info Card (download page)
   ========================================================================== */
.app-info-card {
  background: var(--clr-bg-card);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-md);
  padding: 2rem;
}

.app-info-header {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.app-info-name {
  font-size: var(--fs-xl);
}

.app-info-tagline {
  color: var(--clr-text-muted);
}

.app-info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 1rem;
}

.app-info-item {
  text-align: center;
  padding: 1rem;
  background: rgba(255, 215, 0, 0.05);
  border-radius: var(--radius-sm);
}

.app-info-label {
  display: block;
  font-size: var(--fs-xs);
  color: var(--clr-text-muted);
  margin-bottom: 0.25rem;
}

.app-info-value {
  font-weight: 700;
  color: var(--clr-gold);
  font-size: var(--fs-md);
}

.app-icon-placeholder {
  width: 64px;
  height: 64px;
}

/* ==========================================================================
   23c. Stats Grid (about page)
   ========================================================================== */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 2rem;
}

.stat-card {
  text-align: center;
  padding: 2rem;
  background: var(--clr-bg-card);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-md);
}

.stat-card .counter {
  font-family: var(--ff-heading);
  font-size: var(--fs-xxl);
  font-weight: 700;
  color: var(--clr-gold);
}

.stat-suffix {
  font-family: var(--ff-heading);
  font-size: var(--fs-xl);
  color: var(--clr-gold);
}

.stat-label {
  color: var(--clr-text-muted);
  margin-top: 0.5rem;
}

/* ==========================================================================
   23d. Mission/Vision + Values (about page)
   ========================================================================== */
.mission-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.mission-card {
  background: var(--clr-bg-card);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-md);
  padding: 2rem;
  text-align: center;
}

.mission-icon {
  color: var(--clr-gold);
  margin-bottom: 1rem;
}

.mission-card h3 {
  margin-bottom: 0.75rem;
}

.mission-card p {
  color: var(--clr-text-muted);
  font-size: var(--fs-sm);
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.value-card {
  background: var(--clr-bg-card);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  text-align: center;
  transition: border-color 0.3s;
}

.value-card:hover {
  border-color: var(--clr-gold);
}

.value-icon {
  color: var(--clr-gold);
  margin-bottom: 0.75rem;
}

.value-card h3 {
  font-size: var(--fs-base);
  margin-bottom: 0.5rem;
  font-family: var(--ff-body);
  font-weight: 600;
}

.value-card p {
  color: var(--clr-text-muted);
  font-size: var(--fs-sm);
}

/* ==========================================================================
   23e. Section Grid (two-column layout, about page)
   ========================================================================== */
.section-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: center;
}

.section-content h2 {
  margin-bottom: 1rem;
}

.section-content p {
  color: var(--clr-text-muted);
  margin-bottom: 0.75rem;
}

.section-image img {
  width: 100%;
  border-radius: var(--radius-md);
}

/* ==========================================================================
   23f. CTA Section (used on multiple pages)
   ========================================================================== */
.cta-section {
  background: linear-gradient(135deg, #1a1a2e, #12121a);
  padding: 5rem 0;
  text-align: center;
}

.cta-content {
  max-width: 600px;
  margin: 0 auto;
}

.cta-content h2,
.cta-title {
  margin-bottom: 1rem;
}

.cta-content p,
.cta-text {
  color: var(--clr-text-muted);
  margin-bottom: 2rem;
}

.cta-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* --- CTA Final (index.html) --- */
.cta-final {
  background: linear-gradient(135deg, rgba(255,215,0,0.05), rgba(230,57,70,0.05));
  text-align: center;
  padding: 5rem 0;
}

.cta-final__inner {
  max-width: 650px;
  margin: 0 auto;
}

.cta-final__inner h2 {
  margin-bottom: 1rem;
}

.cta-final__inner p {
  color: var(--clr-text-muted);
  margin-bottom: 2rem;
}

.cta-final__buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* --- Download CTA (index.html) --- */
.download__cta {
  text-align: center;
  margin-top: 2rem;
}

.download__note {
  color: var(--clr-text-muted);
  font-size: var(--fs-sm);
  margin-top: 1rem;
}

.download__note a {
  color: var(--clr-gold);
}

/* ==========================================================================
   23g. Image Placeholder
   ========================================================================== */
.img-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--clr-bg-card);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-md);
  min-height: 200px;
  color: var(--clr-text-muted);
}

.img-placeholder--sm {
  min-height: 150px;
}

/* ==========================================================================
   24. Utility Classes
   ========================================================================== */
.text-gold  { color: var(--clr-gold) !important; }
.text-red   { color: var(--clr-red) !important; }
.bg-dark    { background-color: var(--clr-bg) !important; }

.gradient-text {
  background: var(--grad-gold);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-center  { text-align: center; }
.text-muted   { color: var(--clr-text-muted); }

/* ==========================================================================
   25. Page Loader
   ========================================================================== */
.page-loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: var(--clr-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity var(--tr-slow);
}

.page-loader.hidden {
  opacity: 0;
  pointer-events: none;
}

.loader-spinner {
  width: 48px;
  height: 48px;
  border: 3px solid var(--clr-border);
  border-top-color: var(--clr-gold);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.skeleton {
  background: linear-gradient(90deg, var(--clr-bg-card) 25%, var(--clr-bg-alt) 50%, var(--clr-bg-card) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  border-radius: var(--radius-sm);
}

@keyframes shimmer {
  0%   { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* ==========================================================================
   26. Back to Top Button
   ========================================================================== */
.back-to-top {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 900;
  width: 48px;
  height: 48px;
  border-radius: var(--radius-full);
  background: var(--grad-gold);
  color: #0a0a0f;
  font-size: 1.3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-gold);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity var(--tr-base), visibility var(--tr-base), transform var(--tr-base);
  cursor: pointer;
  border: none;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  box-shadow: var(--shadow-glow);
}

/* ==========================================================================
   27. Cookie Banner
   ========================================================================== */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 950;
  background: rgba(18, 18, 26, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid var(--clr-border);
  padding: var(--sp-lg);
  display: flex;
  flex-direction: column;
  gap: var(--sp-md);
  align-items: center;
  text-align: center;
  transform: translateY(100%);
  transition: transform var(--tr-slow);
}

.cookie-banner.visible {
  transform: translateY(0);
}

.cookie-banner.hidden {
  transform: translateY(100%);
}

.cookie-banner p {
  color: var(--clr-text-muted);
  font-size: var(--fs-sm);
  max-width: 680px;
}

.cookie-banner p a {
  color: var(--clr-gold);
  text-decoration: underline;
}

.cookie-actions {
  display: flex;
  gap: var(--sp-md);
}

.cookie-accept {
  padding: 0.5rem 1.5rem;
  background: var(--grad-gold);
  color: #0a0a0f;
  font-weight: 600;
  font-size: var(--fs-sm);
  border-radius: var(--radius-xl);
  border: none;
  cursor: pointer;
  transition: box-shadow var(--tr-fast);
}

.cookie-accept:hover {
  box-shadow: var(--shadow-gold);
}

.cookie-decline {
  padding: 0.5rem 1.5rem;
  background: transparent;
  color: var(--clr-text-muted);
  font-weight: 500;
  font-size: var(--fs-sm);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-xl);
  cursor: pointer;
  transition: border-color var(--tr-fast), color var(--tr-fast);
}

.cookie-decline:hover {
  border-color: var(--clr-text-muted);
  color: var(--clr-text);
}

/* --- Cookie inner/content variants --- */
.cookie-inner,
.cookie-content {
  display: flex;
  align-items: center;
  gap: 1rem;
  justify-content: space-between;
  flex-wrap: wrap;
}

/* ==========================================================================
   28. Responsive — 480px
   ========================================================================== */
@media (min-width: 480px) {
  .feature-grid       { grid-template-columns: repeat(2, 1fr); }
  .benefits-grid      { grid-template-columns: repeat(2, 1fr); }
  .bonuses-grid       { grid-template-columns: repeat(2, 1fr); }
  .gameplay-gallery   { grid-template-columns: repeat(2, 1fr); }
  .testimonials-slider { grid-template-columns: repeat(2, 1fr); }
  .features-grid      { grid-template-columns: repeat(2, 1fr); }
}

/* ==========================================================================
   29. Responsive — 768px (Tablet)
   ========================================================================== */
@media (min-width: 768px) {
  .container { padding-inline: var(--sp-xl); }

  /* Nav — hide hamburgers on desktop */
  .hamburger,
  .navbar__hamburger { display: none; }

  /* Navbar menu — desktop row */
  .navbar-menu {
    display: flex;
    flex-direction: row;
    position: static;
    background: transparent;
    backdrop-filter: none;
    padding: 0;
    gap: var(--sp-xs);
    border-bottom: none;
  }

  .navbar-menu a {
    padding: var(--sp-sm) var(--sp-md);
    font-size: var(--fs-sm);
  }

  /* Nav links — desktop row */
  .nav-links {
    display: flex;
    flex-direction: row;
    position: static;
    background: transparent;
    backdrop-filter: none;
    padding: 0;
    gap: var(--sp-xs);
    border-bottom: none;
  }

  .nav-links a {
    padding: var(--sp-sm) var(--sp-md);
    font-size: var(--fs-sm);
  }

  /* Navbar__menu — desktop row */
  .navbar__menu {
    display: flex;
    flex-direction: row;
    position: static;
    background: transparent;
    backdrop-filter: none;
    padding: 0;
    gap: var(--sp-xs);
    border-bottom: none;
  }

  .navbar__link {
    padding: var(--sp-sm) var(--sp-md);
    font-size: var(--fs-sm);
  }

  /* Grids */
  .feature-grid       { grid-template-columns: repeat(2, 1fr); }
  .benefits-grid      { grid-template-columns: repeat(2, 1fr); }
  .bonuses-grid       { grid-template-columns: repeat(2, 1fr); }
  .steps-grid         { grid-template-columns: repeat(2, 1fr); }
  .footer-grid        { grid-template-columns: repeat(2, 1fr); }
  .gameplay-gallery   { grid-template-columns: repeat(2, 1fr); }
  .testimonials-slider { grid-template-columns: repeat(2, 1fr); }

  .about-grid { grid-template-columns: 1fr 1fr; }
  .section-grid { grid-template-columns: 1fr 1fr; }

  .contact-form-card { padding: var(--sp-2xl); }

  .cookie-banner {
    flex-direction: row;
    text-align: left;
    padding: var(--sp-md) var(--sp-xl);
  }

  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
  }

  /* Hero stats */
  .hero__stats { grid-template-columns: repeat(4, 1fr); }

  /* Steps BEM */
  .steps { grid-template-columns: repeat(2, 1fr); }

  /* Gameplay BEM */
  .gameplay__inner { grid-template-columns: 1fr 1fr; }

  /* Mobile BEM */
  .mobile__inner { grid-template-columns: 1fr 1fr; }

  /* Testimonial slider track */
  .testimonial-slider__track .testimonial-card { flex: 0 0 calc(50% - 0.75rem); }

  /* Footer BEM */
  .footer__inner { grid-template-columns: 2fr 1fr 1fr 1fr; }
}

/* ==========================================================================
   30. Responsive — 1024px (Desktop)
   ========================================================================== */
@media (min-width: 1024px) {
  .feature-grid       { grid-template-columns: repeat(3, 1fr); }
  .benefits-grid      { grid-template-columns: repeat(3, 1fr); }
  .bonuses-grid       { grid-template-columns: repeat(3, 1fr); }
  .steps-grid         { grid-template-columns: repeat(3, 1fr); }
  .gameplay-gallery   { grid-template-columns: repeat(3, 1fr); }
  .testimonials-slider { grid-template-columns: repeat(3, 1fr); }
  .footer-grid        { grid-template-columns: repeat(4, 1fr); }
  .features-grid      { grid-template-columns: repeat(3, 1fr); }

  .hero-content { max-width: 850px; }

  .section { padding: var(--sp-3xl) 0; }

  /* Steps BEM */
  .steps { grid-template-columns: repeat(3, 1fr); }

  /* Testimonial slider track */
  .testimonial-slider__track .testimonial-card { flex: 0 0 calc(33.333% - 1rem); }
}

/* ==========================================================================
   31. Responsive — 1200px (Wide)
   ========================================================================== */
@media (min-width: 1200px) {
  .feature-grid   { grid-template-columns: repeat(4, 1fr); }
  .benefits-grid  { grid-template-columns: repeat(4, 1fr); }
}

/* ==========================================================================
   32. Accessibility & Reduced Motion
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  html { scroll-behavior: auto; }
}

:focus-visible {
  outline: 2px solid var(--clr-gold);
  outline-offset: 2px;
}

.skip-link {
  position: absolute;
  top: -100%;
  left: var(--sp-md);
  padding: var(--sp-sm) var(--sp-md);
  background: var(--clr-gold);
  color: #0a0a0f;
  font-weight: 600;
  border-radius: var(--radius-sm);
  z-index: 10000;
  transition: top var(--tr-fast);
}

.skip-link:focus {
  top: var(--sp-md);
}
