:root {
    --bg: #07100d;
    --bg-soft: #0d1b16;
    --panel: rgba(15, 28, 22, 0.9);
    --panel-strong: rgba(18, 34, 27, 0.98);
    --panel-lite: rgba(255, 255, 255, 0.05);
    --text: #f7f5ea;
    --muted: #9aac9f;
    --accent: #a3f266;
    --accent-deep: #78d73d;
    --gold: #f4bf54;
    --alert: #ff7e67;
    --line: rgba(255, 255, 255, 0.1);
    --shadow: 0 30px 80px rgba(0, 0, 0, 0.35);
    --radius: 28px;
    --container: 1240px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100vh;
    font-family: 'Sora', sans-serif;
    color: var(--text);
    background:
        radial-gradient(circle at top left, rgba(163, 242, 102, 0.12), transparent 26%),
        radial-gradient(circle at right 10%, rgba(244, 191, 84, 0.12), transparent 18%),
        linear-gradient(180deg, #09140f 0%, #07100d 50%, #08140f 100%);
}

body::before {
    content: '';
    position: fixed;
    inset: 0;
    background:
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 54px 54px;
    mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.55), transparent 92%);
    pointer-events: none;
    z-index: 0;
}

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

button,
input,
select,
textarea {
    font: inherit;
}

button {
    border: 0;
}

.site-shell {
    position: relative;
    min-height: 100vh;
    overflow: hidden;
}

.site-glow {
    position: fixed;
    width: 320px;
    height: 320px;
    border-radius: 50%;
    filter: blur(90px);
    opacity: 0.22;
    pointer-events: none;
    z-index: 0;
}

.site-glow-a {
    top: -40px;
    left: -70px;
    background: var(--accent);
}

.site-glow-b {
    right: -50px;
    bottom: 12%;
    background: var(--gold);
}

.container {
    position: relative;
    z-index: 1;
    width: min(var(--container), calc(100% - 1.5rem));
    margin: 0 auto;
}

.topbar {
    position: sticky;
    top: 0;
    z-index: 20;
    padding: 18px 0 0;
    transition: padding 0.25s ease;
}

.topbar.is-scrolled {
    padding-top: 10px;
}

.utility-row {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    align-items: center;
    padding: 0 4px 12px;
    color: var(--muted);
    font-size: 0.76rem;
}

.utility-inline {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
}

.utility-copy {
    justify-content: flex-end;
}

.utility-row a:hover {
    color: var(--text);
}

.status-pill,
.chip,
.eyebrow,
.card-tag,
.market-note,
.live-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border-radius: 999px;
}

.status-pill {
    padding: 7px 12px;
    border: 1px solid rgba(163, 242, 102, 0.18);
    background: rgba(163, 242, 102, 0.08);
    color: var(--text);
}

.live-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--alert);
    box-shadow: 0 0 0 0 rgba(255, 126, 103, 0.55);
    animation: pulse 1.8s ease infinite;
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 16px 18px;
    border: 1px solid var(--line);
    border-radius: 24px;
    background: rgba(9, 17, 14, 0.82);
    backdrop-filter: blur(18px);
    box-shadow: var(--shadow);
    transition: background 0.25s ease, border-color 0.25s ease;
}

.topbar.is-scrolled .nav {
    background: rgba(9, 17, 14, 0.94);
    border-color: rgba(255, 255, 255, 0.12);
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}

.brand-mark,
h1,
h2,
h3,
.step-number,
.match-title,
.event-match,
.stat-card strong,
.scorebox strong {
    font-family: 'Bebas Neue', sans-serif;
    letter-spacing: 0.03em;
}

.brand-mark {
    width: 52px;
    height: 52px;
    display: grid;
    place-items: center;
    border-radius: 18px;
    background: linear-gradient(135deg, var(--accent), var(--gold));
    color: #08100d;
    font-size: 1.9rem;
    box-shadow: 0 18px 40px rgba(163, 242, 102, 0.24);
}

.brand-copy {
    min-width: 0;
}

.brand-copy strong {
    display: block;
    font-size: 1.02rem;
    font-weight: 700;
}

.brand-copy span {
    display: block;
    color: var(--muted);
    font-size: 0.78rem;
    line-height: 1.45;
}

.nav-links,
.nav-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav-links {
    flex-wrap: wrap;
    justify-content: center;
}

.nav-link {
    padding: 10px 14px;
    border-radius: 999px;
    color: var(--muted);
    font-size: 0.9rem;
    font-weight: 500;
    transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.nav-link:hover,
.nav-link.active {
    color: var(--text);
    background: rgba(163, 242, 102, 0.12);
    transform: translateY(-1px);
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 13px 18px;
    border-radius: 999px;
    border: 1px solid transparent;
    cursor: pointer;
    font-weight: 700;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.button:hover {
    transform: translateY(-2px);
}

.button-primary {
    color: #08100d;
    background: linear-gradient(135deg, var(--accent), var(--gold));
    box-shadow: 0 18px 36px rgba(163, 242, 102, 0.2);
}

.button-ghost {
    color: var(--text);
    border-color: var(--line);
    background: rgba(255, 255, 255, 0.03);
}

.menu-toggle {
    display: none;
    padding: 11px 14px;
    border-radius: 999px;
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.04);
    color: var(--text);
    cursor: pointer;
    font-weight: 700;
}

.hero,
.page-hero,
.section,
.cta-strip {
    position: relative;
}

.hero {
    padding: 34px 0 26px;
}

.page-hero {
    padding: 34px 0 20px;
}

.section {
    padding: 20px 0 26px;
}

.cta-strip {
    padding: 24px 0 22px;
}

.hero-shell,
.split-shell,
.split-shell-wide,
.grid-3,
.grid-4,
.sports-grid,
.event-grid,
.quote-grid,
.timeline,
.steps-grid,
.mini-board,
.stats-row,
.form-grid {
    display: grid;
    gap: 18px;
}

.hero-shell {
    grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
    align-items: stretch;
}

.split-shell {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
}

.split-shell-wide {
    grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
}

.grid-3,
.quote-grid,
.event-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid-4,
.sports-grid,
.timeline,
.steps-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.mini-board,
.stats-row {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.panel,
.panel-lite {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius);
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
}

.panel {
    padding: 28px;
    background: linear-gradient(180deg, rgba(19, 35, 28, 0.95), rgba(9, 17, 14, 0.92));
}

.panel::after,
.panel-lite::after {
    content: '';
    position: absolute;
    right: -42px;
    bottom: -42px;
    width: 160px;
    height: 160px;
    border-radius: 50%;
    border: 1px solid rgba(244, 191, 84, 0.12);
    pointer-events: none;
}

.panel-lite {
    padding: 22px;
    background: var(--panel-lite);
}

.hero-copy,
.hero-stack,
.stack {
    display: grid;
    gap: 18px;
    align-content: start;
}

.eyebrow,
.card-tag,
.chip,
.market-note {
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.eyebrow {
    width: fit-content;
    padding: 8px 14px;
    color: var(--accent);
    background: rgba(163, 242, 102, 0.07);
    border: 1px solid rgba(163, 242, 102, 0.12);
}

.chip-row,
.button-row {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.chip {
    padding: 9px 12px;
    color: var(--text);
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--line);
}

.card-tag,
.market-note {
    width: fit-content;
    padding: 8px 11px;
    color: var(--gold);
    background: rgba(244, 191, 84, 0.08);
    border: 1px solid rgba(244, 191, 84, 0.14);
}

.market-note {
    margin-top: auto;
}

h1,
h2,
h3 {
    margin: 0;
    line-height: 0.95;
    color: var(--text);
}

h1 {
    margin-top: 14px;
    font-size: clamp(3.8rem, 9vw, 6.8rem);
    max-width: 10ch;
}

h2 {
    font-size: clamp(2.3rem, 5vw, 4rem);
}

h3 {
    font-size: 1.7rem;
}

.page-hero-shell {
    padding: 42px;
}

.page-hero-shell h1 {
    max-width: 13ch;
}

.lede,
.panel p,
td,
.footer-note,
label {
    color: var(--muted);
    line-height: 1.75;
}

.board-copy {
    margin-top: -4px;
}

.section-heading {
    display: flex;
    justify-content: space-between;
    gap: 24px;
    align-items: end;
    margin-bottom: 22px;
}

.section-heading p {
    max-width: 560px;
    margin: 0;
}

.stat-card {
    min-height: 136px;
    display: grid;
    align-content: start;
    gap: 8px;
}

.stat-card strong,
.scorebox strong {
    display: block;
    font-size: 2.4rem;
    line-height: 1;
}

.hero-board {
    min-height: 100%;
    background:
        radial-gradient(circle at top right, rgba(163, 242, 102, 0.13), transparent 24%),
        linear-gradient(180deg, rgba(18, 34, 27, 0.98), rgba(8, 15, 12, 0.98));
}

.board-head,
.event-top {
    display: flex;
    justify-content: space-between;
    align-items: start;
    gap: 14px;
}

.board-league {
    color: var(--gold);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.match-title {
    margin-top: 10px;
    font-size: 3.4rem;
}

.live-badge {
    padding: 9px 12px;
    color: #fff1ed;
    background: rgba(255, 126, 103, 0.14);
    border: 1px solid rgba(255, 126, 103, 0.18);
    font-weight: 700;
}

.live-badge-soft {
    color: var(--text);
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--line);
}

.scoreline {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin: 24px 0;
}

.scorebox {
    padding: 16px;
    border-radius: 20px;
    text-align: center;
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.04);
}

.scorebox span {
    display: block;
    margin-bottom: 8px;
    color: var(--muted);
    font-size: 0.76rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.scorebox-mid strong {
    font-size: 2rem;
}

.odds-row {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}

.odds-row.compact {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 18px;
}

.odds-pill {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    width: 100%;
    padding: 14px 16px;
    border-radius: 18px;
    color: var(--text);
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--line);
    cursor: pointer;
    transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.odds-pill:hover {
    transform: translateY(-2px);
    border-color: rgba(163, 242, 102, 0.35);
    background: rgba(163, 242, 102, 0.08);
}

.odds-pill strong {
    color: var(--accent);
    font-size: 1.02rem;
}

.mini-card,
.info-card,
.feature-card,
.quote-card,
.timeline-card,
.step-card,
.sport-card,
.event-card,
.form-panel {
    display: grid;
    gap: 12px;
    align-content: start;
}

.sport-card {
    min-height: 220px;
}

.sport-icon {
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    border-radius: 16px;
    background: rgba(163, 242, 102, 0.12);
    color: var(--accent);
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.8rem;
}

.event-match {
    font-size: 2.2rem;
}

.accent-card {
    background:
        radial-gradient(circle at top right, rgba(244, 191, 84, 0.16), transparent 22%),
        linear-gradient(160deg, rgba(22, 38, 31, 0.98), rgba(11, 19, 15, 0.98));
}

.bullet-list {
    list-style: none;
    padding: 0;
    margin: 6px 0 0;
    display: grid;
    gap: 14px;
}

.bullet-list li {
    position: relative;
    padding-left: 20px;
    color: var(--muted);
    line-height: 1.7;
}

.bullet-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.7em;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent), var(--gold));
}

.table-wrap {
    overflow-x: auto;
    border-radius: 26px;
    border: 1px solid var(--line);
    background: rgba(10, 17, 14, 0.92);
    box-shadow: var(--shadow);
}

table {
    width: 100%;
    min-width: 760px;
    border-collapse: collapse;
}

th,
td {
    padding: 18px 20px;
    text-align: left;
    border-bottom: 1px solid var(--line);
}

th {
    color: var(--gold);
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.16em;
}

tbody tr:last-child td {
    border-bottom: 0;
}

.form-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

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

label {
    display: block;
    margin-bottom: 8px;
    font-size: 0.84rem;
    font-weight: 600;
}

input,
select,
textarea {
    width: 100%;
    padding: 14px 15px;
    border-radius: 16px;
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.04);
    color: var(--text);
}

input::placeholder,
textarea::placeholder {
    color: #74887d;
}

textarea {
    min-height: 130px;
    resize: vertical;
}

.step-number {
    display: inline-flex;
    width: fit-content;
    padding: 8px 12px;
    border-radius: 999px;
    color: #08100d;
    background: linear-gradient(135deg, var(--accent), var(--gold));
    font-size: 1.2rem;
}

.cta-panel {
    display: flex;
    justify-content: space-between;
    gap: 24px;
    align-items: center;
}

.site-footer {
    padding: 0 0 34px;
}

.footer-panel {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(220px, 0.8fr) minmax(220px, 0.8fr);
    gap: 20px;
    align-items: start;
}

.footer-copy {
    display: grid;
    gap: 14px;
}

.footer-note {
    font-size: 0.86rem;
}

.footer-links {
    display: grid;
    gap: 10px;
    margin-top: 14px;
    color: var(--muted);
}

.footer-links a:hover {
    color: var(--text);
}

[data-reveal='1'] {
    animation: rise 0.7s ease both;
}

[data-reveal='2'] {
    animation: rise 0.7s ease 0.12s both;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 126, 103, 0.55);
    }
    70% {
        box-shadow: 0 0 0 12px rgba(255, 126, 103, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(255, 126, 103, 0);
    }
}

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

@media (max-width: 1080px) {
    .hero-shell,
    .split-shell,
    .split-shell-wide,
    .grid-4,
    .sports-grid,
    .timeline,
    .steps-grid,
    .footer-panel {
        grid-template-columns: 1fr;
    }

    .grid-3,
    .event-grid,
    .quote-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .cta-panel {
        flex-direction: column;
        align-items: start;
    }
}

@media (max-width: 920px) {
    .topbar {
        padding-top: 12px;
    }

    .utility-row {
        flex-direction: column;
        align-items: start;
        padding-bottom: 10px;
    }

    .nav {
        align-items: start;
        flex-wrap: wrap;
    }

    .nav-links,
    .nav-actions {
        display: none;
        width: 100%;
        flex-direction: column;
        align-items: stretch;
    }

    .nav.mobile-open .nav-links,
    .nav.mobile-open .nav-actions {
        display: flex;
    }

    .nav.mobile-open .nav-links {
        padding-top: 10px;
        border-top: 1px solid var(--line);
    }

    .nav-link,
    .button {
        justify-content: center;
    }

    .menu-toggle {
        display: inline-flex;
        margin-left: auto;
    }

    .stats-row,
    .mini-board,
    .scoreline,
    .odds-row,
    .form-grid,
    .grid-3,
    .event-grid,
    .quote-grid {
        grid-template-columns: 1fr;
    }

    .odds-row.compact {
        grid-template-columns: 1fr;
    }

    h1 {
        font-size: clamp(3rem, 13vw, 5rem);
    }

    .page-hero-shell,
    .panel,
    .panel-lite {
        padding: 22px;
    }
}

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

    .brand-copy span {
        display: none;
    }

    .utility-inline {
        gap: 10px;
    }

    .button-row {
        width: 100%;
    }

    .button-row .button {
        width: 100%;
    }
}
