:root {
    --bg: #0a0a0f;
    --bg-elevated: #12121a;
    --card: #1a1a24;
    --card-border: #2a2a38;
    --text: #f4f4f8;
    --text-muted: #9ca3af;
    --accent: #ffc72c;
    --raw: #e10600;
    --smackdown: #006bb6;
    --nxt: #ffc72c;
    --ple: #9b59b6;
    --radius: 16px;
    --shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    color-scheme: dark;
}

body {
    margin: 0;
    min-height: 100vh;
    font-family: Inter, system-ui, sans-serif;
    background:
        radial-gradient(ellipse 80% 50% at 50% -20%, rgba(225, 6, 0, 0.15), transparent),
        radial-gradient(ellipse 60% 40% at 100% 0%, rgba(0, 107, 182, 0.12), transparent),
        var(--bg);
    color: var(--text);
    line-height: 1.5;
}

.page {
    max-width: 1100px;
    margin: 0 auto;
    padding: 1.5rem 1.25rem 3rem;
}

.site-header {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1.25rem;
    margin-bottom: 2rem;
}

.brand-lockup {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo-mark {
    position: relative;
    width: 52px;
    height: 52px;
}

.bell {
    position: absolute;
    width: 22px;
    height: 22px;
    border: 3px solid var(--accent);
    border-radius: 50% 50% 40% 40%;
    top: 8px;
}

.bell::after {
    content: "";
    position: absolute;
    width: 6px;
    height: 6px;
    background: var(--accent);
    border-radius: 50%;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
}

.bell.left { left: 4px; transform: rotate(-12deg); }
.bell.right { right: 4px; transform: rotate(12deg); }

h1 {
    margin: 0;
    font-family: "Bebas Neue", sans-serif;
    font-size: 2.75rem;
    letter-spacing: 0.04em;
    line-height: 1;
}

.tagline {
    margin: 0.25rem 0 0;
    color: var(--text-muted);
    font-size: 0.95rem;
}

.header-controls {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.control {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--text-muted);
}

.control select {
    min-width: 180px;
    padding: 0.55rem 0.75rem;
    border: 1px solid var(--card-border);
    border-radius: 10px;
    background: var(--bg-elevated);
    color: var(--text);
    font: inherit;
}

.hero.is-live {
    background: linear-gradient(135deg, rgba(225, 6, 0, 0.28), rgba(225, 6, 0, 0.08));
    border-color: rgba(225, 6, 0, 0.45);
}

.hero.is-live .hero-label {
    color: #ff4444;
}

.event-card.is-live {
    border-color: rgba(225, 6, 0, 0.5);
}

.countdown.is-live {
    color: #ff6b6b;
}

.hero {
    background: linear-gradient(135deg, rgba(225, 6, 0, 0.18), rgba(155, 89, 182, 0.18));
    border: 1px solid var(--card-border);
    border-radius: var(--radius);
    padding: 1.5rem 1.75rem;
    margin-bottom: 1.5rem;
    box-shadow: var(--shadow);
}

.hero-label {
    margin: 0 0 0.35rem;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--accent);
}

.hero-title {
    margin: 0;
    font-family: "Bebas Neue", sans-serif;
    font-size: 2rem;
    letter-spacing: 0.03em;
}

.hero-time,
.hero-countdown {
    margin: 0.35rem 0 0;
    color: var(--text-muted);
}

.filters {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.filter-chip {
    padding: 0.45rem 0.9rem;
    border-radius: 999px;
    border: 1px solid var(--card-border);
    background: var(--bg-elevated);
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    transition: border-color 0.15s, color 0.15s, background 0.15s;
}

.filter-chip:hover,
.filter-chip.active {
    color: var(--text);
    border-color: var(--brand-color, var(--accent));
    background: rgba(255, 255, 255, 0.04);
}

.filter-raw.active { --brand-color: var(--raw); }
.filter-smackdown.active { --brand-color: var(--smackdown); }
.filter-nxt.active { --brand-color: var(--nxt); }
.filter-ple.active { --brand-color: var(--ple); }

.schedule-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1rem;
}

.event-card {
    position: relative;
    background: var(--card);
    border: 1px solid var(--card-border);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.card-accent {
    height: 4px;
    background: var(--brand-color, var(--accent));
}

.card-body {
    padding: 1.15rem 1.25rem 1.25rem;
}

.card-top {
    display: flex;
    gap: 0.85rem;
    align-items: flex-start;
    margin-bottom: 0.75rem;
}

.brand-logo {
    flex-shrink: 0;
    border-radius: 10px;
}

.brand-name {
    margin: 0;
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--brand-color, var(--accent));
    font-weight: 600;
}

.event-title {
    margin: 0.15rem 0 0;
    font-size: 1.05rem;
    font-weight: 600;
    line-height: 1.3;
}

.event-venue {
    margin: 0 0 0.85rem;
    font-size: 0.875rem;
    color: var(--text-muted);
}

.time-block {
    margin-bottom: 0.85rem;
}

.local-time {
    margin: 0;
    font-size: 1.35rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.et-time {
    margin: 0.2rem 0 0;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.platforms {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-bottom: 0.65rem;
}

.platform-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.25rem 0.55rem;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 600;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--card-border);
}

.platform-netflix { border-color: #e50914; color: #ff6b6b; }
.platform-espn { border-color: #ff0033; color: #ff6680; }
.platform-usa { border-color: #006bb6; color: #5eb3ff; }
.platform-cw { border-color: #00a651; color: #5dffa8; }
.platform-youtube { border-color: #ff0000; color: #ff6666; }
.platform-tubi { border-color: #fa3829; color: #ff8a80; }
.platform-peacock { border-color: #000000; color: #c0c0c0; background: #222; }

.countdown {
    margin: 0;
    font-size: 0.8rem;
    color: var(--accent);
    font-weight: 500;
}

.empty-state {
    grid-column: 1 / -1;
    text-align: center;
    padding: 3rem 1rem;
    border: 1px dashed var(--card-border);
    border-radius: var(--radius);
    color: var(--text-muted);
}

.site-footer {
    margin-top: 2.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--card-border);
    font-size: 0.82rem;
    color: var(--text-muted);
}

.site-footer p {
    margin: 0 0 0.5rem;
}

@media (max-width: 640px) {
    h1 { font-size: 2.2rem; }
    .header-controls { width: 100%; }
    .control select { width: 100%; min-width: 0; }
}
