/* ===================================================================
   Max Rummy Casino — site.css  (v2 "Midnight Jade")
   Redesign per design-taste-frontend. Dial: VARIANCE 8 / MOTION 7 / DENSITY 4.
   Dark theme (locked). Dominant: deep jade-green environment.
   Single sharp accent: GOLD (CTAs, highlights, active state).
   Type: Clash Display (display) + Plus Jakarta Sans (body). No serif.
   =================================================================== */

:root {
  /* Surfaces (dark, warm green-black) */
  --ink:        #06110b;
  --surface:    #0a1a11;
  --surface-2:  #0f2517;   /* cards */
  --surface-3:  #143020;   /* elevated */
  --panel:      #050d08;   /* header/footer deepest */

  /* Brand jade (environment / glow) */
  --jade:       #27c07c;
  --jade-bright:#3fe295;
  --jade-deep:  #0d5c3a;
  --jade-glow:  rgba(39,192,124,.35);

  /* Gold — THE accent */
  --gold:       #f5c451;
  --gold-bright:#ffd873;
  --gold-deep:  #d99a1e;
  --gold-soft:  rgba(245,196,81,.12);
  --gold-line:  rgba(245,196,81,.30);

  /* Text */
  --text:       #eaf5ee;
  --text-muted: #9db3a6;
  --text-dim:   #677d71;
  --on-gold:    #241800;

  /* Lines */
  --line:        rgba(233,245,238,.09);
  --line-strong: rgba(233,245,238,.16);

  /* Type */
  --font-display: 'Clash Display', 'Space Grotesk', system-ui, sans-serif;
  --font-body:    'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;

  /* Radius — one soft system */
  --r-sm: 10px; --r-md: 16px; --r-lg: 22px; --r-xl: 30px; --r-pill: 999px;

  /* Shadows (tinted dark) */
  --shadow-1: 0 2px 12px rgba(0,0,0,.35);
  --shadow-2: 0 14px 40px rgba(0,0,0,.45);
  --shadow-gold: 0 14px 40px rgba(217,154,30,.30);
  --shadow-jade: 0 18px 60px rgba(13,92,58,.5);

  /* Layout — single shared width authority */
  --container: 1200px;
  --pad-x: 1.5rem;
  --header-top-h: 2.2rem;
  --header-main-h: 4.6rem;
  --header-h: calc(var(--header-top-h) + var(--header-main-h));

  --grad-gold: linear-gradient(100deg, var(--gold-bright), var(--gold-deep));
  --grad-jade: linear-gradient(150deg, var(--jade), var(--jade-deep));
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.02rem;
  line-height: 1.7;
  color: var(--text);
  background: var(--ink);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
/* atmospheric off-canvas glows */
body::before {
  content: ""; position: fixed; inset: 0; z-index: -2; pointer-events: none;
  background:
    radial-gradient(900px 600px at 82% -6%, rgba(39,192,124,.16), transparent 60%),
    radial-gradient(760px 520px at -8% 8%, rgba(245,196,81,.08), transparent 62%),
    radial-gradient(700px 700px at 50% 120%, rgba(13,92,58,.30), transparent 60%);
}
/* fine grain */
body::after {
  content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none; opacity: .035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

img { max-width: 100%; display: block; }
a { color: var(--jade-bright); text-decoration: none; transition: color .2s; }
a:hover { color: var(--gold-bright); }

h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 600; line-height: 1.06; color: #fff; margin: 0 0 .5em; letter-spacing: -.015em; }
h1 { font-size: clamp(2.4rem, 5.2vw, 4rem); font-weight: 600; }
h2 { font-size: clamp(1.75rem, 3.4vw, 2.7rem); }
h3 { font-size: clamp(1.2rem, 1.9vw, 1.5rem); }
h4 { font-size: 1.05rem; }
p  { margin: 0 0 1rem; }
strong { color: #fff; font-weight: 700; }
em { font-style: italic; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 6px; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--pad-x); }

/* ---------- Buttons ---------- */
.btn-primary, .btn-secondary, .btn-ghost {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  font-family: var(--font-body); font-weight: 700; font-size: .98rem; white-space: nowrap;
  padding: .8rem 1.5rem; border-radius: var(--r-pill); cursor: pointer; border: 1.5px solid transparent;
  transition: transform .18s cubic-bezier(.16,1,.3,1), box-shadow .2s, background .2s, color .2s;
}
.btn-primary { background: var(--grad-gold); color: var(--on-gold); box-shadow: var(--shadow-gold); }
.btn-primary:hover { transform: translateY(-2px); color: var(--on-gold); box-shadow: 0 18px 46px rgba(217,154,30,.42); }
.btn-primary:active { transform: translateY(0) scale(.985); }
.btn-secondary { background: rgba(233,245,238,.04); color: var(--text); border-color: var(--line-strong); }
.btn-secondary:hover { background: rgba(39,192,124,.14); border-color: var(--jade); color: #fff; transform: translateY(-2px); }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--line-strong); }
.btn-ghost:hover { border-color: var(--gold); color: var(--gold-bright); }
.btn-lg { padding: 1rem 1.9rem; font-size: 1.05rem; }

/* ============================================================
   HEADER — sticky 2-row dark glass
   ============================================================ */
.site-header { position: sticky; top: 0; z-index: 100; background: rgba(5,13,8,.72); backdrop-filter: blur(16px) saturate(140%); -webkit-backdrop-filter: blur(16px) saturate(140%); border-bottom: 1px solid var(--line); }
.header-utility { background: rgba(0,0,0,.28); font-size: .8rem; border-bottom: 1px solid var(--line); }
.header-utility .container { display: flex; align-items: center; justify-content: space-between; height: var(--header-top-h); gap: 1rem; }
.utility-trust { display: inline-flex; align-items: center; gap: .5rem; color: var(--text-muted); letter-spacing: .01em; }
.utility-trust svg { width: 15px; height: 15px; color: var(--gold); }
.utility-links { display: inline-flex; gap: 1.15rem; list-style: none; margin: 0; padding: 0; }
.utility-links a { color: var(--text-muted); font-weight: 600; }
.utility-links a:hover { color: var(--gold-bright); }

.header-main .container { display: flex; align-items: center; justify-content: space-between; height: var(--header-main-h); gap: 1.25rem; transition: height .22s ease; }
.is-scrolled .header-main .container { height: 3.9rem; }

.brand-lockup { display: inline-flex; align-items: center; gap: .6rem; }
.brand-lockup img { height: 42px; width: auto; object-fit: contain; transition: height .22s ease; }
.is-scrolled .brand-lockup img { height: 36px; }
.brand-wordmark { font-family: var(--font-display); font-weight: 600; font-size: 1.3rem; color: #fff; letter-spacing: -.01em; line-height: 1; }
.brand-wordmark em { color: var(--gold); font-style: normal; }

.primary-nav { position: relative; display: flex; }
.primary-nav ul { display: flex; align-items: center; gap: .1rem; list-style: none; margin: 0; padding: 0; }
.primary-nav a { position: relative; display: inline-block; padding: .55rem .85rem; color: var(--text-muted); font-weight: 600; font-size: .95rem; border-radius: var(--r-sm); }
.primary-nav a:hover, .primary-nav a.active { color: #fff; }
.nav-indicator { position: absolute; bottom: 0; height: 3px; border-radius: 3px; background: var(--grad-gold); opacity: 0; transition: left .3s cubic-bezier(.16,1,.3,1), width .3s cubic-bezier(.16,1,.3,1), opacity .2s; pointer-events: none; }
.header-cta { display: inline-flex; align-items: center; gap: .7rem; }

.nav-toggle { display: none; width: 44px; height: 44px; border: 0; background: transparent; cursor: pointer; padding: 10px; z-index: 120; }
.nav-toggle span { display: block; height: 2.5px; width: 100%; background: var(--text); border-radius: 3px; transition: transform .3s ease, opacity .2s ease; }
.nav-toggle span + span { margin-top: 5px; }
.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ============================================================
   HERO — special image-forward split
   ============================================================ */
.hero { position: relative; overflow: hidden; padding: clamp(2.5rem, 5vw, 4.5rem) 0 clamp(3rem, 5vw, 5rem); }
.hero-inner { display: grid; grid-template-columns: 1.02fr .98fr; gap: clamp(1.5rem, 4vw, 3.5rem); align-items: center; }

.eyebrow { display: inline-flex; align-items: center; gap: .55rem; font-family: var(--font-body); font-weight: 700; font-size: .74rem; text-transform: uppercase; letter-spacing: .16em; color: var(--gold-bright); background: var(--gold-soft); border: 1px solid var(--gold-line); padding: .42rem .85rem; border-radius: var(--r-pill); margin-bottom: 1.3rem; }
.eyebrow::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 10px var(--gold); }

.hero-content h1 { font-size: clamp(2.2rem, 4.2vw, 3.4rem); margin-bottom: 1.1rem; }
.hero-content h1 .hl { position: relative; color: var(--gold-bright); }
.hero-content h1 .hl::after { content: ""; position: absolute; left: 0; right: 0; bottom: .04em; height: .12em; background: var(--grad-gold); border-radius: 3px; opacity: .85; }
.hero .lead { font-size: 1.16rem; color: var(--text-muted); max-width: 46ch; margin-bottom: 1.7rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; }

/* Hero showpiece (right) */
.hero-show { position: relative; }
.hero-show .show-frame { position: relative; border-radius: var(--r-xl); overflow: hidden; border: 1px solid var(--gold-line); box-shadow: var(--shadow-jade), 0 0 0 6px rgba(39,192,124,.06); aspect-ratio: 1 / 1; background: var(--surface-2); }
.hero-show .show-frame img { width: 100%; height: 100%; object-fit: cover; }
.hero-show .show-frame::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(6,17,11,.55)); }
.hero-show .glow { position: absolute; inset: -14% -10% -20%; z-index: -1; background: radial-gradient(closest-side, var(--jade-glow), transparent 70%); filter: blur(10px); }
.hero-badge { position: absolute; border-radius: var(--r-lg); background: rgba(10,26,17,.7); backdrop-filter: blur(10px); border: 1px solid var(--line-strong); box-shadow: var(--shadow-2); padding: .7rem .9rem; display: flex; align-items: center; gap: .6rem; }
.hero-badge .bdg-ico { width: 38px; height: 38px; border-radius: 12px; display: grid; place-content: center; background: var(--grad-gold); color: var(--on-gold); }
.hero-badge .bdg-ico svg { width: 20px; height: 20px; }
.hero-badge > span:last-child { display: flex; flex-direction: column; }
.hero-badge .bdg-k { display: block; font-family: var(--font-display); font-weight: 600; color: #fff; font-size: 1.02rem; line-height: 1.15; }
.hero-badge .bdg-s { display: block; font-size: .72rem; color: var(--text-muted); line-height: 1.2; }
.hero-badge--tl { top: 8%; left: -6%; }
.hero-badge--br { bottom: 10%; right: -5%; }
@media (max-width: 480px) { .hero-badge--tl { left: 2%; } .hero-badge--br { right: 2%; } }

/* Stat strip — under hero, one shared width */
.stat-strip { margin-top: clamp(2rem, 4vw, 3rem); }
.stat-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.stat-tile { background: var(--surface); padding: 1.35rem 1.1rem; text-align: center; }
.stat-tile .stat-num { font-family: var(--font-display); font-size: 1.75rem; font-weight: 600; color: #fff; line-height: 1; }
.stat-tile .stat-num span { color: var(--gold); }
.stat-tile .stat-label { font-size: .78rem; color: var(--text-muted); margin-top: .4rem; letter-spacing: .04em; }

/* Trust logos row */
.trust-row { display: flex; align-items: center; justify-content: center; gap: 2.4rem; flex-wrap: wrap; padding: 1.6rem 0; opacity: .9; }
.trust-row .tr-item { display: inline-flex; align-items: center; gap: .5rem; color: var(--text-muted); font-size: .84rem; font-weight: 600; letter-spacing: .02em; }
.trust-row .tr-item svg { width: 18px; height: 18px; color: var(--jade); }

/* ============================================================
   SECTIONS
   ============================================================ */
.sec { padding: clamp(2.8rem, 5vw, 4.6rem) 0; }
.sec--tint { background: linear-gradient(180deg, rgba(39,192,124,.05), transparent 40%); }
.section-head { max-width: 760px; margin: 0 0 2.2rem; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head h2 { margin-bottom: .55rem; }
.section-head p { color: var(--text-muted); font-size: 1.06rem; margin-bottom: 0; }
.eyebrow.sec-eyebrow { margin-bottom: 1rem; }

/* Card base */
.card-surface { position: relative; background: linear-gradient(180deg, var(--surface-2), var(--surface)); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow-1); }

/* intro-block */
.intro-block { width: 100%; margin: 0 auto; background: linear-gradient(180deg, var(--surface-2), var(--surface)); border: 1px solid var(--line); border-left: 3px solid var(--gold); border-radius: var(--r-md); padding: clamp(1.4rem, 3vw, 2.2rem); font-size: 1.08rem; color: var(--text-muted); }
.intro-block p:last-child { margin-bottom: 0; }

/* plain-card */
.plain-card { position: relative; width: 100%; margin: 0 auto; background: linear-gradient(180deg, var(--surface-2), var(--surface)); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow-1); padding: clamp(1.7rem, 3vw, 2.6rem); overflow: hidden; }
.plain-card::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: var(--grad-gold); opacity: .8; }
.plain-card .pc-inner { position: relative; z-index: 1; }
.plain-card p:last-child { margin-bottom: 0; }
.plain-card p { color: var(--text-muted); }

/* floor grids */
.floor-grid { display: grid; gap: 1.15rem; width: 100%; }
.floor-grid--cols-1 { grid-template-columns: 1fr; }
.floor-grid--cols-2 { grid-template-columns: repeat(2, 1fr); }
.floor-grid--cols-3 { grid-template-columns: repeat(3, 1fr); }
.floor-grid--cols-4 { grid-template-columns: repeat(4, 1fr); }

.sec-tile { position: relative; background: linear-gradient(180deg, var(--surface-2), var(--surface)); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 1.7rem 1.6rem; box-shadow: var(--shadow-1); transition: transform .22s cubic-bezier(.16,1,.3,1), box-shadow .22s, border-color .22s; overflow: hidden; }
.sec-tile::before { content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; background: linear-gradient(140deg, rgba(39,192,124,.5), transparent 45%); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; opacity: 0; transition: opacity .25s; }
.sec-tile:hover { transform: translateY(-6px); box-shadow: var(--shadow-2); border-color: transparent; }
.sec-tile:hover::before { opacity: 1; }
.sec-tile h3 { margin-bottom: .55rem; }
.sec-tile p { color: var(--text-muted); font-size: .98rem; margin-bottom: 0; }
.sec-tile p + p { margin-top: .7rem; }

/* rich grid */
.floor-grid--rich { display: block; width: 100%; margin: 0 auto; }
.rich-tile { position: relative; background: linear-gradient(180deg, var(--surface-2), var(--surface)); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow-1); padding: clamp(1.6rem, 3vw, 2.4rem); margin-bottom: 1.15rem; overflow: hidden; }
.rich-tile::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: var(--grad-gold); opacity: .8; }
.rich-tile:last-child { margin-bottom: 0; }
.rich-tile h3 { margin-bottom: .7rem; }
.rich-tile p { color: var(--text-muted); }
.rich-kicker { display: block; font-family: var(--font-body); text-transform: uppercase; letter-spacing: .16em; font-weight: 800; font-size: .78rem; color: var(--gold-bright); border-top: 2px solid var(--jade-deep); padding-top: .7rem; margin: 1.4rem 0 .9rem; }
.rich-sublist { list-style: none; margin: 0; padding: 0; display: grid; gap: .65rem; }
.rich-sublist li { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); padding: .95rem 1.1rem .95rem 1.4rem; color: var(--text-muted); overflow: hidden; }
.rich-sublist li::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--grad-gold); }

/* feature check list */
.feature-check-list--plain { width: 100%; margin: 0 auto; background: linear-gradient(160deg, rgba(39,192,124,.10), var(--surface)); border: 1px solid var(--line-strong); border-left: 3px solid var(--gold); border-radius: var(--r-lg); box-shadow: var(--shadow-1); padding: clamp(1.7rem, 3vw, 2.4rem); }
.feature-check-list--plain .fcl-intro { color: var(--text-muted); margin-bottom: 1.2rem; }
.feature-check-list { list-style: none; margin: 0; padding: 0; display: grid; gap: .8rem; }
.feature-check-list li { position: relative; padding-left: 2.4rem; color: var(--text); font-weight: 500; }
.feature-check-list li::before { content: ""; position: absolute; left: 0; top: .12em; width: 1.5rem; height: 1.5rem; border-radius: 50%; background: var(--grad-gold); box-shadow: 0 3px 10px rgba(217,154,30,.4); background-image: var(--grad-gold), url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23241800' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E"); background-size: cover, 62%; background-position: center, center; background-repeat: no-repeat, no-repeat; }
.feature-check-list--plain .fcl-outro { color: var(--text-muted); margin-top: 1.2rem; margin-bottom: 0; }

/* image divider */
.image-divider { width: 100%; margin: 0 auto; display: grid; grid-template-columns: 1.3fr .7fr; gap: 1.3rem; align-items: stretch; }
.image-divider .id-figure { border-radius: var(--r-xl); overflow: hidden; box-shadow: var(--shadow-2); border: 1px solid var(--gold-line); aspect-ratio: 4/3; }
.image-divider .id-figure img { width: 100%; height: 100%; object-fit: cover; }
.image-divider .id-aside { background: linear-gradient(160deg, rgba(39,192,124,.14), var(--surface)); border: 1px solid var(--line); border-radius: var(--r-xl); padding: 1.8rem; display: flex; flex-direction: column; justify-content: center; }
.image-divider .id-kicker { text-transform: uppercase; letter-spacing: .16em; font-weight: 800; font-size: .74rem; color: var(--gold-bright); margin: 0 0 .3rem; }
.image-divider .id-heading { font-size: 1.25rem; margin: 0; }

/* FAQ */
.faq-list { width: 100%; margin: 0 auto; display: grid; gap: .8rem; }
.faq-item { background: linear-gradient(180deg, var(--surface-2), var(--surface)); border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; transition: border-color .2s, box-shadow .2s; }
.faq-item[open] { border-color: var(--gold-line); box-shadow: var(--shadow-1); }
.faq-item summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.15rem 1.35rem; font-weight: 600; color: #fff; font-size: 1.04rem; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-q { font-family: var(--font-display); }
.faq-icon { flex: 0 0 auto; width: 24px; height: 24px; position: relative; }
.faq-icon::before, .faq-icon::after { content: ""; position: absolute; background: var(--gold); border-radius: 2px; transition: transform .25s, opacity .25s; }
.faq-icon::before { top: 50%; left: 3px; right: 3px; height: 2.5px; transform: translateY(-50%); }
.faq-icon::after { left: 50%; top: 3px; bottom: 3px; width: 2.5px; transform: translateX(-50%); }
.faq-item[open] .faq-icon::after { transform: translateX(-50%) rotate(90deg); opacity: 0; }
.faq-answer { padding: 0 1.35rem 1.25rem; color: var(--text-muted); }
.faq-answer p:last-child { margin-bottom: 0; }

/* ============================================================
   PAGE HERO (inner pages) — split with AI showpiece
   ============================================================ */
.page-hero { position: relative; overflow: hidden; padding: clamp(2rem, 4vw, 3.4rem) 0 clamp(2.4rem, 4vw, 3.6rem); border-bottom: 1px solid var(--line); }
.page-hero .container { position: relative; z-index: 1; }
.page-hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(1.5rem, 4vw, 3rem); align-items: center; }
.page-hero .breadcrumb { font-size: .84rem; color: var(--text-dim); margin-bottom: 1rem; }
.page-hero .breadcrumb a { color: var(--text-muted); }
.page-hero .breadcrumb a:hover { color: var(--gold-bright); }
.page-hero h1 { color: #fff; max-width: 20ch; font-size: clamp(1.9rem, 3.2vw, 3rem); }
.page-hero .page-sub { color: var(--text-muted); font-size: 1.1rem; max-width: 56ch; margin-bottom: .7rem; }
.page-meta { font-size: .83rem; color: var(--text-dim); margin: 0; }
.page-meta .page-meta-author { color: var(--gold-bright); font-weight: 600; }
.page-hero-media { position: relative; }
.page-hero-media .phm-frame { border-radius: var(--r-xl); overflow: hidden; border: 1px solid var(--gold-line); box-shadow: var(--shadow-jade); aspect-ratio: 5/4; background: var(--surface-2); }
.page-hero-media .phm-frame img { width: 100%; height: 100%; object-fit: cover; }
.page-hero-media .glow { position: absolute; inset: -12%; z-index: -1; background: radial-gradient(closest-side, var(--jade-glow), transparent 70%); filter: blur(8px); }

/* ============================================================
   HOMEPAGE BESPOKE SECTIONS
   ============================================================ */
.bento-floor { display: grid; grid-template-columns: 1.35fr 1fr; grid-auto-rows: 1fr; gap: 1.15rem; width: 100%; }
.bento-cell { position: relative; background: linear-gradient(180deg, var(--surface-2), var(--surface)); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 1.8rem 1.7rem; box-shadow: var(--shadow-1); overflow: hidden; transition: transform .22s cubic-bezier(.16,1,.3,1), box-shadow .22s; }
.bento-cell:hover { transform: translateY(-6px); box-shadow: var(--shadow-2); }
.bento-cell .cell-suit { font-size: 1.6rem; line-height: 1; margin-bottom: .7rem; color: var(--gold); }
.bento-cell h3 { margin-bottom: .5rem; }
.bento-cell p { color: var(--text-muted); margin-bottom: 0; }
.bento-cell.feature { grid-row: span 2; display: flex; flex-direction: column; justify-content: flex-end; min-height: 340px; }
.bento-cell.feature .cell-media { position: absolute; inset: 0; z-index: 0; }
.bento-cell.feature .cell-media img { width: 100%; height: 100%; object-fit: cover; opacity: .9; }
.bento-cell.feature .cell-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(6,17,11,.25) 20%, rgba(6,17,11,.92)); }
.bento-cell.feature > *:not(.cell-media) { position: relative; z-index: 1; }

.split-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 1.75rem; align-items: center; width: 100%; }
.split-layout .split-media { position: relative; border-radius: var(--r-xl); overflow: hidden; box-shadow: var(--shadow-jade); border: 1px solid var(--gold-line); aspect-ratio: 4/3; }
.split-layout .split-media img { width: 100%; height: 100%; object-fit: cover; }
.split-layout .split-body { min-width: 0; }
.split-layout .split-body h3 { margin-top: 1.4rem; }
.split-layout .split-body h3:first-child { margin-top: 0; }
.split-layout .split-body p { color: var(--text-muted); }

.security-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.15rem; width: 100%; }
.security-tile { position: relative; background: linear-gradient(180deg, var(--surface-2), var(--surface)); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow-1); padding: 1.7rem 1.5rem; transition: transform .22s cubic-bezier(.16,1,.3,1), box-shadow .22s; }
.security-tile:hover { transform: translateY(-6px); box-shadow: var(--shadow-2); }
.security-tile .sec-ico { width: 50px; height: 50px; margin-bottom: .9rem; border-radius: 14px; display: grid; place-content: center; color: var(--gold); background: var(--gold-soft); border: 1px solid var(--gold-line); }
.security-tile .sec-ico svg { width: 24px; height: 24px; }
.security-tile h3 { font-size: 1.1rem; margin-bottom: .35rem; }
.security-tile p { font-size: .95rem; color: var(--text-muted); margin: 0; }

.rewards-bento { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 1.15rem; width: 100%; }
.rewards-bento .reward-welcome { position: relative; grid-row: span 2; background: linear-gradient(155deg, var(--jade), var(--jade-deep)); border: 0; color: #eafff3; border-radius: var(--r-lg); padding: 1.9rem; overflow: hidden; box-shadow: var(--shadow-jade); display: flex; flex-direction: column; justify-content: flex-end; }
.rewards-bento .reward-welcome::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 78% 12%, rgba(245,196,81,.4), transparent 45%); }
.rewards-bento .reward-welcome .rw-media { position: absolute; inset: 0; z-index: 0; }
.rewards-bento .reward-welcome .rw-media img { width: 100%; height: 100%; object-fit: cover; opacity: .5; mix-blend-mode: luminosity; }
.rewards-bento .reward-welcome .rw-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(160deg, rgba(15,107,58,.55), rgba(13,92,58,.9)); }
.rewards-bento .reward-welcome > *:not(.rw-media) { position: relative; z-index: 1; }
.rewards-bento .reward-welcome .big-num { font-family: var(--font-display); font-size: 3.2rem; font-weight: 600; color: var(--gold-bright); line-height: 1; margin-bottom: .3rem; }
.rewards-bento .reward-welcome h3 { color: #fff; }
.rewards-bento .reward-welcome p { color: rgba(234,255,243,.9); margin-bottom: 0; }
.rewards-bento .reward-cell { background: linear-gradient(180deg, var(--surface-2), var(--surface)); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow-1); padding: 1.6rem; }
.rewards-bento .reward-cell h3 { margin-bottom: .45rem; }
.rewards-bento .reward-cell p { color: var(--text-muted); margin-bottom: 0; font-size: .96rem; }
.rewards-bento .reward-vip { grid-column: 2 / -1; display: flex; align-items: center; justify-content: space-between; gap: 1.4rem; flex-wrap: wrap; background: linear-gradient(100deg, var(--surface-3), var(--surface)); border: 1px solid var(--gold-line); border-radius: var(--r-lg); padding: 1.6rem 1.8rem; box-shadow: var(--shadow-1); }
.rewards-bento .reward-vip h3 { color: #fff; margin: 0; }
.rewards-bento .reward-vip p { color: var(--text-muted); margin: 0; }

.support-card { position: relative; width: 100%; margin: 0 auto; border-radius: var(--r-xl); overflow: hidden; padding: clamp(2.2rem, 5vw, 3.4rem); text-align: center; background: linear-gradient(180deg, var(--surface-3), var(--surface)); border: 1px solid var(--gold-line); box-shadow: var(--shadow-2); }
.support-card::before { content: ""; position: absolute; inset: 0; z-index: 0; background: radial-gradient(circle at 50% -10%, rgba(245,196,81,.16), transparent 55%), radial-gradient(circle at 50% 120%, var(--jade-glow), transparent 55%); }
.support-card > * { position: relative; z-index: 1; }
.support-card p { max-width: 62ch; margin-inline: auto; color: var(--text-muted); }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer { position: relative; margin-top: clamp(3.5rem, 7vw, 6rem); background: var(--panel); color: var(--text); border-top: 1px solid var(--line); }
.footer-cta { position: relative; z-index: 2; transform: translateY(-2.5rem); }
.footer-cta-card { position: relative; overflow: hidden; background: linear-gradient(120deg, var(--jade), var(--jade-deep)); border-radius: var(--r-xl); padding: clamp(1.8rem, 4vw, 2.8rem); display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap; box-shadow: var(--shadow-jade); border: 1px solid rgba(245,196,81,.25); }
.footer-cta-card::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 85% 10%, rgba(245,196,81,.35), transparent 45%); }
.footer-cta-card > * { position: relative; z-index: 1; }
.footer-cta-card h2 { color: #fff; margin: 0 0 .3rem; }
.footer-cta-card p { color: rgba(234,255,243,.9); margin: 0; }
.footer-cta-actions { display: flex; gap: .8rem; flex-wrap: wrap; }
.footer-cta-actions .btn-secondary { background: rgba(6,17,11,.28); border-color: rgba(255,255,255,.4); color: #fff; }
.footer-cta-actions .btn-secondary:hover { background: rgba(6,17,11,.5); border-color: var(--gold); color: var(--gold-bright); }

.footer-main { padding-bottom: 2rem; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 2rem; }
.footer-brand img { height: 48px; width: auto; object-fit: contain; margin-bottom: .9rem; }
.footer-brand .f-tagline { color: var(--text-muted); font-size: .95rem; max-width: 34ch; }
.payment-pills { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1rem; }
.payment-pills span { font-size: .72rem; font-weight: 700; letter-spacing: .03em; padding: .3rem .7rem; border-radius: var(--r-pill); background: rgba(233,245,238,.05); border: 1px solid var(--line); color: var(--text-muted); }
.footer-col h4 { font-family: var(--font-display); font-size: 1.05rem; color: #fff; margin-bottom: .3rem; position: relative; padding-bottom: .6rem; }
.footer-col h4::after { content: ""; position: absolute; left: 0; bottom: 0; width: 30px; height: 3px; border-radius: 3px; background: var(--grad-gold); }
.footer-col ul { list-style: none; margin: .9rem 0 0; padding: 0; display: grid; gap: .55rem; }
.footer-col a { color: var(--text-muted); font-size: .94rem; }
.footer-col a:hover { color: var(--gold-bright); }

.footer-trust { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 1.1rem 0; }
.footer-trust .container { display: flex; flex-wrap: wrap; gap: 1rem 2.2rem; align-items: center; justify-content: center; }
.trust-pill { display: inline-flex; align-items: center; gap: .5rem; font-size: .82rem; font-weight: 700; color: var(--text-muted); }
.trust-pill svg { width: 16px; height: 16px; color: var(--jade); }
.footer-bottom { padding: 1.3rem 0 2.2rem; }
.footer-bottom .container { display: flex; flex-wrap: wrap; gap: .6rem 1.5rem; align-items: center; justify-content: space-between; }
.footer-bottom p { margin: 0; font-size: .82rem; color: var(--text-dim); }
.footer-bottom .rg-note { font-style: italic; }

/* ============================================================
   404
   ============================================================ */
.err-404 { text-align: center; padding: clamp(3rem, 8vw, 6rem) 0; }
.err-404 .glyph { font-family: var(--font-display); font-weight: 700; font-size: clamp(7rem, 20vw, 15rem); line-height: .9; background: var(--grad-gold); -webkit-background-clip: text; background-clip: text; color: transparent; }
.err-404 p { color: var(--text-muted); max-width: 46ch; margin: 0 auto 1.6rem; }

/* ============================================================
   Reveal / motion
   ============================================================ */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s cubic-bezier(.16,1,.3,1), transform .7s cubic-bezier(.16,1,.3,1); }
.reveal.is-visible { opacity: 1; transform: none; }
.tilt { transition: transform .3s cubic-bezier(.16,1,.3,1); transform-style: preserve-3d; will-change: transform; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .tilt { transform: none !important; }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1100px) {
  .footer-grid { grid-template-columns: 1fr 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .bento-floor { grid-template-columns: 1fr 1fr; }
  .bento-cell.feature { grid-column: 1 / -1; grid-row: auto; min-height: 260px; }
}
@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .primary-nav, .header-cta { display: none; }
  .primary-nav.is-open { display: flex; position: fixed; inset: 0; z-index: 110; background: rgba(5,13,8,.97); backdrop-filter: blur(12px); flex-direction: column; align-items: center; justify-content: center; }
  .primary-nav.is-open ul { flex-direction: column; gap: 1.1rem; text-align: center; }
  .primary-nav.is-open a { font-size: 1.5rem; font-family: var(--font-display); color: #fff; }
  .header-cta.is-open { display: inline-flex; position: fixed; left: 0; right: 0; bottom: 8vh; z-index: 111; justify-content: center; }
  .nav-indicator { display: none; }
  .hero-inner, .page-hero-grid { grid-template-columns: 1fr; }
  .hero-show { order: -1; max-width: 440px; margin: 0 auto; width: 100%; }
  .page-hero-media { max-width: 460px; }
  .stat-grid { grid-template-columns: repeat(2,1fr); }
  .floor-grid--cols-3, .floor-grid--cols-4 { grid-template-columns: repeat(2,1fr); }
  .security-grid { grid-template-columns: repeat(2,1fr); }
  .rewards-bento { grid-template-columns: 1fr 1fr; }
  .rewards-bento .reward-welcome { grid-row: auto; grid-column: 1 / -1; }
  .rewards-bento .reward-vip { grid-column: 1 / -1; }
  .split-layout { grid-template-columns: 1fr; }
  .split-layout .split-media { order: -1; }
  .image-divider { grid-template-columns: 1fr; }
}
@media (max-width: 700px) {
  body { font-size: .98rem; }
  .footer-cta-card { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 560px) {
  .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; }
  .stat-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .utility-trust .dim { display: none; }
  .trust-row { gap: 1.2rem; }
}
@media (max-width: 480px) {
  :root { --pad-x: 1.15rem; }
  .header-utility { font-size: .72rem; }
  .utility-links { gap: .8rem; }
}
