* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Performance optimizations */
html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

/* Hardware acceleration for animations */
.match-card,
.theme-toggle-switch,
.theme-toggle-slider,
.scroll-btn,
.sport-filter-btn,
.section-title-btn,
.watch-live-btn,
.predict-btn,
.reminder-btn {
    will-change: transform;
    transform: translateZ(0);
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

/* Optimize scrolling */
body {
    -webkit-overflow-scrolling: touch;
    overflow-x: hidden;
}

.horizontal-scroll-container {
    will-change: scroll-position;
    transform: translateZ(0);
}

:root {
    --primary-color: #9333ea;
    --primary-dark: #7c3aed;
    --primary-hover: #a855f7;
    --secondary-color: #34a853;
    --background: #020208;
    --glass-bg: rgba(0, 0, 0, 0.4);
    --glass-bg-light: rgba(0, 0, 0, 0.5);
    --glass-bg-hover: rgba(0, 0, 0, 0.6);
    --glass-border: rgba(255, 255, 255, 0.04);
    --glass-border-hover: rgba(147, 51, 234, 0.2);
    --text-primary: #ffffff;
    --text-secondary: rgba(255, 255, 255, 0.7);
    --text-muted: rgba(255, 255, 255, 0.5);
    --success: #34a853;
    --error: #ea4335;
    --warning: #fbbc04;
    --shadow: rgba(0, 0, 0, 0.5);
    --shadow-glass: rgba(0, 0, 0, 0.3);
}

[data-theme="light"] {
    --background: #f5f5f7;
    --glass-bg: rgba(255, 255, 255, 0.6);
    --glass-bg-light: rgba(255, 255, 255, 0.7);
    --glass-bg-hover: rgba(255, 255, 255, 0.8);
    --glass-border: rgba(0, 0, 0, 0.1);
    --glass-border-hover: rgba(147, 51, 234, 0.3);
    --text-primary: #1d1d1f;
    --text-secondary: rgba(0, 0, 0, 0.7);
    --text-muted: rgba(0, 0, 0, 0.5);
    --shadow: rgba(0, 0, 0, 0.1);
    --shadow-glass: rgba(0, 0, 0, 0.05);
}

[data-theme="light"] .search-input {
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(0, 0, 0, 0.2);
}

[data-theme="light"] .section-title-btn {
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(0, 0, 0, 0.2);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    color: var(--text-secondary);
    border-radius: 20px;
    font-weight: 400;
}

[data-theme="light"] .section-title-btn:hover {
    background: rgba(255, 255, 255, 1);
    border-color: rgba(147, 51, 234, 0.3);
    box-shadow: 0 6px 20px rgba(147, 51, 234, 0.15);
    color: var(--text-primary);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background: linear-gradient(135deg, #020208 0%, #0a0815 50%, #050410 100%);
    background-attachment: fixed;
    min-height: 100vh;
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
    transition: background 0.3s ease, color 0.3s ease;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

[data-theme="light"] body {
    background: linear-gradient(135deg, #f5f5f7 0%, #ffffff 50%, #fafafa 100%);
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 50%, rgba(147, 51, 234, 0.04) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(168, 85, 247, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 40% 20%, rgba(124, 58, 237, 0.03) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
    transition: background 0.3s ease;
}

[data-theme="light"] body::before {
    background: 
        radial-gradient(circle at 20% 50%, rgba(147, 51, 234, 0.02) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(168, 85, 247, 0.015) 0%, transparent 50%),
        radial-gradient(circle at 40% 20%, rgba(124, 58, 237, 0.015) 0%, transparent 50%);
}

.main-content {
    position: relative;
    z-index: 1;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 1;
}

/* Header */
.header {
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(40px) saturate(200%);
    -webkit-backdrop-filter: blur(40px) saturate(200%);
    border-bottom: 1px solid var(--glass-border);
    padding: 1rem 0;
    box-shadow: 0 8px 32px var(--shadow-glass);
    transition: background 0.3s ease, border-color 0.3s ease;
}

[data-theme="light"] .header {
    background: rgba(255, 255, 255, 0.7);
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Logo Styles */
.logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    z-index: 10;
}

.logo-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
    transform: translateZ(0);
    line-height: 1;
}

.logo-link:hover {
    transform: translateY(-1px) translateZ(0);
}

.logo-image {
    height: 56px;
    width: auto;
    max-width: 200px;
    min-width: 140px;
    object-fit: contain;
    display: block;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
    image-rendering: optimize-quality;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
    transition: filter 0.3s ease, transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    transform: translateZ(0);
    will-change: transform;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    pointer-events: none;
}

.logo-link:hover .logo-image {
    filter: drop-shadow(0 4px 8px rgba(147, 51, 234, 0.3));
}

.logo-text {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--primary-color);
    letter-spacing: -0.5px;
    display: none; /* Hide text when logo image is available */
    margin-left: 0.5rem;
}

/* Fallback: Show text if image fails to load */
.logo-image[src=""],
.logo-image:not([src]) {
    display: none;
}

.logo-image[src=""] ~ .logo-text,
.logo-image:not([src]) ~ .logo-text {
    display: inline;
}

/* Light mode logo adjustments */
[data-theme="light"] .logo-image {
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

[data-theme="light"] .logo-link:hover .logo-image {
    filter: drop-shadow(0 4px 8px rgba(147, 51, 234, 0.2));
}

.header-right {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

/* Discord Button */
.discord-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1.2rem;
    background: linear-gradient(135deg, #5865F2 0%, #4752C4 100%);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(88, 101, 242, 0.3);
    border-radius: 12px;
    color: white;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 16px rgba(88, 101, 242, 0.2);
    will-change: transform;
    transform: translateZ(0);
    white-space: nowrap;
    position: relative;
    overflow: hidden;
}

.discord-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.discord-btn:hover::before {
    left: 100%;
}

.discord-btn:hover {
    background: linear-gradient(135deg, #6770F5 0%, #5865F2 100%);
    border-color: rgba(88, 101, 242, 0.5);
    transform: translateY(-2px) translateZ(0);
    box-shadow: 0 6px 24px rgba(88, 101, 242, 0.35);
}

.discord-btn:active {
    transform: translateY(0) translateZ(0);
    box-shadow: 0 4px 16px rgba(88, 101, 242, 0.25);
}

.discord-icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.2));
}

.discord-btn:hover .discord-icon {
    transform: rotate(5deg) scale(1.1);
}

.discord-text {
    font-weight: 600;
    letter-spacing: 0.3px;
}

/* Light mode Discord button */
[data-theme="light"] .discord-btn {
    background: linear-gradient(135deg, #5865F2 0%, #4752C4 100%);
    border-color: rgba(88, 101, 242, 0.4);
    box-shadow: 0 4px 16px rgba(88, 101, 242, 0.25);
    color: white;
}

[data-theme="light"] .discord-btn:hover {
    background: linear-gradient(135deg, #6770F5 0%, #5865F2 100%);
    box-shadow: 0 6px 24px rgba(88, 101, 242, 0.4);
}

/* Premium Theme Toggle Container */
.theme-toggle-container {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem 1rem;
    background: var(--glass-bg);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid var(--glass-border);
    border-radius: 50px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 16px var(--shadow-glass);
}

.theme-toggle-container:hover {
    background: var(--glass-bg-hover);
    border-color: var(--glass-border-hover);
    box-shadow: 0 6px 24px rgba(147, 51, 234, 0.2);
    transform: translateY(-1px);
}

.theme-toggle-label {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-secondary);
    white-space: nowrap;
    transition: color 0.3s ease;
    user-select: none;
}

.theme-toggle-container:hover .theme-toggle-label {
    color: var(--text-primary);
}

/* Toggle Switch */
.theme-toggle-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.theme-toggle-input {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
    pointer-events: none;
}

.theme-toggle-switch {
    position: relative;
    display: block;
    width: 68px;
    height: 38px;
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 2px solid var(--glass-border);
    border-radius: 19px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 
        inset 0 2px 4px rgba(0, 0, 0, 0.2),
        0 0 0 0 rgba(147, 51, 234, 0);
    overflow: hidden;
}

/* Glow effect for visibility in dark mode */
.theme-toggle-switch {
    box-shadow: 
        inset 0 2px 4px rgba(0, 0, 0, 0.2),
        0 0 0 2px rgba(255, 255, 255, 0.05),
        0 0 20px rgba(147, 51, 234, 0.1);
}

.theme-toggle-switch::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(147, 51, 234, 0.1) 0%, rgba(168, 85, 247, 0.05) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    border-radius: 19px;
    pointer-events: none;
}

.theme-toggle-switch:hover {
    border-color: var(--glass-border-hover);
    box-shadow: 
        inset 0 2px 4px rgba(0, 0, 0, 0.2),
        0 0 0 3px rgba(147, 51, 234, 0.2),
        0 0 30px rgba(147, 51, 234, 0.3);
    transform: scale(1.02);
}

.theme-toggle-switch:hover::before {
    opacity: 1;
}

.theme-toggle-switch:active {
    transform: scale(0.98);
}

/* Slider Ball */
.theme-toggle-slider {
    position: absolute;
    top: 4px;
    left: 4px;
    width: 30px;
    height: 30px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.85) 100%);
    border-radius: 50%;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 
        0 3px 10px rgba(0, 0, 0, 0.3),
        0 0 0 2px rgba(255, 255, 255, 0.1),
        inset 0 1px 2px rgba(255, 255, 255, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

/* Light mode - slider moves right */
.theme-toggle-input:checked + .theme-toggle-switch {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.4) 0%, rgba(255, 255, 255, 0.2) 100%);
    border-color: rgba(255, 193, 7, 0.4);
    box-shadow: 
        inset 0 2px 4px rgba(255, 255, 255, 0.3),
        0 0 0 2px rgba(255, 193, 7, 0.1),
        0 0 20px rgba(255, 193, 7, 0.15);
}

.theme-toggle-input:checked + .theme-toggle-switch:hover {
    box-shadow: 
        inset 0 2px 4px rgba(255, 255, 255, 0.3),
        0 0 0 3px rgba(255, 193, 7, 0.25),
        0 0 30px rgba(255, 193, 7, 0.3);
}

.theme-toggle-input:checked + .theme-toggle-switch .theme-toggle-slider {
    left: calc(100% - 34px);
    background: linear-gradient(135deg, rgba(255, 193, 7, 0.95) 0%, rgba(255, 152, 0, 0.9) 100%);
    box-shadow: 
        0 3px 12px rgba(255, 193, 7, 0.5),
        0 0 0 2px rgba(255, 193, 7, 0.2),
        inset 0 1px 2px rgba(255, 255, 255, 0.9);
}

/* Icons */
.theme-icon-moon,
.theme-icon-sun {
    position: absolute;
    width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    color: var(--text-primary);
}

.theme-icon-moon svg,
.theme-icon-sun svg {
    width: 100%;
    height: 100%;
    stroke: currentColor;
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.3));
}

/* Moon icon - visible in dark mode (default) */
.theme-icon-moon {
    opacity: 1;
    transform: rotate(0deg) scale(1);
}

.theme-icon-sun {
    opacity: 0;
    transform: rotate(-90deg) scale(0.5);
}

/* Light mode - sun visible, moon hidden */
.theme-toggle-input:checked + .theme-toggle-switch .theme-icon-moon {
    opacity: 0;
    transform: rotate(90deg) scale(0.5);
}

.theme-toggle-input:checked + .theme-toggle-switch .theme-icon-sun {
    opacity: 1;
    transform: rotate(0deg) scale(1);
    color: #ffc107;
    filter: drop-shadow(0 0 8px rgba(255, 193, 7, 0.8));
}

/* Hover glow effects */
.theme-toggle-switch:hover .theme-toggle-slider {
    box-shadow: 
        0 4px 16px rgba(147, 51, 234, 0.4),
        0 0 0 3px rgba(147, 51, 234, 0.2),
        inset 0 1px 2px rgba(255, 255, 255, 0.9);
}

.theme-toggle-input:checked + .theme-toggle-switch:hover .theme-toggle-slider {
    box-shadow: 
        0 4px 16px rgba(255, 193, 7, 0.5),
        0 0 0 3px rgba(255, 193, 7, 0.25),
        inset 0 1px 2px rgba(255, 255, 255, 0.9);
}

/* Light mode container adjustments */
[data-theme="light"] .theme-toggle-container {
    background: rgba(255, 255, 255, 0.8);
    border-color: rgba(0, 0, 0, 0.1);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

[data-theme="light"] .theme-toggle-container:hover {
    background: rgba(255, 255, 255, 0.95);
    border-color: rgba(255, 193, 7, 0.3);
    box-shadow: 0 6px 24px rgba(255, 193, 7, 0.2);
}

.current-time {
    color: var(--text-secondary);
    font-size: 0.9rem;
    white-space: nowrap;
}

.mobile-time-bar {
    display: none;
    background: rgba(0, 0, 0, 0.15);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    padding: 0.5rem 20px;
    text-align: center;
    color: var(--text-secondary);
    font-size: 0.85rem;
    border-bottom: 1px solid var(--glass-border);
}

.nav {
    display: flex;
    gap: 2rem;
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
    padding: 0.5rem 0;
}

.nav-link:hover {
    color: var(--primary-color);
}

/* Stats Banner */
.stats-banner {
    background: rgba(0, 0, 0, 0.15);
    backdrop-filter: blur(30px) saturate(180%);
    -webkit-backdrop-filter: blur(30px) saturate(180%);
    border-bottom: 1px solid var(--glass-border);
    padding: 2rem 0;
    position: relative;
    z-index: 1;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.stat-item {
    text-align: center;
    padding: 1.5rem;
    background: var(--glass-bg);
    backdrop-filter: blur(50px) saturate(200%);
    -webkit-backdrop-filter: blur(50px) saturate(200%);
    border-radius: 20px;
    border: 1px solid var(--glass-border);
    transition: all 0.3s ease;
    box-shadow: 0 8px 32px var(--shadow-glass);
}

.stat-item:hover {
    transform: translateY(-4px);
    background: var(--glass-bg-light);
    border-color: var(--glass-border-hover);
    box-shadow: 0 12px 40px rgba(147, 51, 234, 0.15);
}

.stat-value {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.stat-label {
    color: var(--text-secondary);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Streaming Section */
.streaming-section {
    padding: 3rem 0;
    position: relative;
    z-index: 1;
}

/* Sports Filter */
.sports-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--glass-border);
}

.sport-filter-btn {
    background: var(--glass-bg);
    backdrop-filter: blur(30px) saturate(180%);
    -webkit-backdrop-filter: blur(30px) saturate(180%);
    color: var(--text-secondary);
    border: 1px solid var(--glass-border);
    padding: 0.6rem 1.2rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s ease;
    white-space: nowrap;
    box-shadow: 0 4px 16px var(--shadow-glass);
    will-change: transform;
    transform: translateZ(0);
}

.sport-filter-btn:hover {
    background: var(--glass-bg-light);
    color: var(--text-primary);
    border-color: var(--glass-border-hover);
    transform: translateY(-2px) translateZ(0);
    box-shadow: 0 6px 20px rgba(147, 51, 234, 0.15);
}

.sport-filter-btn.active {
    background: linear-gradient(135deg, rgba(147, 51, 234, 0.25), rgba(168, 85, 247, 0.15));
    backdrop-filter: blur(40px) saturate(200%);
    -webkit-backdrop-filter: blur(40px) saturate(200%);
    color: white;
    border-color: var(--primary-color);
    box-shadow: 0 8px 24px rgba(147, 51, 234, 0.25);
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.section-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.section-title-buttons {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 0.5rem;
}

.section-title-btn {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(30px) saturate(180%);
    -webkit-backdrop-filter: blur(30px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 20px;
    font-size: 1.1rem;
    font-weight: 400;
    color: var(--text-secondary);
    padding: 0.5rem 1rem;
    cursor: pointer;
    font-family: inherit;
    transition: all 0.3s ease;
    text-align: center;
    white-space: nowrap;
    box-shadow: 0 4px 16px var(--shadow-glass);
}

.section-title-btn:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.25);
    color: var(--text-primary);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(147, 51, 234, 0.15);
}

.section-title-btn:active {
    transform: translateY(0);
    box-shadow: 0 4px 16px var(--shadow-glass);
}

.section-title-btn.active {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
    color: var(--text-primary);
    font-weight: 500;
}

[data-theme="light"] .section-title-btn.active {
    background: rgba(147, 51, 234, 0.1);
    border-color: rgba(147, 51, 234, 0.3);
    color: var(--primary-color);
}

.section-title-btn::after {
    display: none;
}

.section-title-separator {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-secondary);
    margin: 0 0.25rem;
}

.subsection-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

/* Horizontal Scrollable Sections */
.horizontal-section {
    margin-bottom: 3rem;
}

.section-header-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0;
}

.section-subtitle-btn {
    background: none;
    border: none;
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0;
    padding: 0;
    cursor: pointer;
    text-align: left;
    font-family: inherit;
    transition: all 0.3s ease;
    position: relative;
}

.section-subtitle-btn:hover {
    color: var(--primary-color);
    transform: translateX(4px);
}

.section-subtitle-btn:active {
    transform: translateX(2px);
}

.section-subtitle-btn::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

.section-subtitle-btn:hover::after {
    width: 100%;
}

.scroll-controls {
    display: flex;
    gap: 0.5rem;
}

.scroll-btn {
    background: var(--glass-bg);
    backdrop-filter: blur(30px) saturate(180%);
    -webkit-backdrop-filter: blur(30px) saturate(180%);
    border: 1px solid var(--glass-border);
    color: var(--text-primary);
    width: 36px;
    height: 36px;
    border-radius: 4px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s ease;
    font-size: 1.5rem;
    line-height: 1;
    padding: 0;
    box-shadow: 0 4px 16px var(--shadow-glass);
    will-change: transform;
    transform: translateZ(0);
}

.scroll-btn:hover {
    background: var(--glass-bg-light);
    border-color: var(--glass-border-hover);
    transform: scale(1.05) translateZ(0);
    box-shadow: 0 6px 20px rgba(147, 51, 234, 0.15);
}

.scroll-btn:active {
    transform: scale(0.95);
}

.scroll-btn span {
    display: block;
    font-weight: 300;
}

.horizontal-scroll-container {
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
    position: relative;
    scroll-snap-type: x proximity;
    scroll-padding: 0 1rem;
    will-change: scroll-position;
    transform: translateZ(0);
    contain: layout style paint;
}

.horizontal-scroll-container::-webkit-scrollbar {
    display: none;
}

.matches-row .match-card {
    scroll-snap-align: start;
}

.matches-row {
    display: flex;
    gap: 1rem;
    padding-bottom: 0.5rem;
    min-width: min-content;
}

.matches-row .match-card {
    flex: 0 0 auto;
    width: 280px;
}

.search-container {
    flex: 1;
    max-width: 400px;
}

.search-input {
    width: 100%;
    padding: 0.75rem 1rem;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(30px) saturate(180%);
    -webkit-backdrop-filter: blur(30px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 16px;
    color: var(--text-primary);
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 16px var(--shadow-glass);
}

.search-input:focus {
    outline: none;
    border-color: var(--glass-border-hover);
    background: var(--glass-bg-light);
    box-shadow: 0 8px 24px rgba(147, 51, 234, 0.15);
}

.search-input::placeholder {
    color: var(--text-muted);
}

/* Filter Tabs */
.filter-tabs {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    border-bottom: 2px solid var(--glass-border);
}

.filter-btn {
    background: none;
    border: none;
    color: var(--text-secondary);
    padding: 1rem 1.5rem;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    border-bottom: 3px solid transparent;
    margin-bottom: -2px;
    transition: all 0.2s;
}

.filter-btn:hover {
    color: var(--text-primary);
}

.filter-btn.active {
    color: var(--primary-color);
    border-bottom-color: var(--primary-color);
    text-shadow: 0 0 10px rgba(147, 51, 234, 0.5);
}

/* Matches Grid */
.matches-container {
    margin-bottom: 3rem;
}

/* Category matches use horizontal scrolling */
.categories-container .matches-row {
    display: flex;
    gap: 1rem;
    padding-bottom: 0.5rem;
    min-width: min-content;
    contain: layout style;
    will-change: scroll-position;
}

.categories-container .matches-row .match-card {
    flex: 0 0 auto;
    width: 280px;
}

/* Categories Container */
.categories-container {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    margin-bottom: 2rem;
}

.category-section {
    background: var(--glass-bg);
    backdrop-filter: blur(30px) saturate(180%);
    -webkit-backdrop-filter: blur(30px) saturate(180%);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 8px 32px var(--shadow-glass);
}

.category-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--glass-border);
}

.category-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
}

.category-count {
    color: var(--text-secondary);
    font-size: 0.9rem;
    background: var(--glass-bg-light);
    padding: 0.4rem 0.8rem;
    border-radius: 12px;
    border: 1px solid var(--glass-border);
}

.category-subsection {
    margin-bottom: 2rem;
}

.category-subsection .section-header-row {
    margin-bottom: 1rem;
}

.category-subsection:last-child {
    margin-bottom: 0;
}

.category-subtitle {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.category-subtitle::before {
    content: '';
    width: 4px;
    height: 20px;
    background: var(--primary-color);
    border-radius: 2px;
}

.category-matches {
    margin-top: 1rem;
}


.matches-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.3rem;
}

.match-card {
    background: var(--glass-bg);
    backdrop-filter: blur(50px) saturate(200%);
    -webkit-backdrop-filter: blur(50px) saturate(200%);
    border: 1px solid var(--glass-border);
    border-radius: 4px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s ease;
    position: relative;
    box-shadow: 0 8px 32px var(--shadow-glass);
    contain: layout style paint;
    content-visibility: auto;
}

.match-card:hover {
    transform: translateY(-6px) translateZ(0);
    background: var(--glass-bg-light);
    border-color: var(--glass-border-hover);
    box-shadow: 0 16px 48px rgba(147, 51, 234, 0.2);
    backdrop-filter: blur(60px) saturate(200%);
    -webkit-backdrop-filter: blur(60px) saturate(200%);
}

.match-poster-container {
    position: relative;
    width: 100%;
    height: 140px;
    overflow: hidden;
}

.match-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    transform: translateZ(0);
    will-change: transform;
    background: var(--glass-bg);
    background-size: cover;
    background-position: center;
}

/* Fallback image styling - CosecTV logo */
.match-card img[src*="Gemini-Generated-Image-8vyoyd8vyoyd8vyo-removebg-preview-removebg-preview"],
.match-card img[src*="fallback"] {
    object-fit: contain;
    background: linear-gradient(135deg, rgba(147, 51, 234, 0.1) 0%, rgba(59, 130, 246, 0.1) 100%);
    padding: 20px;
    background-size: cover;
    background-position: center;
    filter: brightness(0.95);
}

.match-card:hover img {
    transform: scale(1.05);
}

.match-card:hover img[src*="Gemini-Generated-Image-8vyoyd8vyoyd8vyo-removebg-preview-removebg-preview"],
.match-card:hover img[src*="fallback"] {
    filter: brightness(1.05);
    transform: scale(1.02);
}

/* Live badge overlay */
.live-badge {
    position: absolute;
    top: 8px;
    left: 8px;
    background: #34a853;
    color: white;
    padding: 0.3rem 0.6rem;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 700;
    z-index: 5;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}


.hover-preview {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 10;
    display: none;
    border-radius: 4px 4px 0 0;
    pointer-events: none;
}

.hover-preview iframe {
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 4px 4px 0 0;
}

.card-content {
    padding: 0.85rem;
    background: transparent;
}

.card-content h3 {
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 0.4rem;
    color: var(--text-primary);
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.sport-genre {
    color: var(--text-secondary);
    font-size: 0.85rem;
    margin-bottom: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.match-time-info {
    color: var(--text-secondary);
    font-size: 0.75rem;
    margin-top: 0.2rem;
}

.viewer-count {
    position: absolute;
    top: 8px;
    right: 8px;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: var(--text-primary);
    padding: 0.3rem 0.55rem;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
    z-index: 5;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.viewer-count::before {
    content: '👁';
    font-size: 0.9rem;
    display: inline-block;
}

.watch-live-btn {
    width: 100%;
    background: linear-gradient(135deg, rgba(147, 51, 234, 0.4), rgba(168, 85, 247, 0.3));
    backdrop-filter: blur(30px) saturate(180%);
    -webkit-backdrop-filter: blur(30px) saturate(180%);
    color: white;
    border: 1px solid rgba(147, 51, 234, 0.25);
    padding: 0.5rem;
    border-radius: 4px;
    font-weight: 600;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 0.4rem;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(147, 51, 234, 0.15);
}

.watch-live-btn::before {
    content: '▶';
    margin-right: 0.5rem;
}

.watch-live-btn:hover {
    background: linear-gradient(135deg, rgba(147, 51, 234, 0.5), rgba(168, 85, 247, 0.4));
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(147, 51, 234, 0.3);
    border-color: rgba(147, 51, 234, 0.4);
    backdrop-filter: blur(40px) saturate(200%);
    -webkit-backdrop-filter: blur(40px) saturate(200%);
}

.upcoming-info {
    color: var(--text-secondary);
    font-size: 0.8rem;
    margin-top: 0.4rem;
    padding: 0.55rem;
    background: var(--glass-bg);
    backdrop-filter: blur(30px) saturate(180%);
    -webkit-backdrop-filter: blur(30px) saturate(180%);
    border-radius: 4px;
    text-align: center;
    font-weight: 500;
    border: 1px solid var(--glass-border);
}

.reminder-btn {
    width: 100%;
    background: var(--glass-bg);
    backdrop-filter: blur(30px) saturate(180%);
    -webkit-backdrop-filter: blur(30px) saturate(180%);
    color: var(--text-primary);
    border: 1px solid var(--glass-border);
    padding: 0.55rem;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 0.4rem;
    font-size: 0.85rem;
    box-shadow: 0 4px 16px var(--shadow-glass);
}

.reminder-btn:hover {
    background: var(--glass-bg-light);
    border-color: var(--glass-border-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(147, 51, 234, 0.15);
    backdrop-filter: blur(40px) saturate(200%);
    -webkit-backdrop-filter: blur(40px) saturate(200%);
}

.reminder-btn.active {
    background: linear-gradient(135deg, rgba(52, 168, 83, 0.25), rgba(52, 168, 83, 0.15));
    backdrop-filter: blur(40px) saturate(200%);
    -webkit-backdrop-filter: blur(40px) saturate(200%);
    color: white;
    border-color: rgba(52, 168, 83, 0.3);
    box-shadow: 0 8px 24px rgba(52, 168, 83, 0.25);
}

.reminder-btn.active:hover {
    background: linear-gradient(135deg, rgba(52, 168, 83, 0.3), rgba(52, 168, 83, 0.2));
    border-color: rgba(52, 168, 83, 0.4);
    box-shadow: 0 10px 28px rgba(52, 168, 83, 0.3);
}

.resolution-tag {
    position: absolute;
    top: 10px;
    right: 10px;
    padding: 0.35rem 0.75rem;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 700;
    z-index: 5;
}

.resolution-4k {
    background-color: var(--success);
    color: white;
}

.resolution-hd {
    background-color: var(--primary-color);
    color: white;
}

.live-tv-card {
    border-color: var(--secondary-color);
}

.live-tv-card:hover {
    border-color: var(--secondary-color);
}

/* Live TV Section */
.live-tv-section {
    padding: 4rem 0;
    background: rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(30px) saturate(180%);
    -webkit-backdrop-filter: blur(30px) saturate(180%);
    position: relative;
    z-index: 1;
}

/* Skeleton Loading */
.skeleton-card {
    background: var(--glass-bg);
    backdrop-filter: blur(50px) saturate(200%);
    -webkit-backdrop-filter: blur(50px) saturate(200%);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 32px var(--shadow-glass);
}

.skeleton-image {
    width: 100%;
    height: 200px;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.05) 25%, rgba(255, 255, 255, 0.1) 50%, rgba(255, 255, 255, 0.05) 75%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
}

.skeleton-content {
    padding: 1.25rem;
}

.skeleton-title {
    height: 20px;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.05) 25%, rgba(255, 255, 255, 0.1) 50%, rgba(255, 255, 255, 0.05) 75%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
    border-radius: 8px;
    margin-bottom: 0.75rem;
}

.skeleton-text {
    height: 16px;
    width: 60%;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.05) 25%, rgba(255, 255, 255, 0.1) 50%, rgba(255, 255, 255, 0.05) 75%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
    border-radius: 8px;
    margin-bottom: 0.75rem;
}

.skeleton-button {
    height: 40px;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.05) 25%, rgba(255, 255, 255, 0.1) 50%, rgba(255, 255, 255, 0.05) 75%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
    border-radius: 12px;
}

@keyframes loading {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -200% 0;
    }
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 2000;
    align-items: center;
    justify-content: center;
    padding: 20px;
    will-change: opacity, visibility;
    transform: translateZ(0);
}

.modal-content {
    background: var(--glass-bg);
    backdrop-filter: blur(60px) saturate(200%);
    -webkit-backdrop-filter: blur(60px) saturate(200%);
    border-radius: 24px;
    max-width: 500px;
    width: 100%;
    max-height: 80vh;
    overflow-y: auto;
    border: 1px solid var(--glass-border);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    border-bottom: 1px solid var(--glass-border);
}

.modal-header h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
}

.modal-close {
    background: none;
    border: none;
    color: var(--text-secondary);
    font-size: 2rem;
    cursor: pointer;
    line-height: 1;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s;
}

.modal-close:hover {
    color: var(--text-primary);
}

.modal-hint {
    padding: 1rem 1.5rem;
    color: var(--text-secondary);
    font-size: 0.9rem;
    border-bottom: 1px solid var(--glass-border);
}

.source-list {
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.source-btn {
    background: var(--glass-bg);
    backdrop-filter: blur(30px) saturate(180%);
    -webkit-backdrop-filter: blur(30px) saturate(180%);
    border: 1px solid var(--glass-border);
    color: var(--text-primary);
    padding: 1rem;
    border-radius: 16px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 500;
    transition: all 0.3s ease;
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-align: left;
    box-shadow: 0 4px 16px var(--shadow-glass);
}

.source-btn:hover {
    background: var(--glass-bg-light);
    border-color: var(--glass-border-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(147, 51, 234, 0.15);
    backdrop-filter: blur(40px) saturate(200%);
    -webkit-backdrop-filter: blur(40px) saturate(200%);
}

.source-btn .view-count {
    background: linear-gradient(135deg, rgba(147, 51, 234, 0.4), rgba(168, 85, 247, 0.3));
    backdrop-filter: blur(30px) saturate(180%);
    -webkit-backdrop-filter: blur(30px) saturate(180%);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.85rem;
    font-weight: 600;
    border: 1px solid rgba(147, 51, 234, 0.25);
}

/* Prediction Button */
.predict-btn {
    width: 100%;
    background: var(--glass-bg);
    backdrop-filter: blur(30px) saturate(180%);
    -webkit-backdrop-filter: blur(30px) saturate(180%);
    color: var(--text-primary);
    border: 1px solid var(--glass-border);
    padding: 0.5rem;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 0.4rem;
    font-size: 0.8rem;
    box-shadow: 0 4px 16px var(--shadow-glass);
}

.predict-btn:hover {
    background: var(--glass-bg-light);
    border-color: var(--glass-border-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(147, 51, 234, 0.15);
}

.predict-btn.predicted {
    background: linear-gradient(135deg, rgba(147, 51, 234, 0.25), rgba(168, 85, 247, 0.15));
    backdrop-filter: blur(40px) saturate(200%);
    -webkit-backdrop-filter: blur(40px) saturate(200%);
    border-color: var(--primary-color);
    color: white;
    box-shadow: 0 8px 24px rgba(147, 51, 234, 0.25);
}

/* Prediction Modal */
.prediction-content {
    padding: 1.5rem;
}

.prediction-teams {
    text-align: center;
    margin-bottom: 2rem;
    font-size: 1.1rem;
    color: var(--text-primary);
    font-weight: 600;
}

.prediction-options {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
}

.prediction-option {
    background: var(--glass-bg);
    backdrop-filter: blur(30px) saturate(180%);
    -webkit-backdrop-filter: blur(30px) saturate(180%);
    border: 2px solid var(--glass-border);
    border-radius: 16px;
    padding: 1.25rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-primary);
    font-weight: 600;
    font-size: 1rem;
}

.prediction-option:hover {
    background: var(--glass-bg-light);
    border-color: var(--glass-border-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(147, 51, 234, 0.15);
}

.prediction-option.selected {
    background: linear-gradient(135deg, rgba(147, 51, 234, 0.3), rgba(168, 85, 247, 0.2));
    backdrop-filter: blur(40px) saturate(200%);
    -webkit-backdrop-filter: blur(40px) saturate(200%);
    border-color: var(--primary-color);
    box-shadow: 0 8px 24px rgba(147, 51, 234, 0.3);
}

.prediction-option.draw {
    font-style: italic;
}

.prediction-percentage {
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-weight: 500;
}

.prediction-option.selected .prediction-percentage {
    color: white;
}

.prediction-actions {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.prediction-actions .btn-primary,
.prediction-actions .btn-secondary {
    flex: 1;
}

.prediction-stats {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--glass-border);
}

.prediction-stats-info {
    text-align: center;
}

.prediction-stats-info p {
    margin-bottom: 1rem;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.prediction-stats-info strong {
    color: var(--primary-color);
    font-size: 1.2rem;
}

.prediction-bars {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.prediction-bar {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.85rem;
}

.prediction-bar span:first-child {
    min-width: 80px;
    text-align: left;
    color: var(--text-secondary);
    font-size: 0.8rem;
}

.prediction-bar span:last-child {
    min-width: 30px;
    text-align: right;
    color: var(--text-secondary);
    font-weight: 600;
}

.bar-fill {
    flex: 1;
    height: 8px;
    background: linear-gradient(90deg, var(--primary-color), var(--primary-hover));
    border-radius: 4px;
    transition: width 0.3s ease;
}

.no-predictions {
    text-align: center;
    color: var(--text-secondary);
    font-style: italic;
    padding: 1rem;
}

@media (max-width: 768px) {
    .prediction-options {
        gap: 0.75rem;
    }

    .prediction-option {
        padding: 1rem;
        font-size: 0.9rem;
    }

    .prediction-actions {
        flex-direction: column;
    }

    .prediction-bar {
        font-size: 0.8rem;
    }

    .prediction-bar span:first-child {
        min-width: 60px;
        font-size: 0.75rem;
    }
}

/* Footer */
.footer {
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(40px) saturate(180%);
    -webkit-backdrop-filter: blur(40px) saturate(180%);
    border-top: 1px solid var(--glass-border);
    padding: 2rem 0;
    text-align: center;
    color: var(--text-secondary);
    position: relative;
    z-index: 1;
    transition: background 0.3s ease, border-color 0.3s ease, color 0.3s ease;
}

[data-theme="light"] .footer {
    background: rgba(255, 255, 255, 0.6);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-disclaimer {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--glass-border);
    text-align: left;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.footer-disclaimer h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
    text-align: center;
}

.footer-disclaimer p {
    font-size: 0.85rem;
    line-height: 1.6;
    color: var(--text-secondary);
    margin: 0;
}

@media (max-width: 768px) {
    .footer-disclaimer {
        margin-top: 1.5rem;
        padding-top: 1.5rem;
        text-align: center;
    }

    .footer-disclaimer p {
        font-size: 0.8rem;
    }
}

/* Utility Classes */
.text-gray-400 {
    color: var(--text-secondary);
    text-align: center;
    padding: 2rem;
}

.text-red-500 {
    color: var(--error);
    text-align: center;
    padding: 2rem;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .carousel-title {
        font-size: 2rem;
    }

    .matches-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.2rem;
    }
}

@media (max-width: 768px) {

    .matches-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .matches-row .match-card {
        width: 200px;
    }
    
    .categories-container .matches-row .match-card {
        width: 200px;
    }
    
    .section-subtitle {
        font-size: 1.25rem;
    }
    
    .section-title-buttons {
        flex-direction: row;
        align-items: center;
        gap: 0.5rem;
        flex-wrap: wrap;
    }
    
    .section-title-btn {
        font-size: 0.95rem;
        padding: 0.4rem 0.85rem;
    }
    
    .section-title-separator {
        font-size: 1.2rem;
        display: none;
    }
    
    .scroll-btn {
        width: 32px;
        height: 32px;
        font-size: 1.3rem;
    }
    
    .horizontal-scroll-container {
        scroll-padding: 0 0.5rem;
    }

    .match-poster-container {
        height: 150px;
    }

    .match-card img {
        height: 100%;
    }
    
    .match-card img[src*="Gemini-Generated-Image-8vyoyd8vyoyd8vyo-removebg-preview-removebg-preview"],
    .match-card img[src*="fallback"] {
        padding: 15px;
    }

    .hover-preview {
        display: none !important;
    }

    .card-content {
        padding: 0.9rem;
    }

    .card-content h3 {
        font-size: 1rem;
    }

    .watch-live-btn {
        padding: 0.6rem;
        font-size: 0.9rem;
    }
}

@media (max-width: 768px) {
    .header .container {
        flex-direction: column;
        gap: 1rem;
    }

    .logo {
        justify-content: center;
    }
    
    .logo-image {
        height: 45px;
        max-width: 160px;
        min-width: 120px;
    }
    
    .logo-text {
        font-size: 1.5rem;
    }

    .header-right {
        flex-direction: row;
        width: auto;
        gap: 0.75rem;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .discord-btn {
        padding: 0.5rem 1rem;
        font-size: 0.85rem;
        gap: 0.4rem;
    }
    
    .discord-icon {
        width: 18px;
        height: 18px;
    }
    
    .discord-text {
        display: none;
    }

    .theme-toggle-container {
        padding: 0.4rem 0.75rem;
        gap: 0.5rem;
    }
    
    .theme-toggle-label {
        font-size: 0.75rem;
    }
    
    .theme-toggle-switch {
        width: 60px;
        height: 34px;
    }
    
    .theme-toggle-slider {
        width: 26px;
        height: 26px;
        top: 4px;
        left: 4px;
    }
    
    .theme-toggle-input:checked + .theme-toggle-switch .theme-toggle-slider {
        left: calc(100% - 30px);
    }
    
    .theme-icon-moon,
    .theme-icon-sun {
        width: 16px;
        height: 16px;
    }
    
    /* Hide label on very small screens */
    @media (max-width: 480px) {
        .theme-toggle-label {
            display: none;
        }
        
        .theme-toggle-container {
            padding: 0.4rem 0.6rem;
        }
    }

    .current-time {
        display: none;
    }

    .mobile-time-bar {
        display: block;
    }

    .nav {
        width: 100%;
        justify-content: center;
        flex-wrap: wrap;
        gap: 1rem;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .stat-value {
        font-size: 2rem;
    }

    .category-section {
        padding: 1.5rem;
    }

    .category-title {
        font-size: 1.5rem;
    }

    .category-subtitle {
        font-size: 1.1rem;
    }


    .sports-filter {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        padding-bottom: 1rem;
    }

    .sport-filter-btn {
        font-size: 0.85rem;
        padding: 0.5rem 1rem;
    }

    .section-header {
        flex-direction: column;
        align-items: stretch;
    }

    .search-container {
        max-width: 100%;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .filter-tabs {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .filter-btn {
        white-space: nowrap;
        padding: 0.75rem 1rem;
    }
}

@media (max-width: 480px) {
    .stats-grid {
        grid-template-columns: 1fr;
    }

    .stat-value {
        font-size: 1.75rem;
    }

    .modal-content {
        margin: 10px;
        max-height: 90vh;
    }
    
    .discord-btn {
        padding: 0.45rem 0.9rem;
        font-size: 0.8rem;
    }
    
    .discord-icon {
        width: 16px;
        height: 16px;
    }
    
    .logo-image {
        height: 40px;
        max-width: 140px;
        min-width: 100px;
    }
    
    .logo-text {
        font-size: 1.25rem;
    }
}
