:root {
    color-scheme:dark;
    --bg:#0b111c;
    --panel:#131d2b;
    --border:#263344;
    --text:#eaf0f5;
    --muted:#91a0b2;
    --lime:#c3f65a;
    --red:#ff7182
}

* {
    box-sizing:border-box
}

html {
    scroll-behavior:smooth
}

body {
    margin:0;
    background:var(--bg);
    color:var(--text);
    font:15px/1.6 Inter,system-ui,-apple-system,Segoe UI,sans-serif
}

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

a:hover {
    color:var(--lime)
}

.container {
    max-width:1160px;
    margin:auto;
    padding:0 24px
}

.header {
    border-bottom:1px solid var(--border);
    background:#0d1622
}

.nav {
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:18px;
    min-height:78px
}

.brand {
    display:flex;
    align-items:center;
    gap:10px;
    font-size:21px;
    font-weight:900;
    letter-spacing:-.6px;
    white-space:nowrap
}

.accent {
    color:var(--lime)
}

nav {
    display:flex;
    gap:27px
}

nav a {
    color:#aebdca;
    font-weight:600
}

nav .selected {
    color:var(--lime)
}

.hero {
    padding:74px 0 52px
}

.hero.compact {
    padding:60px 0 35px
}

.eyebrow {
    font-size:11px;
    letter-spacing:2px;
    font-weight:800;
    color:var(--lime)
}

h1 {
    font-size:clamp(34px,5vw,60px);
    line-height:1.14;
    letter-spacing:-2px;
    margin:14px 0 18px
}

h2 {
    font-size:23px;
    letter-spacing:-.5px;
    margin:4px 0
}

p {
    color:var(--muted)
}

.hero p {
    font-size:17px;
    margin:0
}

.dot {
    display:inline-block;
    width:7px;
    height:7px;
    background:var(--lime);
    border-radius:50%;
    margin-right:7px;
    box-shadow:0 0 12px #b7ef65
}

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

.metric {
    background:var(--panel);
    border:1px solid var(--border);
    border-radius:12px;
    padding:21px 23px;
    min-width:0
}

.metric small {
    display:block;
    color:var(--muted);
    font-weight:700;
    letter-spacing:1.2px;
    font-size:11px
}

.metric strong {
    display:block;
    font-size:31px;
    line-height:1.4;
    margin-top:6px;
    font-variant-numeric:tabular-nums
}

.positive {
    color:var(--lime)
}

.negative {
    color:var(--red)
}

.section {
    margin:48px 0
}

.section-head {
    display:flex;
    justify-content:space-between;
    align-items:end;
    gap:15px;
    margin-bottom:18px
}

.count {
    font-size:12px;
    border-radius:20px;
    background:#273549;
    color:#cad7e5;
    padding:4px 10px;
    vertical-align:middle
}

.live {
    font-size:12px;
    color:var(--muted)
}

.table-wrap {
    overflow-x:auto;
    border:1px solid var(--border);
    border-radius:12px;
    background:var(--panel)
}

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

th {
    text-align:left;
    color:#a7b5c7;
    background:#182435;
    text-transform:uppercase;
    font-size:10px;
    letter-spacing:1.2px;
    padding:14px 17px
}

td {
    padding:15px 17px;
    border-top:1px solid var(--border);
    vertical-align:middle
}

td.num,th.num {
    text-align:right;
    font-variant-numeric:tabular-nums
}

.match {
    font-weight:700
}

.sub {
    color:var(--muted);
    font-size:12px
}

.badge {
    display:inline-block;
    padding:3px 10px;
    border-radius:5px;
    font-size:10px;
    letter-spacing:.8px;
    font-weight:800;
    background:#2d3a4c;
    color:#d4dfe8
}

.badge.won {
    background:#243f30;
    color:#b9f389
}

.badge.lost {
    background:#482935;
    color:#ff9aa5
}

.badge.open {
    background:#2c3c43;
    color:#c3f65a
}

.note {
    font-size:13px;
    margin-top:13px
}

.note a {
    text-decoration:underline;
    color:var(--lime)
}

.filters {
    display:flex;
    gap:14px;
    margin:4px 0 25px
}

.filters label {
    display:flex;
    flex-direction:column;
    gap:7px;
    color:var(--muted);
    font-size:11px;
    font-weight:800;
    letter-spacing:1px
}

.filters select {
    min-width:215px;
    background:var(--panel);
    border:1px solid var(--border);
    color:var(--text);
    border-radius:8px;
    padding:12px;
    font:inherit;
    letter-spacing:0
}

.stats-grid {
    grid-template-columns:repeat(4,1fr)
}

.contact-card {
    max-width:560px;
    border:1px solid var(--border);
    background:var(--panel);
    padding:32px;
    border-radius:14px;
    margin-bottom:100px
}

.cta {
    display:inline-block;
    margin-top:15px;
    background:var(--lime);
    color:#111827;
    border-radius:8px;
    padding:12px 20px;
    font-weight:800
}

.cta:hover {
    color:#111827;
    background:#d9ff94
}

.footer {
    border-top:1px solid var(--border);
    margin-top:70px
}

.footer-inner {
    display:flex;
    justify-content:space-between;
    gap:15px;
    color:var(--muted);
    font-size:12px;
    padding-top:24px;
    padding-bottom:24px
}

@media(max-width:850px) {
    .metrics,.stats-grid {
    grid-template-columns:repeat(2,1fr)
}

.hero {
    padding-top:50px
}

.section {
    margin:36px 0
}


}

@media(max-width:520px) {
    .container {
    padding:0 16px
}

.nav {
    min-height:70px
}

.brand {
    font-size:17px
}

.brand img {
    width:34px;
    height:34px
}

nav {
    gap:13px
}

nav a {
    font-size:13px
}

.metric {
    padding:16px
}

.metric strong {
    font-size:25px
}

.hero p {
    font-size:15px
}

.filters {
    flex-direction:column
}

.filters select {
    width:100%
}

.section-head {
    align-items:start;
    flex-direction:column
}

.footer-inner {
    flex-direction:column
}


}

/* Mobile tips: switch from a wide table to compact two-column cards.
   The desktop table and the Stats page remain unchanged. */
@media (max-width: 700px) {
    .tips-table {
        min-width: 0;
        width: 100%;
        display: block;
    }

    .tips-table thead {
        display: none;
    }

    .tips-table tbody {
        display: grid;
        gap: 10px;
        padding: 10px;
    }

    .tips-table tbody tr {
        display: grid;
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
        gap: 10px 14px;
        padding: 14px;
        border: 1px solid var(--border);
        border-radius: 10px;
        background: var(--panel);
        min-width: 0;
    }

    .tips-table tbody td {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        justify-content: center;
        gap: 2px;
        min-width: 0;
        padding: 0;
        border: 0;
        overflow-wrap: anywhere;
        text-align: left;
        font-size: 13px;
    }

    .tips-table tbody td[data-label]::before {
        content: attr(data-label);
        color: var(--muted);
        font-size: 10px;
        font-weight: 700;
        letter-spacing: .8px;
        text-transform: uppercase;
    }

    .tips-table tbody .tip-match {
        grid-column: 1 / -1;
        padding-bottom: 10px;
        border-bottom: 1px solid var(--border);
    }

    .tips-table tbody .tip-match .match {
        font-size: 15px;
    }

    .tips-table tbody .tip-pick {
        grid-column: 1;
    }

    .tips-table tbody .tip-odds {
        grid-column: 2;
        font-weight: 700;
        font-variant-numeric: tabular-nums;
    }

    .tips-table tbody .tip-status {
        grid-column: 1 / -1;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        padding-top: 9px;
        border-top: 1px solid var(--border);
    }

    .tips-table tbody td.empty {
        grid-column: 1 / -1;
        display: block;
        color: var(--muted);
        text-align: center;
    }

    .tips-table tbody td.empty::before {
        content: none;
    }
}
