/* =========================================================
   Singbet — Professional Asian Handicap & Credit Platform
   Domain: singbet.bet
   ========================================================= */
:root {
  --bg: #050507;
  --bg-elevated: #0c0c11;
  --bg-card: rgba(18, 16, 12, 0.78);
  --gold: #d4af37;
  --gold-soft: #f2d98a;
  --gold-deep: #a8892a;
  --gold-glow: rgba(212, 175, 55, 0.35);
  --border: rgba(212, 175, 55, 0.28);
  --text: #ffffff;
  --muted: rgba(255, 255, 255, 0.78);
  --muted-2: rgba(255, 255, 255, 0.52);
  --success: #3dd68c;
  --input: #141418;
  --input-h: #1c1c22;
  --wa: #25d366;
  --wa-d: #128c7e;
  --tg: #2aabee;
  --tg-d: #229ed9;
  --radius: 16px;
  --header: 74px;
  --max: 1120px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header) + 12px);
}

body {
  margin: 0;
  font-family: "Montserrat", system-ui, -apple-system, Segoe UI, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-text-size-adjust: 100%;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--gold); text-decoration: none; transition: color .2s var(--ease); }
a:hover { color: var(--gold-soft); }
strong { color: #fff; font-weight: 700; }
p { margin: 0 0 1rem; color: var(--muted); }
ul { margin: 0; padding-left: 1.15em; color: var(--muted); line-height: 1.9; }

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

/* ---------- Skip link (a11y + SEO) ---------- */
.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--gold);
  color: #000;
  padding: 10px 16px;
  z-index: 9999;
  font-weight: 800;
}
.skip-link:focus { left: 12px; top: 12px; }

/* ---------- Particles ---------- */
#particles {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

/* ---------- Header (fully transparent) ---------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--header);
  background: transparent;
  border-bottom: none;
  box-shadow: none;
  /* Use top instead of transform so entry animation cannot block hide */
  transform: none;
  transition: top 0.28s var(--ease), opacity 0.28s var(--ease), visibility 0.28s;
  will-change: top, opacity;
}

/* Hide menu while scrolling down — !important beats any leftover animation */
.site-header.is-hidden {
  top: calc(var(--header) * -1 - 12px) !important;
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

@media (prefers-reduced-motion: reduce) {
  .site-header {
    transition: none;
  }
}

.header-inner {
  height: var(--header);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  position: relative;
  z-index: 2;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--gold) !important;
  min-width: 0;
}

.brand:hover { color: var(--gold-soft) !important; }

/* Inline crown logo — always visible (no <use> gradient bug) */
.logo-crown {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  display: block;
  overflow: visible;
  filter: drop-shadow(0 2px 10px rgba(0, 0, 0, 0.55)) drop-shadow(0 0 12px var(--gold-glow));
  animation: logoPulse 3.5s ease-in-out infinite;
}

.logo-crown .crown-main { fill: #d4af37; }
.logo-crown .crown-shine { fill: #f2d98a; opacity: 0.85; }
.logo-crown .crown-jewel { fill: #fff6c8; }
.logo-crown .crown-band { fill: #d4af37; }
.logo-crown .crown-band-edge { fill: #f2d98a; opacity: 0.7; }

@keyframes logoPulse {
  0%, 100% {
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.5)) drop-shadow(0 0 8px var(--gold-glow));
    transform: scale(1);
  }
  50% {
    filter: drop-shadow(0 2px 10px rgba(0, 0, 0, 0.55)) drop-shadow(0 0 16px rgba(242, 217, 138, 0.55));
    transform: scale(1.04);
  }
}

.brand-text { display: flex; flex-direction: column; line-height: 1.1; text-align: left; }
.brand-name {
  font-weight: 900;
  font-size: 1.2rem;
  letter-spacing: 0.08em;
  color: #f2d98a;
  text-shadow:
    0 1px 2px rgba(0, 0, 0, 0.9),
    0 2px 12px rgba(0, 0, 0, 0.65),
    0 0 20px rgba(212, 175, 55, 0.35);
}
.brand-tag {
  font-size: 0.65rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-top: 3px;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.85);
}

.nav {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.2);
}

.nav a {
  color: #ffffff;
  font-weight: 700;
  font-size: 0.84rem;
  padding: 9px 12px;
  border-radius: 999px;
  transition: background .2s, color .2s, transform .2s, box-shadow .2s;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.75);
  border: 1px solid transparent;
}

.nav a:hover,
.nav a.active {
  color: #fff8d0;
  background: rgba(212, 175, 55, 0.22);
  border-color: rgba(212, 175, 55, 0.45);
  box-shadow: 0 0 16px rgba(212, 175, 55, 0.15);
}

.nav-cta {
  background: linear-gradient(90deg, var(--gold), var(--gold-soft)) !important;
  color: #000 !important;
  font-weight: 800 !important;
  margin-left: 2px;
  text-shadow: none !important;
  border-color: transparent !important;
  box-shadow: 0 6px 18px rgba(212, 175, 55, 0.35) !important;
}

.nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(212, 175, 55, 0.45) !important;
  color: #000 !important;
}

.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(242, 217, 138, 0.55);
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: var(--gold);
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 0;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.35);
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--gold);
  border-radius: 2px;
  transition: transform .25s var(--ease), opacity .2s;
}

.nav-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  padding: 14px 28px;
  border-radius: 999px;
  border: 0;
  cursor: pointer;
  font-family: inherit;
  font-weight: 800;
  font-size: 0.95rem;
  line-height: 1.2;
  text-decoration: none !important;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), opacity .2s;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn-gold {
  background: linear-gradient(90deg, var(--gold), var(--gold-soft));
  color: #000 !important;
  box-shadow: 0 10px 28px rgba(212, 175, 55, 0.28);
}

.btn-outline {
  background: transparent;
  color: var(--gold) !important;
  border: 2px solid var(--gold);
}

.btn-wa {
  background: linear-gradient(135deg, var(--wa), var(--wa-d));
  color: #fff !important;
  box-shadow: 0 8px 22px rgba(37, 211, 102, 0.28);
}

.btn-tg {
  background: linear-gradient(135deg, var(--tg), var(--tg-d));
  color: #fff !important;
  box-shadow: 0 8px 22px rgba(42, 171, 238, 0.28);
}

.btn svg { width: 20px; height: 20px; fill: currentColor; flex-shrink: 0; }

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  z-index: 1;
  min-height: min(92vh, 900px);
  display: flex;
  align-items: center;
  padding: calc(var(--header) + 28px) 0 72px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(5,5,7,.55) 0%, rgba(5,5,7,.72) 45%, rgba(5,5,7,.96) 100%),
    linear-gradient(90deg, rgba(5,5,7,.75) 0%, rgba(5,5,7,.35) 50%, rgba(5,5,7,.8) 100%),
    url("https://images.unsplash.com/photo-1574629810360-7efbbe195018?auto=format&fit=crop&w=1920&q=80") center/cover no-repeat;
  transform: scale(1.05);
  animation: heroZoom 22s ease-in-out infinite alternate;
}

@keyframes heroZoom {
  from { transform: scale(1.05); }
  to { transform: scale(1.12); }
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 50% at 50% 40%, rgba(212,175,55,.12), transparent 70%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 860px;
  margin: 0 auto;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(0, 0, 0, 0.4);
  color: var(--gold-soft);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 20px;
  animation: fadeUp .8s var(--ease) both;
}

.hero h1 {
  margin: 0 0 16px;
  color: var(--gold);
  font-weight: 900;
  font-size: clamp(1.75rem, 5vw, 3rem);
  line-height: 1.15;
  text-shadow: 0 8px 40px rgba(0, 0, 0, 0.55);
  animation: fadeUp .85s .08s var(--ease) both;
}

.hero-slogan {
  font-size: clamp(1rem, 2.4vw, 1.2rem);
  color: var(--gold-soft);
  font-weight: 700;
  margin: 0 0 14px;
  animation: fadeUp .85s .14s var(--ease) both;
}

.hero-lead {
  font-size: clamp(0.98rem, 2vw, 1.08rem);
  color: rgba(255, 255, 255, 0.86);
  line-height: 1.8;
  margin: 0 auto 28px;
  max-width: 720px;
  animation: fadeUp .85s .2s var(--ease) both;
}

.hero .btn-row { animation: fadeUp .85s .28s var(--ease) both; }

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 36px;
  animation: fadeUp .9s .36s var(--ease) both;
}

.stat {
  padding: 16px 12px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(8px);
}

.stat b {
  display: block;
  color: var(--gold);
  font-size: 1.15rem;
  font-weight: 900;
  margin-bottom: 4px;
}

.stat span {
  font-size: 0.78rem;
  color: var(--muted-2);
  font-weight: 600;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ---------- Reveal on scroll ---------- */
.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: .08s; }
.reveal-delay-2 { transition-delay: .16s; }
.reveal-delay-3 { transition-delay: .24s; }
.reveal-delay-4 { transition-delay: .32s; }

/* ---------- Sections ---------- */
.section {
  position: relative;
  z-index: 1;
  padding: 84px 0;
}

.section-alt {
  background: linear-gradient(180deg, transparent, rgba(212,175,55,.03), transparent);
}

.section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 36px;
}

.section-kicker {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 10px;
}

.section-title {
  margin: 0 0 12px;
  color: var(--gold);
  font-weight: 900;
  font-size: clamp(1.4rem, 3.2vw, 2rem);
  line-height: 1.25;
}

.section-lead {
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.8;
}

.divider {
  height: 1px;
  border: 0;
  margin: 0;
  background: linear-gradient(90deg, transparent, var(--border), transparent);
}

/* ---------- Cards / grid ---------- */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 22px;
  margin-bottom: 16px;
  text-align: left;
  backdrop-filter: blur(10px);
  transition: transform .3s var(--ease), border-color .3s, box-shadow .3s;
}

.card:hover {
  transform: translateY(-4px);
  border-color: rgba(212, 175, 55, 0.45);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(212,175,55,.08);
}

.card h3 {
  margin: 0 0 10px;
  color: var(--gold);
  font-size: 1.08rem;
  font-weight: 900;
}

.badge {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #000;
  background: linear-gradient(90deg, var(--gold), var(--gold-soft));
  padding: 5px 12px;
  border-radius: 999px;
  margin-bottom: 12px;
}

.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.feature-card {
  text-align: left;
  padding: 26px 22px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: linear-gradient(160deg, rgba(212,175,55,.08), rgba(0,0,0,.35));
  transition: transform .3s var(--ease), box-shadow .3s;
  height: 100%;
}

.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
}

.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  margin-bottom: 14px;
  background: rgba(212, 175, 55, 0.12);
  border: 1px solid var(--border);
  font-size: 1.35rem;
}

.feature-card h3 {
  margin: 0 0 10px;
  color: var(--gold-soft);
  font-size: 1.05rem;
  font-weight: 800;
}

.feature-card p {
  margin: 0;
  font-size: 0.94rem;
  line-height: 1.75;
}

.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.cond-card {
  background: rgba(0, 0, 0, 0.28);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 20px 18px;
  transition: transform .3s var(--ease);
}

.cond-card:hover { transform: translateY(-3px); }

.cond-card h3 {
  margin: 0 0 10px;
  color: var(--gold-soft);
  font-size: 1rem;
}

.audience-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.audience-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 16px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: rgba(0, 0, 0, 0.25);
  transition: transform .25s var(--ease), border-color .25s;
}

.audience-item:hover {
  transform: translateY(-3px);
  border-color: rgba(212, 175, 55, 0.5);
}

.audience-item .ico {
  font-size: 1.25rem;
  flex-shrink: 0;
}

.audience-item h4 {
  margin: 0 0 4px;
  color: var(--gold);
  font-size: 0.95rem;
  font-weight: 800;
}

.audience-item p {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.6;
}

.benefit-list { display: grid; gap: 12px; }

.benefit {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 14px 16px;
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.28);
  border: 1px solid rgba(212, 175, 55, 0.14);
  transition: transform .25s var(--ease);
}

.benefit:hover { transform: translateX(4px); }
.benefit .ico { font-size: 1.2rem; flex-shrink: 0; }
.benefit p { margin: 0; font-size: 0.94rem; }

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  counter-reset: step;
}

.step {
  position: relative;
  padding: 24px 18px 20px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--bg-card);
  text-align: left;
  transition: transform .3s var(--ease);
}

.step:hover { transform: translateY(-4px); }

.step::before {
  counter-increment: step;
  content: counter(step);
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  margin-bottom: 12px;
  font-weight: 900;
  color: #000;
  background: linear-gradient(135deg, var(--gold), var(--gold-soft));
  box-shadow: 0 0 20px var(--gold-glow);
}

.step h3 {
  margin: 0 0 8px;
  color: var(--gold);
  font-size: 1rem;
}

.step p { margin: 0; font-size: 0.9rem; }

/* ---------- Form ---------- */
.form-wrap {
  max-width: 880px;
  margin: 0 auto;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 22px 30px;
  color-scheme: dark;
  box-shadow: var(--shadow);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px 16px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 7px;
  min-width: 0;
}

.field.full { grid-column: 1 / -1; }

.field label {
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1.4;
  word-break: break-word;
}

.req { color: #ff6b6b; }

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 50px;
  padding: 13px 14px;
  border-radius: 12px;
  border: 1px solid rgba(212, 175, 55, 0.38);
  background: var(--input);
  color: #f5f5f5;
  font-family: inherit;
  font-size: 16px;
  line-height: 1.45;
  outline: none;
  -webkit-appearance: none;
  appearance: none;
  transition: border-color .2s, box-shadow .2s, background .2s;
}

.field input::placeholder,
.field textarea::placeholder {
  color: rgba(255, 255, 255, 0.36);
  opacity: 1;
}

.field input:hover,
.field select:hover,
.field textarea:hover {
  background: var(--input-h);
  border-color: rgba(212, 175, 55, 0.55);
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--gold);
  background: #1c1c22;
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.15);
  color: #fff;
}

.field select {
  background-image:
    linear-gradient(45deg, transparent 50%, var(--gold) 50%),
    linear-gradient(135deg, var(--gold) 50%, transparent 50%);
  background-position: calc(100% - 16px) calc(50% - 3px), calc(100% - 10px) calc(50% - 3px);
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
  background-color: var(--input);
  padding-right: 42px;
  cursor: pointer;
}

.field select option,
.field select optgroup {
  background: #141418;
  color: #f5f5f5;
}

.field select optgroup {
  color: var(--gold);
  font-weight: 800;
}

.field textarea {
  min-height: 120px;
  resize: vertical;
  white-space: pre-wrap;
}

.field .hint {
  margin: 0;
  font-size: 0.76rem;
  color: var(--muted-2);
  line-height: 1.45;
}

.field input:-webkit-autofill {
  -webkit-text-fill-color: #f5f5f5 !important;
  -webkit-box-shadow: 0 0 0 1000px #141418 inset !important;
  transition: background-color 99999s ease-in-out 0s;
}

.form-actions {
  margin-top: 26px;
  text-align: center;
}

.action-label {
  display: block;
  color: var(--gold);
  font-weight: 700;
  font-size: 0.86rem;
  margin: 18px 0 10px;
}

.send-note {
  font-size: 0.85rem;
  color: var(--muted-2);
  margin: 14px 0 0;
  line-height: 1.6;
}

.result-box {
  display: none;
  margin-top: 22px;
  padding: 22px 16px;
  border-radius: var(--radius);
  border: 1px solid rgba(61, 214, 140, 0.4);
  background: rgba(61, 214, 140, 0.08);
  text-align: center;
  animation: fadeUp .5s var(--ease) both;
}

.result-box.show { display: block; }

.result-box h3 {
  margin: 0 0 10px;
  color: var(--success);
  font-size: 1.1rem;
}

.copy-status {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  color: #000;
  background: linear-gradient(90deg, var(--gold), var(--gold-soft));
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 12px;
}

.copy-status.fail {
  background: rgba(255, 107, 107, 0.18);
  color: #ffb4b4;
  border: 1px solid rgba(255, 107, 107, 0.4);
}

.guide {
  text-align: left;
  max-width: 540px;
  margin: 0 auto 12px;
  font-size: 0.92rem;
  color: var(--muted);
}

.guide ol { margin: 8px 0 0; padding-left: 1.25em; }
.guide li { margin-bottom: 6px; }

.preview-box {
  margin: 12px 0;
  padding: 14px;
  background: rgba(0, 0, 0, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  text-align: left;
  font-size: 0.86rem;
  line-height: 1.7;
  white-space: pre-wrap;
  word-break: break-word;
  color: rgba(255, 255, 255, 0.92);
  max-height: 240px;
  overflow-y: auto;
  font-family: ui-monospace, Consolas, monospace;
  user-select: text;
  -webkit-user-select: text;
}

.legal-note {
  text-align: center;
  font-size: 0.84rem;
  color: var(--muted-2);
  margin-top: 18px;
}

/* ---------- FAQ ---------- */
.faq details {
  max-width: 860px;
  margin: 0 auto 12px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px 18px;
  text-align: left;
  transition: border-color .25s, transform .25s var(--ease);
}

.faq details[open] {
  border-color: rgba(212, 175, 55, 0.5);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}

.faq summary {
  cursor: pointer;
  font-weight: 700;
  color: var(--gold);
  outline: none;
  list-style: none;
  position: relative;
  padding-right: 28px;
}

.faq summary::-webkit-details-marker { display: none; }

.faq summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 0;
  color: var(--gold-soft);
  font-weight: 900;
  transition: transform .25s;
}

.faq details[open] summary::after {
  content: "−";
}

.faq details p {
  margin: 12px 0 0;
  animation: fadeUp .35s var(--ease) both;
}

/* ---------- Access links ---------- */
.site-block {
  max-width: 720px;
  margin: 0 auto 20px;
  padding: 24px 18px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--bg-card);
  text-align: center;
}

.site-block h3 {
  margin: 0 0 6px;
  color: var(--gold);
  font-size: 1.15rem;
}

.site-desc {
  margin: 0 0 14px;
  font-size: 0.9rem;
  color: var(--muted);
}

.line-label {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #000;
  background: linear-gradient(90deg, var(--gold), var(--gold-soft));
  padding: 5px 12px;
  border-radius: 999px;
  margin: 12px 0;
}

.sites-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 14px;
  max-width: 560px;
  margin: 0 auto 6px;
}

.site-link {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: rgba(0, 0, 0, 0.35);
  color: var(--gold) !important;
  font-weight: 700;
  font-size: 0.95rem;
  transition: transform .2s var(--ease), background .2s, border-color .2s;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

.site-link:hover {
  transform: translateY(-2px);
  background: rgba(212, 175, 55, 0.12);
  border-color: var(--gold);
  color: var(--gold-soft) !important;
}

/* ---------- CTA band ---------- */
.cta-band {
  position: relative;
  z-index: 1;
  padding: 72px 0;
  text-align: center;
  background:
    radial-gradient(ellipse 80% 80% at 50% 50%, rgba(212,175,55,.12), transparent 70%),
    linear-gradient(180deg, transparent, rgba(212,175,55,.04), transparent);
}

/* ---------- Footer ---------- */
.site-footer {
  position: relative;
  z-index: 1;
  border-top: 1px solid var(--border);
  background: #08080b;
  padding: 36px 0 28px;
  text-align: center;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--gold) !important;
  font-weight: 900;
  letter-spacing: 0.06em;
  margin-bottom: 12px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  justify-content: center;
  margin: 12px 0 14px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.86rem;
  font-weight: 600;
}

.site-footer p {
  margin: 0;
  font-size: 0.84rem;
  color: var(--muted-2);
}

/* ---------- Toast ---------- */
.toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  transform: translateX(-50%) translateY(16px);
  z-index: 300;
  background: linear-gradient(90deg, var(--gold), var(--gold-soft));
  color: #000;
  font-weight: 800;
  font-size: 0.88rem;
  padding: 12px 20px;
  border-radius: 999px;
  opacity: 0;
  pointer-events: none;
  max-width: 92vw;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
  transition: opacity .25s, transform .25s var(--ease);
}

.toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .features {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  /* Icon left + copy right — saves vertical space */
  .feature-card {
    display: grid;
    grid-template-columns: 44px 1fr;
    grid-template-rows: auto auto;
    column-gap: 12px;
    row-gap: 4px;
    padding: 14px 14px;
    align-items: start;
  }

  .feature-icon {
    grid-row: 1 / span 2;
    width: 40px;
    height: 40px;
    margin-bottom: 0;
    font-size: 1.15rem;
    border-radius: 12px;
  }

  .feature-card h3 {
    margin: 0;
    font-size: 0.95rem;
    align-self: end;
  }

  .feature-card p {
    font-size: 0.86rem;
    line-height: 1.55;
  }

  .steps {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .step {
    display: grid;
    grid-template-columns: 36px 1fr;
    column-gap: 12px;
    row-gap: 2px;
    padding: 14px;
    align-items: start;
  }

  .step::before {
    grid-row: 1 / span 2;
    margin-bottom: 0;
    width: 32px;
    height: 32px;
    font-size: 0.9rem;
  }

  .step h3 {
    margin: 0;
    font-size: 0.95rem;
    align-self: end;
  }

  .step p {
    font-size: 0.84rem;
    line-height: 1.5;
  }

  /* Keep 3 stats in one row on tablet/phone */
  .hero-stats {
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin-top: 22px;
  }

  .stat {
    padding: 10px 6px;
  }

  .stat b {
    font-size: 0.78rem;
    margin-bottom: 2px;
    line-height: 1.25;
  }

  .stat span {
    font-size: 0.65rem;
    line-height: 1.3;
    display: block;
  }

  .nav-toggle { display: flex; }

  /* Mobile panel: solid dark panel — high contrast, easy to read */
  .nav {
    position: fixed;
    top: var(--header);
    left: 12px;
    right: 12px;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    padding: 16px;
    border-radius: 18px;
    background: #121218;
    background: linear-gradient(180deg, #1a1a22 0%, #0e0e14 100%);
    border: 1px solid rgba(212, 175, 55, 0.55);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    box-shadow:
      0 20px 50px rgba(0, 0, 0, 0.75),
      0 0 0 1px rgba(0, 0, 0, 0.4),
      inset 0 1px 0 rgba(255, 255, 255, 0.06);
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: transform .28s var(--ease), opacity .28s;
  }

  .nav.is-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav a {
    padding: 15px 16px;
    border-radius: 12px;
    text-align: left;
    font-size: 0.98rem;
    font-weight: 700;
    color: #ffffff !important;
    text-shadow: none;
    background: #1e1e28;
    border: 1px solid rgba(255, 255, 255, 0.12);
  }

  .nav a:hover,
  .nav a.active {
    color: #fff8d0 !important;
    background: rgba(212, 175, 55, 0.22);
    border-color: rgba(212, 175, 55, 0.55);
  }

  .nav-cta {
    margin-left: 0;
    text-align: center !important;
    justify-content: center;
    color: #000 !important;
    background: linear-gradient(90deg, var(--gold), var(--gold-soft)) !important;
    border-color: transparent !important;
  }
}

/* Footer logo size */
.footer-brand .logo-crown {
  width: 30px;
  height: 30px;
  animation: none;
}

@media (max-width: 700px) {
  :root {
    --header: 70px;
  }

  .grid-2,
  .form-grid {
    grid-template-columns: 1fr;
  }

  /* Keep 2 columns for denser lists (sites + audience) */
  .sites-grid {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }

  .audience-grid {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .section {
    padding: 40px 0;
  }

  .section-head {
    margin-bottom: 20px;
  }

  .section-title {
    font-size: 1.28rem;
  }

  .section-lead {
    font-size: 0.9rem;
    line-height: 1.65;
  }

  .card {
    padding: 14px 14px;
    margin-bottom: 10px;
  }

  .card h3 {
    font-size: 0.98rem;
  }

  .card p {
    font-size: 0.88rem;
    line-height: 1.6;
    margin-bottom: 0.65rem;
  }

  .cond-card {
    padding: 14px;
  }

  .audience-item {
    padding: 12px;
    gap: 10px;
    align-items: center;
  }

  .audience-item .ico {
    font-size: 1.1rem;
    width: 1.4em;
    text-align: center;
  }

  .audience-item h4 {
    font-size: 0.9rem;
    margin-bottom: 2px;
  }

  .audience-item p {
    font-size: 0.8rem;
    line-height: 1.45;
  }

  .benefit {
    padding: 11px 12px;
    gap: 10px;
    align-items: center;
  }

  .benefit .ico {
    font-size: 1.05rem;
  }

  .benefit p {
    font-size: 0.86rem;
    line-height: 1.5;
  }

  .site-block {
    padding: 16px 12px;
    margin-bottom: 14px;
  }

  .site-link {
    min-height: 42px;
    padding: 10px 6px;
    font-size: 0.84rem;
  }

  .badge {
    margin-bottom: 8px;
    font-size: 0.65rem;
    padding: 4px 10px;
  }

  /* Keep clear gap under fixed logo / header on mobile */
  .hero {
    min-height: auto;
    padding: calc(var(--header) + 28px) 0 40px;
  }

  .hero h1 {
    font-size: 1.45rem;
  }

  .hero-slogan {
    font-size: 0.95rem;
    margin-bottom: 10px;
  }

  .hero-lead {
    font-size: 0.9rem;
    line-height: 1.65;
    margin-bottom: 18px;
  }

  .hero-content {
    padding-top: 4px;
  }

  .hero-badge {
    margin-top: 0;
    margin-bottom: 12px;
    padding: 6px 12px;
    font-size: 0.7rem;
  }

  .hero-stats {
    margin-top: 18px;
  }

  .btn-row {
    flex-direction: column;
    gap: 8px;
  }

  .btn {
    width: 100%;
    min-height: 46px;
    padding: 12px 18px;
    font-size: 0.9rem;
  }

  .form-wrap {
    padding: 16px 12px 18px;
  }

  .form-grid {
    gap: 12px;
  }

  .field label {
    font-size: 0.8rem;
  }

  .field input,
  .field select,
  .field textarea {
    min-height: 46px;
    padding: 11px 12px;
  }

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

  html {
    scroll-padding-top: calc(var(--header) + 20px);
  }

  .cta-band {
    padding: 40px 0;
  }

  .faq details {
    padding: 12px 14px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  #particles { display: none; }
  .reveal { opacity: 1; transform: none; }
}
