@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;700&display=swap');

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

:root {
    --primary-color: #1a1a2e;
    --accent-color: #ffa500;
    --text-light: #ffffff;
    --text-dark: #333333;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    color: var(--text-light);
    overflow-x: hidden;
    background-color: var(--primary-color);
}

html {
    background-color: #1a1a2e;
}

/* Navbar */
.navbar {
    position: absolute;
    top: 0;
    width: 100%;
    background: transparent;
    z-index: 1000;
    display: flex;
    justify-content: center;
    padding: 1rem 0;
}

.nav-content {
    max-width: 1400px;
    width: 100%;
    padding: 0 2rem 0 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
}

.logo-img {
    height: 55px;
    width: auto;
    margin-top: 10px;
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    color: var(--text-light);
    text-decoration: none;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--accent-color);
}

.nav-actions {
    display: flex;
    gap: 1rem;
}

/* Nav club selector - hidden on desktop, shown on mobile */
.nav-club-selector {
    display: none;
}

.btn-secondary {
    background: transparent;
    border: 1px solid var(--text-light);
    color: var(--text-light);
    padding: 0.5rem 1.5rem;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-secondary:hover {
    background: var(--text-light);
    color: var(--primary-color);
}

.btn-primary {
    background: var(--accent-color);
    border: none;
    color: var(--primary-color);
    padding: 0.5rem 1.5rem;
    cursor: pointer;
    font-weight: bold;
    transition: transform 0.3s;
}

.btn-primary:hover {
    transform: scale(1.05);
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    background-image: url('assets/scarf_hero_background.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    padding: 10rem 0 0;
    overflow-x: hidden; 
    min-width: 900px; 
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    z-index: 1;
    pointer-events: none;
}

@keyframes heroFadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to   { opacity: 1; transform: translateY(0); }
}

.hero-content {
    position: relative;
    z-index: 10;
    width: 100%;
    max-width: 1400px;
    min-width: 900px;     /* don't let it squish below this */
    padding: 0 2rem 0 5%;
    margin: 0;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
}

.hero-left {
    display: flex;
    flex-direction: column;
    gap: 1.75rem;
    max-width: 520px;
    flex-shrink: 0;
    animation: heroFadeIn 0.8s ease-out both;  /* moved here */
}

.hero-text-block {
    display: flex;
    flex-direction: column;
    gap: 1.75rem;
}

.hero-headline {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: clamp(3rem, 5.5vw, 4.5rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.08;
    color: #fff;
    margin: 0;
    text-transform: none;
}

.hero-support {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: clamp(1rem, 2vw, 1.5rem);
    font-weight: 300;
    font-style: normal;
    line-height: 1.2;
    color: rgba(255, 255, 255, 0.55);
    margin: 0;
}

.hero-accent {
    color: var(--accent-color);
    letter-spacing: -0.02em;
}

/* HERO LED STAGE COLOURS */
.hero--whisper   { --stage-glow: #9b5cff; }
.hero--wheeling  { --stage-glow: #ff8a1f; }
.hero--jetting   { --stage-glow: #29b6ff; } /* 86f5ff */ 
.hero--done      { --stage-glow: #41e07a; }
.hero--dealoff   { --stage-glow: #ff3b4f; }

.hero-led {
    position: relative;
}

.hero-led::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    clip-path: polygon(
        evenodd,
        /* Outer - hugging the screen bezel edge, top left, top-right, bottom-right, bottom left */
        0.5% 29%, 89.8% 10.3%, 89.5% 86%, 2% 93%,
        /* Inner - counter-clockwise, ~2% inward from outer top-left, bottom-left, bottom-right, top-right */
        2.5% 31%, 2.5% 92%, 88.8% 85%, 89% 12%
    );
    background: color-mix(in srgb, var(--stage-glow) 15%, transparent);
    filter:
        drop-shadow(0 0 4px var(--stage-glow))
        drop-shadow(0 0 12px var(--stage-glow))
        drop-shadow(0 0 25px color-mix(in srgb, var(--stage-glow) 70%, transparent))
        drop-shadow(0 0 50px color-mix(in srgb, var(--stage-glow) 30%, transparent));
    animation: ledPulse 2.8s ease-in-out infinite;
}

@keyframes ledPulse {
    0%, 100% { opacity: 0; }
    50%      { opacity: 0.7; }
}

.hero-scoreboard {
    position: relative;
    width: 100%;          /* fills the <a> wrapper */
    flex-shrink: 0;
}

.scoreboard-link {
    width: 650px;
    max-width: 650px;
    margin-left: 10rem;
    margin-right: auto;
    align-self: flex-start;
    margin-top: -3.5rem;
    display: block;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
    transform: rotateZ(-2.5deg);
    filter: brightness(0.85) saturate(0.90);
}

.scoreboard-img {
    width: 100%;
    height: auto;
    display: block;
}

.scoreboard-text {
    position: absolute;
    top: 20%;
    right: 16%;
    width: 48%;
    z-index: 1;
    height: 60%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0.4em;
    transform: perspective(800px) rotateY(-8deg) skewY(-5deg) rotateZ(-0.5deg);
    transform-origin: right center;
    transform-style: preserve-3d;
}

.sb-tag {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: clamp(0.55rem, 1.2vw, 1.1rem);
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: #ff0040;
}

.live-dot {
    display: inline-block;
    width: 10px;
    height: 10px;
    background: #ff0040;
    border-radius: 50%;
    box-shadow: 0 0 8px #ff0040, 0 0 16px #ff0040;
    animation: pulse 2s infinite;
    flex-shrink: 0;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.6; transform: scale(0.85); }
}

.sb-player {
    font-size: clamp(1rem, 3.5vw, 3rem);
    font-weight: 900;
    letter-spacing: 0.04em;
    line-height: 1;
    color: #fff;
    text-transform: uppercase;
}

.sb-clubs {
    font-size: clamp(0.7rem, 2vw, 1.8rem);
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #aaa;
}

.sb-clubs span {
    color: #fff;
}

.sb-badge {
    display: inline-block;
    width: fit-content;
    font-size: clamp(0.55rem, 1.2vw, 1.1rem);
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #4da6ff;
    border: 1px solid #4da6ff;
    background: rgba(0, 20, 60, 0.8);
    padding: 3px 10px;
    border-radius: 3px;
}

.sb-meta {
    display: flex;
    gap: 1em;
    font-size: clamp(0.5rem, 1vw, 0.9rem);
    color: #888;
    letter-spacing: 0.05em;
}

.sb-meta strong {
    color: var(--accent-color);
}

/* Club Selector */
.club-selector {
    position: relative;
    margin-top: 0.5rem;
    margin-left: 0;
    width: fit-content;
}

.select-club-btn {
    background: var(--accent-color);
    border: none;
    color: black;
    padding: 1rem 2.5rem;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    letter-spacing: 1px;
    border-radius: 4px;
    transition: transform 0.3s;
}

.select-club-btn:hover {
    transform: scale(1.05);
}

.club-dropdown {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: rgba(0, 0, 0, 0.9);
    border: 2px solid var(--accent-color);
    border-radius: 8px;
    margin-top: 0;
    min-width: 200px;
    z-index: 100;
}

.club-option {
    display: block;
    padding: 1rem 1.5rem;
    color: white;
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: bold;
    transition: background 0.3s;
}

.club-option:hover {
    background: var(--accent-color);
    color: black;
}

.club-option:first-child {
    border-radius: 6px 6px 0 0;
}

.club-option:last-child {
    border-radius: 0 0 6px 6px;
}

.club-dropdown.open {
    display: block;
}

/* Advertising Board & Ticker */
.ad-board {
    position: absolute;
    bottom: 3vh;
    left: 0;
    right: 0;
    height: 8vh;
    min-height: 60px;
    max-height: 80px;
    background: rgba(0, 0, 0, 0.7);
    border-top: 1px solid rgba(255, 165, 0, 0.3);
    border-bottom: 1px solid rgba(255, 165, 0, 0.3);
    box-shadow: 0 0 12px rgba(255, 165, 0, 0.15);
    overflow: hidden;
    z-index: 10;
}

.ticker-container {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.ticker-content {
    display: flex;
    white-space: nowrap;
    animation: scroll 30s linear infinite reverse;
}

.ticker-item {
    display: inline-block;
    padding: 0 4rem;
    font-size: clamp(0.9rem, 2vw, 1.2rem);
    font-weight: 500;
    color: var(--text-light);
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* Stats Bar */
.stats-bar {
    position: absolute;
    bottom: 12vh;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 4rem;
    z-index: 10;
}

.stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.stat-number {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: bold;
    color: var(--accent-color);
}

.stat-number--name {
    font-size: clamp(0.9rem, 2vw, 1.3rem);
    letter-spacing: 1px;
}

.stat-label {
    font-size: clamp(0.7rem, 1.5vw, 0.9rem);
    letter-spacing: 1px;
    opacity: 0.8;
}

/* Deal Off Image Section */
.deal-off-section {
    display: none;
}

/* Features Section — mobile fallback */
.features {
    padding: 6rem 2rem;
    background: url('assets/background_2.png') center center / cover no-repeat #0f0f1e;
    text-align: center;
}

.features-mobile-heading {
    font-size: clamp(2rem, 5vw, 3rem);
    margin-bottom: 1rem;
    letter-spacing: 2px;
}

.features-subtitle {
    font-size: clamp(1rem, 2vw, 1.5rem);
    margin-bottom: 4rem;
    opacity: 0.8;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-card {
    background: rgba(255, 255, 255, 0.05);
    padding: 2rem;
    border-radius: 10px;
    transition: transform 0.3s, background 0.3s;
}

.feature-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 165, 0, 0.1);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.feature-card p {
    opacity: 0.8;
}

/* Desktop: hide mobile cards, show HTM section */
@media (min-width: 901px) {
    .features {
        background: url('assets/background_2.png') center center / cover no-repeat;
        padding: 5rem 2rem;
        min-height: auto;
    }
    .features-mobile-heading,
    .features .features-subtitle,
    .features .features-grid {
        display: none !important;
    }
}

/* HTM — How Transfers Move (desktop only) */
.htm-section {
    display: none;
}

@media (min-width: 901px) {
    .htm-section {
        display: block;
        max-width: 1100px;
        margin: 0 auto;
        text-align: center;
    }
}

.htm-title {
    font-size: 3rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #fff;
    margin-bottom: 0.6rem;
}

.htm-accent {
    color: var(--accent-color);
}

.htm-subtitle {
    font-size: 1.4rem;
    font-style: italic;
    font-weight: 400;
    color: rgba(255,255,255,0.75);
    margin-bottom: 3.5rem;
}

/* Pipeline stages */
.htm-pipeline {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    margin-bottom: 3.5rem;
    position: relative;
    flex-wrap: wrap;
}

.htm-stage {
    display: inline-flex;
    align-items: center;
    gap: 0.4em;
    padding: 0.55rem 1.4rem;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 999px;
    background: rgba(255,255,255,0.04);
    color: #ccc;
    white-space: nowrap;
    flex-direction: column;
    line-height: 1.2;
}

.htm-stage-sub {
    display: block;
    font-size: 0.65rem;
    font-weight: 400;
    letter-spacing: 0.04em;
    text-transform: none;
    opacity: 0.6;
    color: #fff;
}

.htm-stage-icon {
    font-size: 0.9em;
}

.htm-stage--whisper { color: #c084fc; border-color: rgba(192,132,252,0.3); }
.htm-stage--wheeling { color: var(--accent-color); border-color: rgba(255,165,0,0.3); }
.htm-stage--jetting { color: #60a5fa; border-color: rgba(96,165,250,0.3); }
.htm-stage--done { color: #4ade80; border-color: rgba(74,222,128,0.3); }

.htm-stage--dealoff {
    color: #ef4444;
    border-color: rgba(239,68,68,0.4);
    background: rgba(239,68,68,0.06);
    margin-left: 1rem;
    flex-direction: column;
    gap: 0;
    line-height: 1.2;
    padding: 0.4rem 1.4rem;
}

.htm-dealoff-sub {
    display: block;
    font-size: 0.6rem;
    font-weight: 400;
    letter-spacing: 0.04em;
    opacity: 0.7;
    text-transform: none;
}

/* Showcase: card + arrow + timeline */
.htm-showcase {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 2.5rem;
}

/* Player card — reuses club module card styles */
.htm-card.rumor-card {
    width: 320px;
    flex-shrink: 0;
    background-color: #000;
    border: none;
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 500px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.8);
    display: flex;
    flex-direction: column;
    cursor: default;
}

.htm-card.rumor-card.jetting-in {
    background-image: url('https://rfc.scarfabovethehead.com/assets/jetting-in.png');
}

.htm-card .live-header {
    height: 40px;
    background: transparent;
    width: 100%;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 0.75rem;
    padding: 0 1rem;
}

.htm-card .live-indicator-small {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    background: #dc2626;
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    box-shadow: 0 2px 8px rgba(220,38,38,0.3);
}

.htm-card .live-text-small {
    color: #fff;
    font-weight: 700;
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.htm-card .timestamp-small {
    color: rgba(255,255,255,0.6);
    font-size: 0.6rem;
    font-weight: 500;
}

.htm-card .player-section {
    position: relative;
    height: 120px;
    background: transparent;
    flex-shrink: 0;
}

.htm-card .side-ratings-img {
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    height: 100%;
    width: 20%;
    object-fit: fill;
    object-position: right;
    z-index: 20;
    pointer-events: none;
    opacity: 0.8;
    border-radius: 0 20px 20px 0;
}

.htm-card .player-name-group {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.htm-card .transfer-details-group {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin-top: 0.3rem;
}

.htm-card .vote-group {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.htm-card .vote-icon {
    width: 20px;
    height: 20px;
    object-fit: contain;
}

.htm-card .card-info {
    position: relative;
    background: transparent;
    padding: 1.5rem;
    padding-bottom: 1rem;
    padding-right: calc(56px + 12px);
    display: flex;
    flex-direction: column;
    flex: 1;
    justify-content: flex-end;
    gap: 0.5rem;
    align-items: flex-start;
    text-align: left;
}

.htm-card .player-name-large {
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 0.01em;
    color: #fff;
    font-size: clamp(1.4rem, 5vw, 2rem);
    line-height: 1.05;
    margin-bottom: 0;
    text-shadow: 1px 1px 6px rgba(0,0,0,0.6);
}

.htm-card .direction-badge {
    display: inline-flex;
    padding: 0.25rem 0.8rem;
    background: #00ff88;
    color: #000;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.9rem;
    height: 28px;
    align-items: center;
    flex: 0 0 auto;
    align-self: flex-start;
    width: auto;
}

.htm-card .transfer-row {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    flex-wrap: wrap;
    min-width: 0;
}

.htm-card .clubs-row--text {
    flex: 0 0 100%;
    width: 100%;
    display: flex;
    align-items: center;
    gap: 0.55rem;
    flex-wrap: nowrap;
    min-width: 0;
}

.htm-card .club-text {
    font-weight: 600;
    font-size: 0.75rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.78);
    white-space: nowrap;
}

.htm-card .club-text--to {
    color: rgba(255,255,255,0.9);
}

.htm-card .transfer-info {
    font-size: 1rem;
    font-weight: 400;
    color: #fff;
    opacity: 0.82;
}

.htm-card .vote-row {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 0;
    margin-top: 0;
}

.htm-card .vote-count {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #fff;
    font-size: 1rem;
    font-weight: 600;
}

/* Arrow between card and timeline */
.htm-arrow {
    font-size: 2rem;
    color: rgba(255,255,255,0.25);
    flex-shrink: 0;
}

/* Timeline panel */
.htm-timeline {
    width: 420px;
    flex-shrink: 0;
    border-radius: 16px;
    border: 1px solid rgba(255,255,255,0.1);
    background: rgba(255,255,255,0.03);
    overflow: hidden;
    text-align: left;
}

.htm-timeline-header {
    padding: 1rem 1.4rem;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #fff;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.htm-timeline-entries {
    padding: 1rem 1.4rem;
}

.htm-tl-entry {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.6rem 0;
}

.htm-tl-icon {
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    flex-shrink: 0;
}

.htm-tl-icon--plane { color: #60a5fa; }
.htm-tl-icon--chat { color: var(--accent-color); }

.htm-tl-text {
    flex: 1;
    font-size: 0.95rem;
    color: rgba(255,255,255,0.85);
}

.htm-tl-date {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.4);
    letter-spacing: 0.04em;
    white-space: nowrap;
}

.htm-tl-connector {
    width: 1px;
    height: 16px;
    margin-left: 14px;
    border-left: 2px dashed rgba(255,255,255,0.12);
}

.htm-tl-sources {
    padding: 0.7rem 1.4rem;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    color: rgba(255,255,255,0.4);
    border-top: 1px solid rgba(255,255,255,0.08);
}

/* Footer text */
.htm-footer {
    font-size: 1rem;
    font-style: italic;
    color: rgba(255,255,255,0.5);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.5;
}

/* Fan Section */
.fan-section {
    padding: 6rem 2rem;
    background: url('assets/section3-background.png') center/cover no-repeat;
    text-align: center;
}

.fan-section h2 {
    font-size: clamp(2.2rem, 5vw, 3.2rem);
    margin-bottom: 0.6rem;
    letter-spacing: 4px;
    font-weight: 900;
    text-shadow: 0 2px 20px rgba(0,0,0,0.6);
}

.section-subtitle {
    font-size: clamp(0.95rem, 1.8vw, 1.2rem);
    margin-bottom: 3.5rem;
    opacity: 0.7;
    font-style: italic;
    max-width: 620px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.fan-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    max-width: 1100px;
    margin: 0 auto;
    align-items: stretch;
}

.fan-card {
    background: rgba(10, 12, 28, 0.65);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 16px;
    padding: 2.2rem 2rem;
    text-align: left;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255,255,255,0.08);
    transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
}

.fan-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.28);
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255,255,255,0.12);
}

.fan-card-title {
    font-size: 1.4rem;
    font-weight: 900;
    letter-spacing: 0.14em;
    text-align: center;
    margin-bottom: 0.6rem;
    text-transform: uppercase;
}

.fan-card-desc {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.55);
    font-style: italic;
    text-align: center;
    margin-bottom: 1.8rem;
    line-height: 1.5;
}

/* Fan Verdict card */
.verdict-block {
    margin-bottom: 1.5rem;
}

.verdict-block:last-child {
    margin-bottom: 0;
}

.verdict-label {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
    padding-bottom: 0.4rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.verdict-label--backed { color: #4ade80; }
.verdict-label--rejected { color: #f87171; }

.verdict-move {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.verdict-pct {
    font-weight: 800;
    font-size: 1.1rem;
}

.verdict-bar {
    height: 14px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 7px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.06);
}

.verdict-fill {
    height: 100%;
    border-radius: 7px;
    transition: width 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.verdict-fill--green {
    background: linear-gradient(90deg, #16a34a, #4ade80);
    box-shadow: 0 0 12px rgba(74, 222, 128, 0.3);
}

.verdict-fill--red {
    background: linear-gradient(90deg, #dc2626, #f87171);
    box-shadow: 0 0 12px rgba(248, 113, 113, 0.3);
}

/* Live Polls card */
.poll-block {
    margin-bottom: 1.6rem;
}

.poll-block:last-child {
    margin-bottom: 0;
}

.poll-question {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.6rem;
}

.poll-options {
    display: flex;
    gap: 0.6rem;
}

.poll-vote-btn {
    flex: 1;
    padding: 0.6rem 1rem;
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 8px;
    background: rgba(255,255,255,0.06);
    color: #fff;
    font-weight: 700;
    font-size: 0.85rem;
    cursor: pointer;
    transition: background 0.2s, border-color 0.2s, transform 0.15s;
}

.poll-vote-btn:hover {
    background: rgba(255,165,0,0.15);
    border-color: var(--accent-color);
    transform: scale(1.03);
}

.poll-vote-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
    transform: none;
}

.poll-results {
    margin-top: 0.6rem;
}

.poll-result-row {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin-bottom: 0.4rem;
}

.poll-answer-label {
    font-size: 0.75rem;
    font-weight: 600;
    color: rgba(255,255,255,0.6);
    min-width: 30px;
}

.poll-bar-row {
    display: flex;
    align-items: center;
    gap: 0.85rem;
}

.poll-bar {
    flex: 1;
    height: 18px;
    background: rgba(255, 255, 255, 0.07);
    border-radius: 9px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.06);
}

.poll-fill {
    height: 100%;
    border-radius: 9px;
    transition: width 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.poll-fill--blue {
    background: linear-gradient(90deg, #1d4ed8, #3b82f6);
    box-shadow: 0 0 12px rgba(59, 130, 246, 0.3);
}

.poll-fill--green {
    background: linear-gradient(90deg, #16a34a, #22c55e);
    box-shadow: 0 0 12px rgba(34, 197, 94, 0.3);
}

.poll-pct {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--accent-color);
    min-width: 36px;
    text-align: right;
}

.poll-no {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
    white-space: nowrap;
}

.poll-no strong {
    color: var(--accent-color);
    font-size: 0.95rem;
}

/* Take a Punt card */
.fan-card--punt {
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    text-align: center;
}

.punt-cta-btn {
    background: linear-gradient(180deg, #f5a623, #e08e0b);
    color: #000;
    border: none;
    padding: 1.2rem 3.5rem;
    font-size: 1.15rem;
    font-weight: 900;
    letter-spacing: 0.1em;
    border-radius: 8px;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    margin-bottom: 1.2rem;
    box-shadow: 0 4px 20px rgba(245, 166, 35, 0.35), inset 0 1px 0 rgba(255,255,255,0.3);
    text-transform: uppercase;
}

.punt-cta-btn:hover {
    transform: scale(1.07);
    box-shadow: 0 6px 28px rgba(245, 166, 35, 0.5), inset 0 1px 0 rgba(255,255,255,0.3);
}

.punt-disclaimer {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.38);
    font-style: italic;
    text-align: center;
    line-height: 1.5;
    margin-bottom: 0;
    max-width: 240px;
}

@media (max-width: 900px) {
    .fan-features {
        grid-template-columns: 1fr;
        max-width: 400px;
    }

    .fan-card {
        padding: 1.8rem 1.5rem;
    }

    .punt-cta-btn {
        padding: 1rem 2.5rem;
        font-size: 1rem;
    }
}

@media (max-width: 900px) {
    .hero {
        min-width: unset;      /* remove the 900px floor */
        background-image: url('assets/stadium_background_mobile.png');
        padding-top: 6rem;
        overflow: hidden;
        background-position: 50% 130px;
        background-size: auto 150%;
    }

    .hero-content {
        min-width: unset;      /* remove the 900px floor */
        flex-direction: column;
        align-items: flex-start;
        padding: 0 1.5rem;
    }

    .hero-left {
        width: 100%;
        max-width: 100%;
        align-items: flex-start;
        padding-right: 1rem;    /* stop text PNG hitting the edge */
        gap: 0.65rem;
    }

    .scoreboard-link {
        width: 100%;
        max-width: 100%;
        margin-left: 0;
        margin-right: 0;
        margin-top: 3.2rem;
        align-self: center;
        transform: none;
        filter: brightness(0.75) saturate(0.80);
    }

    .hero-scoreboard {
        width: 100%;
        margin: 0;
    }

    .scoreboard-text {
        top: 18%;
        right: 12%;
        left: auto;
        width: 48%;
        height: 65%;
        transform: perspective(800px) rotateY(-6deg) rotateZ(-0.7deg) skewY(-4deg);
        transform-origin: right center;
    }

    .sb-player {
        font-size: clamp(1.3rem, 3vw, 3rem);    /* bigger */
    }

    .sb-clubs {
        font-size: clamp(0.8rem, 1vw, 1.4rem);
    }

    .sb-tag {
        font-size: clamp(0.5rem, 0.8vw, 0.9rem);
    }

    .sb-badge {
        font-size: clamp(0.5rem, 0.8vw, 0.9rem);
        padding: 4px 12px;
    }

    .sb-meta {
        display: flex;
        flex-direction: row;    /* back to row, not column */
        gap: 0.8em;
        font-size: clamp(0.7rem, 0.5vw, 0.85rem);
    }

    .hero-left > .club-selector .select-club-btn {
        font-size: 0.85rem;
        padding: 0.75rem 1.5rem;
    }
}

@media (max-width: 768px) {
    .logo-img {
        height: 45px;
    }

    .hero-support {
        color: rgba(255, 255, 255, 0.75);
    }

    .nav-links {
        display: none;
    }

    .ad-board {
        position: relative;
        bottom: auto;
        left: auto;
        right: auto;
        height: 50px;
        min-height: 50px;
        max-height: none;
        margin: 0 -2rem;
        width: calc(100% + 4rem);
    }

    .stats-bar {
        position: relative;
        bottom: auto;
        left: auto;
        transform: none;
        gap: 1.5rem;
        padding: 1.5rem 1rem 3.5rem 3rem;
        justify-content: space-evenly;
        width: 100%;
    }

    .ticker-item {
        padding: 0 2rem;
    }

    .features {
        padding-top: 0;
        padding-bottom: 0;
    }

    /* Hide the original features content on mobile, keep only ticker+stats (moved by JS) */
    .features-mobile-heading,
    .features .features-subtitle,
    .features .features-grid {
        display: none;
    }

    /* Hide old deal-off background on mobile, show HTM instead */
    .deal-off-section {
        display: none;
    }

    /* Show HTM section on mobile */
    .htm-section {
        display: block !important;
        padding: 2rem 1rem;
        text-align: center;
    }

    .htm-title {
        font-size: 1.6rem;
        letter-spacing: 0.08em;
    }

    .htm-subtitle {
        font-size: 1rem;
        margin-bottom: 3rem;
    }

    .htm-pipeline {
        flex-direction: column;
        align-items: center;
        gap: 0.35rem;
        margin-bottom: 2rem;
        margin-left: auto;
        margin-right: auto;
    }

    .htm-pipeline {
        flex-direction: column;
        align-items: center;
        gap: 0.35rem;
        margin-bottom: 2rem;
        margin-left: auto;
        margin-right: auto;
    }

    .htm-stage {
        font-size: 0.8rem;
        padding: 0.6rem 1rem;
        justify-content: center;
        width: 220px;
        text-align: center;
        gap: 0.25rem;
        line-height: 1.2;
    }

    .htm-stage-icon {
        display: none;
    }

    .htm-stage-sub {
        opacity: 0.4;
    }

    .htm-stage--dealoff {
        margin-left: 0;
        margin-top: 0.2rem;
        width: 220px;
    }

    .htm-dealoff-sub {
        font-size: 0.55rem;
        opacity: 0.4;
    }


    .htm-showcase {
        flex-direction: column;
        gap: 1.2rem;
    }

    .htm-card.rumor-card {
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
        min-height: 380px;
    }

    .htm-card .player-section {
        height: 90px;
    }

    .htm-card .player-name-large {
        font-size: 1.3rem;
    }

    .htm-card .side-ratings {
        width: 44px;
        right: 6px;
    }

    .htm-card .card-info {
        padding-right: calc(44px + 10px);
    }

    .htm-card .rating-icon {
        font-size: 0.9rem;
        width: 18px;
        height: 18px;
    }

    .htm-arrow {
        transform: rotate(90deg);
        font-size: 1.5rem;
    }

    .htm-timeline {
        width: 100%;
        max-width: 360px;
        margin: 0 auto;
    }

    .htm-tl-text {
        font-size: 0.85rem;
    }

    .htm-tl-date {
        font-size: 0.7rem;
    }

    .htm-footer {
        font-size: 0.85rem;
        padding: 0 1rem;
    }
}

@media (max-width: 900px) {
    .club-dropdown {
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        background: #0a0a0a;
        border: none;
        border-radius: 0;
        display: none;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 1rem;
        z-index: 99999;
        min-width: unset;
        transition: opacity 0.2s ease;
        opacity: 0;
    }

    .club-dropdown.open {
        display: flex;
        opacity: 1;
        pointer-events: all;
    }

    .club-option {
        font-size: 2rem;
        padding: 1.5rem 3rem;
        border: 2px solid var(--accent-color);
        border-radius: 8px;
        width: 80%;
        text-align: center;
    }
}

@media (max-width: 900px) {
    .navbar {
        z-index: 1000;    /* overlay at 99999 will beat this */
    }
}

/* Punt Modal */
#punt-card {
    cursor: pointer;
}

.punt-modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.8);
    z-index: 100000;
    align-items: center;
    justify-content: center;
}

.punt-modal-overlay.open {
    display: flex;
}

.punt-modal {
    background: linear-gradient(135deg, #16213e 0%, #1a1a2e 100%);
    border: 2px solid var(--accent-color);
    border-radius: 12px;
    padding: 2.5rem;
    width: 90%;
    max-width: 480px;
    position: relative;
    animation: modalIn 0.25s ease-out;
}

@keyframes modalIn {
    from { opacity: 0; transform: scale(0.95) translateY(10px); }
    to { opacity: 1; transform: scale(1) translateY(0); }
}

.punt-modal-close {
    position: absolute;
    top: 0.75rem;
    right: 1rem;
    background: none;
    border: none;
    color: var(--text-light);
    font-size: 2rem;
    cursor: pointer;
    opacity: 0.7;
}

.punt-modal-close:hover {
    opacity: 1;
}

.punt-modal h2 {
    font-size: 1.5rem;
    margin-bottom: 0.25rem;
    letter-spacing: 1px;
}

.punt-modal p {
    opacity: 0.7;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

#punt-form input,
#punt-form textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    margin-bottom: 1rem;
    border: 1px solid rgba(255, 165, 0, 0.3);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-light);
    font-family: inherit;
    font-size: 0.95rem;
}

#punt-form input::placeholder,
#punt-form textarea::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

#punt-form input:focus,
#punt-form textarea:focus {
    outline: none;
    border-color: var(--accent-color);
}

.punt-submit-btn {
    width: 100%;
    padding: 0.85rem;
    background: var(--accent-color);
    color: #000;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 1px;
    cursor: pointer;
    transition: opacity 0.2s;
}

.punt-submit-btn:hover {
    opacity: 0.9;
}

.punt-submit-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.punt-message {
    margin-top: 1rem;
    text-align: center;
    font-size: 0.95rem;
}

.punt-message.success {
    color: #4ade80;
}

.punt-message.error {
    color: #f87171;
}
