/* =========================================================================
   MAHA GAMES — "CANDY POP" style (generated via Stitch MCP design system)
   Bright cream + ink outlines + magenta/blue/yellow. Flat, chunky, playful:
   thick 3px ink borders, hard offset shadows (no blur), big rounded corners,
   Rubik 800 headlines. Neo-brutalist candy / arcade energy.
   ========================================================================= */

:root {
  /* ---- Candy palette ---- */
  --ink:        #1B1340;   /* deep indigo — text + all outlines */
  --magenta:    #FF2E8B;   /* primary */
  --blue:       #2BB3FF;   /* secondary */
  --yellow:     #FFD23F;   /* tertiary */
  --mint:       #00C2A8;   /* support */
  --orange:     #FF7A3D;   /* support */

  --bg:         #FFF8F0;   /* bright cream */
  --bg-card:    #FFFFFF;
  --bg-elevated:#FFFDF8;
  --bg-panel:   #1B1340;   /* ink panel (header/footer) */

  --text:       #1B1340;
  --text-muted: #57506E;
  --text-dim:   #8B85A1;
  --text-on-dark:#FFF1F8;

  /* legacy aliases so any leftover refs still resolve to candy colors */
  --brand: var(--magenta); --brand-dark: var(--ink); --brand-light: #FF6FB0;
  --accent: var(--yellow); --accent-warm: var(--blue); --accent-soft: #FFE9A8;
  --border-soft: #EFE7DA;

  /* ---- Type ---- */
  --font-body:    'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --font-heading: 'Rubik', 'Plus Jakarta Sans', system-ui, sans-serif;

  /* ---- Shape ---- */
  --r-sm: 10px; --r-md: 16px; --r-lg: 22px; --r-xl: 28px; --r-pill: 999px;
  --card-radius: 22px;
  --bd: 3px solid var(--ink);          /* signature thick ink border */
  --bd-2: 2px solid var(--ink);

  /* ---- Hard offset shadows (no blur) ---- */
  --hs:    6px 6px 0 var(--ink);
  --hs-sm: 3px 3px 0 var(--ink);
  --hs-lg: 10px 10px 0 var(--ink);

  /* ---- Layout ---- */
  --container: 1200px; --container-wide: 1320px;
  --pad-x: 1.5rem;
  --header-top-h: 2.25rem; --header-main-h: 5rem;
  --header-h: calc(var(--header-top-h) + var(--header-main-h));
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ========================= RESET / BASE ========================= */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; max-width: 100%; overflow-x: hidden; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem; line-height: 1.65;
  color: var(--text);
  background-color: var(--bg);
  background-image:
    radial-gradient(26px 26px at 12% 18%, rgba(255,46,139,0.10) 38%, transparent 40%),
    radial-gradient(20px 20px at 88% 30%, rgba(43,179,255,0.12) 38%, transparent 40%),
    radial-gradient(22px 22px at 70% 80%, rgba(255,210,63,0.16) 38%, transparent 40%),
    radial-gradient(18px 18px at 30% 90%, rgba(0,194,168,0.12) 38%, transparent 40%);
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
  counter-reset: img-div;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--magenta); text-decoration: none; }
a:hover { color: var(--ink); }
ul, ol { margin: 0; padding: 0; }
figure { margin: 0; }
button { font-family: inherit; }

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 800; line-height: 1.05;
  color: var(--ink); margin: 0 0 0.5em; letter-spacing: -0.02em;
}
h1 { font-size: clamp(2.4rem, 5.5vw, 4rem); }
h2 { font-size: clamp(1.9rem, 3.8vw, 2.9rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.6rem); font-weight: 700; }
h4 { font-size: 1.05rem; font-weight: 700; }
p  { margin: 0 0 1rem; }
p:last-child { margin-bottom: 0; }

.highlight {
  display: inline-block;
  background: var(--magenta); color: #fff;
  padding: 0 0.14em; border-radius: 10px;
  border: var(--bd-2); box-shadow: var(--hs-sm);
  transform: rotate(-1.6deg);
}

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

/* ========================= SHARED WIDTH RAIL ========================= */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--pad-x); }
section { position: relative; }
.section { padding: 40px 0; }
.section--tight { padding: 28px 0; }

.section-head { max-width: 760px; margin: 0 auto 2.4rem; text-align: center; }
.section-head.section-head--left { margin-left: 0; text-align: left; }
.section-head p { color: var(--text-muted); font-size: 1.08rem; margin-top: 0.6rem; }

.kicker {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-weight: 800; font-size: 0.74rem; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--ink);
  background: var(--yellow); border: var(--bd-2); box-shadow: var(--hs-sm);
  padding: 0.32rem 0.7rem; border-radius: var(--r-pill); margin-bottom: 1rem;
}
.kicker::before { content: "★"; color: var(--magenta); font-size: 0.8rem; }
.kicker--on-dark, .section--felt .kicker { color: var(--ink); }

/* ========================= BUTTONS ========================= */
.btn-primary, .btn-secondary, .btn-outline {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  font-family: var(--font-heading); font-weight: 800; font-size: 0.98rem; letter-spacing: 0.01em;
  padding: 0.8rem 1.5rem; border-radius: var(--r-pill);
  border: var(--bd); cursor: pointer; line-height: 1; white-space: nowrap;
  box-shadow: var(--hs-sm);
  transition: transform 0.12s var(--ease), box-shadow 0.12s var(--ease), background 0.2s;
}
.btn-primary { background: var(--magenta); color: #fff; }
.btn-secondary { background: var(--blue); color: var(--ink); }
.btn-outline { background: var(--bg-card); color: var(--ink); }
.btn-primary:hover, .btn-secondary:hover, .btn-outline:hover {
  transform: translate(3px, 3px); box-shadow: 0 0 0 var(--ink);
}
.btn-primary:hover { color: #fff; }
.btn-outline--on-dark { background: var(--yellow); color: var(--ink); }
.btn-block { width: 100%; }

/* ========================= HEADER ========================= */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: var(--bg-panel);
  border-bottom: var(--bd);
  transition: box-shadow 0.3s var(--ease);
}
.site-header.is-scrolled { box-shadow: 0 8px 0 -3px rgba(27,19,64,0.25); }

.header-top {
  background: var(--ink);
  border-bottom: 2px solid rgba(255,241,248,0.14);
  font-size: 0.78rem;
}
.header-top .container { display: flex; align-items: center; justify-content: space-between; min-height: var(--header-top-h); gap: 1rem; }
.header-trust { display: inline-flex; align-items: center; gap: 0.55rem; color: rgba(255,241,248,0.82); font-weight: 600; }
.trust-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--yellow); box-shadow: 0 0 0 0 rgba(255,210,63,0.6); animation: pulse-dot 2.2s infinite; }
@keyframes pulse-dot { 0% { box-shadow: 0 0 0 0 rgba(255,210,63,0.6); } 70% { box-shadow: 0 0 0 7px rgba(255,210,63,0); } 100% { box-shadow: 0 0 0 0 rgba(255,210,63,0); } }
@media (prefers-reduced-motion: reduce) { .trust-dot { animation: none; } }
.header-utility { display: flex; gap: 1.1rem; }
.header-utility a { color: rgba(255,241,248,0.78); font-weight: 800; font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.06em; }
.header-utility a:hover { color: var(--yellow); }

.header-main .container { display: flex; align-items: center; gap: 1.5rem; min-height: var(--header-main-h); }
.brand-logo { display: inline-flex; align-items: center; flex-shrink: 0; }
.brand-logo img {
  height: 56px; width: auto; object-fit: contain;
  background: #fff; border: var(--bd-2); border-radius: 14px; padding: 3px;
  box-shadow: var(--hs-sm); transition: height 0.3s var(--ease);
}
.site-header.is-scrolled .brand-logo img { height: 46px; }

.primary-nav { display: flex; align-items: center; gap: 0.3rem; margin-left: auto; position: relative; }
.primary-nav a {
  position: relative; color: rgba(255,241,248,0.9);
  font-weight: 800; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.04em;
  padding: 0.5rem 0.72rem; border-radius: var(--r-pill);
  border: 2px solid transparent; transition: all 0.15s var(--ease);
}
.primary-nav a:hover { color: var(--ink); background: var(--yellow); border-color: var(--ink); }
.primary-nav a.active { color: var(--ink); background: var(--blue); border-color: var(--ink); }
.nav-indicator { display: none; }
.header-cta { margin-left: 0.4rem; flex-shrink: 0; }
.header-cta .btn-primary { box-shadow: 3px 3px 0 var(--yellow); border-color: var(--bg-card); }
.header-cta .btn-primary:hover { box-shadow: 0 0 0 var(--yellow); }
.primary-nav .mobile-cta { display: none; }

.nav-toggle { display: none; margin-left: auto; width: 46px; height: 46px; border: var(--bd-2); border-radius: 12px; background: var(--magenta); cursor: pointer; position: relative; z-index: 120; }
.nav-toggle span { position: absolute; left: 11px; right: 11px; height: 2.5px; background: #fff; border-radius: 2px; transition: transform 0.3s var(--ease), opacity 0.2s; }
.nav-toggle span:nth-child(1) { top: 15px; } .nav-toggle span:nth-child(2) { top: 21px; } .nav-toggle span:nth-child(3) { top: 27px; }
body.nav-open .nav-toggle span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
body.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
body.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ========================= HERO ========================= */
.hero { position: relative; overflow: hidden; padding: clamp(2.5rem, 5vw, 4.5rem) 0 clamp(3.5rem, 6vw, 5.5rem); }
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; opacity: 0.10; }
.hero-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(255,248,240,0.5), var(--bg) 88%); }
.hero-inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(2rem, 4vw, 3.5rem); align-items: center; }
.hero-content { max-width: 600px; }
.hero h1 { margin: 0.4rem 0 1.1rem; }
.hero .lead { font-size: 1.18rem; color: var(--text-muted); max-width: 34ch; margin-bottom: 1.8rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.85rem; margin-bottom: 1.8rem; }
.hero-proof {
  display: inline-flex; align-items: center; gap: 0.75rem; flex-wrap: wrap; max-width: 100%;
  background: var(--bg-card); border: var(--bd); border-radius: var(--r-pill);
  padding: 0.5rem 1.1rem 0.5rem 0.6rem; box-shadow: var(--hs-sm); font-size: 0.9rem; color: var(--text-muted);
}
.hero-proof .stack { display: inline-flex; }
.hero-proof .chip { width: 28px; height: 28px; border-radius: 50%; margin-left: -8px; border: var(--bd-2); background: var(--magenta); }
.hero-proof .chip:first-child { margin-left: 0; }
.hero-proof .chip:nth-child(2) { background: var(--blue); }
.hero-proof .chip:nth-child(3) { background: var(--yellow); }
.hero-proof strong { color: var(--ink); }

/* Hero art — sticker-collage playing cards + confetti */
.hero-art { position: relative; height: 420px; }
.hero-art-card {
  position: absolute; width: 152px; height: 212px;
  background: var(--bg-card); border: var(--bd); border-radius: var(--r-lg);
  box-shadow: var(--hs); font-family: var(--font-heading); font-weight: 800; font-size: 3.6rem;
  display: flex; align-items: center; justify-content: center; color: var(--ink);
}
.hero-art-card::before, .hero-art-card::after { position: absolute; font-family: var(--font-body); font-size: 0.95rem; font-weight: 800; content: attr(data-corner); }
.hero-art-card::before { top: 10px; left: 12px; } .hero-art-card::after { bottom: 10px; right: 12px; transform: rotate(180deg); }
.hero-art-card--c1 { left: 4%;  top: 30%; transform: rotate(-10deg); z-index: 1; color: var(--ink); }
.hero-art-card--c2 { left: 33%; top: 6%;  transform: rotate(5deg);  z-index: 3; color: var(--magenta); }
.hero-art-card--c3 { left: 60%; top: 34%; transform: rotate(13deg);  z-index: 2; color: var(--magenta); }
.hero-art-chip {
  position: absolute; right: 3%; top: 4%; z-index: 4; width: 124px; height: 124px; border-radius: 50%;
  background: var(--yellow); border: var(--bd); box-shadow: var(--hs);
  display: flex; flex-direction: column; align-items: center; justify-content: center; color: var(--ink); text-align: center; transform: rotate(8deg);
}
.hero-art-chip .num { font-family: var(--font-heading); font-size: 1.7rem; font-weight: 800; line-height: 1; }
.hero-art-chip .lbl { font-size: 0.6rem; letter-spacing: 0.08em; text-transform: uppercase; margin-top: 0.3rem; font-weight: 700; }
.hero-art-spark { position: absolute; font-size: 1.8rem; font-weight: 800; }
.hero-art-spark--a { left: -1%; top: 10%; color: var(--blue); }
.hero-art-spark--b { left: 90%; top: 66%; color: var(--magenta); }
.hero-art-spark--c { left: 22%; top: 88%; color: var(--mint); }

/* ========================= STAT STRIP ========================= */
.hero-bridge { margin-top: -2.5rem; position: relative; z-index: 5; }
.hero-stats-strip {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  background: var(--yellow); border: var(--bd); border-radius: var(--card-radius);
  box-shadow: var(--hs-lg); overflow: hidden;
}
.hero-stat { padding: 1.5rem 1.25rem; text-align: center; border-right: var(--bd-2); }
.hero-stat:last-child { border-right: none; }
.hero-stat .stat-num { font-family: var(--font-heading); font-weight: 800; font-size: clamp(1.8rem, 2.8vw, 2.4rem); color: var(--ink); line-height: 1; }
.hero-stat .stat-label { color: var(--ink); font-size: 0.82rem; font-weight: 600; margin-top: 0.45rem; opacity: 0.85; }

/* ========================= CARDS ========================= */
.card, .plain-card, .support-card, .floor-tile, .bento-tile, .security-tile, .reward-tile, .split-card {
  position: relative; background: var(--bg-card);
  border: var(--bd); border-radius: var(--card-radius); box-shadow: var(--hs);
  transition: transform 0.14s var(--ease), box-shadow 0.14s var(--ease);
}
/* colored top band */
.card::before, .floor-tile::before, .bento-tile::before, .reward-tile::before, .plain-card::before, .support-card::before, .split-card::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 10px;
  background: var(--magenta); border-bottom: var(--bd-2);
  border-radius: var(--card-radius) var(--card-radius) 0 0;
}
.floor-grid > *:nth-child(3n+2)::before, .bento-floor > *:nth-child(3n+2)::before { background: var(--blue); }
.floor-grid > *:nth-child(3n+3)::before, .bento-floor > *:nth-child(3n+3)::before { background: var(--yellow); }
.floor-grid--cols-4 > *:nth-child(4n)::before { background: var(--mint); }

.floor-tile:hover, .bento-tile:hover, .reward-tile:hover, .card:hover, .security-tile:hover {
  transform: translate(-3px, -3px); box-shadow: var(--hs-lg);
}

.has-watermark { position: relative; overflow: hidden; }
.has-watermark::after {
  content: attr(data-watermark); position: absolute; right: 0.6rem; bottom: -0.8rem; z-index: 0;
  font-family: var(--font-heading); font-weight: 800; font-size: 5.5rem; line-height: 1;
  color: rgba(255,46,139,0.10); pointer-events: none;
}
.card-watermark { display: none; }

/* plain / intro / support */
.plain-card { width: 100%; padding: clamp(1.8rem, 4vw, 2.6rem); padding-top: clamp(2rem, 4vw, 2.8rem); }
.plain-card > :first-child { margin-top: 0; }
.plain-card p { color: var(--text-muted); }
.intro-block { width: 100%; }
.intro-block .plain-card { background: var(--bg-elevated); }
.intro-block p { font-size: 1.08rem; color: var(--text-muted); }

/* ========================= FLOOR GRID ========================= */
.floor-grid { display: grid; gap: 1.5rem; width: 100%; }
.floor-grid--cols-1 { grid-template-columns: 1fr; }
.floor-grid--cols-2 { grid-template-columns: repeat(2, minmax(0,1fr)); }
.floor-grid--cols-3 { grid-template-columns: repeat(3, minmax(0,1fr)); }
.floor-grid--cols-4 { grid-template-columns: repeat(4, minmax(0,1fr)); }
.floor-tile { padding: 1.9rem 1.7rem; }
.floor-tile h3 { display: flex; align-items: baseline; gap: 0.55rem; }
.floor-tile h3::before { content: "◆"; color: var(--magenta); font-size: 0.8em; }
.floor-tile p { color: var(--text-muted); margin-bottom: 0; }
.floor-tile p + p { margin-top: 0.8rem; }

/* rich variant */
.floor-grid--rich { grid-template-columns: 1fr; width: 100%; }
.floor-grid--rich .floor-tile { padding: clamp(1.8rem, 3vw, 2.4rem); }
.floor-grid--rich .floor-tile h4 {
  margin: 1.6rem 0 1rem; padding: 0.4rem 0.8rem; display: inline-block;
  background: var(--yellow); border: var(--bd-2); border-radius: var(--r-pill); box-shadow: var(--hs-sm);
  text-transform: uppercase; letter-spacing: 0.08em; font-size: 0.78rem; color: var(--ink);
}
.floor-grid--rich ul, .floor-grid--rich ol { list-style: none; display: grid; gap: 0.7rem; margin: 0.9rem 0 0.4rem; }
.floor-grid--rich li {
  position: relative; background: var(--bg); border: var(--bd-2); border-radius: var(--r-md);
  padding: 0.85rem 1rem 0.85rem 1.4rem; color: var(--text-muted); box-shadow: var(--hs-sm);
}
.floor-grid--rich li::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 6px; background: var(--magenta); border-right: 2px solid var(--ink); }

/* ========================= SPLIT LAYOUT ========================= */
.split-layout { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(1.5rem, 3vw, 2.6rem); align-items: stretch; width: 100%; }
.split-layout--reverse .split-text { order: 2; }
.split-text { display: flex; flex-direction: column; justify-content: center; }
.split-text > :first-child { margin-top: 0; }
.split-media { border: var(--bd); border-radius: var(--r-xl); overflow: hidden; box-shadow: var(--hs); min-height: 280px; position: relative; }
.split-media img { width: 100%; height: 100%; object-fit: cover; }
.split-media--placeholder { background: repeating-linear-gradient(45deg, var(--blue) 0 28px, #54c6ff 28px 56px); }

/* ========================= FEATURE CHECK LIST ========================= */
.feature-check-list { list-style: none; display: grid; gap: 0.85rem; width: 100%; }
.feature-check-list--plain { background: var(--yellow); border: var(--bd); border-radius: var(--card-radius); padding: clamp(1.6rem, 3vw, 2.2rem); box-shadow: var(--hs); }
.feature-check-list li { position: relative; padding-left: 2.5rem; color: var(--text-muted); }
.feature-check-list--plain li { color: var(--ink); }
.feature-check-list li::before {
  content: "✓"; position: absolute; left: 0; top: 0.05em; width: 1.7rem; height: 1.7rem; border-radius: 50%;
  background: var(--magenta); color: #fff; font-weight: 800; font-size: 0.9rem;
  display: flex; align-items: center; justify-content: center; border: var(--bd-2); box-shadow: var(--hs-sm);
}
.feature-check-list li strong { color: var(--ink); }

/* ========================= IMAGE DIVIDER ========================= */
.image-divider { counter-increment: img-div; display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(1.5rem, 3vw, 2.5rem); align-items: center; width: 100%; }
.image-divider__media { aspect-ratio: 4/3; border: var(--bd); border-radius: var(--r-xl); overflow: hidden; box-shadow: var(--hs); position: relative; }
.image-divider__media img { width: 100%; height: 100%; object-fit: cover; }
.image-divider__media--placeholder { background: repeating-linear-gradient(-45deg, var(--magenta) 0 30px, #ff5ba6 30px 60px); }
.image-divider__aside { position: relative; padding-left: 1.5rem; }
.image-divider__aside::before {
  content: counter(img-div, decimal-leading-zero); display: inline-block;
  font-family: var(--font-heading); font-weight: 800; font-size: clamp(2rem, 4vw, 3rem); line-height: 1; color: #fff;
  background: var(--magenta); border: var(--bd-2); box-shadow: var(--hs-sm); border-radius: 14px;
  padding: 0.1rem 0.5rem; margin-bottom: 0.7rem;
}
.image-divider__aside h3 { color: var(--ink); }

/* ========================= BESPOKE HOME SECTIONS ========================= */
.bento-floor { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; width: 100%; }
.bento-tile { padding: 1.9rem 1.7rem; display: flex; flex-direction: column; }
.bento-tile .bento-index { font-family: var(--font-heading); font-weight: 800; color: var(--magenta); font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 0.5rem; }
.bento-tile h3 { margin-bottom: 0.5rem; }
.bento-tile p { color: var(--text-muted); margin-bottom: 0; }
.bento-tile--feature { background: var(--magenta); color: #fff; }
.bento-tile--feature::before { background: var(--yellow); }
.bento-tile--feature h3 { color: #fff; }
.bento-tile--feature .bento-index { color: var(--yellow); }
.bento-tile--feature p { color: rgba(255,255,255,0.92); }

/* security grid */
.security-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.4rem; width: 100%; }
.security-tile { padding: 1.8rem 1.3rem; text-align: center; }
.security-tile:nth-child(1) { background: var(--magenta); } .security-tile:nth-child(1) h3 { color:#fff; } .security-tile:nth-child(1) p { color: rgba(255,255,255,0.9); }
.security-tile:nth-child(2) { background: var(--blue); }
.security-tile:nth-child(3) { background: var(--yellow); }
.security-tile:nth-child(4) { background: var(--mint); } .security-tile:nth-child(4) h3 { color:#fff; } .security-tile:nth-child(4) p { color: rgba(255,255,255,0.92); }
.security-tile .sec-icon { width: 56px; height: 56px; margin: 0 auto 1rem; display: flex; align-items: center; justify-content: center; background: #fff; border: var(--bd); border-radius: 16px; box-shadow: var(--hs-sm); }
.security-tile .sec-icon span { font-size: 1.6rem; }
.security-tile h3 { font-size: 1.1rem; margin-bottom: 0.4rem; color: var(--ink); }
.security-tile p { font-size: 0.9rem; margin-bottom: 0; color: var(--ink); }

/* rewards bento */
.rewards-bento { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; width: 100%; }
.reward-tile { padding: 1.9rem 1.7rem; }
.reward-tile h3 { margin-bottom: 0.5rem; }
.reward-tile p { color: var(--text-muted); margin-bottom: 0; }
.reward-tile--welcome { grid-column: span 1; grid-row: span 2; background: var(--yellow); display: flex; flex-direction: column; justify-content: center; }
.reward-tile--welcome::before { background: var(--magenta); }
.reward-tile--welcome h3 { font-size: 1.7rem; }
.reward-tile--welcome p { color: var(--ink); }
.reward-tile--welcome .reward-badge { align-self: flex-start; margin-bottom: 1rem; background: var(--ink); color: #fff; border: var(--bd-2); border-radius: var(--r-pill); padding: 0.3rem 0.9rem; font-size: 0.72rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; box-shadow: var(--hs-sm); }
.reward-tile--vip { grid-column: 2 / -1; background: var(--magenta); color: #fff; display: flex; align-items: center; gap: 1.2rem; }
.reward-tile--vip::before { background: var(--blue); }
.reward-tile--vip h3 { color: #fff; }
.reward-tile--vip p { color: rgba(255,255,255,0.92); }

/* support card */
.support-card { width: 100%; padding: clamp(2.2rem, 5vw, 3.4rem); text-align: center; background: var(--blue); }
.support-card::before { background: var(--yellow); }
.support-card .support-watermark { position: absolute; left: 50%; top: 56%; transform: translate(-50%,-50%); font-family: var(--font-heading); font-weight: 800; font-size: clamp(7rem, 22vw, 15rem); color: rgba(27,19,64,0.08); pointer-events: none; z-index: 0; white-space: nowrap; }
.support-card > * { position: relative; z-index: 1; }
.support-card p { color: var(--ink); max-width: 60ch; margin-inline: auto; }
.support-card .hero-actions { justify-content: center; }
.support-card .floor-tile { background: #fff; }

/* felt band (kept as bright band for rhythm) */
.section--felt { background: var(--ink); color: var(--text-on-dark); border-top: var(--bd); border-bottom: var(--bd); }
.section--felt .section-head h2 { color: #fff; }
.section--felt .section-head p { color: rgba(255,241,248,0.82); }

/* ========================= FAQ ========================= */
.faq-list { display: grid; gap: 1rem; width: 100%; }
.faq-item { background: var(--bg-card); border: var(--bd); border-radius: var(--r-md); box-shadow: var(--hs-sm); overflow: hidden; transition: transform 0.14s var(--ease), box-shadow 0.14s var(--ease); }
.faq-item[open] { box-shadow: var(--hs); transform: translate(-2px,-2px); }
.faq-item summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.2rem 1.4rem; font-weight: 800; color: var(--ink); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-q { font-family: var(--font-heading); font-size: 1.12rem; font-weight: 700; }
.faq-icon { position: relative; flex-shrink: 0; width: 28px; height: 28px; background: var(--magenta); border: var(--bd-2); border-radius: 8px; }
.faq-icon::before, .faq-icon::after { content: ""; position: absolute; background: #fff; border-radius: 2px; transition: transform 0.3s var(--ease); }
.faq-icon::before { top: 12px; left: 5px; right: 5px; height: 2.5px; }
.faq-icon::after { left: 12px; top: 5px; bottom: 5px; width: 2.5px; }
.faq-item[open] .faq-icon::after { transform: scaleY(0); opacity: 0; }
.faq-answer { padding: 0 1.4rem 1.3rem; color: var(--text-muted); }
.faq-answer p { margin-bottom: 0.8rem; } .faq-answer p:last-child { margin-bottom: 0; }

/* ========================= PAGE HERO (inner) ========================= */
.page-hero { padding: clamp(2.2rem, 4vw, 3.4rem) 0 clamp(1.4rem, 3vw, 2.2rem); position: relative; overflow: hidden; }
.page-hero .container { position: relative; z-index: 1; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 0.4rem; font-size: 0.82rem; color: var(--text-dim); margin-bottom: 1.1rem; font-weight: 600; }
.breadcrumb a { color: var(--magenta); font-weight: 800; }
.breadcrumb a:hover { color: var(--ink); }
.page-hero h1 { max-width: 20ch; }
.page-hero .page-sub { font-size: 1.14rem; color: var(--text-muted); max-width: 62ch; margin-top: 0.8rem; }
.page-meta { font-size: 0.85rem; color: var(--text-dim); margin-top: 1rem; display: flex; flex-wrap: wrap; gap: 0.4rem; align-items: center; }
.page-meta-author { font-weight: 800; color: var(--text-muted); }

/* ========================= FOOTER ========================= */
.site-footer { position: relative; margin-top: clamp(4rem, 8vw, 7rem); }
.footer-cta-wrap { position: relative; z-index: 2; transform: translateY(50%); }
.footer-cta {
  position: relative; overflow: hidden; background: var(--magenta);
  border: var(--bd); border-radius: var(--r-xl); box-shadow: 10px 10px 0 var(--yellow);
  padding: clamp(2rem, 4vw, 3rem) clamp(1.8rem, 4vw, 3.5rem);
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem;
}
.footer-cta h2 { color: #fff; margin: 0; max-width: 16ch; }
.footer-cta .footer-cta-actions { display: flex; flex-wrap: wrap; gap: 0.8rem; }
.footer-cta .btn-secondary { background: var(--yellow); }
.footer-cta .btn-outline { background: #fff; }

.footer-body { background: var(--ink); color: var(--text-on-dark); border-top: var(--bd); }
.footer-inner { padding-top: clamp(7rem, 14vw, 9rem); padding-bottom: 2.5rem; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 2rem; }
.footer-brand img { height: 76px; width: auto; object-fit: contain; margin-bottom: 1rem; background: #fff; border: var(--bd-2); border-radius: 16px; padding: 6px; box-shadow: var(--hs-sm); }
.footer-brand p { color: rgba(255,241,248,0.72); font-size: 0.9rem; max-width: 34ch; }
.footer-pills { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1.1rem; }
.footer-pills span { font-size: 0.7rem; font-weight: 800; letter-spacing: 0.04em; background: var(--blue); color: var(--ink); border: var(--bd-2); border-radius: var(--r-pill); padding: 0.3rem 0.75rem; }
.footer-col h4 { color: var(--yellow); font-size: 1.1rem; margin-bottom: 1rem; }
.footer-col ul { list-style: none; display: grid; gap: 0.6rem; }
.footer-col a { color: rgba(255,241,248,0.78); font-size: 0.92rem; font-weight: 600; }
.footer-col a:hover { color: var(--yellow); }
.footer-trust { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.7rem; border-top: 2px solid rgba(255,241,248,0.14); padding: 1.6rem 0 1.2rem; }
.footer-trust span { display: inline-flex; align-items: center; gap: 0.45rem; font-size: 0.74rem; color: var(--ink); font-weight: 800; background: var(--yellow); border: var(--bd-2); border-radius: var(--r-pill); padding: 0.3rem 0.8rem; }
.footer-bottom { border-top: 2px solid rgba(255,241,248,0.14); padding: 1.3rem 0 2rem; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.8rem; font-size: 0.8rem; color: rgba(255,241,248,0.6); }

/* ========================= 404 ========================= */
.err-404 { text-align: center; padding: clamp(3rem, 8vw, 7rem) 0; }
.err-404 .err-glyph { font-family: var(--font-heading); font-weight: 800; font-size: clamp(8rem, 22vw, 18rem); line-height: 0.85; color: var(--magenta); -webkit-text-stroke: 4px var(--ink); }
.err-404 p { color: var(--text-muted); max-width: 46ch; margin: 1rem auto 2rem; font-size: 1.1rem; }
.err-404 .hero-actions { justify-content: center; }

/* ========================= REVEAL ========================= */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.5s var(--ease), transform 0.5s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js .reveal { opacity: 1; transform: none; transition: none; } }

/* ========================= RESPONSIVE ========================= */
@media (max-width: 1100px) {
  .hero-inner { grid-template-columns: 1fr 0.85fr; }
  .hero-art { height: 360px; transform: scale(0.92); }
  .footer-grid { grid-template-columns: 1fr 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .header-cta { display: none; }
  .primary-nav {
    position: fixed; inset: 0; z-index: 110; flex-direction: column; justify-content: center; align-items: center; gap: 0.6rem;
    background: var(--ink); margin: 0; padding: 2rem; opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity 0.3s var(--ease), transform 0.3s var(--ease), visibility 0.3s;
  }
  body.nav-open .primary-nav { opacity: 1; visibility: visible; transform: none; }
  .primary-nav a { font-size: 1.2rem; padding: 0.6rem 1.1rem; }
  .primary-nav .mobile-cta { display: inline-flex; margin-top: 1rem; font-size: 1rem; }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-art { display: none; }
  .hero .lead { max-width: 48ch; }
  .floor-grid--cols-3, .floor-grid--cols-4 { grid-template-columns: repeat(2, 1fr); }
  .bento-floor, .security-grid, .rewards-bento { grid-template-columns: repeat(2, 1fr); }
  .reward-tile--welcome { grid-row: span 1; grid-column: span 2; }
  .reward-tile--vip { grid-column: span 2; }
  .split-layout, .split-layout--reverse { grid-template-columns: 1fr; }
  .split-layout--reverse .split-text { order: 0; }
  .image-divider { grid-template-columns: 1fr; }
  .image-divider__aside { padding-left: 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 700px) {
  .hero-stats-strip { grid-template-columns: repeat(2, 1fr); }
  .hero-stat:nth-child(2) { border-right: none; }
  .hero-stat:nth-child(1), .hero-stat:nth-child(2) { border-bottom: var(--bd-2); }
  .footer-cta { flex-direction: column; align-items: flex-start; }
  .footer-bottom { flex-direction: column; }
}
@media (max-width: 560px) {
  .header-utility { display: none; }
  .floor-grid--cols-2, .floor-grid--cols-3, .floor-grid--cols-4 { grid-template-columns: 1fr; }
  .bento-floor, .security-grid, .rewards-bento { grid-template-columns: 1fr; }
  .reward-tile--welcome, .reward-tile--vip { grid-column: span 1; }
  .reward-tile--vip { flex-direction: column; align-items: flex-start; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-stats-strip { grid-template-columns: 1fr; }
  .hero-stat { border-right: none; border-bottom: var(--bd-2); }
  .hero-stat:last-child { border-bottom: none; }
}
@media (max-width: 480px) {
  :root { --pad-x: 1.15rem; }
  .hero h1 { font-size: 2.1rem; }
  .footer-cta h2 { font-size: 1.6rem; }
}
