/* VibrantOdds — Football Prediction Site */

:root {
    --bg-black: #0a0a0a;
    --bg-dark: #0d0d0d;
    --bg-card: rgba(20, 20, 20, 0.8);
    --bg-card-hover: rgba(25, 25, 25, 0.9);
    --bg-alt: #080808;
    --bg-elevated: rgba(15, 15, 15, 0.9);
    --border: rgba(255, 255, 255, 0.1);
    --border-light: rgba(255, 255, 255, 0.15);
    --text: #ffffff;
    --text-muted: rgba(255, 255, 255, 0.6);
    --primary: #10b981;
    --primary-dark: #059669;
    --primary-glow: rgba(16, 185, 129, 0.15);
    --primary-glow-strong: rgba(16, 185, 129, 0.3);
    --accent: #3b82f6;
    --warning: #f59e0b;
    --danger: #ef4444;
    --radius: 16px;
    --radius-sm: 12px;
    --shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
    --shadow-glow: 0 0 60px rgba(16, 185, 129, 0.2);
    --font: 'Inter', system-ui, sans-serif;
    --font-display: 'Outfit', 'Inter', system-ui, sans-serif;
    --container-pad: clamp(1rem, 3vw, 1.5rem);
    --section-pad: clamp(3rem, 6vw, 4rem);
    --card-pad: clamp(1.25rem, 3vw, 1.5rem);
    --glass-bg: rgba(20, 20, 20, 0.6);
    --glass-border: rgba(255, 255, 255, 0.1);
}

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font);
    background-color: var(--bg-black);
    background-image:
        radial-gradient(ellipse 80% 50% at 50% -20%, rgba(16, 185, 129, 0.12), transparent),
        radial-gradient(ellipse 60% 40% at 100% 50%, rgba(16, 185, 129, 0.06), transparent),
        radial-gradient(ellipse 50% 30% at 0% 80%, rgba(16, 185, 129, 0.04), transparent);
    background-attachment: fixed;
    color: var(--text);
    line-height: 1.6;
    min-height: 100vh;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

main {
    position: relative;
}

img, svg, video {
    max-width: 100%;
    height: auto;
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: color 0.2s;
}

a:hover {
    color: #4ade80;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--container-pad);
}

.container-narrow {
    width: 100%;
    max-width: 800px;
}

/* Header */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(10, 10, 10, 0.9);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    padding-left: env(safe-area-inset-left, 0);
    padding-right: env(safe-area-inset-right, 0);
}

.header-inner {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 64px;
    height: auto;
    padding: 0.5rem 0;
    gap: 1rem;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: clamp(1rem, 3.5vw, 1.25rem);
    font-weight: 800;
    color: var(--text);
    flex-shrink: 0;
    z-index: 101;
}

.logo:hover {
    color: var(--text);
}

.logo-icon {
    font-size: 1.5rem;
}

.logo-accent {
    color: var(--primary);
}

.nav-toggle {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--bg-elevated);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-sm);
    cursor: pointer;
    padding: 0.45rem 0.85rem;
    z-index: 103;
    min-height: 44px;
    color: var(--text);
    font-family: var(--font);
    font-size: 0.9rem;
    font-weight: 600;
    transition: border-color 0.2s, background 0.2s;
}

.nav-toggle:hover {
    border-color: var(--primary);
    background: rgba(34, 197, 94, 0.08);
}

.nav-toggle-icon {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 4px;
    width: 18px;
}

.nav-toggle-icon span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--text);
    transition: transform 0.3s, opacity 0.3s;
    transform-origin: center;
}

.nav-toggle.open .nav-toggle-icon span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
}

.nav-toggle.open .nav-toggle-icon span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.open .nav-toggle-icon span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
}

.nav-toggle-label {
    line-height: 1;
}

.nav-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 101;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s, visibility 0.25s;
}

.nav-overlay.visible {
    opacity: 1;
    visibility: visible;
}

.main-nav {
    display: none;
    position: absolute;
    top: calc(100% + 0.5rem);
    right: 0;
    min-width: 220px;
    flex-direction: column;
    gap: 0.25rem;
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius);
    padding: 0.5rem;
    box-shadow: var(--shadow);
    z-index: 102;
}

.main-nav.open {
    display: flex;
}

.main-nav a {
    color: var(--text-muted);
    padding: 0.75rem 1rem;
    border-radius: var(--radius-sm);
    font-weight: 500;
    font-size: 0.9rem;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    min-height: 44px;
}

.main-nav a:hover,
.main-nav a.active {
    color: var(--text);
    background: rgba(255, 255, 255, 0.08);
}

.nav-subscribe {
    color: #000 !important;
    background: linear-gradient(135deg, #34d399, var(--primary)) !important;
    border: none !important;
    font-weight: 600 !important;
    justify-content: center;
    box-shadow: 0 4px 16px rgba(16, 185, 129, 0.3);
}

.nav-subscribe:hover,
.nav-subscribe.active {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark)) !important;
    color: #000 !important;
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.4);
}

.subscribe-plans {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(0.5rem, 2vw, 0.75rem);
    margin-bottom: 1.25rem;
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
}

.subscribe-plan-card {
    background: linear-gradient(180deg, var(--bg-card) 0%, var(--bg-black) 100%);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: clamp(0.65rem, 2.5vw, 0.85rem);
    display: flex;
    flex-direction: column;
    gap: clamp(0.35rem, 1.5vw, 0.5rem);
    position: relative;
    text-align: center;
    transition: border-color 0.25s, box-shadow 0.25s, transform 0.25s;
    min-width: 0;
}

@media (hover: hover) {
    .subscribe-plan-card:hover {
        border-color: var(--border-light);
        transform: translateY(-2px);
    }
}

.subscribe-plan-card.featured {
    border-color: rgba(34, 197, 94, 0.45);
    box-shadow: var(--shadow-glow);
    background: linear-gradient(180deg, #0f1a12 0%, var(--bg-black) 100%);
}

.plan-badge {
    position: absolute;
    top: -0.45rem;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary);
    color: #052e16;
    font-size: 0.55rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    padding: 0.15rem 0.45rem;
    border-radius: 999px;
    white-space: nowrap;
}

.subscribe-plan-head {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    margin-top: 0.15rem;
}

.subscribe-plan-card h2 {
    font-family: var(--font-display);
    font-size: clamp(0.8rem, 2.5vw, 0.95rem);
    font-weight: 700;
    margin: 0;
    letter-spacing: -0.01em;
}

.subscribe-plan-card .subscribe-price {
    font-size: clamp(1rem, 3.5vw, 1.2rem);
    font-weight: 800;
    color: var(--primary);
    margin: 0;
    line-height: 1.2;
}

.plan-description {
    font-size: clamp(0.6rem, 2vw, 0.7rem);
    color: var(--text-muted);
    line-height: 1.35;
    margin: 0;
}

.plan-features-short {
    font-size: clamp(0.55rem, 1.8vw, 0.65rem);
    color: var(--text-muted);
    margin: 0;
    letter-spacing: 0.02em;
}

.subscribe-plan-form {
    margin-top: auto;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.subscribe-email-input {
    width: 100%;
    padding: 0.45rem 0.5rem;
    background: var(--bg-alt);
    border: 1px solid var(--border);
    border-radius: 6px;
    color: var(--text);
    font-family: var(--font);
    font-size: clamp(0.75rem, 2.5vw, 0.8rem);
    min-height: 36px;
}

.subscribe-email-input:focus {
    outline: none;
    border-color: var(--primary);
}

.subscribe-pay-btn {
    min-height: 36px;
    padding: 0.4rem 0.65rem;
    font-size: clamp(0.75rem, 2.5vw, 0.8rem);
    max-width: none;
}

.auth-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: clamp(1.5rem, 4vw, 2rem);
    max-width: 420px;
    margin: 0 auto;
}

.auth-form .btn-block {
    margin-top: 0.5rem;
}

.auth-switch {
    margin-top: 1.25rem;
    text-align: center;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.auth-switch a {
    color: var(--primary);
    font-weight: 600;
}

.auth-prompt {
    text-align: center;
    margin-bottom: 1.5rem;
    padding: 1.25rem;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
}

.auth-prompt-actions {
    display: flex;
    gap: 0.75rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 1rem;
}

.subscribe-user-note {
    text-align: center;
    margin-bottom: 1rem;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.nav-user {
    color: var(--primary);
    font-weight: 600;
    font-size: 0.85rem;
}

.status-badge {
    display: inline-block;
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
}

.status-pending {
    background: rgba(234, 179, 8, 0.15);
    color: #eab308;
}

.status-active {
    background: rgba(34, 197, 94, 0.15);
    color: var(--primary);
}

.status-inactive {
    background: rgba(239, 68, 68, 0.15);
    color: #ef4444;
}

.text-muted {
    color: var(--text-muted);
    font-size: 0.85rem;
}

.subscribe-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: clamp(1.5rem, 4vw, 2.5rem);
    text-align: center;
}

.subscribe-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.subscribe-card h2 {
    font-size: clamp(1.25rem, 3.5vw, 1.5rem);
    margin-bottom: 0.75rem;
}

.subscribe-price {
    font-size: clamp(1.5rem, 4vw, 2rem);
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 1.25rem;
}

.subscribe-features {
    list-style: none;
    text-align: left;
    max-width: 320px;
    margin: 0 auto;
    color: var(--text-muted);
    font-size: 0.8rem;
}

.subscribe-plan-card .subscribe-features {
    margin: 0;
    max-width: none;
}

/* Subscribe plans — responsive */
@media (max-width: 768px) {
    .subscribe-plans {
        grid-template-columns: repeat(3, 1fr);
        gap: 0.45rem;
        max-width: 100%;
    }

    .subscribe-plan-card {
        padding: 0.55rem 0.45rem;
    }

    .subscribe-plan-card.featured {
        padding-top: 0.65rem;
    }

    .plan-description {
        display: none;
    }

    .plan-features-short {
        display: none;
    }
}

@media (max-width: 520px) {
    .subscribe-plans {
        grid-template-columns: 1fr;
        max-width: 280px;
        gap: 0.65rem;
    }

    .subscribe-plan-card {
        padding: 0.75rem;
    }

    .plan-description,
    .plan-features-short {
        display: block;
    }

    .subscribe-email-input {
        font-size: 16px;
        min-height: 40px;
    }

    .subscribe-pay-btn {
        min-height: 40px;
        max-width: none;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .subscribe-plans {
        max-width: 640px;
    }
}

@media (min-width: 1025px) {
    .subscribe-plans {
        gap: 0.85rem;
        max-width: 720px;
    }
}

.subscribe-features li {
    padding: 0.4rem 0;
    padding-left: 1.25rem;
    position: relative;
}

.subscribe-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: 700;
}

.subscribe-form {
    display: flex;
    justify-content: center;
    margin-bottom: 1rem;
}

.subscribe-note {
    font-size: 0.8rem;
    color: var(--text-muted);
    line-height: 1.5;
    text-align: center;
    max-width: 640px;
    margin: 0 auto;
}

/* Prediction hidden (non-subscribers) */
.prediction-hidden-card .prediction-hidden-body,
.prediction-hidden-panel {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    text-align: center;
    padding: 1.25rem 1rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px dashed var(--border-light);
    border-radius: var(--radius-sm);
    margin-top: 0.25rem;
}

.prediction-hidden-panel {
    margin: 1.5rem 0;
    padding: 2rem 1.5rem;
    border-radius: var(--radius);
}

.prediction-hidden-body .lock-icon,
.prediction-hidden-panel .lock-icon {
    font-size: 1.75rem;
}

.prediction-hidden-body p,
.prediction-hidden-panel h3 {
    font-size: 0.9rem;
    font-weight: 700;
    margin: 0;
    color: var(--text);
}

.prediction-hidden-panel h3 {
    font-size: 1.15rem;
}

.prediction-hidden-hint,
.prediction-hidden-panel p {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin: 0;
    line-height: 1.5;
}

.prediction-hidden-panel p {
    font-size: 0.9rem;
    max-width: 320px;
}

.prediction-lock-banner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem 1.25rem;
    margin-bottom: 1.25rem;
    background: linear-gradient(90deg, rgba(34, 197, 94, 0.1), rgba(34, 197, 94, 0.03));
    border: 1px solid rgba(34, 197, 94, 0.25);
    border-radius: var(--radius);
}

.prediction-lock-banner p {
    margin: 0;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.prediction-lock-banner strong {
    color: var(--text);
}

.subscribe-teaser {
    text-align: center;
    padding: clamp(1.5rem, 4vw, 2rem);
    background: linear-gradient(180deg, rgba(34, 197, 94, 0.06), var(--bg-card));
    border: 1px dashed rgba(34, 197, 94, 0.3);
    border-radius: var(--radius);
}

.subscribe-teaser p {
    color: var(--text-muted);
    margin-bottom: 1rem;
}

/* Hero */
.hero {
    padding: var(--section-pad) 0 clamp(2rem, 4vw, 3rem);
    position: relative;
    overflow: hidden;
    background: linear-gradient(180deg, #0a0a0a 0%, #050505 100%);
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(ellipse 80% 50% at 50% -20%, rgba(16, 185, 129, 0.2), transparent),
        radial-gradient(ellipse 60% 40% at 100% 50%, rgba(16, 185, 129, 0.1), transparent),
        radial-gradient(ellipse 50% 30% at 0% 80%, rgba(16, 185, 129, 0.08), transparent);
    pointer-events: none;
}

.hero .container {
    position: relative;
    z-index: 1;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto clamp(2rem, 5vw, 3rem);
    text-align: center;
}

.hero-badge {
    display: inline-block;
    background: rgba(16, 185, 129, 0.2);
    color: var(--primary);
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    padding: 0.6rem 1.5rem;
    border-radius: 999px;
    border: 1px solid rgba(16, 185, 129, 0.4);
    margin-bottom: 2rem;
    backdrop-filter: blur(10px);
}

.hero h1 {
    font-family: var(--font-display);
    font-size: clamp(2.75rem, 8vw, 4.5rem);
    font-weight: 800;
    line-height: 1.05;
    margin-bottom: 1.5rem;
    letter-spacing: -0.04em;
    color: #ffffff;
}


.text-gradient {
    background: linear-gradient(135deg, #34d399 0%, var(--primary) 50%, #6ee7b7 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero p {
    color: rgba(255, 255, 255, 0.8);
    font-size: clamp(1.1rem, 2.5vw, 1.25rem);
    margin-bottom: 2.5rem;
    line-height: 1.7;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
}

.hero-actions .btn-primary,
.hero-actions .btn-outline {
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.4);
}

.hero-actions .btn-primary:hover,
.hero-actions .btn-outline:hover {
    background: rgba(255, 255, 255, 0.15);
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-2px);
}

.hero .stat-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(20px);
}

.hero .stat-card:hover {
    border-color: rgba(16, 185, 129, 0.5);
    box-shadow: 0 8px 32px rgba(16, 185, 129, 0.2);
}

.hero .stat-value,
.hero .stat-label {
    color: #ffffff;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 0.9rem;
    border: none;
    cursor: pointer;
    transition: all 0.2s;
    font-family: var(--font);
}

.btn-primary {
    background: linear-gradient(135deg, #34d399, var(--primary));
    color: #000;
    box-shadow: 0 4px 24px rgba(16, 185, 129, 0.4);
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: #000;
    box-shadow: 0 6px 32px rgba(16, 185, 129, 0.5);
    transform: translateY(-1px);
}

.btn-outline {
    background: transparent;
    color: var(--text);
    border: 1px solid var(--border-light);
}

.btn-outline:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: rgba(16, 185, 129, 0.1);
}

.btn-sm {
    padding: 0.4rem 0.75rem;
    font-size: 0.8rem;
}

.btn-block {
    width: 100%;
    max-width: 280px;
    margin-left: auto;
    margin-right: auto;
}

.admin-card form > .btn,
.admin-login form > .btn {
    display: flex;
    margin-left: auto;
    margin-right: auto;
}

.admin-card .form-check {
    text-align: center;
}

/* Stats */
.stats-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: clamp(0.5rem, 2vw, 1rem);
    max-width: 400px;
    margin: 0 auto;
}

.stat-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius);
    padding: clamp(1rem, 2.5vw, 1.5rem);
    text-align: center;
    min-width: 0;
    transition: border-color 0.25s, box-shadow 0.25s;
    backdrop-filter: blur(24px);
}

.stat-card:hover {
    border-color: rgba(16, 185, 129, 0.5);
    box-shadow: 0 8px 32px rgba(16, 185, 129, 0.25);
}

.stat-value {
    display: block;
    font-size: clamp(1.5rem, 4vw, 2rem);
    font-weight: 800;
    color: var(--primary);
}

.stat-label {
    font-size: 0.85rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

/* Sections */
.section {
    padding: var(--section-pad) 0;
}

.section-alt {
    background: var(--bg-alt);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.5rem;
    position: relative;
}

.section-header h2 {
    font-family: var(--font-display);
    font-size: clamp(1.2rem, 3.5vw, 1.5rem);
    font-weight: 700;
    letter-spacing: -0.02em;
}

.section-header h2::after {
    content: '';
    display: block;
    width: 40px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), transparent);
    border-radius: 2px;
    margin-top: 0.5rem;
}

.link-more {
    color: var(--text-muted);
    font-size: 0.9rem;
    font-weight: 500;
}

.link-more:hover {
    color: var(--primary);
}

.page-header {
    padding: 2.5rem 0 1rem;
    background: linear-gradient(180deg, var(--bg-alt) 0%, var(--bg-black) 100%);
    border-bottom: 1px solid var(--border);
    text-align: center;
}

.page-header .container {
    max-width: 720px;
}

.page-header h1 {
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 4.5vw, 2rem);
    font-weight: 800;
    margin-bottom: 0.5rem;
    letter-spacing: -0.02em;
}

.page-header p {
    color: var(--text-muted);
}

.page-header-compact {
    padding: 1.5rem 0;
}

.back-link {
    display: inline-block;
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 0.75rem;
}

.back-link:hover {
    color: var(--primary);
}

/* Filter bar */
.filter-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    -webkit-overflow-scrolling: touch;
}

.filter-chip {
    padding: 0.4rem 1rem;
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-muted);
    background: var(--bg-card);
    border: 1px solid var(--border);
    transition: all 0.2s;
}

.filter-chip:hover,
.filter-chip.active {
    color: var(--primary);
    border-color: rgba(34, 197, 94, 0.5);
    background: rgba(34, 197, 94, 0.08);
}

/* Prediction cards */
.prediction-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.75rem;
    max-width: 320px;
    margin: 0 auto;
}

.prediction-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    padding: clamp(0.875rem, 2.5vw, 1.125rem);
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    transition: border-color 0.25s, transform 0.25s, box-shadow 0.25s;
    position: relative;
    min-width: 0;
    width: 100%;
    backdrop-filter: blur(24px);
}

@media (hover: hover) {
    .prediction-card:hover {
        border-color: rgba(16, 185, 129, 0.5);
        transform: translateY(-3px);
        box-shadow: 0 8px 32px rgba(16, 185, 129, 0.25);
    }
}

.card-league {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.35rem;
    font-size: 0.65rem;
    color: var(--text-muted);
    font-weight: 500;
}

.prediction-card .badge {
    font-size: 0.6rem;
    padding: 0.15rem 0.45rem;
}

.card-matchup {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    width: 100%;
}

.prediction-card .team-badge {
    width: 22px;
    height: 22px;
    font-size: 0.55rem;
    border-radius: 6px;
}

.team {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex: 1;
    min-width: 0;
}

.team:first-child {
    justify-content: flex-end;
    text-align: right;
}

.prediction-card .team-name {
    font-size: 0.7rem;
    -webkit-line-clamp: 1;
}

.team-name {
    font-weight: 600;
    font-size: clamp(0.75rem, 2.5vw, 0.9rem);
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    word-break: break-word;
}

.team-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: clamp(28px, 8vw, 32px);
    height: clamp(28px, 8vw, 32px);
    background: var(--bg-alt);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--text-muted);
    flex-shrink: 0;
}

.team-badge.large {
    width: 48px;
    height: 48px;
    font-size: 0.85rem;
}

.vs {
    color: var(--text-muted);
    font-size: 0.75rem;
    font-weight: 600;
    flex-shrink: 0;
}

.vs.large {
    font-size: 1rem;
}

.card-pick {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 0.45rem 0.5rem;
    text-align: center;
}

.card-pick-compact {
    margin-top: 0.5rem;
}

.section-header-spaced {
    margin-top: 2rem;
}

.pick-label {
    display: block;
    font-size: 0.6rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.15rem;
}

.pick-value {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--primary);
    word-break: break-word;
}

.card-percent {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.card-percent-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
}

.card-percent-label {
    font-size: 0.6rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    font-weight: 500;
}

.card-percent-value {
    font-size: 0.75rem;
    font-weight: 700;
}

.card-percent-track {
    height: 5px;
    background: var(--bg-alt);
    border-radius: 999px;
    overflow: hidden;
}

.card-percent-fill {
    height: 100%;
    border-radius: 999px;
    transition: width 0.4s ease;
}

.card-percent-fill.confidence-high { background: var(--primary); }
.card-percent-fill.confidence-medium { background: var(--warning); }
.card-percent-fill.confidence-low { background: var(--text-muted); }

.card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    font-size: 0.65rem;
}

.card-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.5rem;
    font-size: 0.85rem;
}

.confidence {
    font-weight: 600;
}

.confidence-high { color: var(--primary); }
.confidence-medium { color: var(--warning); }
.confidence-low { color: var(--text-muted); }

.odds {
    color: var(--text-muted);
    font-weight: 500;
}

.card-date {
    font-size: 0.65rem;
    color: var(--text-muted);
}

.prediction-card .odds {
    font-size: 0.65rem;
}

.card-link {
    font-size: 0.7rem;
    font-weight: 600;
    margin-top: 0.15rem;
    position: relative;
    z-index: 1;
}

.card-link::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: var(--radius);
}

/* Badges */
.badge {
    display: inline-block;
    padding: 0.2rem 0.6rem;
    border-radius: 999px;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.badge-pending { background: rgba(148, 163, 184, 0.15); color: var(--text-muted); }
.badge-won { background: rgba(34, 197, 94, 0.15); color: var(--primary); }
.badge-lost { background: rgba(239, 68, 68, 0.15); color: var(--danger); }
.badge-void { background: rgba(245, 158, 11, 0.15); color: var(--warning); }
.badge-live { background: rgba(239, 68, 68, 0.2); color: var(--danger); animation: pulse 1.5s infinite; }

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.6; }
}

/* Match outcomes (home page) */
.match-outcomes-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: clamp(0.875rem, 2.5vw, 1.25rem);
    max-width: 600px;
    margin: 0 auto;
}

.match-outcomes-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius);
    padding: clamp(1rem, 3vw, var(--card-pad));
    display: flex;
    flex-direction: column;
    gap: 1rem;
    backdrop-filter: blur(20px);
}

.match-outcomes-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.75rem;
}

.match-outcomes-league {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    min-width: 0;
}

.match-outcomes-league span {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--text-muted);
}

.match-outcomes-league time {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.match-outcomes-link {
    font-size: 0.8rem;
    color: var(--text-muted);
    white-space: nowrap;
}

.match-outcomes-link:hover {
    color: #ffffff;
}

.match-outcomes-teams {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 0.75rem;
}

.match-outcomes-team {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    min-width: 0;
}

.match-outcomes-team-away {
    flex-direction: row-reverse;
    text-align: right;
}

.match-outcomes-team-name {
    font-size: 0.9rem;
    font-weight: 600;
    line-height: 1.3;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.outcome-buttons {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.5rem;
}

.outcome-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.15rem;
    min-height: 72px;
    padding: 0.65rem 0.4rem;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-light);
    background: #000000;
    color: #ffffff;
    text-align: center;
    transition: border-color 0.2s, background 0.2s, transform 0.2s;
}

.outcome-btn:hover {
    border-color: #ffffff;
    color: #ffffff;
    transform: translateY(-1px);
}

.outcome-btn-locked {
    opacity: 0.85;
}

.outcome-btn-pick {
    border-color: #ffffff;
    background: #ffffff;
    color: #000000;
}

.outcome-btn-pick:hover {
    background: #ffffff;
    color: #000000;
}

.outcome-code {
    font-size: 1rem;
    font-weight: 800;
    line-height: 1;
}

.outcome-label {
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.outcome-odds {
    font-size: 0.7rem;
    opacity: 0.85;
}

.outcome-extra {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.outcome-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.35rem 0.6rem;
    border-radius: 999px;
    border: 1px solid var(--border-light);
    background: #000000;
    color: #ffffff;
    font-size: 0.75rem;
}

.outcome-chip em {
    font-style: normal;
    color: var(--text-muted);
}

.outcome-locked-note {
    margin: 0;
    font-size: 0.8rem;
    color: var(--text-muted);
    text-align: center;
}

/* Match cards */
.match-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr));
    gap: 0.875rem;
}

.match-card {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    padding: 1rem;
    background: linear-gradient(160deg, var(--bg-card) 0%, #080808 100%);
    border: 1px solid var(--border);
    border-radius: 12px;
    color: var(--text);
    transition: border-color 0.25s, transform 0.25s, box-shadow 0.25s;
    min-width: 0;
    height: 100%;
}

@media (hover: hover) {
    .match-card:hover {
        border-color: rgba(34, 197, 94, 0.45);
        transform: translateY(-3px);
        box-shadow: var(--shadow-glow);
        color: var(--text);
    }
}

.match-card-league {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    font-size: 0.7rem;
    color: var(--text-muted);
}

.match-card-league-name {
    font-weight: 600;
    color: var(--text);
    font-size: 0.75rem;
}

.match-card-country {
    font-size: 0.65rem;
    white-space: nowrap;
}

.match-card-teams {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    width: 100%;
}

.match-card-team {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    flex: 1;
    min-width: 0;
}

.match-card-team:first-child {
    justify-content: flex-end;
    text-align: right;
    flex-direction: row-reverse;
}

.match-card-team-name {
    font-weight: 600;
    font-size: 0.8rem;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    word-break: break-word;
}

.match-card .team-badge {
    width: 28px;
    height: 28px;
    font-size: 0.6rem;
    flex-shrink: 0;
}

.match-card-meta {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    text-align: center;
    font-size: 0.75rem;
    color: var(--text-muted);
    padding: 0.5rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border);
    border-radius: 8px;
}

.match-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    margin-top: auto;
    padding-top: 0.25rem;
}

.match-card-link {
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--primary);
    white-space: nowrap;
}

.match-vs {
    color: var(--text-muted);
    font-size: 0.8rem;
    font-weight: 600;
}

.match-date {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.match-info {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.venue {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.match-tips {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--primary);
    white-space: nowrap;
}

.match-tips.muted {
    color: var(--text-muted);
    font-weight: 400;
}

/* Prediction detail */
.prediction-detail {
    background: linear-gradient(180deg, var(--bg-card) 0%, var(--bg-black) 100%);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: clamp(1.25rem, 4vw, 2rem);
    box-shadow: var(--shadow);
}

.detail-matchup {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 1.5rem;
    text-align: center;
    margin-bottom: 2rem;
}

.detail-team h2 {
    font-size: clamp(0.95rem, 3vw, 1.1rem);
    font-weight: 700;
    margin-top: 0.5rem;
    word-break: break-word;
}

.detail-center {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.detail-center time {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.score {
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary);
}

.detail-pick-box {
    background: rgba(34, 197, 94, 0.05);
    border: 1px solid rgba(34, 197, 94, 0.2);
    border-radius: var(--radius);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.pick-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.75rem;
    font-size: 0.85rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.pick-main {
    font-size: clamp(1.35rem, 5vw, 1.75rem);
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 1rem;
    word-break: break-word;
}

.pick-stats {
    display: flex;
    flex-wrap: wrap;
    gap: clamp(1rem, 3vw, 2rem);
}

.pick-stat .label {
    display: block;
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-bottom: 0.25rem;
}

.pick-stat .value {
    font-weight: 700;
}

.detail-analysis h3 {
    font-size: 1rem;
    margin-bottom: 0.75rem;
}

.detail-analysis p {
    color: var(--text-muted);
    line-height: 1.7;
}

.detail-actions {
    margin-top: 1.5rem;
    display: flex;
    justify-content: center;
}

/* Empty state */
.empty-state {
    text-align: center;
    padding: clamp(2rem, 5vw, 3rem) var(--card-pad);
    color: var(--text-muted);
    background: var(--bg-card);
    border: 1px dashed var(--border);
    border-radius: var(--radius);
}

/* Footer */
.site-footer {
    border-top: 1px solid var(--border);
    padding: 2rem 0 calc(2rem + env(safe-area-inset-bottom, 0));
    margin-top: 2rem;
    background: #000;
    padding-left: env(safe-area-inset-left, 0);
    padding-right: env(safe-area-inset-right, 0);
}

.footer-inner {
    text-align: center;
}

.footer-brand {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
}

.footer-disclaimer {
    font-size: 0.8rem;
    color: var(--text-muted);
    max-width: 500px;
    margin: 0 auto 0.5rem;
}

.footer-copy {
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* Admin */
.admin-body {
    background: var(--bg-black);
}

.admin-wrapper {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    padding: var(--section-pad) var(--container-pad);
}

.admin-login {
    width: 100%;
    max-width: 400px;
    margin: clamp(2rem, 6vw, 4rem) auto;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: clamp(1.5rem, 4vw, 2rem);
}

.admin-login h1 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    text-align: center;
}

.admin-hint {
    text-align: center;
    margin-top: 1rem;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.admin-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.5rem;
}

.admin-header h1 {
    font-size: 1.5rem;
}

.admin-stats {
    display: flex;
    gap: 1.5rem;
}

.admin-stat {
    font-size: 0.9rem;
    color: var(--text-muted);
    font-weight: 500;
}

.admin-stat strong {
    color: var(--text);
}

.admin-header div {
    display: flex;
    gap: 0.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.admin-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.admin-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: clamp(1rem, 3vw, 1.5rem);
    min-width: 0;
}

.admin-card h2 {
    font-size: 1.1rem;
    margin-bottom: 1.25rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--border);
}

.admin-card-full {
    grid-column: 1 / -1;
}

.form-group {
    margin-bottom: 1rem;
}

.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-muted);
    margin-bottom: 0.35rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.6rem 0.75rem;
    background: var(--bg-alt);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    color: var(--text);
    font-family: var(--font);
    font-size: 0.9rem;
    transition: border-color 0.2s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-check label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    color: var(--text);
}

.form-check input[type="checkbox"] {
    width: auto;
}

.form-hint {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
    line-height: 1.5;
}

.new-match-fields {
    background: var(--bg-alt);
    border: 1px dashed var(--border);
    border-radius: var(--radius-sm);
    padding: 1rem;
    margin-bottom: 1rem;
}

.new-match-fields .form-hint {
    margin-top: 0;
    margin-bottom: 0.75rem;
}

.alert {
    padding: 0.75rem 1rem;
    border-radius: var(--radius-sm);
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.alert-success {
    background: rgba(34, 197, 94, 0.1);
    border: 1px solid rgba(34, 197, 94, 0.3);
    color: var(--primary);
}

.alert-error {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: var(--danger);
}

.admin-table-wrap {
    overflow-x: auto;
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
}

.admin-table th,
.admin-table td {
    padding: 0.75rem;
    text-align: left;
    border-bottom: 1px solid var(--border);
}

.admin-table th {
    color: var(--text-muted);
    font-weight: 600;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.admin-table small {
    color: var(--text-muted);
}

.inline-form {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    align-items: center;
}

.inline-form select {
    padding: 0.35rem 0.5rem;
    background: var(--bg-alt);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    color: var(--text);
    font-size: 0.8rem;
}

/* Prevent iOS zoom on form focus */
@media (max-width: 768px) {
    .form-group input,
    .form-group select,
    .form-group textarea {
        font-size: 16px;
    }
}

/* ── Responsive: Large tablets & small laptops ── */
@media (max-width: 1024px) {
    .prediction-grid,
    .match-grid {
        grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr));
    }
}

/* ── Responsive: Small tablets ── */
@media (max-width: 900px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ── Responsive: Tablets & large phones ── */
@media (max-width: 768px) {
    .main-nav {
        left: calc(-1 * var(--container-pad));
        right: calc(-1 * var(--container-pad));
        min-width: auto;
        top: calc(100% + 0.35rem);
        border-radius: var(--radius-sm);
        padding: 0.5rem var(--container-pad) 0.75rem;
    }

    .main-nav a {
        width: 100%;
    }

    .hero-actions {
        flex-direction: column;
        align-items: center;
    }

    .hero-actions .btn {
        width: 100%;
        max-width: 320px;
        min-height: 44px;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }

    .filter-bar {
        flex-wrap: nowrap;
        overflow-x: auto;
        padding-bottom: 0.25rem;
        margin-left: calc(-1 * var(--container-pad));
        margin-right: calc(-1 * var(--container-pad));
        padding-left: var(--container-pad);
        padding-right: var(--container-pad);
        scrollbar-width: none;
    }

    .filter-bar::-webkit-scrollbar {
        display: none;
    }

    .filter-chip {
        flex-shrink: 0;
        white-space: nowrap;
    }

    .prediction-grid,
    .match-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.5rem;
    }

    .card-matchup {
        flex-wrap: wrap;
        justify-content: center;
    }

    .team {
        flex: 1 1 40%;
        max-width: calc(50% - 1rem);
    }

    .team:first-child {
        justify-content: flex-start;
        text-align: left;
        flex-direction: row-reverse;
    }

    .match-card-teams {
        flex-wrap: wrap;
        justify-content: center;
    }

    .match-card-team {
        flex: 1 1 40%;
        max-width: calc(50% - 1rem);
    }

    .match-card-team:first-child {
        flex-direction: row-reverse;
    }

    .detail-matchup {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }

    .detail-team {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .detail-pick-box {
        padding: clamp(1rem, 3vw, 1.5rem);
    }

    .pick-header {
        flex-wrap: wrap;
        gap: 0.5rem;
    }

    .detail-actions .btn {
        width: 100%;
        max-width: 320px;
        min-height: 44px;
    }

    .admin-header {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 1rem;
    }

    .admin-header div {
        width: 100%;
        justify-content: center;
    }

    .admin-header .btn {
        min-width: 120px;
        min-height: 44px;
    }

    .admin-card form > .btn {
        width: 100%;
        max-width: 320px;
    }

    .admin-grid {
        grid-template-columns: 1fr;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .admin-table th,
    .admin-table td {
        padding: 0.5rem;
        font-size: 0.8rem;
    }

    .site-footer {
        padding: 1.5rem 0;
    }

    .footer-disclaimer {
        padding: 0 var(--container-pad);
    }
}

/* ── Responsive: Small phones ── */
@media (max-width: 480px) {
    .logo-text {
        font-size: 0.95rem;
    }

    .logo-icon {
        font-size: 1.25rem;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.5rem;
    }

    .stat-label {
        font-size: 0.7rem;
    }

    .prediction-card {
        padding: 0.65rem;
    }

    .card-league {
        flex-wrap: wrap;
        gap: 0.35rem;
    }

    .team-badge.large {
        width: 40px;
        height: 40px;
        font-size: 0.75rem;
    }

    .score {
        font-size: 1.5rem;
    }

    .page-header {
        padding: 1.75rem 0 0.75rem;
    }

    .page-header-compact {
        padding: 1rem 0;
    }

    .match-teams {
        font-size: 0.875rem;
        line-height: 1.4;
    }

    .match-teams > span:not(.match-vs) {
        white-space: normal;
        word-break: break-word;
    }

    .admin-login {
        margin-top: 1.5rem;
    }

    .admin-card {
        padding: 1rem;
    }

    /* Stack admin table rows as cards on very small screens */
    .admin-table thead {
        display: none;
    }

    .admin-table,
    .admin-table tbody,
    .admin-table tr,
    .admin-table td {
        display: block;
        width: 100%;
    }

    .admin-table tr {
        background: var(--bg-alt);
        border: 1px solid var(--border);
        border-radius: var(--radius-sm);
        margin-bottom: 0.75rem;
        padding: 0.75rem;
    }

    .admin-table td {
        border: none;
        padding: 0.35rem 0;
        text-align: left;
    }

    .admin-table td::before {
        content: attr(data-label);
        display: block;
        font-size: 0.7rem;
        font-weight: 600;
        text-transform: uppercase;
        letter-spacing: 0.03em;
        color: var(--text-muted);
        margin-bottom: 0.15rem;
    }

    .admin-table td:last-child {
        padding-top: 0.75rem;
        margin-top: 0.5rem;
        border-top: 1px solid var(--border);
    }

    .inline-form {
        width: 100%;
    }

    .inline-form select,
    .inline-form .btn {
        flex: 1;
        min-width: 0;
    }
}

/* ── Responsive: Very small screens ── */
@media (max-width: 360px) {
    .hero h1 {
        font-size: 1.65rem;
    }

    .team-name {
        -webkit-line-clamp: 1;
    }

    .card-matchup .vs {
        width: 100%;
        text-align: center;
        order: -1;
        margin-bottom: 0.25rem;
    }

    .team {
        flex: 1 1 100%;
        max-width: 100%;
    }

    .team:first-child {
        flex-direction: row;
    }

    .prediction-grid {
        grid-template-columns: 1fr;
    }
}

/* ── PWA install & alerts banner ── */
.pwa-banner {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1200;
    padding: 0.75rem 0 calc(0.75rem + env(safe-area-inset-bottom));
    background: rgba(0, 0, 0, 0.94);
    border-top: 1px solid var(--border);
    backdrop-filter: blur(10px);
}

.pwa-banner-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}

.pwa-banner-text strong {
    display: block;
    font-family: 'Outfit', sans-serif;
    color: var(--primary);
    margin-bottom: 0.2rem;
}

.pwa-banner-text p {
    margin: 0;
    font-size: 0.85rem;
    color: var(--text-muted);
    max-width: 36rem;
}

.pwa-banner-actions {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.pwa-dismiss {
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-size: 1.5rem;
    line-height: 1;
    cursor: pointer;
    padding: 0.25rem 0.5rem;
}

.pwa-dismiss:hover {
    color: var(--text);
}

/* ── Notification Prompt ── */
.notification-prompt {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1199;
    padding: 0.75rem 0 calc(0.75rem + env(safe-area-inset-bottom));
    background: rgba(0, 0, 0, 0.94);
    border-top: 1px solid var(--border);
    backdrop-filter: blur(10px);
}

.notification-prompt-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}

.notification-prompt-text strong {
    display: block;
    font-family: 'Outfit', sans-serif;
    color: var(--primary);
    margin-bottom: 0.2rem;
}

.notification-prompt-text p {
    margin: 0;
    font-size: 0.85rem;
    color: var(--text-muted);
    max-width: 36rem;
}

.notification-prompt-actions {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-shrink: 0;
}

@media (max-width: 640px) {
    .notification-prompt-inner {
        flex-direction: column;
        align-items: stretch;
    }

    .notification-prompt-actions {
        width: 100%;
    }

    .notification-prompt-actions .btn {
        flex: 1;
    }
}

@media (max-width: 640px) {
    .pwa-banner-inner {
        flex-direction: column;
        align-items: stretch;
    }

    .pwa-banner-actions {
        width: 100%;
    }

    .pwa-banner-actions .btn {
        flex: 1;
    }
}

/* ── Responsive: Large desktops ── */
@media (min-width: 1400px) {
    .container {
        max-width: 1320px;
    }

    .prediction-grid,
    .match-grid {
        grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr));
    }
}

/* ── Footer ── */
.site-footer {
    background: var(--bg-alt);
    border-top: 1px solid var(--border);
    padding: clamp(2rem, 5vw, 3rem) 0;
    margin-top: auto;
}

.footer-inner {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: clamp(1.1rem, 3vw, 1.3rem);
    font-weight: 800;
    color: var(--text);
}

.footer-tagline {
    color: var(--text-muted);
    font-size: clamp(0.9rem, 2vw, 1rem);
    line-height: 1.6;
    max-width: 600px;
}

.footer-sections {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 1rem;
}

.footer-section-title {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--text);
}

.footer-link {
    display: block;
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    transition: color 0.2s;
}

.footer-link:hover {
    color: var(--primary);
}

.footer-compliance {
    color: var(--text-muted);
    font-size: 0.85rem;
    line-height: 1.5;
}

.footer-copy {
    color: var(--text-muted);
    font-size: 0.8rem;
    margin-top: 1rem;
}

/* ── Subscription Tiers Section ── */
.tiers-section {
    padding: var(--section-pad) 0;
    background: linear-gradient(180deg, var(--bg-alt) 0%, var(--bg-black) 100%);
}

.tiers-header {
    text-align: center;
    margin-bottom: 2rem;
}

.tiers-header h2 {
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 4vw, 2rem);
    font-weight: 700;
    margin-bottom: 0.5rem;
    letter-spacing: -0.02em;
}

.tiers-header p {
    color: var(--text-muted);
    font-size: clamp(0.9rem, 2vw, 1rem);
    max-width: 600px;
    margin: 0 auto;
}

.tiers-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    max-width: 600px;
    margin: 0 auto;
}

.tier-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius);
    padding: clamp(1.25rem, 3vw, 1.75rem);
    display: flex;
    flex-direction: column;
    gap: 1rem;
    transition: border-color 0.25s, transform 0.25s, box-shadow 0.25s;
    backdrop-filter: blur(24px);
}

.tier-card:hover {
    border-color: rgba(16, 185, 129, 0.5);
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(16, 185, 129, 0.25);
}

.tier-odds {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 0.25rem;
}

.tier-title {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0;
}

.tier-description {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.5;
    flex-grow: 1;
}

.tier-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: clamp(0.75rem, 2.5vw, 1rem) clamp(1rem, 3vw, 1.5rem);
    background: rgba(34, 197, 94, 0.1);
    color: var(--primary);
    border: 1px solid rgba(34, 197, 94, 0.3);
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: clamp(0.85rem, 2vw, 0.9rem);
    transition: all 0.2s;
    min-height: 44px;
}

.tier-link:hover {
    background: rgba(34, 197, 94, 0.2);
    border-color: rgba(34, 197, 94, 0.5);
}

/* ── Testimonials Section ── */
.testimonials-section {
    padding: var(--section-pad) 0;
}

.testimonials-header {
    text-align: center;
    margin-bottom: 2rem;
}

.testimonials-header h2 {
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 4vw, 2rem);
    font-weight: 700;
    margin-bottom: 0.5rem;
    letter-spacing: -0.02em;
}

.testimonials-header p {
    color: var(--text-muted);
    font-size: clamp(0.9rem, 2vw, 1rem);
    max-width: 600px;
    margin: 0 auto;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    max-width: 600px;
    margin: 0 auto;
}

.testimonial-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius);
    padding: clamp(1.25rem, 3vw, 1.75rem);
    display: flex;
    flex-direction: column;
    gap: 1rem;
    backdrop-filter: blur(24px);
}

.testimonial-text {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.95rem;
    line-height: 1.6;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.testimonial-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1rem;
    color: #000;
}

.testimonial-name {
    font-weight: 600;
    font-size: 0.95rem;
}

.testimonial-role {
    color: var(--text-muted);
    font-size: 0.8rem;
}

/* ── FAQ Section ── */
.faq-section {
    padding: var(--section-pad) 0;
    background: linear-gradient(180deg, var(--bg-alt) 0%, var(--bg-black) 100%);
}

.faq-header {
    text-align: center;
    margin-bottom: 2rem;
}

.faq-header h2 {
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 4vw, 2rem);
    font-weight: 700;
    margin-bottom: 0.5rem;
    letter-spacing: -0.02em;
}

.faq-header p {
    color: var(--text-muted);
    font-size: clamp(0.9rem, 2vw, 1rem);
    max-width: 600px;
    margin: 0 auto;
}

.faq-grid {
    display: grid;
    gap: 1rem;
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius);
    padding: clamp(1.25rem, 3vw, 1.5rem);
    backdrop-filter: blur(24px);
}

.faq-question {
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: 0.5rem;
    color: #ffffff;
}

.faq-answer {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.6;
}
