@font-face { font-family: 'Manrope'; src: url('/assets/fonts/manrope-400.woff2') format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Manrope'; src: url('/assets/fonts/manrope-500.woff2') format('woff2'); font-weight: 500; font-display: swap; }
@font-face { font-family: 'Manrope'; src: url('/assets/fonts/manrope-700.woff2') format('woff2'); font-weight: 700; font-display: swap; }
@font-face { font-family: 'Manrope'; src: url('/assets/fonts/manrope-800.woff2') format('woff2'); font-weight: 800; font-display: swap; }
@font-face { font-family: 'Montserrat'; src: url('/assets/fonts/montserrat-800.woff2') format('woff2'); font-weight: 800; font-display: swap; }
@font-face { font-family: 'Montserrat'; src: url('/assets/fonts/montserrat-900.woff2') format('woff2'); font-weight: 900; font-display: swap; }

/* Same tokens as the GarraTV landing page. */
:root {
    --bg: #0b0b0b;
    --bg-2: #141414;
    --surface: #1c1c1c;
    --surface-2: #262626;
    --line: rgba(255, 255, 255, 0.09);
    --ink: #ffffff;
    --ink-2: #b3b3b3;
    --ink-3: #8c8c8c;
    --red: #e50914;
    --red-hover: #f6121d;
    --ok: #81c784;
    --blue: #64b5f6;
    --display: 'Montserrat', 'Arial Black', system-ui, sans-serif;
    --ui: 'Manrope', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
    --radius: 14px;
    --wrap: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
    margin: 0;
    background: var(--bg);
    color: var(--ink);
    font-family: var(--ui);
    font-size: 17px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3, h4 { overflow-wrap: break-word; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.wrap.narrow { max-width: 860px; }
.display { font-family: var(--display); letter-spacing: -0.01em; }
.display em, .banner h2 em { font-style: normal; color: var(--red); }
.eyebrow {
    margin: 0 0 14px;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--red);
}
.lead { margin: 18px 0 0; max-width: 680px; font-size: 19px; color: var(--ink-2); }

/* Header */
.top {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 20;
    background: rgba(11, 11, 11, 0.9);
    border-bottom: 1px solid var(--line);
}
.top .wrap { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.logo { margin: 0; font-family: var(--display); font-weight: 900; font-size: 26px; color: var(--red); text-decoration: none; letter-spacing: -0.02em; line-height: 1; }
.logo span { margin-left: 6px; font-family: var(--ui); font-size: 14px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-2); }
.nav { display: flex; align-items: center; }
.nav a.link { margin-right: 26px; font-size: 15px; font-weight: 600; color: var(--ink-2); text-decoration: none; }
.nav a.link:hover { color: var(--ink); }

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 52px;
    padding: 0 28px;
    border-radius: 10px;
    border: 0;
    font-family: var(--display);
    font-weight: 800;
    font-size: 15px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    text-decoration: none;
    white-space: nowrap;
    cursor: pointer;
    transition: background-color 0.2s, transform 0.2s;
}
.btn:hover { transform: translateY(-1px); }
.btn-red { background: var(--red); color: #fff; }
.btn-red:hover { background: var(--red-hover); }
.btn-ghost { background: var(--surface-2); color: #fff; }
.btn-ghost:hover { background: #333; }
.btn-sm { height: 42px; padding: 0 18px; font-size: 13px; }

/* Sections */
section { padding: 88px 0; }
section.tight { padding: 48px 0 88px; }
.alt { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { max-width: 720px; margin-bottom: 40px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2 { margin: 0; font-size: 40px; line-height: 1.1; font-weight: 900; }
.section-head p { margin: 14px 0 0; color: var(--ink-2); font-size: 18px; }
.sub { margin: 48px 0 18px; font-size: 20px; font-weight: 800; }
.empty { padding: 28px; border: 1px dashed var(--line); border-radius: var(--radius); color: var(--ink-2); }

.meta { display: flex; flex-wrap: wrap; align-items: center; margin: 0 0 8px; font-size: 12px; font-weight: 700; letter-spacing: 0.04em; color: var(--ink-3); text-transform: uppercase; }
.meta > * + *::before { content: '·'; margin: 0 8px; }
.meta .source { color: var(--red); }
.img-blank { display: block; background: linear-gradient(135deg, #2a0a0c, var(--surface)); }

/* Hero */
.hero {
    padding: 132px 0 72px;
    background:
        radial-gradient(900px 480px at 85% 0%, rgba(229, 9, 20, 0.2), transparent 70%),
        linear-gradient(180deg, #0b0b0b 0%, #0f0f0f 100%);
}
.hero h1 { margin: 0; max-width: 900px; font-size: 56px; line-height: 1.04; font-weight: 900; }
.hero-grid { margin-top: 48px; display: grid; grid-template-columns: 1.6fr 1fr; grid-gap: 24px; }
.lead-story a, .side-stories a, .news-card a, .headlines a, .guide a { text-decoration: none; display: block; }
.lead-story a { position: relative; height: 100%; min-height: 420px; border-radius: var(--radius); overflow: hidden; background: var(--surface); }
.lead-story .thumb { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; }
.lead-story a:hover .thumb { transform: scale(1.03); }
.lead-body { position: absolute; left: 0; right: 0; bottom: 0; padding: 120px 28px 28px; background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.92) 55%); }
.lead-body h2 { margin: 0; font-size: 30px; line-height: 1.15; font-weight: 800; }
.lead-body p:last-child { margin: 10px 0 0; color: var(--ink-2); font-size: 16px; }
.side-stories { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.side-stories li { flex: 1; border-bottom: 1px solid var(--line); }
.side-stories li:first-child { border-top: 1px solid var(--line); }
.side-stories a { padding: 18px 4px; height: 100%; }
.side-stories h3 { margin: 0; font-size: 18px; line-height: 1.3; font-weight: 800; }
.side-stories a:hover h3, .news-card a:hover h3, .headlines a:hover h4 { color: var(--red); }

/* News grid */
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); grid-gap: 22px; }
.news-card a { height: 100%; background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.news-card .thumb { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; background: var(--surface); }
.news-card .img-blank { aspect-ratio: 16 / 9; }
.news-body { padding: 18px 20px 22px; }
.news-card h3 { margin: 0; font-size: 18px; line-height: 1.32; font-weight: 800; transition: color 0.2s; }

/* Football */
.football-grid { display: grid; grid-template-columns: 1fr 360px; grid-gap: 32px; align-items: start; }
.football-grid.no-table { grid-template-columns: 1fr; }
.matches { display: grid; grid-template-columns: repeat(2, 1fr); grid-gap: 14px; margin: 0; padding: 0; list-style: none; }
.match { background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px 18px; }
.match-top { display: flex; justify-content: space-between; align-items: center; margin: 0 0 14px; font-size: 12px; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; }
.league { color: var(--ink-3); }
.live { color: var(--red); display: inline-flex; align-items: center; }
.live::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--red); margin-right: 6px; animation: pulse 1.4s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: 0.25; } }
.ended { color: var(--ink-3); }
.soon { color: var(--ok); }
.match-row { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; grid-gap: 8px; }
.team { display: flex; flex-direction: column; align-items: center; text-align: center; min-width: 0; }
.crest { width: 40px; height: 40px; object-fit: contain; }
.team span { margin-top: 8px; font-size: 14px; font-weight: 700; line-height: 1.25; overflow-wrap: anywhere; }
.match-mid { margin: 0; font-family: var(--display); font-weight: 900; font-size: 22px; white-space: nowrap; }
.match-mid small { color: var(--ink-3); font-size: 16px; }
.venue { margin: 12px 0 0; font-size: 12px; color: var(--ink-3); text-align: center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.table-box { position: sticky; top: 88px; background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 16px; }
.table-box h3 { margin: 0 0 12px; padding: 0 4px; font-size: 18px; font-weight: 800; }
.table-box h3 span { color: var(--ink-3); font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; margin-left: 4px; }
.table-box table { width: 100%; border-collapse: collapse; font-size: 14px; }
.table-box th { padding: 6px 4px; font-size: 11px; font-weight: 800; color: var(--ink-3); text-align: center; border-bottom: 1px solid var(--line); }
.table-box th:nth-child(2) { text-align: left; }
.table-box td { padding: 6px 4px; text-align: center; border-bottom: 1px solid var(--line); color: var(--ink-2); }
.table-box td:first-child { width: 30px; font-weight: 800; color: var(--ink); border-left: 3px solid transparent; }
.table-box tr.z-lib td:first-child { border-left-color: var(--blue); }
.table-box tr.z-down td:first-child { border-left-color: var(--red); }
.table-box td strong { color: var(--ink); }
.t-team { text-align: left !important; color: var(--ink) !important; font-weight: 700; }
.t-team { display: flex; align-items: center; }
.t-team img { width: 20px; height: 20px; object-fit: contain; margin-right: 8px; flex-shrink: 0; }
.t-team span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.legend { display: flex; align-items: center; margin: 12px 4px 0; font-size: 12px; color: var(--ink-3); }
.dot { width: 10px; height: 10px; border-radius: 2px; margin-right: 6px; }
.dot.lib { background: var(--blue); }
.dot.down { background: var(--red); margin-left: 16px; }

.headlines { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); grid-gap: 14px 24px; }
.headlines a { display: flex; align-items: flex-start; }
.headlines .mini { width: 112px; height: 63px; flex-shrink: 0; margin-right: 14px; border-radius: 8px; object-fit: cover; background: var(--surface); }
.headlines h4 { margin: 0; font-size: 15px; line-height: 1.35; font-weight: 700; transition: color 0.2s; }

/* Trending */
.showcase { background: #000; overflow: hidden; }
.row-title { margin: 24px auto 14px; font-size: 20px; font-weight: 800; }
.marquee {
    overflow: hidden;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
    mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.marquee-track { display: flex; width: max-content; margin: 0; padding: 8px 0; list-style: none; animation: marquee 90s linear infinite; }
.marquee-track.reverse { animation-direction: reverse; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }
.poster { flex: 0 0 auto; width: 180px; margin-right: 16px; }
.poster img {
    width: 100%; aspect-ratio: 2 / 3; object-fit: cover;
    border-radius: 10px; background: var(--surface);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.6), 0 0 0 1px var(--line);
    transition: transform 0.25s;
}
.poster:hover img { transform: scale(1.04); }
.poster-title { display: block; margin-top: 10px; font-size: 14px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.poster-meta { display: block; font-size: 12px; color: var(--ink-3); min-height: 18px; }

/* Guides */
.guides { display: grid; grid-template-columns: repeat(3, 1fr); grid-gap: 20px; }
.guide a { height: 100%; padding: 26px; background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); transition: border-color 0.2s; }
.alt .guide a { background: var(--bg); }
.tight .guide a { background: var(--bg-2); }
.guide a:hover { border-color: rgba(229, 9, 20, 0.5); }
.guide-icon { width: 44px; height: 44px; border-radius: 12px; background: rgba(229, 9, 20, 0.14); color: var(--red); display: flex; align-items: center; justify-content: center; margin-bottom: 16px; }
.guide-cat { margin: 0 0 6px; font-size: 12px; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-3); }
.guide h3 { margin: 0 0 8px; font-size: 19px; line-height: 1.3; font-weight: 800; }
.guide p { margin: 0; color: var(--ink-2); font-size: 15px; }
.more { display: inline-flex; align-items: center; margin-top: 16px; font-size: 14px; font-weight: 800; color: var(--red); text-decoration: none; }
.more svg { margin-left: 6px; }
.all { margin: 32px 0 0; text-align: center; }

/* App banner */
.banner { padding: 72px 0; background: linear-gradient(120deg, #1a0a0b 0%, var(--bg-2) 70%); border-top: 1px solid rgba(229, 9, 20, 0.35); }
.banner .wrap { display: flex; align-items: center; justify-content: space-between; }
.banner .wrap > div { max-width: 680px; margin-right: 32px; }
.banner h2 { margin: 0; font-size: 36px; line-height: 1.1; font-weight: 900; }
.banner p:not(.eyebrow) { margin: 14px 0 0; color: var(--ink-2); }

/* Article pages */
.page-head { padding: 132px 0 24px; background: radial-gradient(900px 420px at 85% 0%, rgba(229, 9, 20, 0.16), transparent 70%); }
.page-head h1 { margin: 0; font-size: 48px; line-height: 1.08; font-weight: 900; }
.page-head .meta { margin-top: 22px; }
.page-head .btn { margin-top: 28px; }
.crumbs { margin-bottom: 18px; font-size: 14px; color: var(--ink-3); }
.crumbs a { color: var(--ink-2); text-decoration: none; }
.crumbs a:hover { color: var(--ink); }
.article-grid { display: grid; grid-template-columns: minmax(0, 1fr) 320px; grid-gap: 56px; align-items: start; }
.prose { max-width: 740px; font-size: 18px; line-height: 1.75; color: #e6e6e6; }
.prose h2 { margin: 40px 0 12px; font-family: var(--display); font-size: 26px; line-height: 1.2; font-weight: 800; color: var(--ink); }
.prose p { margin: 0 0 18px; }
.prose ul, .prose ol { margin: 0 0 20px; padding-left: 24px; }
.prose li { margin-bottom: 8px; }
.prose a { color: var(--red); text-underline-offset: 3px; }
.prose strong { color: var(--ink); }
.prose code { padding: 2px 6px; border-radius: 6px; background: var(--surface-2); font-size: 0.88em; }
.prose table { width: 100%; margin: 8px 0 24px; border-collapse: collapse; font-size: 16px; }
.prose th, .prose td { padding: 10px 12px; border-bottom: 1px solid var(--line); text-align: left; }
.prose th { color: var(--ink-3); font-size: 13px; text-transform: uppercase; letter-spacing: 0.06em; }
.prose .note { font-size: 14px; color: var(--ink-3); }
.cta-box { margin-top: 40px; padding: 24px; border-radius: var(--radius); background: linear-gradient(180deg, #1a0a0b, var(--bg-2)); border: 1px solid rgba(229, 9, 20, 0.4); }
.cta-box p { margin: 0 0 16px; font-size: 16px; line-height: 1.6; }
.sidebar { position: sticky; top: 88px; }
.side-box { padding: 20px; margin-bottom: 20px; background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius); }
.side-box h3 { margin: 0 0 14px; font-size: 17px; font-weight: 800; }
.matches.compact { grid-template-columns: 1fr; grid-gap: 10px; }
.matches.compact .match { padding: 12px; }
.matches.compact .venue { display: none; }
.matches.compact .crest { width: 28px; height: 28px; }
.matches.compact .team span { font-size: 13px; }
.matches.compact .match-mid { font-size: 18px; }
.related { list-style: none; margin: 0; padding: 0; }
.related li { padding: 10px 0; border-top: 1px solid var(--line); }
.related li:first-child { border-top: 0; padding-top: 0; }
.related a { font-size: 15px; font-weight: 700; text-decoration: none; }
.related a:hover { color: var(--red); }

/* Footer */
footer { border-top: 1px solid var(--line); padding: 48px 0; color: var(--ink-3); font-size: 14px; }
footer .wrap { display: grid; grid-template-columns: 1fr 1.4fr; grid-gap: 40px; }
footer p { margin: 8px 0; }
footer .logo { font-size: 22px; margin-bottom: 12px; }
footer a { color: var(--ink-2); }

@media (max-width: 1020px) {
    .football-grid { grid-template-columns: 1fr; }
    .table-box { position: static; }
    .article-grid { grid-template-columns: 1fr; }
    .sidebar { position: static; }
}
@media (max-width: 960px) {
    .hero { padding: 112px 0 56px; }
    .hero h1 { font-size: 42px; }
    .hero-grid { grid-template-columns: 1fr; }
    .lead-story a { min-height: 360px; }
    .news-grid, .guides { grid-template-columns: repeat(2, 1fr); }
    .nav a.link { display: none; }
    section { padding: 64px 0; }
    .section-head h2 { font-size: 32px; }
    .page-head h1 { font-size: 38px; }
    .banner .wrap { flex-direction: column; align-items: flex-start; }
    .banner .wrap > div { margin: 0 0 24px; }
    footer .wrap { grid-template-columns: 1fr; grid-gap: 8px; }
}
@media (max-width: 640px) {
    .wrap { padding: 0 16px; }
    .hero h1 { font-size: 34px; }
    .lead { font-size: 17px; }
    .lead-story a { min-height: 320px; }
    .lead-body { padding: 90px 18px 18px; }
    .lead-body h2 { font-size: 22px; }
    .news-grid, .guides, .matches, .headlines { grid-template-columns: 1fr; }
    .page-head h1 { font-size: 30px; }
    .prose { font-size: 17px; }
    .banner h2 { font-size: 28px; }
    .poster { width: 130px; margin-right: 12px; }
    .logo { font-size: 22px; }
    .logo span { display: none; }
}
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .btn, .poster img, .lead-story .thumb { transition: none; }
    .btn:hover { transform: none; }
    .marquee { overflow-x: auto; -webkit-mask-image: none; mask-image: none; }
    .marquee-track { animation: none; padding-left: 24px; }
    .poster[aria-hidden="true"] { display: none; }
    .live::before { animation: none; }
}

/* Footer links + cookie notice */
.foot-links { display: flex; flex-wrap: wrap; }
.foot-links a, .link-btn { margin-right: 18px; color: var(--ink-2); }
.link-btn { padding: 0; border: 0; background: none; font: inherit; text-decoration: underline; cursor: pointer; }
.consent {
    position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 40;
    max-width: 720px; margin: 0 auto; padding: 18px 20px;
    display: flex; align-items: center; justify-content: space-between;
    background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
}
.consent[hidden] { display: none; }
.consent p { margin: 0 20px 0 0; font-size: 14px; color: var(--ink-2); }
.consent div { display: flex; flex-shrink: 0; }
.consent .btn + .btn { margin-left: 10px; }
@media (max-width: 640px) {
    .consent { flex-direction: column; align-items: stretch; }
    .consent p { margin: 0 0 14px; }
    .consent .btn { flex: 1; }
}
