/* WeBall Club — marketing site styles. Brand tokens mirror @weball-club/ui-tokens (dark). */

:root {
  --bg: #0A0A0A;
  --surface: #141009;
  --surface-hi: #181308;
  --surface2: #221B0E;
  --gold: #D4AF37;
  --gold-bright: #F4D770;
  --gold-deep: #A9842B;
  --line: rgba(212, 175, 55, 0.16);
  --line-strong: rgba(212, 175, 55, 0.32);
  --line-soft: rgba(255, 255, 255, 0.07);
  --text: #F6F1E3;
  --text-dim: rgba(246, 241, 227, 0.58);
  --text-mute: rgba(246, 241, 227, 0.36);
  --on-gold: #1A1306;
  --green: #3FC873;
  --maxw: 1080px;
  --display: "Saira", system-ui, sans-serif;
  --body: "Plus Jakarta Sans", system-ui, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

.shield { height: 1em; width: auto; display: inline-block; vertical-align: middle; }

.gold-text {
  background: linear-gradient(180deg, var(--gold-bright), var(--gold-deep));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--display);
  font-weight: 800;
  font-size: 15px;
  letter-spacing: 0.3px;
  padding: 14px 26px;
  border-radius: 16px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.12s ease, opacity 0.12s ease;
}
.btn:active { transform: translateY(1px) scale(0.99); }
.btn-gold {
  color: var(--on-gold);
  background: linear-gradient(180deg, #F6DC86 0%, #D9B441 52%, #B8902C 100%);
  box-shadow: 0 10px 30px -10px rgba(212, 175, 55, 0.5);
}
.btn-ghost {
  color: var(--gold-bright);
  background: var(--surface);
  border-color: var(--line-strong);
}

/* ---------- nav ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(12px);
  background: rgba(10, 10, 10, 0.72);
  border-bottom: 1px solid var(--line-soft);
}
.nav .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 66px;
}
.brand { display: flex; align-items: center; gap: 10px; }
.brand .shield { height: 28px; }
.brand .word {
  font-family: var(--display);
  font-weight: 800;
  letter-spacing: 2.4px;
  font-size: 15px;
}
.nav-links { display: flex; align-items: center; gap: 26px; }
.nav-links a { color: var(--text-dim); font-weight: 600; font-size: 14px; }
.nav-links a:hover { color: var(--text); }
.nav-links .btn { padding: 9px 18px; font-size: 13px; }

/* ---------- hero ---------- */
.hero { position: relative; padding: 96px 0 80px; text-align: center; }
.hero::before {
  content: "";
  position: absolute;
  inset: -10% 0 auto 0;
  height: 70%;
  background: radial-gradient(60% 100% at 50% 0%, rgba(212, 175, 55, 0.18), transparent 70%);
  pointer-events: none;
}
.hero .eyebrow {
  display: inline-block;
  font-family: var(--display);
  font-weight: 700;
  letter-spacing: 2px;
  font-size: 12px;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid var(--line-strong);
  background: var(--surface);
  padding: 7px 14px;
  border-radius: 999px;
  margin-bottom: 26px;
}
.hero h1 {
  font-family: var(--display);
  font-weight: 900;
  font-size: clamp(38px, 7vw, 68px);
  line-height: 1.04;
  letter-spacing: -0.5px;
  max-width: 14ch;
  margin: 0 auto;
}
.hero p.sub {
  margin: 22px auto 0;
  max-width: 52ch;
  color: var(--text-dim);
  font-size: clamp(16px, 2.2vw, 19px);
}
.cta-row {
  margin-top: 34px;
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}
.store-note { margin-top: 16px; color: var(--text-mute); font-size: 13px; }

/* ---------- sections ---------- */
section { padding: 72px 0; }
.section-head { text-align: center; max-width: 56ch; margin: 0 auto 48px; }
.section-head .kicker {
  font-family: var(--display);
  font-weight: 700;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  font-size: 12px;
  color: var(--gold);
}
.section-head h2 {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(28px, 4.5vw, 40px);
  line-height: 1.1;
  margin-top: 10px;
}
.section-head p { margin-top: 14px; color: var(--text-dim); }

/* ---------- feature grid ---------- */
.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 26px;
}
.card .ico {
  width: 50px;
  height: 50px;
  border-radius: 14px;
  background: rgba(212, 175, 55, 0.12);
  border: 1px solid var(--line-strong);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  color: var(--gold-bright);
}
.card .ico svg { width: 24px; height: 24px; }
.card h3 { font-family: var(--display); font-weight: 700; font-size: 19px; }
.card p { margin-top: 8px; color: var(--text-dim); font-size: 15px; }

/* ---------- steps ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.step { position: relative; padding: 26px; }
.step .num {
  font-family: var(--display);
  font-weight: 900;
  font-size: 44px;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1.5px var(--line-strong);
}
.step h3 { font-family: var(--display); font-weight: 700; font-size: 20px; margin-top: 12px; }
.step p { margin-top: 8px; color: var(--text-dim); }

/* ---------- cta band ---------- */
.band {
  text-align: center;
  background: linear-gradient(180deg, var(--surface-hi), var(--surface));
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: 56px 28px;
}
.band h2 {
  font-family: var(--display);
  font-weight: 900;
  font-size: clamp(28px, 4.5vw, 42px);
}
.band p { color: var(--text-dim); margin-top: 12px; }

/* ---------- footer ---------- */
footer { border-top: 1px solid var(--line-soft); padding: 44px 0 56px; }
footer .wrap { display: flex; flex-direction: column; gap: 18px; align-items: center; text-align: center; }
footer .links { display: flex; gap: 22px; flex-wrap: wrap; justify-content: center; }
footer .links a { color: var(--text-dim); font-size: 14px; }
footer .links a:hover { color: var(--text); }
footer .tag {
  font-family: var(--display);
  font-weight: 700;
  letter-spacing: 3px;
  font-size: 11px;
  color: var(--gold);
}
footer .fine { color: var(--text-mute); font-size: 13px; }

/* ---------- prose (privacy / support) ---------- */
.prose { max-width: 760px; margin: 0 auto; padding: 56px 20px 80px; }
.prose h1 { font-family: var(--display); font-weight: 900; font-size: clamp(30px, 5vw, 44px); }
.prose h2 { font-family: var(--display); font-weight: 700; font-size: 24px; margin-top: 38px; }
.prose h3 { font-family: var(--display); font-weight: 700; font-size: 18px; margin-top: 24px; }
.prose p, .prose li { color: var(--text-dim); margin-top: 12px; }
.prose ul { margin-top: 8px; padding-left: 22px; }
.prose li { margin-top: 6px; }
.prose strong { color: var(--text); font-weight: 600; }
.prose .updated { color: var(--text-mute); font-size: 14px; margin-top: 6px; }
.prose table { width: 100%; border-collapse: collapse; margin-top: 18px; font-size: 14px; }
.prose th, .prose td { border: 1px solid var(--line-soft); padding: 9px 12px; text-align: left; }
.prose th { color: var(--text); font-family: var(--display); font-weight: 700; }
.back-link { color: var(--gold-bright); font-weight: 600; font-size: 14px; }

/* ---------- responsive ---------- */
@media (max-width: 820px) {
  .grid, .steps { grid-template-columns: 1fr; }
  .nav-links { gap: 16px; }
  .nav-links a:not(.btn) { display: none; }
  section { padding: 56px 0; }
}
