/* ==== GOVANCOUVER 2026 DESIGN SYSTEM ==== */

@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@400;600;700;800;900&family=Barlow:wght@300;400;500;600&display=swap');

/* ==== CSS VARIABLES ==== */
:root {
    --green-dark: #0D3D2B;
    --gold: #C9A84C;
    --red: #C8102E;
    --white: #FFFFFF;
    --off-white: #FAF8F4;
    --border: #E5E0D8;
    --text: #111111;
    --text-muted: #999999;
    --text-light: #666666;
}

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

html, body {
    font-family: 'Barlow', sans-serif;
    color: var(--text);
    background: var(--white);
    line-height: 1.6;
}

a {
    color: var(--gold);
    text-decoration: none;
    transition: color 0.2s;
}

a:hover {
    color: var(--green-dark);
}

/* ==== TYPOGRAPHY ==== */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 700;
}

h1 {
    font-size: 64px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: -0.02em;
    line-height: 0.95;
}

h2 {
    font-size: 36px;
    font-weight: 800;
    text-transform: uppercase;
}

h3 {
    font-size: 22px;
    font-weight: 800;
    text-transform: uppercase;
}

p {
    font-weight: 300;
    line-height: 1.7;
}

.text-muted {
    color: var(--text-muted);
}

.text-light {
    color: var(--text-light);
}

.uppercase {
    text-transform: uppercase;
}

.eyebrow {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.25em;
    color: var(--gold);
}

/* ==== TOP BAR ==== */
.top-bar {
    background: var(--green-dark);
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 28px;
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.top-bar-left {
    color: rgba(255, 255, 255, 0.45);
}

.top-bar-right {
    display: flex;
    gap: 0;
}

.lang-link {
    color: rgba(255, 255, 255, 0.6);
    padding: 0 12px;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
    cursor: pointer;
    transition: color 0.2s;
}

.lang-link:last-child {
    border-right: none;
}

.lang-link:hover,
.lang-link.active {
    color: var(--gold);
}

/* ==== NAVBAR ==== */
nav {
    background: var(--white);
    border-bottom: 1px solid var(--border);
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 28px;
}

.nav-logo {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 20px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: -0.02em;
}

.nav-logo-go {
    color: var(--white);
    background: var(--green-dark);
    padding: 2px 8px;
}

.nav-logo-vancouver {
    color: var(--gold);
}

.nav-links {
    display: flex;
    gap: 0;
    align-items: center;
    flex: 1;
    margin: 0 40px;
}

.nav-link {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: #555;
    padding: 0 18px;
    border-right: 1px solid var(--border);
    cursor: pointer;
    transition: color 0.2s;
}

.nav-link:last-child {
    border-right: none;
}

.nav-link:hover,
.nav-link.active {
    color: var(--green-dark);
}

.nav-button {
    padding: 10px 20px;
    background: var(--red);
    color: var(--white);
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    border: none;
    cursor: pointer;
    transition: background 0.2s;
}

.nav-button:hover {
    background: #8a0820;
}

/* ==== HERO ==== */
.hero {
    position: relative;
    height: 500px;
    background: var(--green-dark);
    background-image: url('https://images.unsplash.com/photo-1559511260-66a654ae982a?w=1600&q=85');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to right, rgba(13, 61, 43, 0.92) 0%, rgba(13, 61, 43, 0.7) 45%, rgba(0, 0, 0, 0.2) 100%);
    z-index: 1;
}

.hero-inner {
    position: relative;
    z-index: 2;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 28px;
}

.hero-content {
    max-width: 580px;
}

.hero h1 {
    color: var(--white);
    margin: 20px 0;
}

.hero .eyebrow {
    display: block;
    margin-bottom: 20px;
}

.hero-subtitle {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.65);
    margin-bottom: 30px;
    font-weight: 300;
}

.hero-buttons {
    display: flex;
    gap: 12px;
    margin-bottom: 40px;
}

.btn-primary {
    padding: 12px 24px;
    background: var(--gold);
    color: var(--green-dark);
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    border: none;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-primary:hover {
    background: var(--white);
}

.btn-ghost {
    padding: 12px 24px;
    background: transparent;
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.4);
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-ghost:hover {
    border-color: var(--white);
}

.hero-countdown {
    position: absolute;
    bottom: 20px;
    right: 28px;
    background: rgba(0, 0, 0, 0.75);
    padding: 20px 28px;
    color: var(--white);
}

.countdown-label {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.4);
    margin-bottom: 12px;
}

.countdown-numbers {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin-bottom: 12px;
}

.countdown-unit {
    text-align: center;
}

.countdown-num {
    display: block;
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 40px;
    font-weight: 900;
    color: var(--white);
    line-height: 1;
}

.countdown-unit-label {
    display: block;
    font-size: 8px;
    color: rgba(255, 255, 255, 0.4);
    margin-top: 4px;
    text-transform: uppercase;
    font-weight: 600;
}

.countdown-match {
    font-size: 11px;
    color: var(--gold);
}

/* ==== QUICKLINKS STRIP ==== */
.quicklinks {
    background: var(--green-dark);
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border-bottom: 1px solid var(--green-dark);
}

.quicklinks-inner {
    display: flex;
    padding: 0;
}

.quicklink {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: rgba(255, 255, 255, 0.55);
    padding: 13px 18px;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
    white-space: nowrap;
    cursor: pointer;
    transition: color 0.2s;
}

.quicklink:hover {
    color: var(--gold);
}

.quicklink.highlight {
    color: var(--gold);
}

/* ==== MAIN LAYOUT ==== */
.container {
    display: grid;
    grid-template-columns: 1fr 300px;
    max-width: 1400px;
    margin: 0 auto;
    gap: 0;
}

.main-column {
    border-right: 1px solid var(--border);
}

.sidebar {
    background: var(--off-white);
}

/* ==== SECTION BAND ==== */
.section-band {
    background: var(--green-dark);
    padding: 28px;
    color: var(--white);
}

.section-band h2 {
    color: var(--white);
    margin: 0;
}

.section-band-sub {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.6);
    margin-top: 6px;
    font-weight: 300;
}

/* ==== GROUP LABEL ==== */
.group-label {
    background: var(--off-white);
    border-bottom: 2px solid var(--gold);
    padding: 14px 28px;
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--gold);
    margin-top: 50px;
}

.group-label:first-of-type {
    margin-top: 0;
}

/* ==== MATCH GRID ==== */
.matches-grid {
    display: grid;
    grid-template-columns: 180px 1fr 180px 200px;
    gap: 0;
}

.match-card {
    display: contents;
}

.match-home,
.match-center,
.match-away,
.match-actions {
    padding: 16px 28px;
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
}

.match-home {
    border-right: none;
}

.match-home,
.match-away {
    flex-direction: column;
    text-align: center;
    gap: 4px;
}

.match-flag {
    font-size: 24px;
    line-height: 1;
}

.match-team {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
}

.match-center {
    flex-direction: column;
    justify-content: center;
    gap: 4px;
}

.match-date {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
}

.match-meta {
    font-size: 11px;
    color: var(--text-muted);
}

.match-away {
    text-align: right;
}

.match-actions {
    justify-content: flex-end;
    gap: 12px;
    flex-wrap: wrap;
}

.match-card:hover .match-home,
.match-card:hover .match-center,
.match-card:hover .match-away,
.match-card:hover .match-actions {
    background: var(--off-white);
}

.days-badge {
    background: var(--green-dark);
    color: var(--gold);
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    padding: 6px 12px;
}

.bet-link {
    background: transparent;
    color: var(--red);
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    border: none;
    cursor: pointer;
    text-decoration: underline;
}

.bet-link:hover {
    color: #8a0820;
}

.match-card.opacity-50 {
    opacity: 0.6;
}

/* ==== SIDEBAR ==== */
.sidebar-block {
    padding: 24px;
    border-bottom: 1px solid var(--border);
    background: var(--off-white);
}

.sidebar-block.dark {
    background: var(--green-dark);
    color: var(--white);
}

.sidebar-block h3 {
    color: var(--gold);
    margin-bottom: 8px;
    font-size: 16px;
}

.sidebar-block.dark h3 {
    color: var(--gold);
}

.sidebar-body {
    font-size: 13px;
    font-weight: 300;
    line-height: 1.6;
    margin-bottom: 16px;
}

.sidebar-block.dark .sidebar-body {
    color: rgba(255, 255, 255, 0.65);
}

.sidebar-button {
    display: block;
    width: 100%;
    padding: 12px;
    background: var(--gold);
    color: var(--green-dark);
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    border: none;
    cursor: pointer;
    text-align: center;
    transition: all 0.2s;
}

.sidebar-button:hover {
    background: var(--white);
}

.sidebar-block.dark .sidebar-button {
    background: var(--gold);
    color: var(--green-dark);
}

.sidebar-meta {
    font-size: 11px;
    color: var(--text-muted);
    margin-top: 12px;
    font-weight: 400;
}

.sidebar-block.dark .sidebar-meta {
    color: rgba(255, 255, 255, 0.4);
}

.provider-pills {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 12px;
}

.pill {
    padding: 6px 10px;
    border: 1px solid #ccc;
    font-size: 11px;
    font-weight: 500;
}

/* ==== SURREY BANNER ==== */
.surrey-banner {
    background: var(--off-white);
    border-left: 4px solid var(--gold);
    padding: 50px 28px;
    margin: 80px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    position: relative;
}

.surrey-banner::before {
    content: 'SURREY';
    position: absolute;
    right: 28px;
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 120px;
    font-weight: 900;
    color: rgba(13, 61, 43, 0.03);
    line-height: 0.9;
    z-index: 0;
}

.surrey-content {
    position: relative;
    z-index: 1;
    flex: 1;
}

.surrey-tag {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--red);
    margin-bottom: 8px;
}

.surrey-banner h2 {
    font-size: 28px;
    margin-bottom: 12px;
}

.surrey-body {
    font-size: 14px;
    color: var(--text-light);
    font-weight: 300;
}

.surrey-button {
    padding: 12px 24px;
    background: transparent;
    color: var(--gold);
    border: 2px solid var(--gold);
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.2s;
}

.surrey-button:hover {
    background: var(--gold);
    color: var(--green-dark);
}

/* ==== STATS BAR ==== */
.stats-bar {
    border-top: 3px solid var(--gold);
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    text-align: center;
    padding: 50px 28px;
    background: var(--white);
}

.stat {
    padding: 20px;
}

.stat-number {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 36px;
    font-weight: 900;
    color: var(--green-dark);
    margin-bottom: 8px;
}

.stat-label {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    color: var(--text-muted);
    letter-spacing: 0.1em;
}

/* ==== FOOTER ==== */
footer {
    background: #111;
    color: var(--white);
    padding: 40px 28px;
}

.footer-top {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid #333;
}

.footer-logo {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 14px;
    font-weight: 900;
    text-transform: uppercase;
}

.footer-buttons {
    display: flex;
    gap: 12px;
}

.footer-btn {
    padding: 10px 20px;
    background: var(--gold);
    color: var(--green-dark);
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    border: none;
    cursor: pointer;
    transition: all 0.2s;
}

.footer-btn:hover {
    background: var(--white);
}

.footer-btn-ghost {
    background: transparent;
    color: var(--white);
    border: 1px solid var(--gold);
}

.footer-btn-ghost:hover {
    background: var(--gold);
    color: var(--green-dark);
}

.footer-nav {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 30px;
    padding-bottom: 30px;
    border-bottom: 1px solid #333;
}

.footer-nav a {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    color: #555;
    transition: color 0.2s;
}

.footer-nav a:hover {
    color: var(--gold);
}

.footer-legal {
    max-width: 1400px;
    margin: 0 auto;
    text-align: center;
    font-size: 11px;
    color: #666;
    line-height: 1.6;
}

/* ==== HAMBURGER MENU ==== */
.nav-hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    cursor: pointer;
    background: none;
    border: none;
    padding: 8px 4px;
    align-self: center;
    flex-shrink: 0;
}

.nav-hamburger span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--green-dark);
    transition: transform 0.25s ease, opacity 0.2s ease;
    transform-origin: center;
}

/* X state when menu is open */
nav.nav-open .nav-hamburger span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}
nav.nav-open .nav-hamburger span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}
nav.nav-open .nav-hamburger span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* ==== RESPONSIVE ==== */
@media (max-width: 1024px) {
    .container {
        grid-template-columns: 1fr;
    }

    .main-column {
        border-right: none;
    }

    .sidebar {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        background: var(--white);
    }

    .sidebar-block {
        border: 1px solid var(--border);
    }

    .matches-grid {
        grid-template-columns: 1fr;
    }

    .match-home,
    .match-center,
    .match-away,
    .match-actions {
        border-right: none;
        padding: 12px 20px;
    }

    .match-actions {
        border-top: 1px solid var(--border);
    }

    .surrey-banner {
        flex-direction: column;
        text-align: center;
    }

    .surrey-banner::before {
        display: none;
    }

    .stats-bar {
        grid-template-columns: repeat(2, 1fr);
    }

    .nav-links {
        margin: 0 12px;
    }

    .nav-link {
        padding: 0 10px;
        font-size: 11px;
    }

    h1 {
        font-size: 48px;
    }
}

@media (max-width: 768px) {
    /* ── TOP BAR ── */
    .top-bar {
        font-size: 9px;
        padding: 0 16px;
    }

    /* ── NAV: hamburger ── */
    nav {
        padding: 0 16px;
        height: auto;
        min-height: 52px;
        flex-wrap: wrap;
        align-items: center;
        gap: 0;
        position: relative;
    }

    .nav-logo {
        padding: 10px 0;
        flex: 1;
    }

    /* "Predict & Win" stays visible, shrinks */
    .nav-button {
        font-size: 10px;
        padding: 7px 12px;
        margin-right: 10px;
        order: 2;
    }

    /* Hamburger icon appears */
    .nav-hamburger {
        display: flex;
        order: 3;
    }

    /* Nav links hidden by default, full-width dropdown when open */
    .nav-links {
        display: none;
        flex-direction: column;
        width: 100%;
        order: 4;
        margin: 0;
        padding: 4px 0 8px;
        border-top: 1px solid var(--border);
        gap: 0;
    }

    nav.nav-open .nav-links {
        display: flex;
    }

    .nav-link {
        border-right: none;
        border-bottom: 1px solid var(--border);
        padding: 12px 4px;
        font-size: 13px;
        width: 100%;
        min-height: 44px;
        display: flex;
        align-items: center;
        letter-spacing: 0.08em;
    }

    .nav-link:last-child {
        border-bottom: none;
    }

    /* ── HERO ── */
    .hero {
        height: auto;
        min-height: 360px;
        padding: 20px 16px;
    }

    .hero-inner {
        flex-direction: column;
        justify-content: center;
        padding: 0;
        gap: 20px;
    }

    .hero-content {
        max-width: 100%;
        text-align: center;
    }

    h1 { font-size: 36px; }
    h2 { font-size: 22px; }

    .hero-countdown {
        position: static;
        width: 100%;
        background: rgba(0, 0, 0, 0.85);
        padding: 16px;
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }

    .btn-primary,
    .btn-ghost {
        width: 100%;
        text-align: center;
    }

    /* ── QUICKLINKS ── */
    .quicklinks-inner {
        padding: 0;
    }

    .quicklink {
        padding: 11px 14px;
        font-size: 11px;
    }

    /* ── MATCH GRID (homepage) ── */
    .matches-grid {
        grid-template-columns: 1fr;
    }

    .sidebar {
        grid-template-columns: 1fr;
    }

    .section-band,
    .group-label {
        padding: 16px;
    }

    .match-home,
    .match-center,
    .match-away,
    .match-actions {
        padding: 10px 16px;
    }

    /* ── SURREY BANNER ── */
    .surrey-banner {
        padding: 28px 16px;
        margin: 32px 0;
    }

    /* ── STATS BAR ── */
    .stats-bar {
        grid-template-columns: repeat(2, 1fr);
        padding: 28px 16px;
    }

    .stat-number {
        font-size: 28px;
    }

    /* ── FOOTER ── */
    .footer-top {
        flex-direction: column;
        text-align: center;
        margin-bottom: 20px;
        padding-bottom: 20px;
        gap: 16px;
    }

    .footer-buttons {
        width: 100%;
        justify-content: center;
    }

    .footer-nav {
        gap: 12px;
        margin-bottom: 20px;
        padding-bottom: 20px;
    }
}

@media (max-width: 480px) {
    h1 { font-size: 28px; }
    h2 { font-size: 18px; }
    h3 { font-size: 16px; }

    .hero {
        min-height: 300px;
    }

    .countdown-num {
        font-size: 28px;
    }

    .countdown-numbers {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }

    .stat-number {
        font-size: 24px;
    }

    .stats-bar {
        grid-template-columns: repeat(2, 1fr);
        gap: 0;
    }

    .surrey-banner h2 {
        font-size: 20px;
    }

    .footer-btn,
    .footer-btn-ghost {
        padding: 10px 16px;
        font-size: 11px;
    }
}
