/* =========================================================================
   Pavilion88 — site-wide styles (light theme · airy palette)
   Theme: violet + gold (Where Luck Meets Luxury)
   System fonts only — no external font fetch
   ========================================================================= */

:root {
  /* Brand colors — light purple identity */
  --primary: #8B5CF6;          /* AA-compliant for body links/headings */
  --primary-light: #C4A4FB;    /* light lavender */
  --primary-pastel: #DDD6FE;   /* very pale lavender (decorative) */
  --primary-dark: #6D28D9;
  --accent-gold: #C97A1E;
  --accent-gold-bright: #FCD34D;
  --accent-gold-dark: #92400E;

  /* Light-purple surfaces — pastel-tinted backgrounds */
  --bg: #F5EFFE;               /* light purple page background */
  --surface: #FFFFFF;          /* white cards pop against the purple bg */
  --surface-alt: #ECE2FB;      /* lavender table headers / footer top */
  --border: #DCC9F0;           /* softer lavender border */

  /* Text — softer, less harsh */
  --text-primary: #2E2540;
  --text-secondary: #6B5B8C;
  --text-muted: #9B92B5;

  /* State colors */
  --success: #10B981;
  --warning: #D97706;
  --danger: #EF4444;

  /* Gradients */
  --brand-gradient: linear-gradient(135deg, #8B5CF6 0%, #C084FC 100%);
  --gold-gradient: linear-gradient(135deg, #FCD34D 0%, #F59E0B 100%);
  --hero-gradient: linear-gradient(180deg, #F5EFFE 0%, #E2D0FB 100%);
  --cta-gradient: linear-gradient(135deg, #FCD34D 0%, #FBBF24 50%, #E59500 100%);

  --container-max: 1180px;
  --nav-h-desktop: 64px;
  --nav-h-mobile: 56px;

  --radius-card: 12px;
  --radius-btn: 8px;
  --radius-input: 6px;
  --radius-pill: 9999px;

  --shadow-card: 0 2px 8px rgba(139, 92, 246, 0.04);
  --shadow-card-hover: 0 6px 20px rgba(139, 92, 246, 0.08);
  --shadow-cta: 0 4px 14px rgba(245, 158, 11, 0.22);
  --shadow-nav: 0 2px 8px rgba(139, 92, 246, 0.06);
}

* { box-sizing: border-box; }
*::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text-primary);
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen-Sans, Ubuntu, Cantarell, 'Helvetica Neue', Arial, sans-serif;
  line-height: 1.65;
  font-size: 16px;
  min-height: 100vh;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--primary); text-decoration: none; }
a:hover { color: var(--primary-dark); }
.container { max-width: var(--container-max); margin: 0 auto; padding: 0 16px; }
@media (min-width: 1024px) { .container { padding: 0 24px; } }

/* ===== Skip to content (a11y) ===== */
.skip-link {
  position: absolute; top: -100px; left: 0;
  background: var(--accent-gold-bright); color: #2d1f00;
  padding: 8px 16px; z-index: 9999; font-weight: 600;
  border-radius: 0 0 var(--radius-btn) 0;
}
.skip-link:focus { top: 0; }

/* =========================================================================
   NAV BAR — sticky, frosted-white blur
   ========================================================================= */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow 0.2s;
}
.nav.scrolled { box-shadow: var(--shadow-nav); }
.nav-inner {
  max-width: var(--container-max);
  margin: 0 auto;
  height: var(--nav-h-mobile);
  padding: 0 16px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.nav-brand {
  display: flex; align-items: center; gap: 10px;
  font-weight: 800; font-size: 18px; letter-spacing: -0.02em;
  background: var(--brand-gradient);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
  text-decoration: none;
}
.nav-brand img { height: 32px; width: auto; }
.nav-menu { display: none; }
.nav-cta-group { display: none; }
.nav-hamburger {
  display: flex; flex-direction: column; gap: 4px;
  padding: 8px; cursor: pointer; background: transparent; border: none;
  min-width: 44px; min-height: 44px; align-items: center; justify-content: center;
}
.nav-hamburger span {
  width: 22px; height: 2px; background: var(--primary);
  border-radius: 1px; transition: transform 0.2s, opacity 0.2s;
}
.nav-hamburger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-hamburger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-hamburger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

@media (min-width: 1024px) {
  .nav-inner { height: var(--nav-h-desktop); padding: 0 24px; }
  .nav-brand { font-size: 20px; }
  .nav-brand img { height: 40px; }
  .nav-menu { display: flex; gap: 28px; align-items: center; }
  .nav-menu a {
    color: var(--text-secondary); font-size: 14px; font-weight: 500;
    padding: 6px 2px; border-bottom: 2px solid transparent;
    text-decoration: none; transition: color 0.15s, border-color 0.15s;
  }
  .nav-menu a:hover, .nav-menu a.active {
    color: var(--primary); border-bottom-color: var(--primary);
  }
  .nav-cta-group {
    display: flex; align-items: center; gap: 8px;
  }
  .nav-cta-login {
    display: inline-block;
    padding: 8px 16px; border-radius: var(--radius-btn);
    border: 1.5px solid var(--primary);
    color: var(--primary); font-size: 13px; font-weight: 600;
    text-decoration: none;
    transition: background 0.15s, color 0.15s;
  }
  .nav-cta-login:hover, .nav-cta-login.active {
    background: var(--primary); color: #fff;
  }
  .nav-cta-desktop {
    display: inline-block;
    background: var(--cta-gradient); color: #2d1f00;
    padding: 8px 18px; border-radius: var(--radius-btn);
    font-size: 13px; font-weight: 600; text-decoration: none;
    transition: transform 0.15s, box-shadow 0.15s;
  }
  .nav-cta-desktop:hover { transform: translateY(-1px); box-shadow: var(--shadow-cta); color: #2d1f00; }
  .nav-hamburger { display: none; }
}

/* Mobile drawer — slides in from right */
.nav-drawer-overlay {
  display: none;
  position: fixed; top: var(--nav-h-mobile); left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.4);
  z-index: 200;
  opacity: 0;
  transition: opacity 0.25s;
}
.nav-drawer-overlay.open { display: block; opacity: 1; }

.nav-drawer {
  position: fixed; top: var(--nav-h-mobile); right: 0; bottom: 0;
  width: min(300px, 85vw);
  background: var(--bg);
  display: flex; flex-direction: column;
  padding: 16px 20px 60px;
  z-index: 201; overflow-y: auto;
  box-shadow: -4px 0 24px rgba(0,0,0,0.18);
  border-top: 1px solid var(--border);
  transform: translateX(100%);
  transition: transform 0.28s cubic-bezier(0.4, 0, 0.2, 1);
}
.nav-drawer.open { transform: translateX(0); }

/* close button */
.drawer-close {
  align-self: flex-end;
  background: none; border: none;
  font-size: 22px; line-height: 1;
  color: var(--text-secondary); cursor: pointer;
  padding: 0; margin-bottom: 12px;
}
.drawer-close:hover { color: var(--primary); }

.nav-drawer a {
  color: var(--text-primary); font-size: 17px; font-weight: 600;
  padding: 14px 0; border-bottom: 1px solid var(--border);
  text-decoration: none; display: block;
}
.nav-drawer a:hover, .nav-drawer a.active { color: var(--primary); }
.nav-drawer .drawer-cta {
  margin-top: 24px;
  background: var(--cta-gradient); color: #2d1f00;
  padding: 14px 20px; border-radius: var(--radius-btn);
  font-size: 15px; font-weight: 600; text-align: center;
  display: block; border-bottom: none;
}
.nav-drawer .drawer-payment-strip {
  margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--border);
}
.nav-drawer .drawer-payment-strip-label {
  color: var(--text-muted); font-size: 11px; text-transform: uppercase;
  letter-spacing: 0.6px; margin-bottom: 10px;
}
.nav-drawer .drawer-payment-strip .pay-pills {
  display: flex; flex-wrap: wrap; gap: 6px;
}
.nav-drawer .pay-pills .pay {
  background: var(--surface-alt); border: 1px solid var(--border);
  color: var(--text-secondary); padding: 4px 10px; border-radius: 4px;
  font-size: 11px;
}
body.drawer-open { overflow: hidden; }
@media (min-width: 1024px) { .nav-drawer { display: none !important; } .nav-drawer-overlay { display: none !important; } }

/* =========================================================================
   HERO — 16:9 banner slider (homepage)
   ========================================================================= */
.hero-slider {
  position: relative; width: 100%;
  aspect-ratio: 2 / 1;
  overflow: hidden;
  background: var(--surface-alt);
  margin-bottom: 32px;
  border-bottom: 1px solid var(--border);
}
.hero-slider-track {
  display: flex; height: 100%;
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}
.hero-slide {
  flex: 0 0 100%; height: 100%; position: relative;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, #E2D0FB 0%, #EBDDFB 50%, #F5ECFE 100%);
}
.hero-slide a {
  display: block; width: 100%; height: 100%;
  text-decoration: none; color: inherit;
}
.hero-slide-placeholder {
  text-align: center; padding: 24px;
}
.hero-slide-placeholder .badge {
  display: inline-block; background: rgba(255, 255, 255, 0.85); color: var(--primary-dark);
  padding: 5px 14px; border-radius: var(--radius-pill);
  font-size: 11px; font-weight: 600; letter-spacing: 0.6px;
  margin-bottom: 14px;
}
.hero-slide-placeholder h2 {
  margin: 0 0 8px; padding: 0; border: none;
  font-size: clamp(1.125rem, 3vw, 2rem); color: #4A2880;
  font-weight: 800; line-height: 1.2;
}
.hero-slide-placeholder h2 .gold {
  background: linear-gradient(135deg, #D97706 0%, #B45309 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-slide-placeholder p {
  color: rgba(74, 40, 128, 0.78); font-size: clamp(0.875rem, 1.5vw, 1rem);
  max-width: 640px; margin: 0 auto;
}
.hero-slide img { width: 100%; height: 100%; object-fit: cover; display: block; }

.hero-arrows {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 100%; display: none; justify-content: space-between;
  pointer-events: none; padding: 0 16px;
}
.hero-arrow {
  pointer-events: auto;
  background: rgba(255, 255, 255, 0.7); color: var(--primary-dark);
  border: none; width: 44px; height: 44px; border-radius: var(--radius-pill);
  font-size: 20px; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.15s;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}
.hero-arrow:hover { background: rgba(255, 255, 255, 0.95); }
@media (min-width: 768px) { .hero-arrows { display: flex; } }

.hero-dots {
  position: absolute; bottom: 16px; left: 50%; transform: translateX(-50%);
  display: flex; gap: 8px; z-index: 2;
}
.hero-dot {
  width: 8px; height: 6px; background: rgba(255, 255, 255, 0.55);
  border: none; border-radius: var(--radius-pill); cursor: pointer;
  transition: width 0.2s, background 0.2s;
  padding: 0;
}
.hero-dot.active { width: 24px; background: var(--primary-dark); }

.hero-pause {
  position: absolute; bottom: 14px; right: 16px;
  background: rgba(255, 255, 255, 0.7); color: var(--primary-dark);
  border: none; padding: 6px 12px; border-radius: var(--radius-input);
  font-size: 11px; cursor: pointer;
  display: none;
}
@media (min-width: 768px) { .hero-pause { display: inline-block; } }

/* Subpage hero (text-led) */
.page-hero {
  background: var(--hero-gradient);
  padding: clamp(48px, 8vw, 96px) 0;
  text-align: center;
  position: relative; overflow: hidden;
  margin-bottom: clamp(32px, 5vw, 56px);
  border-bottom: 1px solid var(--border);
}
.page-hero::before {
  content: ''; position: absolute;
  top: -40%; right: -10%; width: 60%; height: 200%;
  background: radial-gradient(ellipse at center, rgba(168, 85, 247, 0.12), transparent 60%);
  pointer-events: none;
}
.page-hero .eyebrow {
  display: inline-block;
  background: var(--surface); color: var(--primary);
  border: 1px solid var(--border);
  padding: 5px 14px; border-radius: var(--radius-pill);
  font-size: 11px; font-weight: 600; letter-spacing: 0.6px;
  margin-bottom: 16px;
}
.page-hero h1 {
  margin: 0 auto; max-width: 900px;
  font-size: clamp(2rem, 5vw, 3.25rem);
  font-weight: 800; line-height: 1.15; letter-spacing: -0.02em;
  color: var(--text-primary);
}

/* =========================================================================
   MAIN CONTENT — text-block layout preset
   Each H2 section wraps in <article class="block"> with colored top border
   ========================================================================= */
main { padding-bottom: clamp(16px, 2vw, 24px); }

h1 {
  font-size: clamp(2rem, 5vw, 3.25rem);
  font-weight: 800; letter-spacing: -0.02em;
  line-height: 1.15;
  margin: 0 0 24px;
}

/* TEXT-BLOCK section cards — airy, soft top border */
.block {
  background: var(--surface);
  border: 1px solid var(--border);
  border-top: 3px solid var(--primary);
  border-radius: var(--radius-card);
  padding: 28px 28px 12px;
  margin: 20px 0;
  box-shadow: var(--shadow-card);
  transition: box-shadow 0.2s;
}
.block:hover { box-shadow: var(--shadow-card-hover); }
.block:nth-of-type(even) { border-top-color: var(--primary-light); }
.block:nth-of-type(3n)   { border-top-color: var(--primary-pastel); }
.block > :first-child { margin-top: 0; }
.block > :last-child { margin-bottom: 16px; }
@media (max-width: 767px) {
  .block { padding: 22px 20px 8px; margin: 16px 0; }
}

h2 {
  font-size: clamp(1.375rem, 3vw, 1.875rem);
  font-weight: 700; line-height: 1.25;
  margin: 0 0 14px;
  color: var(--text-primary);
}
main > .container > h2 {
  margin: clamp(40px, 5vw, 56px) 0 16px;
}
h3 {
  font-size: 1.125rem; font-weight: 600;
  margin: 22px 0 10px;
  color: var(--text-primary);
}
p { margin: 0 0 16px; color: var(--text-secondary); }
p strong { color: var(--text-primary); }
ul, ol { padding-left: 24px; margin: 0 0 16px; color: var(--text-secondary); }
ul li, ol li { padding: 4px 0; }
ol li::marker { color: var(--primary); font-weight: 700; }

.lead { font-size: 1.0625rem; color: var(--text-primary); }

/* In-content links */
main a { color: var(--primary); border-bottom: 1px dotted rgba(139, 92, 246, 0.4); padding-bottom: 1px; }
main a:hover { border-bottom-color: var(--primary); color: var(--primary-dark); }

/* =========================================================================
   TABLE — payment / bonus tables
   ========================================================================= */
.table-wrap {
  overflow-x: auto;
  margin: 16px 0 24px;
  border-radius: var(--radius-card);
  border: 1px solid var(--border);
  background: var(--surface);
}
table {
  width: 100%; border-collapse: separate; border-spacing: 0;
  font-size: 14px; min-width: 540px;
}
thead { background: var(--surface-alt); }
th, td {
  text-align: left; padding: 12px 16px;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
  color: var(--text-secondary);
}
th {
  color: var(--primary);
  font-size: 11px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.6px;
}
td { color: var(--text-primary); }
tbody tr:last-child td { border-bottom: none; }
tbody tr:hover { background: var(--surface-alt); }

/* =========================================================================
   CTAs
   ========================================================================= */
.btn {
  display: inline-block; padding: 12px 22px;
  border-radius: var(--radius-btn);
  font-weight: 600; font-size: 14px;
  text-decoration: none; cursor: pointer; border: none;
  transition: transform 0.15s, box-shadow 0.15s;
  min-height: 44px; min-width: 44px;
  line-height: 1.4;
}
.btn-primary { background: var(--brand-gradient); color: #fff; }
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 6px 18px rgba(139, 92, 246, 0.3); color: #fff; }
.btn-gold { background: var(--cta-gradient); color: #2d1f00; }
.btn-gold:hover { transform: translateY(-1px); box-shadow: var(--shadow-cta); color: #2d1f00; }
.btn-outline { background: transparent; color: var(--text-primary); border: 1px solid var(--border); }
.btn-outline:hover { border-color: var(--primary); color: var(--primary); }
.btn-full { display: block; text-align: center; width: 100%; }
@media (min-width: 640px) {
  .btn-full { display: inline-block; width: auto; }
}

.cta-row { display: flex; flex-direction: column; gap: 10px; margin: 16px 0; }
@media (min-width: 480px) { .cta-row { flex-direction: row; flex-wrap: wrap; } }

/* FAQ section */
.faq-block { margin-top: 16px; }
.faq-block h3 {
  margin-top: 24px; color: var(--primary);
  font-size: 1.0625rem;
}
.faq-block p { margin-bottom: 12px; color: var(--text-secondary); }

/* =========================================================================
   FOOTER
   ========================================================================= */
/* --- Footer --- */
.site-footer {
  background: var(--primary);
  margin-top: 0;
}
.footer-top {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 48px 20px 36px;
  display: grid;
  gap: 36px;
}
/* brand col */
.footer-top .col .brand-block {
  display: flex; flex-direction: column; gap: 10px;
}
.footer-top .col .brand-block img {
  height: 38px; width: auto;
  filter: brightness(0) invert(1);
}
.footer-top .col .tagline {
  font-size: 12px; font-style: italic;
  color: rgba(255,255,255,0.65);
  margin: 0;
}
.footer-top .col p {
  color: rgba(255,255,255,0.55);
  font-size: 13px; line-height: 1.65; margin: 0;
}
/* column headings */
.footer-top h4 {
  color: rgba(255,255,255,0.45);
  font-size: 10px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 1px;
  margin: 0 0 14px;
}
/* nav links */
.footer-top .col ul {
  padding: 0; margin: 0; list-style: none;
  display: flex; flex-direction: column; gap: 10px;
}
.footer-top .col ul li a {
  color: rgba(255,255,255,0.8);
  font-size: 14px; font-weight: 500;
  border: none; text-decoration: none;
  transition: color 0.15s;
}
.footer-top .col ul li a:hover { color: #fff; }
/* payment pills */
.payment-img {
  width: 100%; max-width: 220px;
  height: auto; display: block;
  filter: brightness(0) invert(1);
  opacity: 0.85;
}
/* trust list */
.footer-top .col ul li {
  color: rgba(255,255,255,0.75);
  font-size: 13px;
}
/* bottom bar */
.footer-bottom {
  padding: 16px 0;
}
.footer-bottom-inner {
  max-width: var(--container-max); margin: 0 auto; padding: 0 20px;
  display: flex; flex-direction: column; gap: 6px;
  font-size: 12px; color: rgba(255,255,255,0.4);
}
.footer-bottom-inner .warn {
  color: rgba(255,200,0,0.75);
}
@media (min-width: 768px) {
  .footer-top { grid-template-columns: 1.8fr 1fr 1.2fr 1.2fr; padding: 56px 32px 44px; }
  .footer-bottom-inner {
    flex-direction: row; justify-content: space-between; align-items: center;
    padding: 0 32px;
  }
}

/* =========================================================================
   LOGIN PAGE
   ========================================================================= */
.login-page-wrap {
  min-height: calc(100vh - var(--nav-h-mobile) - 120px);
  display: flex; align-items: center; justify-content: center;
  padding: 40px 16px;
}
.auth-card {
  width: 100%; max-width: 420px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  box-shadow: 0 8px 32px rgba(0,0,0,0.08);
  overflow: hidden;
}
.auth-card-header {
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  padding: 28px 24px 20px;
  border-bottom: 1px solid var(--border);
}
.auth-card-header img { height: 40px; width: auto; }
.auth-card-header h1 {
  font-size: 20px; font-weight: 700;
  color: var(--text-primary); margin: 0;
}
.auth-panel { padding: 24px; }
.auth-panel.hidden { display: none; }
.auth-form { display: flex; flex-direction: column; gap: 6px; }
.auth-label {
  font-size: 12px; font-weight: 600; color: var(--text-secondary);
  text-transform: uppercase; letter-spacing: 0.4px;
  margin-top: 10px;
}
.auth-label:first-child { margin-top: 0; }
.auth-input-wrap { position: relative; }
.auth-input {
  width: 100%; padding: 12px 14px;
  border: 1px solid var(--border); border-radius: var(--radius-input);
  font-size: 15px; color: var(--text-primary);
  background: var(--bg);
  outline: none; box-sizing: border-box;
  transition: border-color 0.15s;
}
.auth-input:focus { border-color: var(--primary); }
.auth-forgot {
  text-align: right; margin: 4px 0 8px;
  font-size: 12px;
}
.auth-forgot a { color: var(--primary); text-decoration: none; }
.auth-submit {
  margin-top: 8px;
  width: 100%; padding: 14px;
  background: var(--cta-gradient); color: #2d1f00;
  border: none; border-radius: var(--radius-btn);
  font-size: 16px; font-weight: 700; cursor: pointer;
  transition: transform 0.15s, box-shadow 0.15s;
}
.auth-submit:hover { transform: translateY(-2px); box-shadow: var(--shadow-cta); }
.auth-switch {
  text-align: center; margin: 16px 0 0;
  font-size: 13px; color: var(--text-muted);
}
.auth-link-btn {
  background: none; border: none; cursor: pointer;
  color: var(--primary); font-size: 13px; font-weight: 600;
  padding: 0;
}
.auth-trust {
  display: flex; justify-content: center; gap: 16px; flex-wrap: wrap;
  padding: 14px 24px;
  background: var(--surface-alt);
  border-top: 1px solid var(--border);
  font-size: 12px; color: var(--text-secondary);
}

/* =========================================================================
   COMPAT CARDS
   ========================================================================= */
.compat-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 20px 0 16px;
}
.compat-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  overflow: hidden;
}
.compat-platform {
  font-size: 15px; font-weight: 700;
  padding: 12px 16px;
}
.compat-platform.android {
  background: #e8f5e9; color: #2e7d32;
}
.compat-platform.ios {
  background: #f3e5f5; color: #6a1b9a;
}
.compat-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 10px 16px;
  border-top: 1px solid var(--border);
}
.compat-label {
  font-size: 12px; color: var(--text-muted);
  text-transform: uppercase; letter-spacing: 0.4px;
}
.compat-value {
  font-size: 13px; font-weight: 600; color: var(--text-primary);
}
@media (max-width: 480px) {
  .compat-cards { grid-template-columns: 1fr; }
}

/* =========================================================================
   DOWNLOAD CTA BUTTON
   ========================================================================= */
.download-cta {
  display: inline-block;
  margin: 12px 0 24px;
  background: var(--cta-gradient);
  color: #2d1f00;
  font-size: 14px; font-weight: 700;
  padding: 12px 24px;
  border-radius: var(--radius-btn);
  text-decoration: none;
  transition: transform 0.15s, box-shadow 0.15s;
}
.download-cta:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-cta);
  color: #2d1f00;
}

/* =========================================================================
   GAME GRID
   ========================================================================= */
.game-grid-section {
  margin: 40px 0;
}
.game-grid-title {
  font-size: 18px; font-weight: 700;
  color: var(--text-primary);
  margin: 0 0 20px;
}
.game-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.game-card {
  display: block;
  border-radius: var(--radius-card);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: transform 0.15s, box-shadow 0.15s;
}
.game-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.12);
}
.game-card img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}
@media (max-width: 767px) {
  .game-grid { grid-template-columns: repeat(3, 1fr); gap: 8px; }
}

/* =========================================================================
   UTILITY
   ========================================================================= */
.section-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 24px;
  margin: 16px 0;
}
@media (min-width: 768px) { .section-card { padding: 28px 32px; } }

.card-grid {
  display: grid; gap: 14px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  margin: 16px 0 24px;
}
.card-grid .item {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-card); padding: 18px 20px;
}
.card-grid .item h3 { margin-top: 0; color: var(--text-primary); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    transition-duration: 0.001s !important;
    animation-duration: 0.001s !important;
  }
}
