
:root {
    --bg-primary: #ffffff;
    --bg-secondary: #f8fafc;
    --bg-tertiary: #f1f5f9;
    --bg-quaternary: #e2e8f0;
    --bg-surface: #ffffff;
    --bg-elevated: #ffffff;
    --bg-overlay: rgba(0, 0, 0, 0.5);
    --bg-hover: #f1f5f9;
    --bg-active: #e2e8f0;
    --text-primary: #0f172a;
    --text-secondary: #334155;
    --text-tertiary: #64748b;
    --text-quaternary: #94a3b8;
    --text-inverse: #ffffff;
    --text-disabled: #cbd5e1;
    --text-success: #059669;
    --text-warning: #d97706;
    --text-error: #dc2626;
    --text-info: #0284c7;
    --border-primary: #e2e8f0;
    --border-secondary: #cbd5e1;
    --border-tertiary: #94a3b8;
    --border-focus: #3b82f6;
    --border-error: #ef4444;
    --border-success: #10b981;
    --color-brand: #dc2626;
    --color-brand-rgb: 220, 38, 38; 
    --color-brand-light: #ef4444;
    --color-brand-dark: #b91c1c;
    --color-brand-bg: #fef2f2;
    --color-accent: #3b82f6;
    --color-accent-light: #60a5fa;
    --color-accent-dark: #2563eb;
    --color-success: #10b981;
    --color-success-light: #34d399;
    --color-success-dark: #059669;
    --color-success-bg: #ecfdf5;
    --color-warning: #f59e0b;
    --color-warning-light: #fbbf24;
    --color-warning-dark: #d97706;
    --color-warning-bg: #fffbeb;
    --color-error: #ef4444;
    --color-error-light: #f87171;
    --color-error-dark: #dc2626;
    --color-error-bg: #fef2f2;
    --color-info: #3b82f6;
    --color-info-light: #60a5fa;
    --color-info-dark: #2563eb;
    --color-info-bg: #eff6ff;
    --color-live: #ef4444;
    --color-live-bg: rgba(239, 68, 68, 0.1);
    --color-live-pulse: #ef4444;
    --sport-nfl: #013369;
    --sport-nba: #c9082a;
    --sport-mlb: #132448;
    --sport-nhl: #000000;
    --sport-ufc: #d20a0a;
    --sport-boxing: #b8860b;
    --sport-f1: #e10600;
    --sport-soccer: #00a651;
    --sport-wwe: #d4af37;
    --sport-cfb: #ff6600;
    --sport-ncaab: #003da5;
    --shadow-xs: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-sm: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --img-brightness: 1;
    --img-contrast: 1;
    --img-saturation: 1;
    --img-opacity: 1;
    --logo-filter: none;
    --icon-filter: none;
}
[data-theme="dark"],
body.dark-theme {
    --bg-primary: #0f172a;
    --bg-secondary: #1e293b;
    --bg-tertiary: #334155;
    --bg-quaternary: #475569;
    --bg-surface: #1e293b;
    --bg-elevated: #334155;
    --bg-overlay: rgba(0, 0, 0, 0.8);
    --bg-hover: #334155;
    --bg-active: #475569;
    --text-primary: #ffffff;
    --text-secondary: #ffffff;
    --text-tertiary: #f1f5f9;
    --text-quaternary: #e2e8f0;
    --text-inverse: #0f172a;
    --text-disabled: #64748b;
    --text-success: #34d399;
    --text-warning: #fbbf24;
    --text-error: #f87171;
    --text-info: #60a5fa;
    --border-primary: #334155;
    --border-secondary: #475569;
    --border-tertiary: #64748b;
    --border-focus: #60a5fa;
    --border-error: #f87171;
    --border-success: #34d399;
    --color-brand: #ef4444;
    --color-brand-rgb: 239, 68, 68; 
    --color-brand-light: #f87171;
    --color-brand-dark: #dc2626;
    --color-brand-bg: rgba(239, 68, 68, 0.1);
    --color-accent: #60a5fa;
    --color-accent-light: #93c5fd;
    --color-accent-dark: #3b82f6;
    --color-success: #34d399;
    --color-success-light: #6ee7b7;
    --color-success-dark: #10b981;
    --color-success-bg: rgba(52, 211, 153, 0.1);
    --color-warning: #fbbf24;
    --color-warning-light: #fcd34d;
    --color-warning-dark: #f59e0b;
    --color-warning-bg: rgba(251, 191, 36, 0.1);
    --color-error: #f87171;
    --color-error-light: #fca5a5;
    --color-error-dark: #ef4444;
    --color-error-bg: rgba(248, 113, 113, 0.1);
    --color-info: #60a5fa;
    --color-info-light: #93c5fd;
    --color-info-dark: #3b82f6;
    --color-info-bg: rgba(96, 165, 250, 0.1);
    --color-live: #f87171;
    --color-live-bg: rgba(248, 113, 113, 0.15);
    --color-live-pulse: #f87171;
    --shadow-xs: 0 1px 2px 0 rgba(0, 0, 0, 0.3);
    --shadow-sm: 0 1px 3px 0 rgba(0, 0, 0, 0.4), 0 1px 2px 0 rgba(0, 0, 0, 0.2);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.4), 0 2px 4px -1px rgba(0, 0, 0, 0.2);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.4), 0 4px 6px -2px rgba(0, 0, 0, 0.2);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.4), 0 10px 10px -5px rgba(0, 0, 0, 0.2);
    --img-brightness: 0.9;
    --img-contrast: 1.1;
    --img-saturation: 0.9;
    --img-opacity: 0.95;
    --logo-filter: brightness(1.2) contrast(0.9);
    --icon-filter: brightness(1.1);
}
* {
    box-sizing: border-box;
}
html {
    scroll-behavior: smooth;
}
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    margin: 0;
    padding: 0;
    transition: background-color 0.05s ease, color 0.05s ease;
    overflow-x: hidden;
}
[data-theme="dark"] body,
body.dark-theme,
[data-theme="dark"] h1, [data-theme="dark"] h2, [data-theme="dark"] h3,
[data-theme="dark"] h4, [data-theme="dark"] h5, [data-theme="dark"] h6,
[data-theme="dark"] p, [data-theme="dark"] span, [data-theme="dark"] small,
[data-theme="dark"] li, [data-theme="dark"] label, [data-theme="dark"] strong,
[data-theme="dark"] em, [data-theme="dark"] th, [data-theme="dark"] td,
[data-theme="dark"] input, [data-theme="dark"] textarea, [data-theme="dark"] select,
[data-theme="dark"] button, [data-theme="dark"] a {
    color: #ffffff !important;
}
[data-theme="dark"] a { color: #ffffff !important; }
h1, h2, h3, h4, h5, h6 {
    color: var(--text-primary);
    font-weight: 600;
    line-height: 1.3;
    margin: 0;
    transition: color 0.3s ease;
}
h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.75rem; }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }
h6 { font-size: 1rem; }
p {
    color: var(--text-secondary);
    margin: 0;
    transition: color 0.3s ease;
}
a {
    color: var(--color-accent);
    text-decoration: none;
    transition: color 0.3s ease;
}
a:hover {
}
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.625rem 1rem;
    border: 1px solid transparent;
    border-radius: 0.375rem;
    font-size: 0.875rem;
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    background-color: var(--bg-secondary);
    color: var(--text-primary);
    border-color: var(--border-primary);
}
.btn:hover {
    background-color: var(--bg-hover);
    border-color: var(--border-secondary);
}
.btn-primary {
    background-color: var(--color-brand);
    color: var(--text-inverse);
    border-color: var(--color-brand);
}
.btn-primary:hover {
    background-color: var(--color-brand-dark);
    border-color: var(--color-brand-dark);
}
.card {
    background-color: var(--bg-surface);
    border: 1px solid var(--border-primary);
    border-radius: 0.5rem;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
}
.card:hover {
    box-shadow: var(--shadow-md);
    border-color: var(--border-secondary);
}
input, textarea, select {
    background-color: var(--bg-surface);
    border: 1px solid var(--border-primary);
    color: var(--text-primary);
    border-radius: 0.375rem;
    padding: 0.5rem 0.75rem;
    font-size: 0.875rem;
    transition: all 0.3s ease;
}
.se-search-input:focus {
    box-shadow: none !important;
}
input:focus, textarea:focus, select:focus {
    outline: none;
    border-color: var(--border-focus);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}
input::placeholder, textarea::placeholder {
    color: var(--text-quaternary);
}
img {
    filter: brightness(var(--img-brightness)) 
            contrast(var(--img-contrast)) 
            saturate(var(--img-saturation)) 
            opacity(var(--img-opacity));
    transition: filter 0.3s ease;
}
.logo, .brand-logo {
    filter: var(--logo-filter);
}
.icon, .fa, [class*="fa-"] {
    filter: var(--icon-filter);
    transition: filter 0.3s ease;
}
.bg-primary { background-color: var(--bg-primary) !important; }
.bg-secondary { background-color: var(--bg-secondary) !important; }
.bg-surface { background-color: var(--bg-surface) !important; }
.text-primary { color: var(--text-primary) !important; }
.text-secondary { color: var(--text-secondary) !important; }
.text-tertiary { color: var(--text-tertiary) !important; }
.border-primary { border-color: var(--border-primary) !important; }
.border-secondary { border-color: var(--border-secondary) !important; }
.shadow-sm { box-shadow: var(--shadow-sm) !important; }
.shadow-md { box-shadow: var(--shadow-md) !important; }
.shadow-lg { box-shadow: var(--shadow-lg) !important; }
@media (max-width: 640px) {
    h1 { font-size: 2rem; }
    h2 { font-size: 1.75rem; }
    h3 { font-size: 1.5rem; }
}
* {
    transition-property: background-color, border-color, color, fill, stroke, box-shadow;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    transition-duration: 300ms;
}
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}
::-webkit-scrollbar-track {
    background: var(--bg-secondary);
}
::-webkit-scrollbar-thumb {
    background: var(--border-tertiary);
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--text-quaternary);
}
::selection {
    background-color: var(--color-brand);
    color: var(--text-inverse);
}
::-moz-selection {
    background-color: var(--color-brand);
    color: var(--text-inverse);
}
:focus-visible {
    outline: 2px solid var(--color-accent);
    outline-offset: 2px;
}
.se-filter-btn:focus-visible {
    outline: none !important;
}
.loading {
    background: linear-gradient(
        90deg,
        var(--bg-secondary) 25%,
        var(--bg-tertiary) 50%,
        var(--bg-secondary) 75%
    );
    background-size: 200% 100%;
    animation: loading 2s infinite;
}
@keyframes loading {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}
.fade-in {
    animation: fadeIn 0.5s ease-out;
}
.pulse {
    animation: pulse 2s infinite;
}
@media (prefers-contrast: high) {
    :root {
        --border-primary: #000000;
        --text-tertiary: var(--text-secondary);
    }
    [data-theme="dark"] {
        --border-primary: #ffffff;
        --bg-primary: #000000;
    }
}
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}
@media print {
    body {
        background: white !important;
        color: black !important;
    }
} 
[data-theme="dark"] .se-match-card,
body.dark-theme .se-match-card {
    color: #ffffff !important;
} 
