/* SCRPlay — Oriental Fortune (blue + gold) */

:root {
  --bg: #071a45;
  --bg-2: #0a2460;
  --bg-3: #0d2f7a;
  --panel: rgba(10, 40, 100, 0.55);
  --ink: #f7f4ea;
  --muted: #a9bce0;
  --gold: #f0c14b;
  --gold-2: #ffe08a;
  --gold-3: #c9a227;
  --crimson: #c43c3c;
  --line: rgba(240, 193, 75, 0.28);
  --line-soft: rgba(255, 255, 255, 0.1);
  --max: 1120px;
  --radius: 14px;
  --shadow: 0 18px 40px rgba(2, 12, 40, 0.35);
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  font-family: "Noto Sans", "Segoe UI", system-ui, sans-serif;
  background:
    radial-gradient(900px 480px at 12% -8%, rgba(45, 110, 220, 0.45), transparent 55%),
    radial-gradient(700px 420px at 92% 8%, rgba(240, 193, 75, 0.12), transparent 50%),
    radial-gradient(600px 400px at 50% 100%, rgba(12, 50, 140, 0.5), transparent 55%),
    linear-gradient(180deg, #0b2a72 0%, var(--bg) 35%, #051333 100%);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

/* subtle fortune pattern */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.07;
  background-image:
    radial-gradient(circle at 20% 30%, rgba(240, 193, 75, 0.5) 0 1px, transparent 1.5px),
    radial-gradient(circle at 80% 70%, rgba(240, 193, 75, 0.4) 0 1px, transparent 1.5px);
  background-size: 48px 48px, 64px 64px;
}

.site-wrap { position: relative; z-index: 1; }

img { max-width: 100%; display: block; height: auto; }
a { color: var(--gold-2); text-decoration: none; }
a:hover { color: #fff; }
button { font: inherit; }

.container {
  width: min(var(--max), calc(100% - 2rem));
  margin-inline: auto;
}

/* Prefer readable tap targets */
a, button {
  -webkit-tap-highlight-color: rgba(240, 193, 75, 0.15);
}

/* Typography */
.font-display {
  font-family: "Noto Serif SC", "Noto Serif", Georgia, serif;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: var(--gold);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.kicker::before,
.kicker::after {
  content: "◆";
  font-size: 0.55rem;
  opacity: 0.85;
}

/* Gold frame ornament */
.ornament-frame {
  position: relative;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(16, 55, 130, 0.65), rgba(8, 28, 75, 0.8));
  box-shadow: var(--shadow);
}
.ornament-frame::before,
.ornament-frame::after {
  content: "";
  position: absolute;
  width: 18px;
  height: 18px;
  border: 2px solid var(--gold);
  pointer-events: none;
}
.ornament-frame::before {
  top: 8px;
  left: 8px;
  border-right: 0;
  border-bottom: 0;
}
.ornament-frame::after {
  right: 8px;
  bottom: 8px;
  border-left: 0;
  border-top: 0;
}

/* Header */
.topbar {
  background: rgba(5, 20, 55, 0.9);
  border-bottom: 1px solid var(--line);
  font-size: 0.8rem;
  color: var(--muted);
}
.topbar .container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.55rem 0;
  align-items: center;
}
.topbar strong { color: var(--gold); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(7, 28, 75, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(240, 193, 75, 0.2);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 72px;
}
.brand {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  line-height: 0;
  color: #fff;
  max-width: min(200px, 42vw);
}
.brand img {
  /* Landscape wordmark — no box, free width */
  width: auto;
  height: 40px;
  max-width: 100%;
  object-fit: contain;
  object-position: left center;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  display: block;
  transition: opacity 0.15s ease;
}
.brand:hover img {
  opacity: 0.9;
  border: 0;
  box-shadow: none;
}
.brand-name { display: none; }

.nav-toggle {
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.04);
  color: #fff;
  border-radius: 10px;
  cursor: pointer;
  display: none;
}
@media (max-width: 1023px) {
  .nav-toggle { display: inline-grid; place-items: center; }
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 0.15rem;
}
.site-nav a {
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 700;
  padding: 0.55rem 0.7rem;
  border-radius: 999px;
  transition: 0.15s ease;
}
.site-nav a:hover,
.site-nav a.is-active {
  color: var(--gold-2);
  background: rgba(240, 193, 75, 0.1);
}
.site-nav .btn-primary { margin-left: 0.4rem; }

@media (max-width: 1023px) {
  .site-nav {
    display: none;
    position: absolute;
    left: 1rem;
    right: 1rem;
    top: 118px;
    flex-direction: column;
    align-items: stretch;
    gap: 0.25rem;
    padding: 0.75rem;
    background: #0a2460;
    border: 1px solid var(--line);
    border-radius: 14px;
    box-shadow: var(--shadow);
    max-height: 70vh;
    overflow: auto;
  }
  .site-nav.is-open { display: flex; }
  .site-nav .btn-primary { margin: 0.35rem 0 0; text-align: center; }
}

/* Buttons */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.35rem;
  border-radius: 999px;
  border: 1px solid transparent;
  background: linear-gradient(135deg, #ffe08a, var(--gold) 45%, var(--gold-3));
  color: #1a1200 !important;
  font-weight: 800;
  box-shadow: 0 8px 22px rgba(240, 193, 75, 0.28);
  transition: transform 0.15s ease, filter 0.15s ease;
}
.btn-primary:hover {
  transform: translateY(-1px);
  filter: brightness(1.05);
  color: #111 !important;
}
.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.35rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  color: #fff !important;
  font-weight: 700;
  background: rgba(255,255,255,0.03);
  transition: 0.15s ease;
}
.btn-ghost:hover {
  border-color: var(--gold);
  background: rgba(240, 193, 75, 0.08);
  color: var(--gold-2) !important;
}
.btn-sm { padding: 0.55rem 1rem; font-size: 0.86rem; }
.btn-lg { padding: 1rem 1.5rem; font-size: 1rem; }

/* Hero */
.hero {
  padding: 2.25rem 0 1.5rem;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2rem;
  align-items: center;
}
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
}
.hero h1 {
  margin: 0.75rem 0 1rem;
  font-size: clamp(2rem, 4.5vw, 3.15rem);
  line-height: 1.15;
}
.hero .lead {
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 36rem;
  margin: 0 0 1.4rem;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-bottom: 1.25rem;
}
.hero-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 0.75rem;
  border-radius: 999px;
  border: 1px solid var(--line-soft);
  background: rgba(255,255,255,0.03);
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
}
.pill i { color: var(--gold); }

.hero-visual {
  position: relative;
}
.hero-banner {
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  aspect-ratio: 4 / 3;
  position: relative;
}
.hero-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-banner::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 45%, rgba(5, 18, 50, 0.75));
  pointer-events: none;
}
.hero-seal {
  position: absolute;
  right: 1rem;
  bottom: 1rem;
  z-index: 2;
  width: 78px;
  height: 78px;
  border-radius: 50%;
  border: 2px solid var(--gold);
  background: radial-gradient(circle at 35% 30%, #1a4aab, #071a45 70%);
  display: grid;
  place-items: center;
  text-align: center;
  box-shadow: 0 0 0 6px rgba(240, 193, 75, 0.12);
}
.hero-seal strong {
  font-family: "Noto Serif SC", Georgia, serif;
  font-size: 0.72rem;
  color: var(--gold-2);
  line-height: 1.2;
  letter-spacing: 0.04em;
}

/* Safety */
.safety {
  margin: 0.5rem 0 0.25rem;
  padding: 0.85rem 1rem;
  border-radius: 12px;
  border: 1px solid rgba(240, 193, 75, 0.35);
  background: rgba(240, 193, 75, 0.08);
  color: #ffe9ad;
  font-size: 0.92rem;
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
}
.safety i {
  color: var(--gold);
  margin-top: 0.15rem;
}

/* Section */
.section {
  padding: 3rem 0;
}
.section-head {
  margin-bottom: 1.5rem;
  max-width: 40rem;
}
.section-head h2 {
  margin: 0.5rem 0 0.55rem;
  font-size: clamp(1.55rem, 3vw, 2.1rem);
  line-height: 1.2;
}
.section-head p {
  margin: 0;
  color: var(--muted);
}

/* Divider ornament */
.divider-fortune {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--gold);
  opacity: 0.7;
  margin: 0.25rem 0 1.25rem;
  font-size: 0.7rem;
  letter-spacing: 0.2em;
}
.divider-fortune::before,
.divider-fortune::after {
  content: "";
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

/* Platform rows (clean, not SaaS cards) */
.platform-list {
  border-top: 1px solid var(--line-soft);
}
.platform-row {
  display: grid;
  grid-template-columns: 64px 1fr auto;
  gap: 1rem;
  align-items: center;
  padding: 1.15rem 0.25rem;
  border-bottom: 1px solid var(--line-soft);
  color: inherit;
  transition: background 0.15s ease;
}
.platform-row:hover {
  background: rgba(240, 193, 75, 0.05);
}
.platform-ico {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  color: var(--gold-2);
  font-size: 1.35rem;
  background: radial-gradient(circle at 30% 30%, rgba(240,193,75,0.18), rgba(8,30,80,0.9));
}
.platform-row h3 {
  margin: 0 0 0.2rem;
  font-size: 1.15rem;
}
.platform-row p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}
@media (max-width: 640px) {
  .platform-row {
    grid-template-columns: 48px minmax(0, 1fr) auto;
    gap: 0.65rem;
    align-items: center;
  }
  .platform-row .btn-primary,
  .platform-row .btn-ghost {
    grid-column: auto;
    width: auto;
    flex-shrink: 0;
    white-space: nowrap;
    padding-left: 0.75rem;
    padding-right: 0.75rem;
  }
}

/* Steps as numbered fortune path */
.steps-fortune {
  display: grid;
  gap: 0;
  counter-reset: step;
}
.step-f {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px dashed rgba(240, 193, 75, 0.2);
  position: relative;
}
.step-f:last-child { border-bottom: 0; }
.step-num {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 2px solid var(--gold);
  display: grid;
  place-items: center;
  font-family: "Noto Serif SC", Georgia, serif;
  font-weight: 700;
  color: var(--gold-2);
  background: rgba(7, 26, 69, 0.8);
}
.step-f h3 {
  margin: 0 0 0.25rem;
  font-size: 1.05rem;
}
.step-f p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

/* Banking methods as coin strip */
.method-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.75rem;
}
@media (max-width: 800px) {
  .method-strip { grid-template-columns: repeat(2, 1fr); }
}
.method-coin {
  text-align: center;
  padding: 1.15rem 0.75rem 1.2rem;
  border-radius: 16px;
  border: 1px solid var(--line);
  background:
    radial-gradient(circle at 50% 0%, rgba(240,193,75,0.12), transparent 55%),
    rgba(8, 30, 80, 0.55);
}
.method-coin .ico {
  width: 52px;
  height: 52px;
  margin: 0 auto 0.75rem;
  border-radius: 50%;
  border: 2px solid var(--gold);
  display: grid;
  place-items: center;
  color: var(--gold-2);
  font-size: 1.1rem;
  background: #071a45;
  overflow: hidden;
}
/* Real payment brand marks */
.method-coin .ico--logo {
  width: 72px;
  height: 48px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: #fff;
  padding: 6px 8px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18);
}
.method-coin .ico--logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}
.method-coin strong {
  display: block;
  font-family: "Noto Serif SC", Georgia, serif;
  font-size: 1.15rem;
  margin-bottom: 0.2rem;
}
.method-coin span {
  color: var(--muted);
  font-size: 0.8rem;
}

/* Payment method detail cards */
.pay-card-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.9rem;
}
@media (max-width: 720px) {
  .pay-card-grid { grid-template-columns: 1fr; }
}
.pay-card {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(8, 30, 80, 0.48);
  padding: 1.15rem 1.15rem 1.2rem;
  display: grid;
  gap: 0.75rem;
}
.pay-card-head {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}
.pay-card-logo {
  width: 72px;
  height: 48px;
  border-radius: 10px;
  background: #fff;
  border: 1px solid rgba(255,255,255,0.12);
  padding: 6px 8px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  overflow: hidden;
}
.pay-card-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}
.pay-card-logo--icon {
  color: var(--gold-2);
  font-size: 1.25rem;
  background:
    radial-gradient(circle at 30% 25%, rgba(240, 193, 75, 0.18), rgba(8, 30, 80, 0.95));
  border-color: var(--line);
}
.pay-card h3 {
  margin: 0;
  font-size: 1.12rem;
  line-height: 1.2;
}
.pay-card .pay-meta {
  margin: 0.15rem 0 0;
  color: var(--muted);
  font-size: 0.82rem;
}
.pay-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.5;
}
.pay-card ul {
  margin: 0;
  padding-left: 1.1rem;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.5;
}
.pay-card li { margin-bottom: 0.25rem; }
.pay-card li:last-child { margin-bottom: 0; }

/* Provider: lucky medallions / lobby tiles */
.provider-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.9rem;
}
@media (max-width: 900px) {
  .provider-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 520px) {
  .provider-grid { grid-template-columns: 1fr; }
}
.provider-tile {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: 1.15rem 1.1rem 1.15rem;
  border-radius: 16px;
  border: 1px solid var(--line);
  background:
    linear-gradient(165deg, rgba(22, 70, 160, 0.5), rgba(7, 26, 69, 0.92));
  color: inherit;
  min-height: 0;
  overflow: hidden;
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}
.provider-tile:hover {
  transform: translateY(-3px);
  border-color: rgba(240, 193, 75, 0.55);
  box-shadow: 0 14px 30px rgba(2, 12, 40, 0.35);
  color: inherit;
}
.provider-tile:hover .provider-go {
  color: var(--gold-2);
  transform: translateX(2px);
}
.provider-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  position: relative;
  z-index: 1;
}
.provider-go {
  color: rgba(169, 188, 224, 0.55);
  font-size: 0.85rem;
  transition: color 0.15s ease, transform 0.15s ease;
}
.provider-medal {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  font-family: "Noto Serif SC", Georgia, serif;
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--gold-2);
  background: #ffffff;
  position: relative;
  z-index: 1;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  flex-shrink: 0;
}
.provider-medal img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 4px;
  display: block;
}
/* Full-bleed brand icons (already designed as app tiles) */
.provider-medal img[src*="918kiss-apk"],
.provider-medal img[src*="logopussy888"] {
  object-fit: cover;
  padding: 0;
}
/* Mega logo has white canvas — keep contain so the mark is not cropped */
.provider-medal img[src*="mega888sq"] {
  object-fit: contain;
  padding: 6px;
}
.provider-medal--dark {
  background: #0b1224;
}
.provider-medal--dark img {
  padding: 0;
}
.provider-tile h3 {
  margin: 0;
  font-size: 1.12rem;
  line-height: 1.2;
  position: relative;
  z-index: 1;
}
.provider-tile p {
  margin: 0;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.4;
  position: relative;
  z-index: 1;
}
/* Hide legacy category tags if any remain */
.provider-tile > .tag {
  display: none;
}
.tag {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.2rem 0.55rem;
  background: rgba(240, 193, 75, 0.08);
}

/* Why list */
.why-list {
  display: grid;
  gap: 0.75rem;
}
.why-item {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 0.9rem;
  align-items: start;
  padding: 0.9rem 0;
  border-bottom: 1px solid var(--line-soft);
}
.why-item:last-child { border-bottom: 0; }
.why-ico {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  color: var(--gold);
  background: rgba(240, 193, 75, 0.08);
}
.why-item h3 {
  margin: 0 0 0.2rem;
  font-size: 1.02rem;
}
.why-item p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

/* Chips */
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-bottom: 1rem;
}
.chip-btn {
  border: 1px solid var(--line-soft);
  background: transparent;
  color: var(--muted);
  border-radius: 999px;
  padding: 0.45rem 0.9rem;
  font-weight: 700;
  font-size: 0.8rem;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
}
a.chip-btn:hover {
  color: #1a1200;
}
.chip-btn.is-active,
.chip-btn:hover {
  color: #1a1200;
  background: var(--gold);
  border-color: var(--gold);
}

/* Anchor targets clear sticky header */
.section-head[id],
.divider-fortune[id],
.two-col[id],
.faq-list[id],
#featured, #categories, #match, #compare, #more-providers, #how-to-open, #games-faq {
  scroll-margin-top: 5.5rem;
}

/* FAQ */
.faq-list { display: grid; gap: 0; border-top: 1px solid var(--line-soft); }
.faq-item {
  border-bottom: 1px solid var(--line-soft);
}
.faq-item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
  padding: 1rem 0;
  font-weight: 700;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item[open] summary { color: var(--gold-2); }
.faq-item .faq-body {
  padding: 0 0 1rem;
  color: var(--muted);
  font-size: 0.95rem;
  max-width: 60ch;
}
.faq-chevron {
  color: var(--gold);
  transition: transform 0.2s ease;
}
.faq-item[open] .faq-chevron { transform: rotate(180deg); }

/* Panel soft */
.panel-soft {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(8, 30, 80, 0.45);
  padding: 1.25rem;
}

/* CTA fortune band */
.cta-fortune {
  border-radius: 18px;
  border: 1px solid var(--line);
  background:
    radial-gradient(500px 180px at 10% 0%, rgba(240,193,75,0.18), transparent 60%),
    linear-gradient(135deg, #123a9a, #0a2460 55%, #071a45);
  padding: 1.75rem 1.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
  box-shadow: var(--shadow);
}
.cta-fortune h2 {
  margin: 0 0 0.35rem;
  font-size: 1.5rem;
}
.cta-fortune p {
  margin: 0;
  color: var(--muted);
  max-width: 36rem;
}
.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

/* Page hero */
.page-hero {
  padding: 1.5rem 0 0.5rem;
}
.page-hero h1 {
  margin: 0.5rem 0 0.75rem;
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  line-height: 1.15;
}
.page-hero .lead {
  margin: 0;
  color: var(--muted);
  max-width: 42rem;
  font-size: 1.05rem;
}
.breadcrumb {
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 0.75rem;
}
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--gold-2); }
.breadcrumb span { margin: 0 0.35rem; opacity: 0.5; }

/* Two col */
.two-col {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 1.5rem;
  align-items: start;
}
@media (max-width: 900px) {
  .two-col { grid-template-columns: 1fr; }
}

/* Footer */
.site-footer {
  margin-top: 1rem;
  border-top: 1px solid var(--line);
  background: rgba(4, 14, 40, 0.85);
  padding: 2.5rem 0 1.75rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}
@media (max-width: 800px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
}
.footer-brand {
  display: flex;
  gap: 0.75rem;
}
.footer-brand img {
  width: auto;
  height: 36px;
  max-width: 140px;
  object-fit: contain;
  border: 0;
  border-radius: 0;
  background: transparent;
}
.footer-brand strong {
  display: block;
  font-family: "Noto Serif SC", Georgia, serif;
  margin-bottom: 0.25rem;
}
.footer-brand p {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
}
.footer-col h4 {
  margin: 0 0 0.65rem;
  color: var(--gold);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.footer-col a {
  display: block;
  color: var(--muted);
  font-size: 0.9rem;
  padding: 0.2rem 0;
}
.footer-col a:hover { color: #fff; }
.footer-bottom {
  border-top: 1px solid var(--line-soft);
  padding-top: 1rem;
  color: var(--muted);
  font-size: 0.78rem;
  display: grid;
  gap: 0.4rem;
}

/* Mobile dock */
.mobile-dock {
  position: fixed;
  left: max(0.75rem, env(safe-area-inset-left));
  right: max(0.75rem, env(safe-area-inset-right));
  bottom: max(0.65rem, env(safe-area-inset-bottom));
  z-index: 60;
  display: none;
  grid-template-columns: 1fr 1fr;
  gap: 0.45rem;
  padding: 0.4rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(7, 26, 69, 0.96);
  backdrop-filter: blur(12px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}
.mobile-dock a {
  min-height: 46px;
  border-radius: 999px !important;
}

.desktop-only { display: inline-flex; }

/* Utilities */
.text-muted { color: var(--muted); }
.text-gold { color: var(--gold); }
.mb-0 { margin-bottom: 0; }
.mt-4 { margin-top: 1rem; }
.mt-6 { margin-top: 1.5rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }
.stack { display: grid; gap: 0.85rem; }

/* Long-form content blocks (homepage depth) */
.prose-block {
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.75;
  max-width: 72ch;
}
.prose-block p { margin: 0 0 1rem; }
.prose-block p:last-child { margin-bottom: 0; }
.prose-block a { font-weight: 700; }
.prose-block strong { color: var(--ink); font-weight: 700; }

.category-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
}
@media (min-width: 768px) {
  .category-grid { grid-template-columns: repeat(4, 1fr); }
}
.category-card {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 1.1rem 1rem;
  background: linear-gradient(165deg, rgba(22, 70, 160, 0.4), rgba(7, 26, 69, 0.85));
  min-height: 140px;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}
.category-card i {
  color: var(--gold);
  font-size: 1.25rem;
}
.category-card h3 {
  margin: 0;
  font-size: 1.05rem;
  color: var(--ink);
  font-family: "Noto Serif SC", Georgia, serif;
}
.category-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.45;
  flex: 1;
}

.compare-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}
.compare-table th,
.compare-table td {
  text-align: left;
  padding: 0.85rem 0.75rem;
  border-bottom: 1px solid var(--line-soft);
  vertical-align: top;
}
.compare-table th {
  color: var(--gold);
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: rgba(240, 193, 75, 0.06);
}
.compare-table td { color: var(--muted); }
.compare-table td strong { color: var(--ink); }
.table-scroll {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(8, 30, 80, 0.35);
}
.table-scroll .compare-table { min-width: 560px; }

/* Highlight / at-a-glance panel (replaces cramped stat boxes) */
.highlight-panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    radial-gradient(280px 120px at 0% 0%, rgba(240, 193, 75, 0.1), transparent 70%),
    rgba(8, 30, 80, 0.5);
  padding: 1.15rem 1.2rem;
}
.highlight-list {
  display: grid;
  gap: 0;
}
.highlight-item {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 0.8rem;
  align-items: center;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--line-soft);
}
.highlight-item:first-of-type {
  padding-top: 0.15rem;
}
.highlight-item:last-child {
  border-bottom: 0;
  padding-bottom: 0.15rem;
}
.highlight-ico {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  color: var(--gold-2);
  font-size: 1rem;
  background: radial-gradient(circle at 30% 25%, rgba(240, 193, 75, 0.22), rgba(8, 30, 80, 0.95));
  flex-shrink: 0;
}
.highlight-copy {
  min-width: 0;
}
.highlight-copy strong {
  display: block;
  font-family: "Noto Serif SC", Georgia, serif;
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.25;
  margin-bottom: 0.15rem;
}
.highlight-copy span {
  display: block;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.35;
}

/* Legacy stat boxes (kept if reused elsewhere) */
.stat-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.65rem;
}
@media (min-width: 700px) {
  .stat-row { grid-template-columns: repeat(4, 1fr); }
}
.stat-box {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 1rem 0.85rem;
  text-align: center;
  background: rgba(8, 30, 80, 0.45);
}
.stat-box strong {
  display: block;
  font-family: "Noto Serif SC", Georgia, serif;
  font-size: 1.35rem;
  color: var(--gold-2);
  margin-bottom: 0.25rem;
}
.stat-box span {
  color: var(--muted);
  font-size: 0.8rem;
  line-height: 1.35;
}

@media (max-width: 900px) {
  .prose-block { font-size: 0.92rem; line-height: 1.7; }
  .category-card { min-height: 0; padding: 0.95rem 0.85rem; }
  .category-card h3 { font-size: 0.98rem; }
  .category-card p { font-size: 0.8rem; }
}

/* ========== MOBILE UI OPTIMIZATION ========== */
@media (max-width: 1023px) {
  .mobile-dock { display: grid; }
  body { padding-bottom: calc(4.75rem + env(safe-area-inset-bottom)); }
  .desktop-only { display: none !important; }

  .site-nav {
    top: calc(4.5rem + env(safe-area-inset-top));
  }
  .site-nav a {
    min-height: 46px;
    display: flex;
    align-items: center;
    padding: 0.75rem 0.9rem;
    font-size: 0.95rem;
    border-radius: 12px;
  }
  .site-nav .btn-primary {
    min-height: 48px;
    margin-top: 0.35rem;
  }
}

@media (max-width: 900px) {
  .container {
    width: min(var(--max), calc(100% - 1.25rem));
  }

  .topbar {
    font-size: 0.72rem;
  }
  .topbar .container {
    justify-content: center;
    text-align: center;
    gap: 0.25rem;
    padding: 0.45rem 0;
  }

  .header-inner {
    min-height: 60px;
  }
  .brand img {
    width: auto;
    height: 32px;
    max-width: min(160px, 48vw);
    border: 0;
    border-radius: 0;
  }
  .nav-toggle {
    width: 42px;
    height: 42px;
  }

  /* Section spacing: tighter, less empty scroll */
  .section {
    padding: 1.75rem 0;
  }
  .section-head {
    margin-bottom: 1rem;
  }
  .section-head h2 {
    font-size: 1.45rem;
    line-height: 1.22;
  }
  .section-head p {
    font-size: 0.92rem;
  }

  .page-hero {
    padding: 1rem 0 0.25rem;
  }
  .page-hero h1 {
    font-size: clamp(1.55rem, 7vw, 2rem);
    margin: 0.4rem 0 0.55rem;
  }
  .page-hero .lead {
    font-size: 0.95rem;
  }
  .breadcrumb {
    font-size: 0.78rem;
    margin-bottom: 0.5rem;
  }

  /* Hero */
  .hero {
    padding: 1.15rem 0 0.75rem;
  }
  .hero-grid {
    gap: 1.1rem;
  }
  .hero h1 {
    font-size: clamp(1.65rem, 7.2vw, 2.15rem);
    margin: 0.45rem 0 0.7rem;
  }
  .hero .lead {
    font-size: 0.95rem;
    margin-bottom: 1rem;
    line-height: 1.55;
  }
  .kicker {
    font-size: 0.68rem;
    letter-spacing: 0.12em;
    gap: 0.4rem;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.55rem;
    margin-bottom: 0.9rem;
  }
  .hero-actions .btn-primary,
  .hero-actions .btn-ghost,
  .hero-actions .btn-lg {
    width: 100%;
    min-height: 48px;
    padding: 0.9rem 1rem;
    font-size: 0.95rem;
  }

  .hero-pills {
    gap: 0.4rem;
  }
  .pill {
    font-size: 0.72rem;
    padding: 0.35rem 0.6rem;
  }

  .hero-banner {
    aspect-ratio: 16 / 10;
    border-radius: 14px;
  }
  .hero-seal {
    width: 64px;
    height: 64px;
    right: 0.7rem;
    bottom: 0.7rem;
  }
  .hero-seal strong {
    font-size: 0.65rem;
  }

  /* Safety strip */
  .safety {
    font-size: 0.84rem;
    padding: 0.75rem 0.85rem;
    line-height: 1.45;
    margin-top: 0.25rem;
  }

  /* Platform download rows — keep button on the right, not full-width below */
  .platform-row {
    grid-template-columns: 44px minmax(0, 1fr) auto;
    gap: 0.6rem;
    padding: 0.85rem 0.1rem;
    align-items: center;
  }
  .platform-ico {
    width: 44px;
    height: 44px;
    font-size: 1.1rem;
  }
  .platform-row h3 {
    font-size: 1rem;
  }
  .platform-row p {
    font-size: 0.8rem;
    line-height: 1.35;
  }
  .platform-row .btn-primary,
  .platform-row .btn-ghost {
    grid-column: auto;
    width: auto;
    min-height: 40px;
    margin-top: 0;
    padding: 0.45rem 0.7rem;
    font-size: 0.8rem;
    white-space: nowrap;
  }

  /* Steps */
  .step-f {
    grid-template-columns: 42px 1fr;
    gap: 0.75rem;
    padding: 0.85rem 0;
  }
  .step-num {
    width: 40px;
    height: 40px;
    font-size: 0.95rem;
  }
  .step-f h3 {
    font-size: 0.98rem;
  }
  .step-f p {
    font-size: 0.86rem;
  }

  /* Banking coins: 2x2, denser */
  .method-strip {
    grid-template-columns: 1fr 1fr;
    gap: 0.55rem;
  }
  .method-coin {
    padding: 0.95rem 0.55rem;
    border-radius: 14px;
  }
  .method-coin .ico {
    width: 44px;
    height: 44px;
    font-size: 1rem;
    margin-bottom: 0.55rem;
  }
  .method-coin .ico--logo {
    width: 64px;
    height: 42px;
    padding: 5px 6px;
  }
  .pay-card-logo {
    width: 64px;
    height: 42px;
  }
  .method-coin strong {
    font-size: 1rem;
  }
  .method-coin span {
    font-size: 0.74rem;
    line-height: 1.3;
  }

  /* Providers: 2-col tiles, not giant single stack */
  .provider-grid {
    grid-template-columns: 1fr 1fr;
    gap: 0.6rem;
  }
  .provider-tile {
    min-height: 0;
    padding: 0.85rem 0.8rem 0.9rem;
    border-radius: 14px;
    gap: 0.55rem;
  }
  .provider-medal {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    font-size: 0.72rem;
  }
  .provider-medal img {
    padding: 5px;
  }
  .provider-tile h3 {
    font-size: 0.98rem;
  }
  .provider-tile p {
    font-size: 0.78rem;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  .provider-go {
    font-size: 0.75rem;
  }

  /* Category chips: horizontal scroll, no wrap mess */
  .chips {
    flex-wrap: nowrap;
    overflow-x: auto;
    gap: 0.4rem;
    margin-bottom: 0.85rem;
    padding-bottom: 0.25rem;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .chips::-webkit-scrollbar { display: none; }
  .chip-btn {
    flex: 0 0 auto;
    min-height: 38px;
    padding: 0.45rem 0.85rem;
    font-size: 0.76rem;
    white-space: nowrap;
  }

  /* Why list denser */
  .why-item {
    grid-template-columns: 36px 1fr;
    gap: 0.7rem;
    padding: 0.75rem 0;
  }
  .why-ico {
    width: 36px;
    height: 36px;
    font-size: 0.85rem;
  }
  .why-item h3 {
    font-size: 0.95rem;
  }
  .why-item p {
    font-size: 0.84rem;
  }

  /* FAQ easier to tap */
  .faq-item summary {
    padding: 0.95rem 0;
    font-size: 0.95rem;
    min-height: 48px;
    gap: 0.75rem;
  }
  .faq-item .faq-body {
    font-size: 0.88rem;
    padding-bottom: 0.9rem;
  }

  /* Panels / CTA */
  .panel-soft {
    padding: 1rem;
    border-radius: 14px;
  }
  .highlight-panel {
    padding: 1rem 0.95rem;
  }
  .highlight-item {
    grid-template-columns: 38px 1fr;
    gap: 0.7rem;
    padding: 0.65rem 0;
  }
  .highlight-ico {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    font-size: 0.92rem;
  }
  .highlight-copy strong {
    font-size: 0.96rem;
  }
  .highlight-copy span {
    font-size: 0.8rem;
  }
  .ornament-frame::before,
  .ornament-frame::after {
    width: 12px;
    height: 12px;
  }
  .ornament-frame::before {
    top: 6px;
    left: 6px;
  }
  .ornament-frame::after {
    right: 6px;
    bottom: 6px;
  }

  .cta-fortune {
    padding: 1.15rem 1rem;
    border-radius: 16px;
    gap: 0.85rem;
  }
  .cta-fortune h2 {
    font-size: 1.2rem;
  }
  .cta-fortune p {
    font-size: 0.88rem;
  }
  .cta-actions {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }
  .cta-actions .btn-primary,
  .cta-actions .btn-ghost {
    width: 100%;
    min-height: 46px;
  }

  .btn-primary,
  .btn-ghost {
    min-height: 44px;
  }

  /* Footer compact */
  .site-footer {
    padding: 1.75rem 0 1.25rem;
  }
  .footer-grid {
    gap: 1.1rem;
    margin-bottom: 1.1rem;
  }
  .footer-brand p {
    font-size: 0.82rem;
  }
  .footer-bottom {
    font-size: 0.72rem;
    line-height: 1.45;
  }

  .two-col {
    gap: 1rem;
  }

  .mt-6 { margin-top: 1.15rem; }
  .mb-6 { margin-bottom: 1.15rem; }
}

/* Very small phones */
@media (max-width: 380px) {
  .provider-grid {
    grid-template-columns: 1fr;
  }
  .method-strip {
    grid-template-columns: 1fr 1fr;
  }
  .hero h1 {
    font-size: 1.5rem;
  }
  .topbar .container > div:last-child {
    display: none;
  }
}

/* Landscape phones: less vertical padding */
@media (max-width: 900px) and (max-height: 480px) {
  .hero { padding: 0.75rem 0; }
  .section { padding: 1.25rem 0; }
  .hero-banner { aspect-ratio: 21 / 9; max-height: 160px; }
}
