/*
Theme Name:  DraftZone
Theme URI:   https://draftzone.ca
Description: Bold broadcast-style sports pool theme.
Version:     1.5.8
Author:      DraftZone
Text Domain: draftzone
*/

/* ── Tokens ─────────────────────────────────────────────────────────────────── */
:root {
    --navy:       #0B1F4B;
    --navy-2:     #162d6b;
    --red:        #E8001D;
    --red-dark:   #b80017;
    --gold:       #F5C842;
    --white:      #ffffff;
    --off:        #F4F6FA;
    --grey-1:     #E8ECF5;
    --grey-2:     #C8D0E4;
    --grey-3:     #8A96B4;
    --text:       #0B1F4B;
    --text-2:     #3A4A70;
    --text-3:     #7A87A8;

    --font-display: 'Barlow Condensed', sans-serif;
    --font-mono:    'Space Mono', monospace;
    --font-body:    'DM Sans', sans-serif;

    --r:   6px;
    --r-lg: 12px;
    --shadow: 0 8px 32px rgba(11,31,75,.12);
    --shadow-lg: 0 20px 60px rgba(11,31,75,.18);
    --header-h: 60px;
    --max-w: 1100px;
}

/* ── Reset ──────────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
    background: var(--white);
    color: var(--text);
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 28px; }

/* ── Type ───────────────────────────────────────────────────────────────────── */
h1, h2, h3, h4 {
    font-family: var(--font-display);
    font-weight: 900;
    line-height: 1.0;
    text-transform: uppercase;
    letter-spacing: -.01em;
}
h1 { font-size: clamp(3.2rem, 8vw, 7rem); font-style: italic; }
h2 { font-size: clamp(2rem, 4vw, 3.2rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.6rem); }

/* ── Header ─────────────────────────────────────────────────────────────────── */
#site-header {
    position: sticky; top: 0; z-index: 200;
    height: var(--header-h);
    background: var(--navy);
}
.header-inner {
    display: flex; align-items: center;
    justify-content: space-between;
    height: 100%;
}
/* Logo: red diagonal slash between DRAFT and ZONE */
.site-logo {
    font-family: var(--font-display);
    font-size: 22px; font-weight: 900;
    font-style: italic;
    letter-spacing: .02em; text-transform: uppercase;
    color: var(--white);
    display: flex; align-items: center; gap: 0;
    line-height: 1;
}
.logo-slash {
    display: inline-block;
    width: 3px; height: 28px;
    background: var(--red);
    transform: skewX(-14deg);
    margin: 0 8px;
    flex-shrink: 0;
}
.logo-zone { color: var(--gold); }

#site-nav ul { display: flex; align-items: center; gap: 2px; }
#site-nav a {
    font-family: var(--font-display);
    font-size: 12px; font-weight: 700;
    letter-spacing: .14em; text-transform: uppercase;
    color: rgba(255,255,255,.55);
    padding: 6px 12px; border-radius: var(--r);
    transition: color .15s, background .15s;
}
#site-nav a:hover { color: var(--white); background: rgba(255,255,255,.08); }
#site-nav .current-menu-item a { color: var(--gold); }
.nav-cta a {
    background: var(--red) !important;
    color: var(--white) !important;
    padding: 8px 16px !important;
}
.nav-cta a:hover { background: var(--red-dark) !important; }

.menu-toggle {
    display: none; background: none; border: none;
    cursor: pointer; color: var(--white); padding: 8px;
}

/* ── Hero ───────────────────────────────────────────────────────────────────── */
.hero {
    background: var(--navy);
    position: relative; overflow: hidden;
    padding: 0;
    min-height: 92vh;
    display: flex; flex-direction: column;
}

/* Diagonal red band cutting across hero */
.hero-slash {
    position: absolute;
    top: 0; right: -80px;
    width: 420px; height: 100%;
    background: var(--red);
    transform: skewX(-8deg);
    transform-origin: top right;
    z-index: 0;
    opacity: .92;
}
.hero-slash::after {
    content: '';
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(
        -55deg,
        transparent,
        transparent 18px,
        rgba(0,0,0,.08) 18px,
        rgba(0,0,0,.08) 19px
    );
}

/* Grid texture on navy side */
.hero-grid {
    position: absolute; inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px);
    background-size: 48px 48px;
    z-index: 0;
}

.hero-content {
    position: relative; z-index: 2;
    flex: 1;
    display: flex; align-items: center;
    padding: 80px 0 40px;
}
.hero-left { max-width: 640px; }

.hero-live-badge {
    display: inline-flex; align-items: center; gap: 8px;
    font-family: var(--font-mono);
    font-size: 11px; font-weight: 700;
    letter-spacing: .18em; text-transform: uppercase;
    color: var(--red);
    background: rgba(232,0,29,.12);
    border: 1px solid rgba(232,0,29,.3);
    border-radius: 4px;
    padding: 5px 12px;
    margin-bottom: 28px;
}
.live-dot {
    width: 7px; height: 7px;
    background: var(--red); border-radius: 50%;
    animation: blink 1.1s ease-in-out infinite;
}
@keyframes blink {
    0%, 100% { opacity: 1; } 50% { opacity: .2; }
}

.hero h1 {
    color: var(--white);
    margin-bottom: 0;
    line-height: .95;
}
.hero h1 .line-red { color: var(--red); display: block; }
.hero h1 .line-gold { color: var(--gold); display: block; }

.hero-tagline {
    font-family: var(--font-display);
    font-size: clamp(1rem, 2vw, 1.25rem);
    font-weight: 600;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: rgba(255,255,255,.45);
    margin: 20px 0 32px;
}

.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 52px; }

/* Scoreboard widget in hero — flows naturally as 2nd flex child of .container,
   so it stays anchored to the centered content area at any viewport width */
.hero-scoreboard {
    position: relative;
    z-index: 3;
    width: 300px;
    flex-shrink: 0;
    margin-left: auto;
}
.scoreboard {
    background: var(--white);
    border-radius: var(--r-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}
.scoreboard-header {
    background: var(--navy);
    padding: 10px 16px;
    display: flex; align-items: center; justify-content: space-between;
    border-bottom: 2px solid var(--red);
}
.scoreboard-title {
    font-family: var(--font-mono);
    font-size: 10px; font-weight: 700;
    letter-spacing: .16em; text-transform: uppercase;
    color: rgba(255,255,255,.5);
}
.scoreboard-live {
    font-family: var(--font-mono);
    font-size: 10px; font-weight: 700;
    letter-spacing: .12em; text-transform: uppercase;
    color: var(--red);
    display: flex; align-items: center; gap: 5px;
}
.scoreboard-row {
    display: flex; align-items: center;
    padding: 12px 16px;
    border-bottom: 1px solid var(--grey-1);
    gap: 12px;
}
.scoreboard-row:last-child { border-bottom: none; }
.sb-rank {
    font-family: var(--font-mono);
    font-size: 11px; color: var(--grey-3);
    width: 18px; flex-shrink: 0;
}
.sb-name {
    flex: 1;
    font-family: var(--font-display);
    font-size: 14px; font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .03em;
    color: var(--navy);
}
.sb-pts {
    font-family: var(--font-mono);
    font-size: 18px; font-weight: 700;
    color: var(--navy);
    text-align: right;
}
.sb-pts.leader { color: var(--red); font-size: 22px; }
.sb-pts-label {
    font-size: 9px;
    color: var(--grey-3);
    display: block;
    text-align: right;
    letter-spacing: .06em;
    font-family: var(--font-mono);
}
.scoreboard-footer {
    background: var(--off);
    padding: 10px 16px;
    font-family: var(--font-mono);
    font-size: 10px; color: var(--grey-3);
    letter-spacing: .1em;
    text-align: center;
}
.scoreboard-footer span { color: var(--red); }

/* Ticker bar below hero */
.ticker-bar {
    background: var(--red);
    height: 38px;
    display: flex; align-items: center;
    overflow: hidden;
    position: relative; z-index: 2;
    flex-shrink: 0;
}
.ticker-label {
    font-family: var(--font-mono);
    font-size: 10px; font-weight: 700;
    letter-spacing: .16em; text-transform: uppercase;
    color: var(--white);
    background: rgba(0,0,0,.2);
    padding: 0 16px;
    height: 100%;
    display: flex; align-items: center;
    flex-shrink: 0;
    border-right: 1px solid rgba(255,255,255,.2);
}
.ticker-track {
    display: flex; animation: ticker 35s linear infinite;
    white-space: nowrap;
}
.ticker-item {
    font-family: var(--font-mono);
    font-size: 11px; color: rgba(255,255,255,.85);
    padding: 0 28px;
    border-right: 1px solid rgba(255,255,255,.15);
    display: flex; align-items: center; gap: 8px;
}
.ticker-item strong { color: var(--white); }
.ticker-score { font-weight: 700; letter-spacing: .06em; }
@keyframes ticker { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

/* ── Buttons ────────────────────────────────────────────────────────────────── */
.btn {
    display: inline-flex; align-items: center; gap: 8px;
    font-family: var(--font-display);
    font-size: 13px; font-weight: 800;
    font-style: italic;
    letter-spacing: .1em; text-transform: uppercase;
    padding: 13px 26px; border-radius: var(--r);
    transition: all .18s; cursor: pointer; border: none;
    clip-path: polygon(0 0, calc(100% - 8px) 0, 100% 8px, 100% 100%, 8px 100%, 0 calc(100% - 8px));
}
.btn-red {
    background: var(--red); color: var(--white);
    box-shadow: 0 4px 20px rgba(232,0,29,.35);
}
.btn-red:hover {
    background: var(--red-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(232,0,29,.45);
}
.btn-gold {
    background: var(--gold); color: var(--navy);
    box-shadow: 0 4px 20px rgba(245,200,66,.3);
}
.btn-gold:hover {
    filter: brightness(1.06);
    transform: translateY(-2px);
}
.btn-ghost {
    background: rgba(255,255,255,.08);
    color: var(--white);
    border: 1px solid rgba(255,255,255,.2);
}
.btn-ghost:hover { background: rgba(255,255,255,.15); }

/* ── Steps ──────────────────────────────────────────────────────────────────── */
.steps-section { padding: 96px 0; background: var(--white); overflow: hidden; }
.steps-header { margin-bottom: 72px; }
.steps-header h2 { color: var(--navy); }

.step-row {
    position: relative;
    margin-bottom: 0;
    min-height: 200px;
}
.step-row-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    position: relative;
    z-index: 1;
    min-height: 200px;
}
.step-row:nth-child(even) .step-card { order: -1; }
.step-row + .step-row { border-top: 1px solid var(--grey-1); }

/* Giant background number */
.step-bg-num {
    position: absolute;
    font-family: var(--font-display);
    font-size: 28vw;
    font-weight: 900;
    font-style: italic;
    line-height: 1;
    letter-spacing: -.04em;
    text-transform: uppercase;
    color: var(--grey-1);
    pointer-events: none;
    z-index: 0;
    top: 50%; transform: translateY(-50%);
    right: -4vw;
    user-select: none;
}
.step-row:nth-child(even) .step-bg-num { right: auto; left: -4vw; }

.step-card {
    position: relative; z-index: 1;
    padding: 48px 52px;
}
.step-num-badge {
    font-family: var(--font-mono);
    font-size: 11px; font-weight: 700;
    letter-spacing: .2em; text-transform: uppercase;
    color: var(--red);
    margin-bottom: 16px;
    display: flex; align-items: center; gap: 10px;
}
.step-num-badge::after {
    content: '';
    display: block;
    height: 1px; flex: 1;
    background: var(--grey-1);
    max-width: 60px;
}
.step-card h3 {
    font-size: clamp(1.4rem, 2.5vw, 2rem);
    color: var(--navy);
    margin-bottom: 14px;
}
.step-card p { color: var(--text-3); font-size: 15px; line-height: 1.7; max-width: 380px; }

.step-visual {
    position: relative; z-index: 1;
    padding: 48px 52px;
    display: flex; align-items: center; justify-content: center;
}

/* Visual: mock phone / card for each step */
.mock-card {
    background: var(--navy);
    border-radius: var(--r-lg);
    overflow: hidden;
    width: 260px;
    box-shadow: var(--shadow-lg);
}
.mock-card-top {
    background: var(--red);
    padding: 10px 16px;
    font-family: var(--font-mono);
    font-size: 10px; letter-spacing: .14em;
    text-transform: uppercase;
    color: rgba(255,255,255,.8);
    display: flex; align-items: center; justify-content: space-between;
}
.mock-card-body { padding: 18px; }
.mock-player-row {
    display: flex; align-items: center; gap: 10px;
    padding: 9px 0;
    border-bottom: 1px solid rgba(255,255,255,.07);
}
.mock-player-row:last-child { border-bottom: none; }
.mock-avatar {
    width: 28px; height: 28px;
    border-radius: 50%;
    background: rgba(255,255,255,.1);
    flex-shrink: 0;
    font-size: 12px;
    display: flex; align-items: center; justify-content: center;
}
.mock-player-name {
    flex: 1;
    font-family: var(--font-display);
    font-size: 13px; font-weight: 700;
    text-transform: uppercase; letter-spacing: .03em;
    color: var(--white);
}
.mock-player-pts {
    font-family: var(--font-mono);
    font-size: 14px; font-weight: 700;
    color: var(--gold);
}
.mock-highlight { background: rgba(245,200,66,.08); border-radius: 6px; padding: 0 6px; margin: 0 -6px; }

/* ── Features strip ─────────────────────────────────────────────────────────── */
.features-strip {
    background: var(--navy);
    padding: 80px 0;
    position: relative; overflow: hidden;
}
.features-strip::before {
    content: 'DRAFTZONE';
    position: absolute;
    font-family: var(--font-display);
    font-size: 22vw; font-weight: 900; font-style: italic;
    text-transform: uppercase;
    color: rgba(255,255,255,.025);
    top: 50%; left: 50%;
    transform: translate(-50%,-50%);
    white-space: nowrap; pointer-events: none;
    letter-spacing: -.02em;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: rgba(255,255,255,.08);
    border: 1px solid rgba(255,255,255,.08);
    border-radius: var(--r-lg);
    overflow: hidden;
}
.feature-tile {
    background: rgba(11,31,75,.6);
    padding: 36px 32px;
    transition: background .2s;
    position: relative;
}
.feature-tile::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    background: var(--red);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .3s;
}
.feature-tile:hover { background: rgba(22,45,107,.7); }
.feature-tile:hover::before { transform: scaleX(1); }

.feature-icon {
    font-size: 28px; margin-bottom: 16px;
    display: block;
}
.feature-tile h3 {
    font-size: 16px; color: var(--white);
    margin-bottom: 10px;
}
.feature-tile p { font-size: 14px; color: rgba(255,255,255,.45); line-height: 1.65; }

/* ── Stats bar ──────────────────────────────────────────────────────────────── */
.stats-bar {
    background: var(--red);
    padding: 40px 0;
}
.stats-bar-inner {
    display: flex; justify-content: space-around;
    align-items: center;
    flex-wrap: wrap; gap: 24px;
}
.stat-item { text-align: center; }
.stat-num {
    font-family: var(--font-mono);
    font-size: clamp(2rem, 5vw, 3.2rem);
    font-weight: 700; color: var(--white);
    line-height: 1; display: block;
}
.stat-label {
    font-family: var(--font-display);
    font-size: 11px; font-weight: 700;
    letter-spacing: .18em; text-transform: uppercase;
    color: var(--white);
    margin-top: 6px; display: block;
}
.stat-divider {
    width: 2px; height: 48px;
    background: rgba(255,255,255,.85);
}

/* ── Match cards ────────────────────────────────────────────────────────────── */
.matches-section { padding: 80px 0; background: var(--off); }
.section-row {
    display: flex; align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 36px; gap: 16px;
}
.section-eyebrow {
    font-family: var(--font-mono);
    font-size: 10px; font-weight: 700;
    letter-spacing: .2em; text-transform: uppercase;
    color: var(--red); margin-bottom: 8px;
    display: flex; align-items: center; gap: 8px;
}
.section-eyebrow::before {
    content: ''; display: block;
    width: 16px; height: 2px; background: var(--red);
}
.view-all {
    font-family: var(--font-mono);
    font-size: 11px; font-weight: 700;
    letter-spacing: .14em; text-transform: uppercase;
    color: var(--red); white-space: nowrap;
    display: flex; align-items: center; gap: 6px;
    transition: gap .15s;
}
.view-all:hover { gap: 10px; }

.matches-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 16px;
}
.match-card {
    background: var(--white);
    border-radius: var(--r-lg);
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(11,31,75,.07);
    border: 1px solid var(--grey-1);
    transition: transform .2s, box-shadow .2s;
    cursor: pointer;
    position: relative;
}
.match-card::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--red), var(--navy));
}
.match-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.match-card-header {
    display: flex; align-items: center; justify-content: space-between;
    padding: 11px 16px;
    border-bottom: 1px solid var(--grey-1);
}
.match-sport-badge {
    font-family: var(--font-mono);
    font-size: 10px; font-weight: 700;
    letter-spacing: .12em; text-transform: uppercase;
    color: var(--grey-3);
}
.match-status {
    font-family: var(--font-mono);
    font-size: 10px; font-weight: 700;
    letter-spacing: .1em; text-transform: uppercase;
    padding: 3px 8px; border-radius: 3px;
}
.match-status--live     { background: rgba(232,0,29,.08); color: var(--red); }
.match-status--final    { background: rgba(11,31,75,.06); color: var(--navy); }
.match-status--upcoming { background: rgba(245,200,66,.12); color: #9a7a00; }

.match-card-body { padding: 22px 16px; }
.match-teams { display: flex; align-items: center; gap: 10px; }
.match-team { flex: 1; text-align: center; }
.match-team-logo {
    width: 46px; height: 46px; margin: 0 auto 8px;
    background: var(--off);
    border-radius: 50%; border: 2px solid var(--grey-1);
    display: flex; align-items: center; justify-content: center;
    font-size: 20px; overflow: hidden;
}
.match-team-logo img { width: 100%; height: 100%; object-fit: contain; }
.match-team-name {
    font-family: var(--font-display);
    font-size: 13px; font-weight: 800;
    letter-spacing: .04em; text-transform: uppercase;
    color: var(--navy);
}
.match-team-city { font-size: 11px; color: var(--grey-3); margin-top: 2px; }
.match-score-block { text-align: center; min-width: 72px; }
.match-score {
    font-family: var(--font-mono);
    font-size: 30px; font-weight: 700;
    color: var(--navy); line-height: 1;
}
.match-score-sep { color: var(--grey-2); margin: 0 1px; }
.match-time {
    font-family: var(--font-mono);
    font-size: 11px; color: var(--grey-3); margin-top: 4px;
}
.match-card-footer {
    padding: 10px 16px; border-top: 1px solid var(--grey-1);
    display: flex; align-items: center; justify-content: space-between;
}
.match-venue { font-size: 12px; color: var(--grey-3); }
.match-detail-link {
    font-family: var(--font-mono);
    font-size: 10px; font-weight: 700;
    letter-spacing: .12em; text-transform: uppercase;
    color: var(--red);
}

/* ── News ───────────────────────────────────────────────────────────────────── */
.news-section { padding: 80px 0; background: var(--white); }
.news-grid { display: grid; grid-template-columns: 5fr 3fr; gap: 24px; }
.news-featured {
    position: relative; border-radius: var(--r-lg);
    overflow: hidden; min-height: 360px;
    display: flex; align-items: flex-end;
    box-shadow: var(--shadow);
    cursor: pointer;
}
.news-featured-img { position: absolute; inset: 0; background: var(--grey-1); overflow: hidden; }
.news-featured-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; opacity: .75; }
.news-featured:hover .news-featured-img img { transform: scale(1.04); }
.news-featured-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(to top, rgba(11,31,75,.96) 0%, rgba(11,31,75,.4) 55%, transparent 100%);
}
.news-featured-content { position: relative; z-index: 1; padding: 28px; }
.news-cat {
    display: inline-block;
    font-family: var(--font-mono);
    font-size: 9px; font-weight: 700;
    letter-spacing: .16em; text-transform: uppercase;
    color: var(--navy); background: var(--gold);
    padding: 3px 10px; border-radius: 3px; margin-bottom: 10px;
}
.news-featured-content h3 {
    font-size: clamp(1.2rem, 2.5vw, 1.7rem);
    color: var(--white); margin-bottom: 8px;
}
.news-meta {
    font-family: var(--font-mono);
    font-size: 11px; color: rgba(255,255,255,.45);
    display: flex; gap: 10px; align-items: center;
}
.news-meta-sep { color: rgba(255,255,255,.2); }

.news-list { display: flex; flex-direction: column; gap: 6px; }
.news-list-item {
    display: flex; gap: 14px; align-items: center;
    padding: 14px 16px;
    background: var(--off);
    border-radius: var(--r);
    border: 1px solid var(--grey-1);
    border-left: 3px solid transparent;
    transition: border-left-color .18s, background .18s;
    cursor: pointer; text-decoration: none;
}
.news-list-item:hover { border-left-color: var(--red); background: var(--white); }
.news-list-thumb {
    width: 64px; height: 64px;
    border-radius: var(--r); background: var(--grey-1);
    flex-shrink: 0; overflow: hidden;
}
.news-list-thumb img { width: 100%; height: 100%; object-fit: cover; }
.news-list-cat {
    font-family: var(--font-mono);
    font-size: 9px; font-weight: 700;
    letter-spacing: .14em; text-transform: uppercase;
    color: var(--red); margin-bottom: 4px;
}
.news-list-title {
    font-family: var(--font-display);
    font-size: 14px; font-weight: 800;
    text-transform: uppercase; letter-spacing: .02em;
    color: var(--navy); line-height: 1.25;
    display: -webkit-box; -webkit-line-clamp: 2;
    -webkit-box-orient: vertical; overflow: hidden;
}
.news-list-date {
    font-family: var(--font-mono);
    font-size: 10px; color: var(--grey-3); margin-top: 5px;
}

/* ── CTA ────────────────────────────────────────────────────────────────────── */
.cta-section {
    background: var(--navy);
    padding: 80px 0;
    text-align: center;
    position: relative; overflow: hidden;
}
.cta-section::before {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0; top: 0;
    background:
        linear-gradient(135deg, rgba(232,0,29,.12) 0%, transparent 50%),
        linear-gradient(-45deg, rgba(245,200,66,.06) 0%, transparent 50%);
}
.cta-section h2 { color: var(--white); font-size: clamp(2rem, 5vw, 3.8rem); margin-bottom: 14px; font-style: italic; }
.cta-section p { color: rgba(255,255,255,.55); font-size: 17px; max-width: 480px; margin: 0 auto 36px; }
.cta-section .btn { position: relative; z-index: 1; }

/* ── Pool standings ──────────────────────────────────────────────────────────── */
.pool-embed { background: var(--white); border: 1px solid var(--grey-1); border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow); }
.pool-embed-header { padding: 16px 24px; background: var(--navy); display: flex; align-items: center; justify-content: space-between; border-bottom: 2px solid var(--red); }
.pool-embed-title { font-family: var(--font-display); font-size: 16px; font-weight: 800; font-style: italic; letter-spacing: .04em; text-transform: uppercase; color: var(--white); }
.pool-embed-row { display: grid; grid-template-columns: 36px 1fr auto; align-items: center; gap: 12px; padding: 14px 24px; border-bottom: 1px solid var(--grey-1); transition: background .15s; }
.pool-embed-row:last-child { border-bottom: none; }
.pool-embed-row:hover { background: var(--off); }
.pool-rank { font-family: var(--font-mono); font-size: 16px; font-weight: 700; color: var(--grey-3); text-align: center; }
.pool-rank.gold { color: var(--gold); }
.pool-rank.silver { color: #8A96B4; }
.pool-rank.bronze { color: #C8925A; }
.pool-name { font-family: var(--font-display); font-size: 15px; font-weight: 800; text-transform: uppercase; letter-spacing: .03em; color: var(--navy); }
.pool-top-player { font-family: var(--font-mono); font-size: 11px; color: var(--grey-3); margin-top: 2px; }
.pool-pts { font-family: var(--font-mono); font-size: 22px; font-weight: 700; color: var(--red); text-align: right; }
.pool-pts-label { font-family: var(--font-mono); font-size: 9px; color: var(--grey-3); display: block; text-align: right; letter-spacing: .08em; }

/* ── Archive / single pages ──────────────────────────────────────────────────── */
.page-header { background: var(--navy); padding: 52px 0 44px; border-bottom: 3px solid var(--red); }
.page-header h1 { color: var(--white); font-style: italic; }
.page-header p { color: rgba(255,255,255,.5); margin-top: 10px; font-size: 15px; }
.section-label-light { font-family: var(--font-mono); font-size: 10px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--red); margin-bottom: 12px; display: flex; align-items: center; gap: 8px; }
.section-label { font-family: var(--font-mono); font-size: 10px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--red); margin-bottom: 12px; display: flex; align-items: center; gap: 8px; }

.match-filter-btn { font-family: var(--font-mono); font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; padding: 7px 16px; border-radius: 20px; border: 1px solid var(--grey-1); background: var(--white); color: var(--grey-3); cursor: pointer; transition: all .18s; }
.match-filter-btn:hover, .match-filter-btn.active { background: var(--red); border-color: var(--red); color: var(--white); }
.match-filters { display: flex; gap: 6px; margin-bottom: 24px; flex-wrap: wrap; }

/* single match */
.match-hero { background: var(--navy); padding: 52px 0; border-bottom: 3px solid var(--red); }
.match-hero-inner { display: flex; align-items: center; justify-content: center; gap: 32px; }
.match-hero-team { flex: 1; max-width: 200px; display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; }
.match-hero-logo { width: 80px; height: 80px; background: rgba(255,255,255,.08); border-radius: 50%; border: 2px solid rgba(255,255,255,.12); display: flex; align-items: center; justify-content: center; font-size: 36px; overflow: hidden; }
.match-hero-name { font-family: var(--font-display); font-size: 20px; font-weight: 900; text-transform: uppercase; font-style: italic; color: var(--white); }
.match-hero-record { font-family: var(--font-mono); font-size: 12px; color: rgba(255,255,255,.4); }
.match-hero-score-block { text-align: center; min-width: 140px; }
.match-hero-score { font-family: var(--font-mono); font-size: 60px; font-weight: 700; color: var(--white); line-height: 1; }
.match-hero-period { font-family: var(--font-mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.4); margin-top: 8px; }
.match-hero-date { font-family: var(--font-mono); font-size: 12px; color: rgba(255,255,255,.3); margin-top: 4px; }

/* stats table */
.stats-table { width: 100%; border-collapse: collapse; }
.stats-table th { font-family: var(--font-mono); font-size: 10px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--grey-3); padding: 10px 16px; border-bottom: 2px solid var(--grey-1); text-align: left; }
.stats-table td { padding: 12px 16px; border-bottom: 1px solid var(--grey-1); font-size: 14px; color: var(--text-2); }
.stats-table tr:last-child td { border-bottom: none; }
.stats-table tr:hover td { background: var(--off); }
.stat-num { font-family: var(--font-mono); font-size: 16px; font-weight: 700; color: var(--navy); text-align: right; }

/* post */
.post-hero { position: relative; height: 400px; overflow: hidden; display: flex; align-items: flex-end; }
.post-hero-img { position: absolute; inset: 0; }
.post-hero-img img { width: 100%; height: 100%; object-fit: cover; }
.post-hero-overlay { position: absolute; inset: 0; background: linear-gradient(to top, var(--navy) 0%, rgba(11,31,75,.5) 50%, transparent 100%); }
.post-hero-content { position: relative; z-index: 1; padding: 36px 0; }
.post-content { max-width: 720px; margin: 0 auto; padding: 52px 24px; }
.post-content p { color: var(--text-2); margin-bottom: 1.4em; line-height: 1.8; font-size: 16px; }
.post-content h2, .post-content h3 { color: var(--navy); margin: 2em 0 .7em; }
.post-content a { color: var(--red); text-decoration: underline; text-underline-offset: 3px; }

/* layout */
.layout-sidebar { display: grid; grid-template-columns: 1fr 300px; gap: 32px; align-items: start; }
.widget { background: var(--white); border: 1px solid var(--grey-1); border-radius: var(--r-lg); overflow: hidden; margin-bottom: 20px; }
.widget-title { font-family: var(--font-mono); font-size: 10px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; padding: 12px 18px; background: var(--navy); color: rgba(255,255,255,.5); }
.widget-body { padding: 16px; }

/* pagination */
.pagination { display: flex; justify-content: center; gap: 6px; margin-top: 48px; }
.pagination a, .pagination span { font-family: var(--font-mono); font-size: 13px; font-weight: 700; width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; border-radius: var(--r); border: 1px solid var(--grey-1); color: var(--grey-3); transition: all .18s; }
.pagination a:hover { border-color: var(--navy); color: var(--navy); }
.pagination .current { background: var(--red); border-color: var(--red); color: var(--white); }

/* footer */
#site-footer { background: var(--navy); border-top: 3px solid var(--red); padding: 52px 0 28px; margin-top: 0; }
.footer-inner { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer-inner--simple { grid-template-columns: 2fr 1fr; }
.footer-logo { font-family: var(--font-display); font-size: 22px; font-weight: 900; font-style: italic; letter-spacing: .04em; text-transform: uppercase; color: var(--white); margin-bottom: 12px; }
.footer-logo .gold { color: var(--gold); }
.footer-brand p { color: rgba(255,255,255,.35); font-size: 14px; line-height: 1.7; }
.footer-col h4 { font-family: var(--font-mono); font-size: 10px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: rgba(255,255,255,.3); margin-bottom: 14px; }
.footer-col ul { display: flex; flex-direction: column; gap: 8px; }
.footer-col a { font-size: 14px; color: rgba(255,255,255,.5); transition: color .15s; }
.footer-col a:hover { color: var(--white); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); padding-top: 20px; display: flex; align-items: center; justify-content: space-between; font-family: var(--font-mono); font-size: 11px; color: rgba(255,255,255,.25); letter-spacing: .06em; }

/* ── Animations ─────────────────────────────────────────────────────────────── */
@keyframes fade-up { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
.afu { animation: fade-up .55s ease both; }
.d1 { animation-delay: .1s; } .d2 { animation-delay: .22s; } .d3 { animation-delay: .36s; } .d4 { animation-delay: .5s; }

/* ── Responsive ─────────────────────────────────────────────────────────────── */
@media (max-width: 960px) {
    .hero-scoreboard { display: none; }
    .step-row-inner { grid-template-columns: 1fr; gap: 24px; }
    .step-row:nth-child(even) .step-card { order: 0; }
    .step-bg-num { font-size: 40vw; opacity: .5; right: -6vw; }
    .step-row:nth-child(even) .step-bg-num { left: -6vw; right: auto; }
    .features-grid { grid-template-columns: repeat(2, 1fr); }
    .news-grid { grid-template-columns: 1fr; }
    .layout-sidebar { grid-template-columns: 1fr; }
    .footer-inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
    :root { --header-h: 54px; }
    .container { padding: 0 16px; }
    .hero-slash { width: 200px; }
    .hero h1 { font-size: clamp(2.6rem, 12vw, 4rem); }
    .features-grid { grid-template-columns: 1fr; }
    .step-card, .step-visual { padding: 32px 24px; }
    #site-nav { display: none; position: fixed; inset: var(--header-h) 0 0 0; background: var(--navy); padding: 24px; z-index: 99; flex-direction: column; border-top: 2px solid var(--red); }
    #site-nav.open { display: flex; }
    #site-nav ul { flex-direction: column; }
    #site-nav a { font-size: 20px; padding: 14px 16px; color: rgba(255,255,255,.7); }
    .menu-toggle { display: flex; }
    .stats-bar-inner { gap: 16px; }
    .stat-divider { display: none; }
    .footer-inner { grid-template-columns: 1fr; }
    .footer-bottom { flex-direction: column; gap: 8px; }
    .matches-grid { grid-template-columns: 1fr; }
}
.admin-bar #site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar #site-header { top: 46px; } }
