/* ==========================================================================
   Series Pages - Athletic Design System
   "Stadium Energy" aesthetic for all Series/* pages

   Uses .sr- prefix (series) for consistent naming with .lb- (leaderboard)
   Builds on athletic-utilities.css for shared typography & effects
   ========================================================================== */

/* ==========================================================================
   CSS Custom Properties - Series Theme
   Uses injected theme colors from _SeriesLayout.cshtml:
   --league-primary, --league-gradient, --league-accent-1, --league-accent-2
   ========================================================================== */
:root {
    /* Surface colors - dark mode by default for athletic feel */
    --sr-bg: linear-gradient(180deg, #0c1220 0%, #1a1f2e 100%);
    --sr-surface: rgba(26, 31, 46, 0.95);
    --sr-surface-elevated: rgba(36, 43, 61, 0.95);
    --sr-surface-glow: color-mix(in srgb, var(--league-primary, var(--flipt-primary, #00A69C)) 8%, transparent);

    /* Borders - use theme primary color */
    --sr-border: rgba(255, 255, 255, 0.08);
    --sr-border-accent: color-mix(in srgb, var(--league-primary, var(--flipt-primary, #00A69C)) 30%, transparent);

    /* Text */
    --sr-text-primary: #ffffff;
    --sr-text-secondary: rgba(255, 255, 255, 0.7);
    --sr-text-muted: rgba(255, 255, 255, 0.5);

    /* Accent colors - use injected theme colors with fallbacks */
    --sr-accent: var(--league-primary, var(--flipt-primary, #00A69C));
    --sr-accent-secondary: var(--league-accent-1, var(--flipt-secondary, #3b82f6));
    --sr-accent-glow: color-mix(in srgb, var(--league-primary, var(--flipt-primary, #00A69C)) 40%, transparent);

    /* Theme gradients - use series theme if available */
    --sr-gradient-primary: var(--league-gradient, linear-gradient(135deg, var(--league-primary, #00A69C) 0%, var(--league-accent-1, #059669) 100%));
}

/* ==========================================================================
   Base Page Container
   ========================================================================== */
.series-page {
    min-height: 100vh;
    background: var(--sr-bg);
    color: var(--sr-text-primary);
    font-family: 'Karla', system-ui, sans-serif;
}

/* ==========================================================================
   Hero Section - Stadium Banner Style
   ========================================================================== */
.sr-hero {
    position: relative;
    padding: 0;
    overflow: hidden;
    background: linear-gradient(135deg, #0c1220 0%, #1a2535 50%, #0f1a28 100%);
}

.sr-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(ellipse 80% 50% at 20% 40%, var(--sr-accent-glow) 0%, transparent 50%),
        radial-gradient(ellipse 60% 40% at 80% 60%, color-mix(in srgb, var(--sr-accent-secondary) 10%, transparent) 0%, transparent 50%);
    pointer-events: none;
}

.sr-hero-content {
    position: relative;
    z-index: 1;
    padding: 2rem 1.5rem 3rem;
}

/* Hero Image Container */
.sr-hero-image-wrapper {
    width: 100%;
    max-width: 600px;
    margin: 0 auto 1.5rem;
    border-radius: 16px;
    overflow: hidden;
    box-shadow:
        0 20px 60px rgba(0, 0, 0, 0.5),
        0 0 40px var(--sr-accent-glow);
    border: 2px solid var(--sr-border-accent);
    position: relative;
}

.sr-hero-image-wrapper::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 14px;
    box-shadow: inset 0 0 40px rgba(0, 0, 0, 0.3);
    pointer-events: none;
}

.sr-hero-image {
    width: 100%;
    height: auto;
    aspect-ratio: 3 / 2;
    object-fit: cover;
    display: block;
    transition: transform 0.6s ease;
}

.sr-hero-image-wrapper:hover .sr-hero-image {
    transform: scale(1.02);
}

/* Hero Title - Athletic Headline */
.sr-hero-title {
    font-family: 'Karla', system-ui, sans-serif;
    font-size: clamp(1.75rem, 5vw, 3rem);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--sr-text-primary);
    text-align: center;
    margin: 0 0 0.5rem;
    line-height: 1.1;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.5);
}

.sr-hero-subtitle {
    font-size: 1rem;
    color: var(--sr-text-secondary);
    text-align: center;
    margin: 0 0 1.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Hero Stats Row */
.sr-hero-stats {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1.5rem;
}

.sr-stat-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1rem;
    background: color-mix(in srgb, var(--sr-accent) 15%, transparent);
    border: 1px solid var(--sr-border-accent);
    border-radius: 100px;
    font-family: 'Karla', system-ui, sans-serif;
    font-weight: 600;
    font-size: 0.85rem;
    color: var(--sr-text-primary);
    transition: all 0.2s ease;
}

.sr-stat-badge:hover {
    background: color-mix(in srgb, var(--sr-accent) 25%, transparent);
    transform: translateY(-2px);
}

.sr-stat-badge i {
    color: var(--sr-accent);
    font-size: 0.9rem;
}

/* ==========================================================================
   Presenting Partner - Sponsor Strip
   ========================================================================== */
.sr-presenting-partner {
    display: flex;
    justify-content: center;
    margin: 1.5rem 0;
}

.sr-partner-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    background: var(--sr-surface);
    border-radius: 16px;
    border: 1px solid var(--sr-border);
    text-decoration: none;
    transition: all 0.3s ease;
}

.sr-partner-link:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    border-color: var(--sr-border-accent);
}

.sr-partner-label {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--sr-text-muted);
}

.sr-partner-logo {
    height: 50px;
    width: auto;
    max-width: 180px;
    object-fit: contain;
    filter: brightness(1.1);
}

/* ==========================================================================
   Section Headers - Athletic Style
   ========================================================================== */
.sr-section {
    padding: 3rem 1.5rem;
    position: relative;
}

.sr-section-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.sr-section-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--sr-gradient-primary);
    border-radius: 12px;
    color: white;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.sr-section-title {
    font-family: 'Karla', system-ui, sans-serif;
    font-size: 1.5rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--sr-text-primary);
    margin: 0;
}

.sr-section-subtitle {
    font-size: 0.9rem;
    color: var(--sr-text-secondary);
    margin: 0.25rem 0 0;
}

.sr-section-divider {
    flex: 1;
    height: 2px;
    background: linear-gradient(90deg, var(--sr-border-accent), transparent);
}

/* ==========================================================================
   Cards - Athletic Surface Style
   ========================================================================== */
.sr-card {
    background: var(--sr-surface);
    border-radius: 16px;
    border: 1px solid var(--sr-border);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.sr-card:hover {
    transform: translateY(-4px);
    box-shadow:
        0 15px 40px rgba(0, 0, 0, 0.3),
        0 0 20px color-mix(in srgb, var(--sr-accent) 10%, transparent);
}

.sr-card-header {
    padding: 1.25rem 1.5rem;
    background: linear-gradient(135deg, color-mix(in srgb, var(--sr-accent) 15%, transparent) 0%, color-mix(in srgb, var(--sr-accent-secondary) 10%, transparent) 100%);
    border-bottom: 1px solid var(--sr-border);
    display: flex;
    align-items: center;
    gap: 1rem;
}

.sr-card-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--sr-gradient-primary);
    border-radius: 10px;
    color: white;
    font-size: 1rem;
    flex-shrink: 0;
}

.sr-card-title {
    font-family: 'Karla', system-ui, sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    color: var(--sr-text-primary);
    margin: 0;
}

.sr-card-body {
    padding: 1.5rem;
}

/* ==========================================================================
   Infographic Grid - Showcase Cards
   ========================================================================== */
.sr-infographic-section {
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.2) 0%, transparent 100%);
    padding: 3rem 1.5rem;
}

.sr-infographic-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

@media (min-width: 640px) {
    .sr-infographic-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .sr-infographic-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.sr-infographic-card {
    background: var(--sr-surface);
    border-radius: 16px;
    border: 1px solid var(--sr-border);
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.sr-infographic-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow:
        0 20px 50px rgba(0, 0, 0, 0.4),
        0 0 30px var(--sr-accent-glow);
    border-color: var(--sr-border-accent);
}

.sr-infographic-image-wrapper {
    position: relative;
    aspect-ratio: 4 / 5;
    overflow: hidden;
}

.sr-infographic-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    transition: transform 0.4s ease;
}

.sr-infographic-card:hover .sr-infographic-image {
    transform: scale(1.05);
}

.sr-infographic-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, transparent 60%);
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 1.5rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.sr-infographic-card:hover .sr-infographic-overlay {
    opacity: 1;
}

.sr-infographic-overlay i {
    font-size: 2rem;
    color: white;
    text-shadow: 0 0 20px var(--sr-accent-glow);
}

.sr-infographic-label {
    padding: 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.sr-infographic-number {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--sr-gradient-primary);
    border-radius: 50%;
    font-family: 'Karla', system-ui, sans-serif;
    font-size: 0.9rem;
    font-weight: 800;
    color: white;
    flex-shrink: 0;
}

.sr-infographic-title {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--sr-text-primary);
    line-height: 1.3;
}

/* ==========================================================================
   Action Bar - CTA Buttons
   ========================================================================== */
.sr-action-section {
    padding: 2rem 1.5rem;
    background: var(--sr-surface);
    border-top: 1px solid var(--sr-border);
    border-bottom: 1px solid var(--sr-border);
}

.sr-action-bar {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 600px;
    margin: 0 auto;
}

@media (min-width: 640px) {
    .sr-action-bar {
        flex-direction: row;
    }
}

.sr-action-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 1rem 1.5rem;
    border-radius: 12px;
    font-family: 'Karla', system-ui, sans-serif;
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    text-decoration: none;
    transition: all 0.3s ease;
    flex: 1;
}

.sr-action-btn-primary {
    background: var(--sr-gradient-primary);
    color: white;
    box-shadow: 0 4px 20px var(--sr-accent-glow);
}

.sr-action-btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px color-mix(in srgb, var(--sr-accent) 50%, transparent);
    color: white;
}

.sr-action-btn-secondary {
    background: var(--sr-surface-elevated);
    color: var(--sr-text-primary);
    border: 2px solid var(--sr-border-accent);
}

.sr-action-btn-secondary:hover {
    background: color-mix(in srgb, var(--sr-accent) 15%, transparent);
    color: var(--sr-text-primary);
    transform: translateY(-3px);
}

/* ==========================================================================
   Benefits Grid - Feature Highlights
   ========================================================================== */
.sr-benefits-section {
    padding: 3rem 1.5rem;
    background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.2) 100%);
}

.sr-benefits-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    max-width: 1000px;
    margin: 0 auto;
}

@media (min-width: 768px) {
    .sr-benefits-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 1.5rem;
    }
}

.sr-benefit-card {
    background: var(--sr-surface);
    border-radius: 16px;
    border: 1px solid var(--sr-border);
    padding: 1.5rem 1rem;
    text-align: center;
    transition: all 0.3s ease;
}

.sr-benefit-card:hover {
    transform: translateY(-4px);
    border-color: var(--sr-border-accent);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.sr-benefit-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, color-mix(in srgb, var(--sr-accent) 20%, transparent) 0%, color-mix(in srgb, var(--sr-accent-secondary) 15%, transparent) 100%);
    border-radius: 16px;
    border: 1px solid var(--sr-border-accent);
}

.sr-benefit-icon i {
    font-size: 1.5rem;
    background: var(--sr-gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.sr-benefit-title {
    font-family: 'Karla', system-ui, sans-serif;
    font-size: 0.95rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    color: var(--sr-text-primary);
    margin: 0 0 0.5rem;
}

.sr-benefit-desc {
    font-size: 0.85rem;
    color: var(--sr-text-secondary);
    margin: 0;
    line-height: 1.4;
}

/* ==========================================================================
   Leagues List - Schedule Grid
   ========================================================================== */
.sr-leagues-section {
    padding: 3rem 1.5rem;
}

.sr-leagues-grid {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    max-width: 800px;
    margin: 0 auto;
}

.sr-league-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.25rem;
    background: var(--sr-surface);
    border: 1px solid var(--sr-border);
    border-radius: 12px;
    text-decoration: none;
    color: var(--sr-text-primary);
    transition: all 0.2s ease;
}

.sr-league-item:hover {
    background: var(--sr-surface-elevated);
    border-color: var(--sr-border-accent);
    transform: translateX(8px);
    color: var(--sr-text-primary);
}

.sr-league-info {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex: 1;
    min-width: 0;
}

.sr-league-image {
    width: 48px;
    height: 48px;
    border-radius: 10px;
    object-fit: cover;
    flex-shrink: 0;
    border: 2px solid var(--sr-border);
}

.sr-league-name {
    font-weight: 600;
    font-size: 0.95rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.sr-league-day {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 3.5rem;
    padding: 0.4rem 0.75rem;
    background: var(--sr-gradient-primary);
    border-radius: 100px;
    font-family: 'Karla', system-ui, sans-serif;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: white;
    flex-shrink: 0;
}

/* ==========================================================================
   Featured Event - Highlight Card
   ========================================================================== */
.sr-featured-event {
    background: var(--sr-surface);
    border-radius: 20px;
    border: 2px solid var(--sr-border-accent);
    overflow: hidden;
    margin: 2rem auto;
    max-width: 900px;
    box-shadow:
        0 20px 50px rgba(0, 0, 0, 0.3),
        0 0 40px color-mix(in srgb, var(--sr-accent) 10%, transparent);
}

.sr-featured-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: var(--sr-gradient-primary);
    font-family: 'Karla', system-ui, sans-serif;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: white;
}

.sr-featured-content {
    padding: 1.5rem;
}

.sr-featured-title {
    font-family: 'Karla', system-ui, sans-serif;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--sr-text-primary);
    margin: 0 0 0.5rem;
}

.sr-featured-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1rem;
}

.sr-featured-meta-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: var(--sr-text-secondary);
}

.sr-featured-meta-item i {
    color: var(--sr-accent);
}

/* ==========================================================================
   Footer Links
   ========================================================================== */
.sr-footer-links {
    padding: 2rem 1.5rem;
    text-align: center;
    border-top: 1px solid var(--sr-border);
}

.sr-footer-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--sr-text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s ease;
}

.sr-footer-link:hover {
    color: var(--sr-accent);
}

.sr-footer-divider {
    color: var(--sr-text-muted);
    margin: 0 1rem;
}

/* ==========================================================================
   Staggered Reveal Animations
   ========================================================================== */
.sr-animate-in {
    opacity: 0;
    transform: translateY(30px);
    animation: srFadeInUp 0.6s ease forwards;
}

@keyframes srFadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.sr-stagger-1 { animation-delay: 0.1s; }
.sr-stagger-2 { animation-delay: 0.2s; }
.sr-stagger-3 { animation-delay: 0.3s; }
.sr-stagger-4 { animation-delay: 0.4s; }
.sr-stagger-5 { animation-delay: 0.5s; }
.sr-stagger-6 { animation-delay: 0.6s; }

/* Subtle shimmer effect for premium feel */
@keyframes srShimmer {
    0% { background-position: -200% center; }
    100% { background-position: 200% center; }
}

.sr-action-btn-primary::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(255, 255, 255, 0.1) 50%,
        transparent 100%
    );
    background-size: 200% 100%;
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: inherit;
}

.sr-action-btn-primary:hover::before {
    opacity: 1;
    animation: srShimmer 1.5s ease infinite;
}

.sr-action-btn-primary {
    position: relative;
    overflow: hidden;
}

/* Enhanced hover glow for interactive elements */
.sr-card-icon,
.sr-section-icon,
.sr-infographic-number {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.sr-card:hover .sr-card-icon,
.sr-section-header:hover .sr-section-icon {
    transform: scale(1.05);
    box-shadow: 0 0 20px var(--sr-accent-glow);
}

/* Accent underline for titles */
.sr-section-title::after {
    content: '';
    display: block;
    width: 40px;
    height: 3px;
    background: var(--sr-gradient-primary);
    margin-top: 0.5rem;
    border-radius: 2px;
    opacity: 0.8;
}

/* ==========================================================================
   Lightbox - Full Screen Viewer
   ========================================================================== */
.sr-lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.95);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    animation: srFadeIn 0.2s ease;
}

@keyframes srFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.sr-lightbox-content {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.sr-lightbox-close {
    position: fixed;
    top: 1rem;
    right: 1rem;
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    border-radius: 50%;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    backdrop-filter: blur(4px);
}

.sr-lightbox-close:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}

.sr-lightbox-image {
    max-width: 100%;
    max-height: 80vh;
    object-fit: contain;
    border-radius: 12px;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.5);
}

.sr-lightbox-title {
    color: white;
    font-size: 1.1rem;
    font-weight: 600;
    margin-top: 1.5rem;
    text-align: center;
}

/* ==========================================================================
   Reduced Motion Support
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
    .sr-animate-in,
    .sr-card,
    .sr-infographic-card,
    .sr-benefit-card,
    .sr-league-item {
        animation: none !important;
        opacity: 1;
        transform: none;
        transition: none !important;
    }
}

/* ==========================================================================
   Light Mode Overrides
   ========================================================================== */
[data-bs-theme="light"] .series-page {
    --sr-bg: linear-gradient(180deg, #f8fafc 0%, #e2e8f0 100%);
    --sr-surface: rgba(255, 255, 255, 0.95);
    --sr-surface-elevated: rgba(248, 250, 252, 0.95);
    --sr-surface-glow: color-mix(in srgb, var(--league-primary, var(--flipt-primary, #00A69C)) 5%, transparent);
    --sr-border: rgba(0, 0, 0, 0.08);
    --sr-border-accent: color-mix(in srgb, var(--league-primary, var(--flipt-primary, #00A69C)) 40%, transparent);
    --sr-text-primary: #1e293b;
    --sr-text-secondary: #64748b;
    --sr-text-muted: #94a3b8;
    --sr-accent-glow: color-mix(in srgb, var(--league-primary, var(--flipt-primary, #00A69C)) 20%, transparent);
}

[data-bs-theme="light"] .sr-hero {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 50%, #f1f5f9 100%);
}

[data-bs-theme="light"] .sr-hero::before {
    background:
        radial-gradient(ellipse 80% 50% at 20% 40%, color-mix(in srgb, var(--sr-accent) 8%, transparent) 0%, transparent 50%),
        radial-gradient(ellipse 60% 40% at 80% 60%, color-mix(in srgb, var(--sr-accent-secondary) 5%, transparent) 0%, transparent 50%);
}

[data-bs-theme="light"] .sr-hero-title {
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

[data-bs-theme="light"] .sr-hero-image-wrapper {
    box-shadow:
        0 20px 60px rgba(0, 0, 0, 0.15),
        0 0 40px color-mix(in srgb, var(--sr-accent) 10%, transparent);
}

[data-bs-theme="light"] .sr-card {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

[data-bs-theme="light"] .sr-card:hover {
    box-shadow:
        0 15px 40px rgba(0, 0, 0, 0.12),
        0 0 20px color-mix(in srgb, var(--sr-accent) 8%, transparent);
}

[data-bs-theme="light"] .sr-stat-badge {
    background: color-mix(in srgb, var(--sr-accent) 10%, white);
}

[data-bs-theme="light"] .sr-stat-badge:hover {
    background: color-mix(in srgb, var(--sr-accent) 18%, white);
}

[data-bs-theme="light"] .sr-infographic-card {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

[data-bs-theme="light"] .sr-infographic-card:hover {
    box-shadow:
        0 20px 50px rgba(0, 0, 0, 0.15),
        0 0 30px color-mix(in srgb, var(--sr-accent) 15%, transparent);
}

[data-bs-theme="light"] .sr-benefit-card {
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

[data-bs-theme="light"] .sr-benefit-card:hover {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

[data-bs-theme="light"] .sr-league-item {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

[data-bs-theme="light"] .sr-league-item:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

[data-bs-theme="light"] .sr-action-btn-primary {
    box-shadow: 0 4px 20px color-mix(in srgb, var(--sr-accent) 30%, transparent);
}

[data-bs-theme="light"] .sr-action-btn-primary:hover {
    box-shadow: 0 8px 30px color-mix(in srgb, var(--sr-accent) 40%, transparent);
}

[data-bs-theme="light"] .sr-featured-card,
[data-bs-theme="light"] .sr-featured-event {
    box-shadow:
        0 20px 50px rgba(0, 0, 0, 0.1),
        0 0 40px color-mix(in srgb, var(--sr-accent) 8%, transparent);
}

/* ==========================================================================
   Hero Variants
   ========================================================================== */
.sr-hero-compact {
    padding-bottom: 1.5rem;
}

.sr-hero-image-lg {
    max-width: 800px;
}

.sr-hero-dates {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    font-size: 1rem;
    color: var(--sr-text-secondary);
    margin-bottom: 1rem;
}

.sr-hero-dates i {
    color: var(--sr-accent);
}

/* ==========================================================================
   Flippy Commentary Section
   ========================================================================== */
.sr-flippy-section {
    padding: 2rem 1.5rem;
    background: var(--sr-surface);
    border-bottom: 1px solid var(--sr-border);
}

.sr-flippy-teaser {
    max-width: 800px;
    margin: 0 auto;
}

.sr-flippy-btn {
    display: flex;
    align-items: center;
    gap: 1rem;
    width: 100%;
    padding: 1rem 1.25rem;
    background: var(--sr-surface-elevated);
    border: 1px solid var(--sr-border);
    border-radius: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: left;
}

.sr-flippy-btn:hover {
    border-color: var(--sr-border-accent);
    background: color-mix(in srgb, var(--sr-accent) 10%, transparent);
}

.sr-flippy-btn[aria-expanded="true"] .sr-flippy-icon {
    transform: rotate(180deg);
}

.sr-flippy-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--sr-border-accent);
    flex-shrink: 0;
}

.sr-flippy-text {
    flex: 1;
    font-size: 0.95rem;
    color: var(--sr-text-primary);
    font-weight: 500;
}

.sr-flippy-icon {
    color: var(--sr-text-muted);
    font-size: 0.9rem;
    transition: transform 0.3s ease;
}

.sr-flippy-content {
    padding: 1.5rem;
    background: var(--sr-surface);
    border-radius: 16px;
    border: 1px solid var(--sr-border);
}

/* ==========================================================================
   Finale Section Wrapper
   ========================================================================== */
.sr-finale-section {
    padding: 2rem 1.5rem;
}

/* ==========================================================================
   Featured Event Card (Details Page)
   ========================================================================== */
.sr-featured-section {
    padding: 3rem 1.5rem;
    background: linear-gradient(180deg, color-mix(in srgb, var(--sr-accent) 5%, transparent) 0%, transparent 100%);
}

.sr-section-icon-live {
    position: relative;
    animation: pulseGlow 2s ease infinite;
}

@keyframes pulseGlow {
    0%, 100% { box-shadow: 0 0 0 0 var(--sr-accent-glow); }
    50% { box-shadow: 0 0 20px 5px color-mix(in srgb, var(--sr-accent) 20%, transparent); }
}

.sr-featured-card {
    background: var(--sr-surface);
    border-radius: 20px;
    border: 2px solid var(--sr-border-accent);
    overflow: hidden;
    max-width: 900px;
    margin: 0 auto;
    box-shadow:
        0 20px 50px rgba(0, 0, 0, 0.3),
        0 0 40px color-mix(in srgb, var(--sr-accent) 10%, transparent);
}

.sr-featured-content {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    padding: 1.5rem;
}

@media (min-width: 768px) {
    .sr-featured-content {
        flex-direction: row;
        align-items: flex-start;
    }
}

.sr-featured-images {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    flex-shrink: 0;
}

@media (min-width: 768px) {
    .sr-featured-images {
        width: 200px;
    }
}

.sr-featured-league-image,
.sr-featured-event-image {
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--sr-border);
}

.sr-featured-league-image img,
.sr-featured-event-image img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.sr-featured-info {
    flex: 1;
    min-width: 0;
}

.sr-featured-league-name {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--sr-accent);
    margin-bottom: 0.25rem;
}

.sr-featured-event-name {
    font-family: 'Karla', system-ui, sans-serif;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--sr-text-primary);
    margin: 0 0 1rem;
    line-height: 1.2;
}

.sr-featured-meta {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.sr-featured-date {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1rem;
    color: var(--sr-text-secondary);
}

.sr-featured-date i {
    color: var(--sr-accent);
}

.sr-date-highlight {
    font-weight: 700;
    color: var(--sr-accent);
    text-transform: uppercase;
}

.sr-date-full {
    color: var(--sr-text-muted);
}

.sr-featured-course {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: var(--sr-surface-elevated);
    border-radius: 12px;
    border: 1px solid var(--sr-border);
}

.sr-course-thumb {
    width: 56px;
    height: 56px;
    border-radius: 10px;
    object-fit: cover;
    flex-shrink: 0;
    border: 2px solid var(--sr-border);
}

.sr-course-info {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    min-width: 0;
}

.sr-course-name {
    font-weight: 700;
    font-size: 1rem;
    color: var(--sr-text-primary);
    text-decoration: none;
    transition: color 0.2s ease;
}

.sr-course-name:hover {
    color: var(--sr-accent);
}

.sr-course-location {
    font-size: 0.85rem;
    color: var(--sr-text-muted);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.sr-course-location i {
    color: var(--sr-accent);
    font-size: 0.75rem;
}

.sr-featured-cta {
    margin-top: 0.5rem;
}

/* ==========================================================================
   Collapsible Infographics Toggle
   ========================================================================== */
.sr-infographic-collapsible {
    background: var(--sr-surface);
    border-top: 1px solid var(--sr-border);
    border-bottom: 1px solid var(--sr-border);
}

.sr-infographic-toggle {
    display: flex;
    align-items: center;
    gap: 1rem;
    width: 100%;
    padding: 1.25rem 1.5rem;
    background: transparent;
    border: none;
    cursor: pointer;
    font-family: 'Karla', system-ui, sans-serif;
    font-size: 1rem;
    font-weight: 600;
    color: var(--sr-text-primary);
    text-align: left;
    transition: all 0.2s ease;
}

.sr-infographic-toggle:hover {
    background: color-mix(in srgb, var(--sr-accent) 10%, transparent);
}

.sr-infographic-toggle[aria-expanded="true"] .sr-toggle-icon {
    transform: rotate(180deg);
}

.sr-toggle-icon {
    margin-left: auto;
    color: var(--sr-text-muted);
    transition: transform 0.3s ease;
}

/* ==========================================================================
   Leagues Layout (Details Page)
   ========================================================================== */
.sr-leagues-layout {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

@media (min-width: 1024px) {
    .sr-leagues-layout {
        flex-direction: row;
        align-items: flex-start;
    }
}

.sr-leagues-infographic {
    flex-shrink: 0;
}

@media (min-width: 1024px) {
    .sr-leagues-infographic {
        width: 40%;
        max-width: 400px;
    }
}

.sr-infographic-inline {
    cursor: pointer;
}

.sr-infographic-inline .sr-infographic-image-wrapper {
    aspect-ratio: 3 / 2;
}

/* Mobile: Show full infographic without clipping */
@media (max-width: 767px) {
    .sr-leagues-infographic {
        width: 100%;
        max-width: 100%;
    }

    .sr-infographic-inline .sr-infographic-image-wrapper {
        aspect-ratio: auto;
    }

    .sr-infographic-inline .sr-infographic-image {
        width: 100%;
        height: auto;
        object-fit: contain;
    }
}

.sr-leagues-list-wrapper {
    flex: 1;
    min-width: 0;
}

.sr-leagues-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

/* ==========================================================================
   Empty State
   ========================================================================== */
.sr-empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 3rem 2rem;
    text-align: center;
    color: var(--sr-text-muted);
}

.sr-empty-state i {
    font-size: 3rem;
    margin-bottom: 1rem;
    opacity: 0.5;
}

.sr-empty-state p {
    font-size: 1rem;
    margin: 0;
}
