/* ---------- design tokens ---------- */
:root {
    --bg: #0a0e12;
    --bg-elevated: #12181f;
    --bg-elevated-2: #1a222c;
    --border: #232c37;
    --text-primary: #eef2f5;
    --text-secondary: #93a1ad;
    --text-dim: #5d6b78;

    --green: #35e28a;      /* CTAs, positive signals */
    --green-dim: #1c7a4d;  /* muted/credible green */
    --blue: #3d6bff;       /* trust accent -- confidence meters, stat tiles */
    --blue-dim: #12224f;
    --gold: #e0b23d;       /* premium accent -- Lock of the Week only */
    --gold-dim: #4a3c15;
    --red: #e2515b;

    --radius: 10px;
    --radius-lg: 16px;
    --shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
    --font: -apple-system, BlinkMacSystemFont, 'Segoe UI', Inter, Roboto, sans-serif;
    --font-mono: 'SF Mono', SFMono-Regular, Consolas, 'Liberation Mono', Menlo, monospace;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    background: var(--bg);
    color: var(--text-primary);
    font-family: var(--font);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

.wrap {
    max-width: 1080px;
    margin: 0 auto;
    padding: 0 24px;
}

.eyebrow {
    display: block;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--green);
    margin-bottom: 12px;
}

section { padding: 72px 0; }

h1, h2, h3 { margin: 0; line-height: 1.15; }

.section-title {
    text-align: center;
    font-size: clamp(1.5rem, 3vw, 2.1rem);
    font-weight: 800;
    letter-spacing: -0.01em;
    margin-bottom: 12px;
}

.section-sub {
    text-align: center;
    color: var(--text-secondary);
    max-width: 620px;
    margin: 0 auto 44px;
    font-size: 0.98rem;
}

/* ---------- nav ---------- */
.nav {
    position: sticky;
    top: 0;
    z-index: 40;
    background: rgba(10, 14, 18, 0.85);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
}
.nav .wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
}
.brand {
    font-weight: 800;
    font-size: 1.05rem;
    letter-spacing: -0.01em;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
}
.nav-links {
    display: flex;
    gap: 28px;
    font-size: 0.88rem;
    color: var(--text-secondary);
}
.nav-links a { text-decoration: none; transition: color .15s; }
.nav-links a:hover { color: var(--text-primary); }
@media (max-width: 640px) { .nav-links { display: none; } }

/* ---------- hero ---------- */
.hero {
    padding: 88px 0 64px;
    text-align: center;
    background:
        radial-gradient(ellipse 60% 50% at 50% 0%, rgba(61, 107, 255, 0.14), transparent 60%),
        radial-gradient(ellipse 50% 40% at 80% 20%, rgba(53, 226, 138, 0.08), transparent 60%);
}
.hero h1 {
    font-size: clamp(2.2rem, 6vw, 3.6rem);
    font-weight: 900;
    letter-spacing: -0.02em;
}
.hero h1 .accent { color: var(--green); }
.hero p.lead {
    max-width: 600px;
    margin: 20px auto 32px;
    color: var(--text-secondary);
    font-size: 1.05rem;
}
.hero-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 13px 26px;
    border-radius: 999px;
    font-weight: 700;
    font-size: 0.92rem;
    text-decoration: none;
    border: 1px solid transparent;
    cursor: pointer;
    transition: transform .15s ease, box-shadow .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--green); color: #06170f; box-shadow: 0 0 0 1px rgba(53,226,138,.35), 0 8px 20px rgba(53,226,138,.18); }
.btn-primary:hover { box-shadow: 0 0 0 1px rgba(53,226,138,.5), 0 10px 26px rgba(53,226,138,.28); }
.btn-ghost { background: transparent; color: var(--text-primary); border-color: var(--border); }
.btn-ghost:hover { border-color: var(--text-secondary); }

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 48px;
    margin-top: 52px;
    flex-wrap: wrap;
}
.hero-stat { text-align: center; }
.hero-stat .num { font-family: var(--font-mono); font-size: 1.8rem; font-weight: 700; color: var(--green); }
.hero-stat .num.blue { color: var(--blue); }
.hero-stat .label { font-size: 0.76rem; color: var(--text-dim); text-transform: uppercase; letter-spacing: 0.08em; margin-top: 4px; }

/* ---------- weekly board ---------- */
.board-meta {
    text-align: center;
    color: var(--text-secondary);
    font-size: 0.88rem;
    margin-bottom: 28px;
    font-family: var(--font-mono);
}
.board {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}
.board-empty {
    text-align: center;
    color: var(--text-secondary);
    padding: 40px 20px;
    border: 1px dashed var(--border);
    border-radius: var(--radius-lg);
    grid-column: 1 / -1;
}

/* flip card */
.pick-card { perspective: 1200px; height: 240px; }
.pick-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transition: transform .6s cubic-bezier(.4,.2,.2,1);
    transform-style: preserve-3d;
    cursor: pointer;
}
.pick-card.flipped .pick-card-inner { transform: rotateY(180deg); }
.pick-card-face {
    position: absolute;
    inset: 0;
    backface-visibility: hidden;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    background: var(--bg-elevated);
    padding: 18px 20px;
    display: flex;
    flex-direction: column;
}
.pick-card-back { transform: rotateY(180deg); background: var(--bg-elevated-2); }

.pick-card-top { display: flex; justify-content: space-between; align-items: center; font-size: 0.76rem; color: var(--text-dim); font-family: var(--font-mono); }
.matchup { margin-top: 14px; }
.matchup .team {
    font-size: 1.02rem;
    font-weight: 700;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.matchup .at { color: var(--text-dim); font-size: 0.78rem; margin: 2px 0; }
.tap-hint { margin-top: auto; font-size: 0.72rem; color: var(--text-dim); text-align: center; }

.badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 0.7rem;
    font-weight: 700;
    white-space: nowrap;
}
.badge-lock { background: var(--gold-dim); color: var(--gold); }
.badge-strong_lean { background: var(--blue-dim); color: #8fa6ff; }
.badge-slight_edge { background: rgba(53,226,138,0.12); color: var(--green); }

.pick-card-back .bet-line { font-size: 1.3rem; font-weight: 800; margin-top: 8px; }
.pick-card-back .bet-type { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-dim); margin-top: 4px; }

.meter { margin-top: auto; }
.meter-label { display: flex; justify-content: space-between; font-size: 0.72rem; color: var(--text-dim); margin-bottom: 6px; font-family: var(--font-mono); }
.meter-track { height: 6px; border-radius: 4px; background: var(--bg); overflow: hidden; }
.meter-fill { height: 100%; border-radius: 4px; transition: width .5s ease; }
.meter-fill.lock { background: var(--gold); }
.meter-fill.strong_lean { background: var(--blue); }
.meter-fill.slight_edge { background: var(--green); }

/* ---------- spin wheel ---------- */
.spin-section {
    background: var(--bg-elevated);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    padding: 48px 32px;
    display: flex;
    align-items: center;
    gap: 48px;
    flex-wrap: wrap;
    justify-content: center;
}
.spin-copy { flex: 1 1 320px; min-width: 260px; }
.spin-copy p { color: var(--text-secondary); font-size: 0.95rem; }
.wheel-wrap { position: relative; width: 220px; height: 220px; flex-shrink: 0; }
.wheel {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: conic-gradient(
        var(--gold) 0deg 60deg,
        var(--blue) 60deg 150deg,
        var(--green) 150deg 240deg,
        var(--bg-elevated-2) 240deg 300deg,
        var(--blue) 300deg 360deg
    );
    border: 4px solid var(--border);
    transition: transform 3.2s cubic-bezier(.15,.8,.25,1);
    position: relative;
}
.wheel-pointer {
    position: absolute;
    top: -6px;
    left: 50%;
    transform: translateX(-50%);
    width: 0; height: 0;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-top: 16px solid var(--text-primary);
    z-index: 2;
}
.spin-result {
    margin-top: 16px;
    min-height: 24px;
    font-family: var(--font-mono);
    font-size: 0.9rem;
    color: var(--green);
}

/* ---------- track record ---------- */
.stat-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}
@media (max-width: 760px) { .stat-grid { grid-template-columns: repeat(2, 1fr); } }
.stat-tile {
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 22px;
    text-align: center;
}
.stat-tile .num { font-family: var(--font-mono); font-size: 1.6rem; font-weight: 700; color: var(--blue); }
.stat-tile .label { font-size: 0.76rem; color: var(--text-dim); margin-top: 6px; }
.stat-footnote { text-align: center; color: var(--text-dim); font-size: 0.76rem; margin-top: 18px; }

/* ---------- tier explainer ---------- */
.tier-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 800px) { .tier-grid { grid-template-columns: 1fr; } }
.tier-card {
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 24px;
}
.tier-card p { color: var(--text-secondary); font-size: 0.88rem; margin: 12px 0 0; }

/* ---------- footer ---------- */
.site-footer {
    border-top: 1px solid var(--border);
    padding: 48px 0 32px;
    color: var(--text-dim);
    font-size: 0.82rem;
}
.site-footer .brand { margin-bottom: 10px; }
.disclaimer {
    max-width: 720px;
    margin: 28px auto 0;
    text-align: center;
    font-size: 0.76rem;
    line-height: 1.6;
}

.cta-band {
    text-align: center;
    background: linear-gradient(180deg, var(--bg-elevated), var(--bg));
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding: 64px 0;
}
.cta-band h2 { font-size: clamp(1.4rem, 3vw, 2rem); margin-bottom: 12px; }
.cta-band p { color: var(--text-secondary); margin-bottom: 26px; }
