﻿/* =========================================================
   PITCHPULSE HOME - MOBILE FIRST
========================================================= */

:root {
    --pp-bg: #f7faff;
    --pp-card: #ffffff;
    --pp-ink: #101828;
    --pp-muted: #667085;
    --pp-line: #e4e7ec;
    --pp-blue: #0095ff;
    --pp-blue-dark: #0b5cff;
    --pp-cyan: #00d4ff;
    --pp-navy: #0b1324;
    --pp-live: #ff8a00;
    --pp-radius: 22px;
    --pp-shadow: 0 14px 36px rgba(16, 24, 40, 0.08);
    --pp-silver-shadow: 0 16px 36px rgba(16, 24, 40, 0.10), inset 0 1px 0 rgba(255, 255, 255, 0.95);
}

.pp-home {
    background: radial-gradient(circle at top right, rgba(0, 149, 255, 0.12), transparent 28rem), linear-gradient(180deg, #ffffff 0%, var(--pp-bg) 38%, #ffffff 100%);
    color: var(--pp-ink);
    min-height: 100vh;
    overflow-x: hidden;
}

/* =========================================================
   HERO
========================================================= */

.pp-hero {
    max-width: 1180px;
    margin: 0 auto;
    padding: 28px 18px 20px;
    display: grid;
    gap: 18px;
}

.pp-kicker {
    display: inline-flex;
    width: fit-content;
    align-items: center;
    gap: 8px;
    color: var(--pp-blue-dark);
    background: #eaf6ff;
    border: 1px solid #cbeaff;
    border-radius: 999px;
    padding: 8px 12px;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.pp-hero h1 {
    margin: 14px 0 10px;
    font-size: clamp(42px, 12vw, 76px);
    line-height: 0.95;
    letter-spacing: -0.06em;
    color: var(--pp-navy);
}

.pp-hero-text {
    max-width: 620px;
    margin: 0;
    color: var(--pp-muted);
    font-size: 16px;
    line-height: 1.6;
}

.pp-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 18px;
}

.pp-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 11px 16px;
    border-radius: 999px;
    font-weight: 800;
    font-size: 14px;
    text-decoration: none;
}

.pp-btn-primary {
    color: #fff;
    background: linear-gradient(135deg, var(--pp-blue-dark), var(--pp-blue));
    box-shadow: 0 12px 26px rgba(0, 149, 255, 0.26);
}

.pp-btn-soft {
    color: var(--pp-navy);
    background: #fff;
    border: 1px solid var(--pp-line);
}

/* =========================================================
   PILLARS
========================================================= */

.pp-pillars {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 8px;
    margin-top: 20px;
    max-width: 560px;
}

.pp-pillar {
    text-align: center;
    color: var(--pp-navy);
    font-size: 10px;
    font-weight: 900;
    line-height: 1.15;
    text-transform: uppercase;
}

    .pp-pillar img {
        width: 42px;
        height: 42px;
        object-fit: contain;
        display: block;
        margin: 0 auto 6px;
        filter: drop-shadow(0 8px 10px rgba(16, 24, 40, 0.10));
    }

/* =========================================================
   SAGE HERO IMAGE
========================================================= */

.pp-hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 220px;
}

.pp-sage-img {
    width: 100%;
    max-width: 310px;
    height: auto;
    display: block;
    object-fit: contain;
}

/* =========================================================
   SECTIONS
========================================================= */

.pp-section,
.pp-grid-section,
.pp-newsletter {
    max-width: 1180px;
    margin: 0 auto;
    padding: 20px 18px;
}

.pp-section-head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 14px;
}

.pp-section-label {
    display: inline-block;
    color: var(--pp-blue-dark);
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 6px;
}

.pp-section h2,
.pp-section-head h2,
.pp-newsletter h2 {
    margin: 0;
    color: var(--pp-navy);
    font-size: 25px;
    letter-spacing: -0.04em;
}

.pp-section-link {
    color: var(--pp-blue-dark);
    font-weight: 800;
    font-size: 13px;
    text-decoration: none;
    white-space: nowrap;
}

/* =========================================================
   LIVE MATCH BOARDS
========================================================= */

.pp-match-scroll {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(280px, 86%);
    gap: 14px;
    overflow-x: auto;
    padding: 4px 2px 12px;
    scroll-snap-type: x mandatory;
}

    .pp-match-scroll::-webkit-scrollbar {
        height: 6px;
    }

    .pp-match-scroll::-webkit-scrollbar-thumb {
        background: #d6deea;
        border-radius: 999px;
    }

.pp-match-board {
    scroll-snap-align: start;
    border-radius: 22px;
    padding: 16px;
    background: linear-gradient(145deg, rgba(255,255,255,0.96), rgba(243,246,250,0.98));
    border: 1px solid #d8dee8;
    box-shadow: var(--pp-silver-shadow);
    position: relative;
    overflow: hidden;
}

    .pp-match-board::before {
        content: "";
        position: absolute;
        inset: 0;
        background: linear-gradient(135deg, rgba(255,255,255,0.8), transparent 35%), radial-gradient(circle at top right, rgba(0,149,255,0.10), transparent 44%);
        pointer-events: none;
    }

.pp-match-top,
.pp-teams,
.pp-match-meta {
    position: relative;
    z-index: 1;
}

.pp-match-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: var(--pp-muted);
    font-size: 12px;
    font-weight: 800;
    margin-bottom: 18px;
}

.pp-live-badge,
.pp-upcoming-badge {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    padding: 5px 9px;
    font-size: 11px;
    font-weight: 900;
}

.pp-live-badge {
    color: #fff;
    background: var(--pp-live);
}

.pp-upcoming-badge {
    color: var(--pp-blue-dark);
    background: #e7f4ff;
}

.pp-teams {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 10px;
    align-items: center;
}

    .pp-teams div:last-child {
        text-align: right;
    }

    .pp-teams strong {
        display: block;
        color: var(--pp-navy);
        font-size: 17px;
    }

    .pp-teams span {
        color: var(--pp-muted);
        font-size: 12px;
    }

.pp-score {
    min-width: 70px;
    text-align: center;
    color: var(--pp-navy);
    font-size: 24px;
    font-weight: 950;
    letter-spacing: -0.04em;
}

.pp-time {
    font-size: 20px;
    color: var(--pp-blue-dark);
}

.pp-match-meta {
    margin-top: 14px;
    color: var(--pp-muted);
    font-size: 13px;
    line-height: 1.45;
}

/* =========================================================
   CARDS
========================================================= */

.pp-grid-section {
    display: grid;
    gap: 14px;
}

.pp-card-grid {
    display: grid;
    gap: 14px;
}

.pp-card,
.pp-sage-card {
    background: var(--pp-card);
    border: 1px solid var(--pp-line);
    border-radius: var(--pp-radius);
    padding: 18px;
    box-shadow: var(--pp-shadow);
}

    .pp-card h3 {
        color: var(--pp-navy);
        margin: 8px 0 8px;
        font-size: 20px;
        line-height: 1.15;
        letter-spacing: -0.035em;
    }

    .pp-card p {
        color: var(--pp-muted);
        margin: 0 0 12px;
        line-height: 1.55;
        font-size: 14px;
    }

    .pp-card a {
        color: var(--pp-blue-dark);
        font-weight: 900;
        text-decoration: none;
    }

.pp-tag {
    display: inline-flex;
    border-radius: 999px;
    padding: 5px 9px;
    color: var(--pp-blue-dark);
    background: #eaf6ff;
    font-size: 12px;
    font-weight: 900;
}

/* =========================================================
   SAGE VIEW CARD
========================================================= */

.pp-sage-card {
    color: #fff;
    background: radial-gradient(circle at top right, rgba(0, 212, 255, 0.20), transparent 34%), linear-gradient(135deg, #0b1324, #12203a);
    border: 1px solid rgba(255,255,255,0.12);
    box-shadow: 0 18px 40px rgba(11, 19, 36, 0.24);
}

.pp-sage-card-head span {
    display: block;
    color: var(--pp-cyan);
    font-size: 13px;
    font-weight: 950;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 8px;
}

.pp-sage-card-head strong {
    display: block;
    font-size: 23px;
    line-height: 1.1;
    letter-spacing: -0.04em;
}

.pp-sage-card p {
    margin: 14px 0 0;
    color: rgba(255,255,255,0.78);
    line-height: 1.6;
}

.pp-sage-points {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 16px;
}

    .pp-sage-points span {
        color: #fff;
        background: rgba(255,255,255,0.12);
        border: 1px solid rgba(255,255,255,0.14);
        border-radius: 999px;
        padding: 7px 10px;
        font-size: 12px;
        font-weight: 800;
    }

/* =========================================================
   STATS / TEAMS / NEWSLETTER
========================================================= */

.pp-stat-card h3 {
    font-size: 46px;
    color: var(--pp-blue-dark);
    margin-bottom: 4px;
}

.pp-team-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

    .pp-team-list a {
        display: block;
        color: var(--pp-navy);
        background: #f7faff;
        border: 1px solid var(--pp-line);
        border-radius: 14px;
        padding: 12px;
        text-align: center;
        font-weight: 900;
        text-decoration: none;
    }

.pp-newsletter {
    margin-top: 10px;
    margin-bottom: 28px;
    border-radius: 28px;
    background: radial-gradient(circle at top right, rgba(0, 212, 255, 0.16), transparent 36%), linear-gradient(135deg, #ffffff, #eef8ff);
    border: 1px solid #d7ecff;
    box-shadow: var(--pp-shadow);
}

    .pp-newsletter p {
        color: var(--pp-muted);
        line-height: 1.6;
    }

.pp-newsletter-form {
    display: grid;
    gap: 10px;
    margin-top: 16px;
}

    .pp-newsletter-form input,
    .pp-newsletter-form button {
        min-height: 46px;
        border-radius: 999px;
        font: inherit;
    }

    .pp-newsletter-form input {
        border: 1px solid var(--pp-line);
        padding: 0 16px;
    }

    .pp-newsletter-form button {
        border: 0;
        color: #fff;
        background: linear-gradient(135deg, var(--pp-blue-dark), var(--pp-blue));
        font-weight: 900;
        cursor: pointer;
    }

/* =========================================================
   TABLET / DESKTOP
========================================================= */

@media (min-width: 768px) {
    .pp-hero {
        grid-template-columns: 1.1fr 0.9fr;
        align-items: center;
        padding: 44px 28px 30px;
    }

        .pp-hero h1 {
            font-size: clamp(58px, 7vw, 92px);
        }

    .pp-hero-text {
        font-size: 18px;
    }

    .pp-pillars {
        gap: 12px;
    }

    .pp-pillar {
        font-size: 11px;
    }

        .pp-pillar img {
            width: 52px;
            height: 52px;
        }

    .pp-sage-img {
        max-width: 420px;
    }

    .pp-match-scroll {
        grid-template-columns: repeat(3, 1fr);
        grid-auto-flow: initial;
        grid-auto-columns: initial;
        overflow: visible;
    }

    .pp-grid-section {
        grid-template-columns: 1.1fr 0.9fr;
        padding-inline: 28px;
    }

    .pp-section,
    .pp-newsletter {
        padding-inline: 28px;
    }

    .pp-card-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .pp-newsletter-form {
        grid-template-columns: 1fr auto;
        max-width: 560px;
    }

        .pp-newsletter-form button {
            padding: 0 26px;
        }
}

@media (min-width: 1100px) {
    .pp-hero {
        padding-top: 56px;
    }

    .pp-sage-img {
        max-width: 470px;
    }
}
.pp-article-detail {
    max-width: 820px;
    margin: 0 auto;
    padding: 32px 18px 56px;
}

.pp-back-link {
    display: inline-flex;
    margin-bottom: 18px;
    color: #0b5cff;
    font-weight: 800;
    text-decoration: none;
}

.pp-article-eyebrow {
    display: inline-flex;
    color: #0b5cff;
    background: #eaf6ff;
    border-radius: 999px;
    padding: 7px 11px;
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 14px;
}

.pp-article-detail h1 {
    margin: 0;
    color: #0b1324;
    font-size: clamp(34px, 7vw, 58px);
    line-height: 1.02;
    letter-spacing: -0.06em;
}

.pp-article-summary {
    margin: 16px 0 0;
    color: #475467;
    font-size: 19px;
    line-height: 1.6;
}

.pp-article-meta-line {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 18px;
    color: #667085;
    font-size: 13px;
    font-weight: 700;
}

.pp-article-hero-img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 22px;
    margin: 26px 0;
    border: 1px solid #e4e7ec;
    box-shadow: 0 16px 36px rgba(16, 24, 40, 0.08);
}

.pp-article-body {
    margin-top: 26px;
    color: #101828;
    font-size: 17px;
    line-height: 1.82;
}

    .pp-article-body h2 {
        color: #0b1324;
        font-size: 28px;
        line-height: 1.16;
        letter-spacing: -0.04em;
        margin: 34px 0 12px;
    }

    .pp-article-body p {
        margin: 0 0 18px;
    }

    .pp-article-body strong {
        color: #0b1324;
    }

.pp-article-image-block {
    margin: 26px 0;
}

    .pp-article-image-block img {
        width: 100%;
        border-radius: 18px;
        display: block;
        border: 1px solid #e4e7ec;
    }

    .pp-article-image-block figcaption {
        color: #667085;
        font-size: 13px;
        margin-top: 8px;
        text-align: center;
    }

.pp-source-credit {
    margin-top: 34px;
    padding-top: 16px;
    border-top: 1px solid #e4e7ec;
    color: #667085;
    font-size: 13px;
}