@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=Rajdhani:wght@500;600;700;800&family=Cinzel:wght@600;700;800&family=Outfit:wght@300;400;500;600;700;800&display=swap');

:root {
    --bg-base: #080b11;
    --bg-card: rgba(16, 25, 42, 0.85);
    --bg-card-hover: rgba(22, 34, 56, 0.92);
    --bg-surface: rgba(12, 18, 28, 0.82);
    --bg-surface-elevated: rgba(18, 26, 42, 0.88);
    --border-subtle: rgba(255, 255, 255, 0.08);
    --border-gold: rgba(200, 170, 110, 0.35);
    --border-gold-bright: #c8aa6e;
    --border-cyan: #0ac8b9;
    --gold-primary: #c8aa6e;
    --accent-gold: #c8aa6e;
    --gold-light: #f0e6d2;
    --gold-glow: rgba(200, 170, 110, 0.35);
    --hextech-cyan: #0ac8b9;
    --cyan-glow: rgba(10, 200, 185, 0.35);
    --live-red: #ff4655;
    --text-primary: #f0e6d2;
    --text-secondary: #a09b8c;
    --text-bright: #ffffff;
    --text-muted: #647082;
}

/* Custom Scrollbars */
::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background: rgba(8, 12, 18, 0.6); }
::-webkit-scrollbar-thumb { background: #c8aa6e; border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: #f0e6d2; }

body { 
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; 
    background-color: var(--bg-base); 
    color: #ece8e1; 
    margin: 0; 
    overflow-x: hidden;
}

/* Floating Team Bubbles Canvas */
#particle-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 0;
    pointer-events: none;
    display: block;
}

/* Page Layering: Containers sit safely above particle-canvas */
main,
.container,
.archive-container,
.schedule-container,
.timeline-container,
.patch-page-container,
.caster-page-container,
.champions-page-container,
.anthems-page-container,
.players-page-container,
.moments-page-container,
.about-section,
footer {
    position: relative;
    z-index: 1;
}

/* Standardized Page Hero Typography Across All Tabs */
.page-hero,
.patch-hero,
.caster-hero,
.champions-hero,
.anthems-hero,
.players-hero,
.moments-hero,
.timeline-intro {
    text-align: center;
    margin-bottom: 30px;
    position: relative;
    z-index: 1;
}

.page-hero-title,
.patch-hero-title,
.caster-hero-title,
.champions-hero-title,
.anthems-hero-title,
.players-hero-title,
.moments-hero-title,
.timeline-intro h2 {
    font-family: 'Cinzel', serif !important;
    font-size: clamp(1.9rem, 3.6vw, 2.7em) !important;
    font-weight: 800 !important;
    color: #f0e6d2 !important;
    background: linear-gradient(135deg, #ffffff 15%, #f0e6d2 55%, #c8aa6e 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: 2px !important;
    margin-bottom: 10px !important;
    filter: drop-shadow(0 2px 14px rgba(200, 170, 110, 0.3));
    text-transform: uppercase;
}

.page-hero-subtitle,
.patch-hero-subtitle,
.caster-hero-subtitle,
.champions-hero-subtitle,
.anthems-hero-subtitle,
.players-hero-subtitle,
.moments-hero-subtitle,
.timeline-intro p {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
    font-size: 1.05rem !important;
    color: var(--text-secondary) !important;
    max-width: 820px !important;
    margin: 0 auto !important;
    line-height: 1.6 !important;
}

nav { 
    display: flex; 
    justify-content: center; 
    align-items: center;
    gap: 16px; 
    background: rgba(8, 12, 20, 0.88); 
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    padding: 12px 20px; 
    border-bottom: 1px solid rgba(200, 170, 110, 0.25);
    box-shadow: 0 6px 20px rgba(0,0,0,0.45);
    position: sticky;
    top: 0;
    z-index: 100;
}
nav a, .dropdown-btn { 
    color: #d1cbbd; 
    text-decoration: none; 
    font-family: 'Rajdhani', sans-serif;
    font-weight: 600; 
    font-size: 1.1em;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 7px 14px;
    border-radius: 6px;
    border: 1px solid transparent;
    transition: all 0.25s ease;
    position: relative;
}
nav a::after, .dropdown-btn::after {
    display: none;
}
nav a:hover, .dropdown-btn:hover, .dropdown:hover .dropdown-btn { 
    color: #f0e6d2; 
    background: rgba(200, 170, 110, 0.12);
    transform: translateY(-1px);
    border-color: rgba(200, 170, 110, 0.3);
}
nav a.active, .dropdown.active-tab .dropdown-btn, .dropdown-btn.active {
    color: #f0e6d2 !important;
    background: rgba(200, 170, 110, 0.18) !important;
    border: 1px solid rgba(200, 170, 110, 0.45) !important;
    box-shadow: 0 0 12px rgba(200, 170, 110, 0.25);
}
.dropdown-content a.active {
    color: #c8aa6e !important;
    background: rgba(200, 170, 110, 0.15) !important;
    font-weight: 700;
}
nav a.discord-link:hover { color: #5865F2; background: rgba(88, 101, 242, 0.12); border-color: rgba(88, 101, 242, 0.3); }
nav a.youtube-link:hover { color: #FF0000; background: rgba(255, 0, 0, 0.12); border-color: rgba(255, 0, 0, 0.3); }
nav a.twitter-link:hover { color: #1DA1F2; background: rgba(29, 161, 242, 0.12); border-color: rgba(29, 161, 242, 0.3); }
nav a.ebay-link:hover { color: #86B817; background: rgba(134, 184, 23, 0.12); border-color: rgba(134, 184, 23, 0.3); }
nav a.stream-link:hover { color: #00e676; background: rgba(0, 230, 118, 0.12); border-color: rgba(0, 230, 118, 0.3); }
nav a.kofi-nav-link { color: #ff8583 !important; }
nav a.kofi-nav-link:hover { color: #ff5e5b !important; background: rgba(255, 94, 91, 0.15) !important; border-color: rgba(255, 94, 91, 0.35) !important; }
nav a.youtube-link:hover { color: #FF0000; background: rgba(255, 0, 0, 0.12); }
nav a.twitter-link:hover { color: #1DA1F2; background: rgba(29, 161, 242, 0.12); }
nav a.ebay-link:hover { color: #86B817; background: rgba(134, 184, 23, 0.12); }
nav a.stream-link:hover { color: #00e676; background: rgba(0, 230, 118, 0.12); }

/* Twitch Live Indicator */
#live-nav-link {
    color: #ff4655;
    display: none;
    animation: pulse-text 2s infinite;
}
#live-nav-link::after { background-color: #ff4655; }
.live-pulse {
    width: 10px;
    height: 10px;
    background-color: #ff4655;
    border-radius: 50%;
    display: inline-block;
    box-shadow: 0 0 10px #ff4655;
    animation: pulse-dot 1.5s infinite alternate;
}
@keyframes pulse-text {
    0% { text-shadow: 0 0 5px rgba(255, 70, 85, 0.4); }
    50% { text-shadow: 0 0 15px rgba(255, 70, 85, 0.8); }
    100% { text-shadow: 0 0 5px rgba(255, 70, 85, 0.4); }
}
@keyframes pulse-dot {
    0% { transform: scale(1); box-shadow: 0 0 5px #ff4655; }
    100% { transform: scale(1.3); box-shadow: 0 0 15px #ff4655; }
}

.container { 
    max-width: 1260px;
    margin: 40px auto; 
    padding: 20px; 
}
.video-wrapper {
    display: flex;
    justify-content: center;
    gap: 14px; 
    margin-bottom: 40px;
    background: rgba(10, 16, 26, 0.78);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    padding: 14px;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.09);
    box-shadow: 0 16px 45px -10px rgba(0, 0, 0, 0.8), 0 0 35px -5px rgba(200, 170, 110, 0.08);
}
.video-wrapper iframe {
    border: 1px solid rgba(200, 170, 110, 0.28);
    border-radius: 8px;
    box-sizing: border-box;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.schedule, .guestbook, .about-section { 
    background: rgba(12, 18, 28, 0.8);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    padding: 30px; 
    border-radius: 14px; 
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-top: 2px solid #c8aa6e;
    box-shadow: 0 16px 45px rgba(0, 0, 0, 0.5);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.schedule:hover, .guestbook:hover, .about-section:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6), 0 0 25px rgba(200, 170, 110, 0.12);
}
.guestbook { margin-top: 40px; }
.schedule iframe {
    filter: invert(1) hue-rotate(180deg);
    border-radius: 8px;
}

/* About Page Elements */
.about-section {
    max-width: 900px;
    margin: 0 auto;
    line-height: 1.8;
    font-size: 1.1em;
}
.about-section h2 {
    font-family: 'Cinzel', serif;
    color: #f0e6d2;
    margin-top: 0;
    font-size: 2em;
    border-bottom: 1px solid rgba(200, 170, 110, 0.3);
    padding-bottom: 15px;
    margin-bottom: 25px;
}
.about-section p { margin-bottom: 20px; }

/* Banners */
.banner-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid rgba(200, 170, 110, 0.3);
    max-width: 600px;
}
.lol-banner, .steam-banner {
    position: relative;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 20px;
    color: #f0e6d2;
    text-decoration: none;
    box-shadow: inset 0 0 40px rgba(0,0,0,0.8), 0 5px 15px rgba(0,0,0,0.5);
    transition: transform 0.2s, box-shadow 0.2s;
    cursor: default;
}
.lol-banner {
    background-color: #010a13;
    background-image: radial-gradient(circle at 60% 50%, rgba(9, 36, 56, 0.6) 0%, #010a13 70%);
    border: 1px solid #3c3420;
}
.steam-banner {
    background: linear-gradient(to right, #1b2838 0%, #171a21 100%);
    border-radius: 2px;
}
.lol-banner:hover, .steam-banner:hover {
    transform: scale(1.02);
    box-shadow: inset 0 0 40px rgba(0,0,0,0.8), 0 8px 20px rgba(0,0,0,0.7);
}
.steam-banner:hover { cursor: pointer; }

/* Banner internal styles... (truncated for brevity, copying the rest) */
.lol-icon-wrapper, .steam-avatar-wrapper { position: relative; width: 72px; height: 72px; }
.lol-avatar { width: 100%; height: 100%; border-radius: 50%; background: #111; border: 2px solid #a09b8c; display: flex; align-items: center; justify-content: center; }
.steam-avatar-wrapper { padding: 2px; border-radius: 4px; background: #57cbde; }
.steam-avatar { width: 100%; height: 100%; border-radius: 3px; background: #222; display: flex; align-items: center; justify-content: center; }
.lol-avatar svg { width: 40px; fill: #c8aa6e; }
.steam-avatar svg { width: 40px; fill: #66c0f4; }
.lol-level-badge { position: absolute; bottom: -6px; left: 50%; transform: translateX(-50%); background: #010a13; color: #f0e6d2; border: 1px solid #c8aa6e; padding: 1px 8px; border-radius: 12px; font-size: 0.75em; font-weight: bold; box-shadow: 0 2px 4px rgba(0,0,0,0.8); }

.lol-info, .steam-info { flex: 1; }
.lol-info h3, .steam-info h3 { margin: 0; font-family: 'Cinzel', serif; font-size: 1.6em; color: #f0e6d2; text-shadow: 0 2px 4px #000; }
.steam-info h3 { font-family: 'Inter', sans-serif; font-weight: normal; }
.lol-info h3 .tag { color: #8c9296; font-family: sans-serif; font-size: 0.6em; }
.lol-info p { margin: 4px 0 0; color: #00ff00; font-size: 0.9em; font-weight: bold; display: flex; align-items: center; gap: 6px; }
.steam-info p { margin: 4px 0 0; color: #57cbde; font-family: 'Inter', sans-serif; font-size: 0.9em; }

.lol-rank { text-align: right; margin-right: 15px; }
.lol-rank span { display: block; font-size: 0.8em; color: #a09b8c; text-transform: uppercase; letter-spacing: 1px; }
.lol-rank strong { color: #5e9ddb; font-size: 1.1em; }
.steam-level { display: flex; align-items: center; gap: 10px; margin-right: 15px; }
.steam-level span { color: #8f98a0; font-size: 0.9em; text-transform: uppercase; }
.steam-level-circle { width: 36px; height: 36px; border-radius: 50%; border: 2px solid #eb3c00; display: flex; align-items: center; justify-content: center; font-family: 'Inter', Arial; font-weight: bold; color: #fff; }

.copy-btn { background: transparent; border: 1px solid #c8aa6e; color: #c8aa6e; padding: 8px 12px; border-radius: 2px; cursor: pointer; transition: 0.2s; display: flex; align-items: center; gap: 6px; font-weight: bold; font-size: 0.8em; text-transform: uppercase; }
.copy-btn:hover { background: #c8aa6e; color: #010a13; }
.view-btn { background: rgba(255,255,255,0.1); padding: 8px 16px; border-radius: 2px; font-size: 0.9em; transition: 0.2s; color: #fff; }
.steam-banner:hover .view-btn { background: rgba(255,255,255,0.2); }

/* Guestbook specific */
.guestbook-notice {
    background: rgba(200, 170, 110, 0.08);
    border: 1px solid rgba(200, 170, 110, 0.25);
    color: #f0e6d2;
    padding: 14px 18px;
    border-radius: 8px;
    margin-bottom: 22px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.9em;
    line-height: 1.5;
}
.guestbook-notice svg {
    color: #c8aa6e;
    flex-shrink: 0;
}
.guestbook form { 
    display: flex; 
    gap: 12px; 
    margin-bottom: 25px; 
    flex-wrap: wrap; 
}
.guestbook input { 
    background-color: rgba(10, 16, 26, 0.85); 
    border: 1px solid rgba(200, 170, 110, 0.35); 
    color: #ece8e1; 
    padding: 12px 16px; 
    border-radius: 6px; 
    font-family: 'Inter', sans-serif;
    font-size: 0.95em;
    transition: all 0.25s ease;
}
.guestbook input:focus { 
    outline: none; 
    border-color: #c8aa6e; 
    box-shadow: 0 0 15px rgba(200, 170, 110, 0.25);
    background-color: rgba(14, 22, 36, 0.95);
}
.guestbook input#guest-name { flex: 1; min-width: 160px; }
.guestbook input#guest-message { flex: 3; min-width: 220px; }
.guestbook button[type="submit"] { 
    background: linear-gradient(135deg, #f0e6d2 0%, #c8aa6e 100%); 
    color: #080b11; 
    border: none; 
    padding: 12px 26px; 
    border-radius: 6px; 
    font-family: 'Rajdhani', sans-serif;
    font-weight: 800; 
    font-size: 1.05em;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    cursor: pointer; 
    transition: all 0.25s ease; 
    box-shadow: 0 4px 15px rgba(200, 170, 110, 0.3);
}
.guestbook button[type="submit"]:hover { 
    background: linear-gradient(135deg, #ffffff 0%, #d8ba7e 100%);
    box-shadow: 0 6px 22px rgba(200, 170, 110, 0.5);
    transform: translateY(-2px);
}
.entry { 
    border-bottom: 1px solid rgba(255, 255, 255, 0.07); 
    padding: 14px 4px; 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    transition: background 0.2s ease;
}
.entry:hover {
    background: rgba(200, 170, 110, 0.04);
}
.entry:last-child { border-bottom: none; }
.entry .name { 
    font-family: 'Rajdhani', sans-serif;
    font-weight: 700; 
    font-size: 1.1em;
    letter-spacing: 0.5px;
    color: #c8aa6e; 
}
.entry .time { 
    font-family: 'Rajdhani', monospace;
    font-size: 0.85em; 
    color: #8892a0; 
    letter-spacing: 0.5px;
}
.delete-btn { 
    background: rgba(255, 70, 85, 0.1); 
    border: 1px solid rgba(255, 70, 85, 0.25); 
    color: #ff4655; 
    border-radius: 4px;
    padding: 3px 8px;
    font-family: 'Rajdhani', sans-serif;
    font-weight: 700;
    cursor: pointer; 
    margin-left: 12px; 
    opacity: 0.7; 
    transition: all 0.2s ease; 
}
.delete-btn:hover { 
    opacity: 1; 
    background: #ff4655;
    color: #fff;
    box-shadow: 0 0 10px rgba(255, 70, 85, 0.4);
}
.pagination-controls { 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    margin-top: 20px; 
    padding-top: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    font-family: 'Rajdhani', sans-serif;
    font-weight: 700; 
    letter-spacing: 1px;
}
.pagination-controls button {
    background-color: rgba(12, 18, 28, 0.8); 
    color: #c8aa6e; 
    border: 1px solid rgba(200, 170, 110, 0.35);
    padding: 8px 18px; 
    border-radius: 6px; 
    cursor: pointer; 
    font-family: 'Rajdhani', sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    transition: all 0.25s ease;
}
.pagination-controls button:hover:not(:disabled) { 
    background-color: #c8aa6e; 
    color: #080b11; 
    box-shadow: 0 0 15px rgba(200, 170, 110, 0.4);
    transform: translateY(-1px);
}
.pagination-controls button:disabled { opacity: 0.4; cursor: not-allowed; }

footer {
    background: linear-gradient(180deg, rgba(10, 16, 26, 0.96) 0%, rgba(6, 9, 15, 0.99) 100%); 
    text-align: center; 
    padding: 30px 20px;
    border-top: 1px solid rgba(200, 170, 110, 0.3); 
    margin-top: 50px;
    position: relative;
    box-shadow: 0 -4px 30px rgba(0, 0, 0, 0.5);
}
footer::before {
    content: '';
    position: absolute;
    top: -1px;
    left: 50%;
    transform: translateX(-50%);
    width: 45%;
    max-width: 500px;
    height: 1px;
    background: linear-gradient(90deg, transparent, #c8aa6e, transparent);
    box-shadow: 0 0 12px #c8aa6e;
}
footer p {
    color: #a09b8c;
    font-family: 'Rajdhani', sans-serif;
    font-size: 1.05em;
    font-weight: 600;
    letter-spacing: 1px;
    margin: 6px 0;
}
footer p span {
    color: #f0e6d2;
    font-weight: 700;
}

/* Light Mode Styles */
body.light-mode { background-color: #fcfbf9; color: #1f2326; }
body.light-mode nav, 
body.light-mode .video-wrapper, 
body.light-mode .schedule,
body.light-mode .guestbook,
body.light-mode .about-section,
body.light-mode footer {
    background-color: #ffffff;
    color: #1f2326;
    border-color: #d1c8b8;
}
body.light-mode nav a { color: #1f2326; }
body.light-mode .schedule iframe { filter: none; }
body.light-mode .guestbook input { background-color: #f9f9f9; color: #1f2326; border: 1px solid #ccc; }
body.light-mode nav a:hover { color: #d90429; }
body.light-mode .about-section h2 { color: #1f2326; border-bottom: 1px solid #ccc; }
body.light-mode .banner-container { border-top: 1px solid #ccc; }
body.light-mode .lol-banner, body.light-mode .steam-banner {
    background: linear-gradient(135deg, #f0f4f8 0%, #e1e8f0 100%);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}
body.light-mode .lol-banner { border-color: #c8aa6e; }
body.light-mode .steam-banner { border-color: #66c0f4; }
body.light-mode .lol-info h3, body.light-mode .steam-info h3 { color: #1f2326; text-shadow: none; }
body.light-mode .lol-info p, body.light-mode .steam-info p { color: #555; }
body.light-mode .match-card { background: #fff; border-color: #d1c8b8; color: #1f2326; }
body.light-mode .match-teams { color: #1f2326; }
body.light-mode .schedule-section { color: #8e7a51; border-bottom: 1px solid #d1c8b8; }
body.light-mode select#schedule-nav { background: #fff; color: #1f2326; border-color: #ccc; }
body.light-mode .schedule-badge { background-color: #fcfbf9; color: #8e7a51; border-color: #8e7a51; }
body.light-mode .guestbook-notice {
    background-color: rgba(217, 4, 41, 0.05);
    border: 1px solid rgba(217, 4, 41, 0.15);
    color: #1f2326;
}
body.light-mode .guestbook-notice svg {
    color: #d90429;
}

#theme-toggle {
    position: fixed; bottom: 30px; right: 30px;
    background: rgba(31, 35, 38, 0.7); backdrop-filter: blur(10px);
    border: 1px solid rgba(200, 170, 110, 0.3); color: #c8aa6e;
    cursor: pointer; padding: 15px; border-radius: 50%; z-index: 1000;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 8px 32px rgba(0,0,0,0.5);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}
#theme-toggle:hover {
    transform: translateY(-5px) scale(1.08);
    background: rgba(200, 170, 110, 0.2);
    border-color: #c8aa6e;
    box-shadow: 0 12px 40px rgba(200, 170, 110, 0.4);
    color: #f0e6d2;
}
#theme-toggle svg {
    width: 28px; height: 28px; fill: currentColor;
    transition: transform 0.5s cubic-bezier(0.68, -0.55, 0.26, 1.55);
}
#theme-toggle:hover svg { transform: rotate(45deg); }

body.light-mode #theme-toggle {
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(0, 0, 0, 0.1);
    color: #ffaa00; box-shadow: 0 8px 32px rgba(0,0,0,0.1);
}
body.light-mode #theme-toggle:hover {
    background: rgba(255, 255, 255, 1);
    box-shadow: 0 12px 40px rgba(255, 170, 0, 0.3);
    color: #ff8800;
}

/* Schedule Component */
.schedule-header { 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    margin-bottom: 25px; 
    border-bottom: 1px solid rgba(200, 170, 110, 0.2); 
    padding-bottom: 18px; 
}
.schedule-header h3 { 
    margin: 0; 
    font-family: 'Rajdhani', sans-serif;
    font-weight: 700;
    font-size: 1.7em; 
    color: #f0e6d2; 
    text-transform: uppercase; 
    letter-spacing: 2px; 
}
.schedule-badge { 
    background: rgba(10, 200, 185, 0.12); 
    color: #0ac8b9; 
    padding: 5px 12px; 
    border-radius: 20px; 
    font-family: 'Rajdhani', sans-serif;
    font-size: 0.85em; 
    font-weight: 700; 
    letter-spacing: 1px;
    text-transform: uppercase;
    border: 1px solid rgba(10, 200, 185, 0.35); 
}
.schedule-grid { 
    display: grid; 
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); 
    gap: 18px; 
    max-height: 520px; 
    overflow-y: auto; 
    padding-right: 10px; 
}
.schedule-grid::-webkit-scrollbar { width: 6px; }
.schedule-grid::-webkit-scrollbar-track { background: rgba(8, 12, 18, 0.5); border-radius: 4px; }
.schedule-grid::-webkit-scrollbar-thumb { background: #c8aa6e; border-radius: 4px; }

.match-card {
    background: linear-gradient(145deg, rgba(16, 25, 39, 0.8) 0%, rgba(10, 17, 27, 0.9) 100%); 
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px; 
    padding: 18px 16px; 
    text-align: center; 
    transition: transform 0.25s cubic-bezier(0.2, 0.8, 0.2, 1), border-color 0.25s, box-shadow 0.25s;
    position: relative; 
    overflow: hidden; 
    width: 100%; 
    box-sizing: border-box;
}
.match-card:hover { 
    transform: translateY(-4px); 
    border-color: rgba(200, 170, 110, 0.5); 
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.6), 0 0 20px rgba(200, 170, 110, 0.15); 
}
.match-card::before {
    content: ''; 
    position: absolute; 
    top: 0; 
    left: 0; 
    width: 100%; 
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(200, 170, 110, 0.6), transparent);
}
.match-teams { 
    display: flex; 
    justify-content: center; 
    align-items: center; 
    gap: 12px; 
    margin-bottom: 12px; 
    font-family: 'Rajdhani', sans-serif;
    font-size: 1.35em; 
    font-weight: 700; 
    letter-spacing: 0.5px;
    color: #ece8e1; 
}
.match-vs { 
    font-family: 'Rajdhani', sans-serif;
    font-size: 0.75em; 
    font-weight: 800;
    color: #ff4655; 
    background: rgba(255, 70, 85, 0.12);
    border: 1px solid rgba(255, 70, 85, 0.3);
    border-radius: 12px;
    padding: 2px 8px;
    letter-spacing: 1px;
}
.match-time { 
    color: #a6b4c4; 
    font-family: 'Rajdhani', monospace;
    font-size: 1em; 
    font-weight: 600;
    letter-spacing: 0.5px;
    background: rgba(6, 10, 18, 0.6); 
    border: 1px solid rgba(255, 255, 255, 0.06);
    padding: 7px 12px; 
    border-radius: 6px; 
}
.schedule-section { 
    grid-column: 1 / -1; 
    color: #c8aa6e; 
    font-family: 'Rajdhani', sans-serif;
    font-weight: 700; 
    text-transform: uppercase; 
    letter-spacing: 1.5px; 
    margin-top: 15px; 
    margin-bottom: 5px; 
    font-size: 1.2em; 
    border-bottom: 1px solid rgba(200, 170, 110, 0.2); 
    padding-bottom: 5px; 
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .page-hero-title,
    .patch-hero-title,
    .caster-hero-title,
    .champions-hero-title,
    .anthems-hero-title,
    .players-hero-title,
    .moments-hero-title,
    .timeline-intro h2,
    header h1 { font-size: 1.6em !important; letter-spacing: 1.5px !important; }
    .page-hero-subtitle,
    .patch-hero-subtitle,
    .caster-hero-subtitle,
    .champions-hero-subtitle,
    .anthems-hero-subtitle,
    .players-hero-subtitle,
    .moments-hero-subtitle,
    .timeline-intro p,
    .header-subtitle { font-size: 0.88em !important; letter-spacing: 1px !important; }
    nav { flex-wrap: wrap; gap: 10px; padding: 12px 14px; }
    nav a, .dropdown-btn { font-size: 0.9em; padding: 6px 10px; }
    .video-wrapper { flex-direction: column; gap: 20px; padding: 10px; }
    .video-wrapper iframe { width: 100%; height: auto; aspect-ratio: 16 / 9; }
    .video-wrapper iframe[title="Twitch Chat"] { height: 400px; aspect-ratio: auto; }
    .schedule-grid { grid-template-columns: 1fr; }
    .guestbook form { flex-direction: column; }
    .guestbook input, .guestbook button { width: 100%; box-sizing: border-box; }
    .container { margin: 20px auto; padding: 10px; }
    .schedule, .guestbook, .about-section { padding: 15px; }
    .about-section h2 { font-size: 1.5em; }
    .lol-banner, .steam-banner { flex-direction: column; text-align: center; gap: 15px; }
    .lol-rank, .steam-level { text-align: center; margin-right: 0; justify-content: center; }
    .stream-title-container h2 { font-size: 1.2em !important; }
    #theme-toggle { bottom: 15px; right: 15px; padding: 10px; }
    #theme-toggle svg { width: 24px; height: 24px; }
}

/* Navigation Dropdown Menu */
.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-btn {
    background: transparent !important;
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
    cursor: pointer;
    font-family: inherit;
    padding: 0;
    color: #ece8e1; 
    text-decoration: none; 
    font-weight: 600; 
    font-size: 1.1em;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    position: relative;
}

.dropdown-btn::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0%;
    height: 2px;
    background-color: #c8aa6e;
    transition: width 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.dropdown-btn:hover::after,
.dropdown:hover .dropdown-btn::after {
    width: 100%;
}

.dropdown-btn:hover,
.dropdown:hover .dropdown-btn { 
    color: #c8aa6e; 
    transform: translateY(-2px);
}

.dropdown-arrow {
    font-size: 0.8em;
    transition: transform 0.3s ease;
    margin-left: 4px;
}

.dropdown-content {
    visibility: hidden;
    position: absolute;
    top: calc(100% + 10px);
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background: rgba(10, 16, 26, 0.96);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(200, 170, 110, 0.35);
    border-radius: 8px;
    min-width: 240px;
    box-shadow: 0 16px 40px rgba(0,0,0,0.8), 0 0 20px rgba(200, 170, 110, 0.1);
    z-index: 1000;
    opacity: 0;
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
    overflow: hidden;
    padding: 6px 0;
}

.dropdown-content a {
    color: #d1cbbd;
    padding: 12px 20px;
    text-decoration: none;
    display: block;
    text-align: left;
    font-family: 'Rajdhani', sans-serif;
    font-size: 1em;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-left: 3px solid transparent;
    transition: all 0.2s ease;
}

.dropdown-content a::after {
    display: none;
}

.dropdown-content a:hover {
    background: rgba(200, 170, 110, 0.12);
    color: #f0e6d2;
    border-left: 3px solid #c8aa6e;
    padding-left: 24px;
    transform: none;
}

@media (min-width: 769px) {
    .dropdown:hover .dropdown-content {
        visibility: visible;
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
    .dropdown:hover .dropdown-arrow {
        transform: rotate(180deg);
    }
}

/* Light Mode Overrides for Dropdown */
body.light-mode .dropdown-btn {
    color: #1f2326;
}
body.light-mode .dropdown-btn::after {
    background-color: #d90429;
}
body.light-mode .dropdown-btn:hover,
body.light-mode .dropdown:hover .dropdown-btn {
    color: #d90429;
}
body.light-mode .dropdown-content {
    background: rgba(255, 255, 255, 0.95);
    border-color: rgba(0, 0, 0, 0.15);
    box-shadow: 0 8px 32px rgba(0,0,0,0.1);
}
body.light-mode .dropdown-content a {
    color: #1f2326;
}
body.light-mode .dropdown-content a:hover {
    background: rgba(217, 4, 41, 0.1);
    color: #d90429;
}

/* Mobile Dropdown styles */
@media (max-width: 768px) {
    .dropdown {
        width: 100%;
        text-align: center;
    }
    .dropdown-btn {
        width: 100%;
        justify-content: center;
        padding: 10px 0;
        font-size: 0.9em;
    }
    .dropdown-btn:hover {
        transform: none;
    }
    .dropdown-btn::after {
        display: none;
    }
    .dropdown-content {
        position: static;
        transform: none;
        box-shadow: none;
        border: none;
        border-radius: 0;
        background: rgba(0, 0, 0, 0.15);
        width: 100%;
        opacity: 1;
        max-height: 0;
        display: block;
        transition: max-height 0.3s ease-out;
    }
    .dropdown.active .dropdown-content {
        max-height: 600px;
        overflow-y: auto;
        border-top: 1px solid rgba(200, 170, 110, 0.2);
        margin-top: 5px;
    }
    .dropdown.active .dropdown-arrow {
        transform: rotate(180deg);
    }
    .dropdown-content a {
        text-align: center;
        padding: 12px 0;
    }
    body.light-mode .dropdown-content {
        background: rgba(0, 0, 0, 0.05);
    }
    body.light-mode .dropdown.active .dropdown-content {
        border-top: 1px solid rgba(0, 0, 0, 0.1);
    }
}

/* Site Version Footer Style */
.site-version-container {
    font-size: 0.8em;
    color: #a09b8c;
    margin-top: 8px;
    letter-spacing: 0.5px;
}
body.light-mode .site-version-container {
    color: #666;
}

.footer-broadcaster-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(200, 170, 110, 0.08);
    color: #c8aa6e;
    border: 1px solid rgba(200, 170, 110, 0.35);
    padding: 6px 16px;
    border-radius: 6px;
    text-decoration: none;
    font-family: 'Rajdhani', sans-serif;
    font-size: 0.85em;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: all 0.25s ease;
    cursor: pointer;
}
.footer-broadcaster-btn:hover {
    background: #c8aa6e;
    color: #010a13;
    border-color: #c8aa6e;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(200, 170, 110, 0.35);
}
body.light-mode .footer-broadcaster-btn {
    background: rgba(200, 170, 110, 0.15);
    color: #7a6332;
    border-color: rgba(200, 170, 110, 0.5);
}
body.light-mode .footer-broadcaster-btn:hover {
    background: #c8aa6e;
    color: #ffffff;
}

/* Event Filter Tabs */
.event-filter-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 25px;
    flex-wrap: wrap;
    align-items: center;
    border-bottom: 1px solid rgba(200, 170, 110, 0.15);
    padding-bottom: 16px;
}
.filter-tab {
    background: rgba(10, 16, 26, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #a09b8c;
    padding: 8px 20px;
    border-radius: 20px;
    cursor: pointer;
    font-weight: 700;
    font-family: 'Rajdhani', sans-serif;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    font-size: 0.9em;
    transition: all 0.25s cubic-bezier(0.25, 0.8, 0.25, 1);
    outline: none;
    user-select: none;
}
.filter-tab:hover {
    border-color: rgba(200, 170, 110, 0.6);
    background: rgba(200, 170, 110, 0.12);
    color: #f0e6d2;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}
.filter-tab.active {
    background: linear-gradient(135deg, #f0e6d2 0%, #c8aa6e 100%);
    color: #080b11;
    border-color: #c8aa6e;
    font-weight: 800;
    box-shadow: 0 4px 18px rgba(200, 170, 110, 0.4);
    transform: translateY(-1px);
}

/* Light mode overrides for filter tabs */
body.light-mode .event-filter-tabs {
    border-bottom-color: rgba(0, 0, 0, 0.1);
}
body.light-mode .filter-tab {
    background: #fff;
    border-color: #ccc;
    color: #1f2326;
}
body.light-mode .filter-tab:hover {
    border-color: #d90429;
    background: rgba(217, 4, 41, 0.05);
}
body.light-mode .filter-tab.active {
    background: #d90429;
    color: #fff;
    border-color: #d90429;
    box-shadow: 0 0 15px rgba(217, 4, 41, 0.45);
}

/* Jump to Live Match Button */
.live-jump-btn {
    display: none; /* Shown dynamically by schedule.js if there is an active live match */
    align-items: center;
    gap: 8px;
    background: rgba(255, 70, 85, 0.12);
    border: 1px solid #ff4655;
    color: #ff4655;
    padding: 8px 20px;
    border-radius: 20px;
    cursor: pointer;
    font-weight: 800;
    font-family: 'Rajdhani', sans-serif;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    font-size: 0.9em;
    transition: all 0.25s cubic-bezier(0.25, 0.8, 0.25, 1);
    outline: none;
    user-select: none;
    margin-left: auto;
    animation: pulse-border 2s infinite;
}
.live-jump-btn:hover {
    background: #ff4655;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(255, 70, 85, 0.6);
}
body.light-mode .live-jump-btn {
    background: rgba(217, 4, 41, 0.05);
    border-color: #d90429;
    color: #d90429;
}
body.light-mode .live-jump-btn:hover {
    background: #d90429;
    color: #fff;
    box-shadow: 0 0 15px rgba(217, 4, 41, 0.5);
}
@keyframes pulse-border {
    0% { border-color: rgba(255, 70, 85, 0.4); box-shadow: 0 0 5px rgba(255, 70, 85, 0.1); }
    50% { border-color: rgba(255, 70, 85, 1); box-shadow: 0 0 12px rgba(255, 70, 85, 0.3); }
    100% { border-color: rgba(255, 70, 85, 0.4); box-shadow: 0 0 5px rgba(255, 70, 85, 0.1); }
}

/* Stage & Controls Refinements */
#marathon-banner {
    background: linear-gradient(90deg, rgba(200, 170, 110, 0.08) 0%, rgba(10, 16, 26, 0.88) 50%, rgba(200, 170, 110, 0.08) 100%) !important;
    border: 1px solid rgba(200, 170, 110, 0.35) !important;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}
#marathon-timer {
    font-family: 'Rajdhani', monospace !important;
    font-weight: 700 !important;
    font-size: 1.05em !important;
    letter-spacing: 1px !important;
    color: #f0e6d2 !important;
}

#stream-title-text {
    font-family: 'Rajdhani', sans-serif !important;
    font-weight: 700 !important;
    letter-spacing: 1.2px !important;
}

.copy-btn, #theater-mode-btn, #chat-dock-btn, #share-stream-btn {
    font-family: 'Rajdhani', sans-serif !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    border-radius: 6px !important;
    transition: all 0.25s ease !important;
}
.copy-btn:hover, #theater-mode-btn:hover, #chat-dock-btn:hover, #share-stream-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(200, 170, 110, 0.35);
}

#spoiler-toggle, #tz-select, #schedule-nav {
    font-family: 'Rajdhani', sans-serif !important;
    font-weight: 700 !important;
    letter-spacing: 0.8px !important;
    text-transform: uppercase !important;
    border-radius: 6px !important;
    background: rgba(10, 16, 26, 0.85) !important;
    border: 1px solid rgba(200, 170, 110, 0.35) !important;
    color: #f0e6d2 !important;
    transition: all 0.25s ease !important;
}
#spoiler-toggle:hover, #tz-select:hover, #schedule-nav:hover {
    border-color: #c8aa6e !important;
    box-shadow: 0 0 12px rgba(200, 170, 110, 0.25) !important;
    transform: translateY(-1px);
}

.schedule-header h3, .guestbook h3 {
    font-family: 'Rajdhani', sans-serif !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 2px !important;
    font-size: 1.8em !important;
    color: #f0e6d2 !important;
    margin: 0;
}

/* Theater Mode styles */
body.theater-mode-active .container {
    max-width: 100% !important;
    padding: 0 !important;
    margin: 20px 0 !important;
}

body.theater-mode-active .stream-title-container {
    padding: 10px 20px;
    margin-bottom: 10px;
}

body.theater-mode-active .video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    border-radius: 0;
    margin-bottom: 30px;
    box-shadow: none;
    background-color: #050a0e;
    padding: 0;
    display: flex;
    justify-content: center;
}

body.theater-mode-active .video-wrapper iframe[title="Twitch Video Player"] {
    width: calc(100% - 350px);
    height: 70vh;
    max-height: 800px;
    border: none;
}

body.theater-mode-active .video-wrapper iframe[title="Twitch Chat"] {
    width: 350px;
    height: 70vh;
    max-height: 800px;
    border: none;
    border-left: 1px solid rgba(200, 170, 110, 0.3);
}

@media (max-width: 768px) {
    body.theater-mode-active .video-wrapper {
        flex-direction: column;
    }
    body.theater-mode-active .video-wrapper iframe[title="Twitch Video Player"] {
        width: 100%;
        height: auto;
        aspect-ratio: 16/9;
    }
    body.theater-mode-active .video-wrapper iframe[title="Twitch Chat"] {
        width: 100%;
        height: 400px;
    }
}




/* ==================================================== */
/* Twitch Chat Dock Controls (v1.1.0)                   */
/* ==================================================== */
.video-wrapper.chat-dock-hidden iframe[title="Twitch Chat"] {
    display: none !important;
}
.video-wrapper.chat-dock-hidden iframe[title="Twitch Video Player"] {
    width: 100% !important;
    max-width: 1200px !important;
    height: 580px !important;
}

/* ==================================================== */
/* VOD Quick Filter Pills (v1.1.0)                      */
/* ==================================================== */
.vod-filter-pill {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(200, 170, 110, 0.25);
    color: #a6a6a6;
    padding: 6px 14px;
    border-radius: 20px;
    cursor: pointer;
    font-size: 0.85em;
    font-weight: 600;
    transition: all 0.2s ease;
    outline: none;
    user-select: none;
}
.vod-filter-pill:hover, .vod-filter-pill.active {
    background: #c8aa6e !important;
    color: #0f1923 !important;
    border-color: #c8aa6e !important;
    box-shadow: 0 0 12px rgba(200, 170, 110, 0.4);
}

/* ==================================================== */
/* Curated Bangers & Legendary Caster Call Badges (v1.7.0) */
/* ==================================================== */

/* Banger & Classic Badges */
.banger-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 3px 8px;
    border-radius: 4px;
    font-family: 'Rajdhani', sans-serif;
    font-size: 0.76em;
    font-weight: 700;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    white-space: nowrap;
    user-select: none;
    transition: all 0.25s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.banger-badge.type-banger {
    background: linear-gradient(135deg, rgba(255, 70, 85, 0.2) 0%, rgba(255, 122, 69, 0.28) 100%);
    border: 1px solid rgba(255, 70, 85, 0.55);
    color: #ff5e6c;
    box-shadow: 0 0 10px rgba(255, 70, 85, 0.22);
}
.banger-badge.type-banger:hover {
    box-shadow: 0 0 14px rgba(255, 70, 85, 0.45);
    border-color: #ff4655;
    color: #ff7a85;
}

.banger-badge.type-finals {
    background: linear-gradient(135deg, rgba(200, 170, 110, 0.22) 0%, rgba(240, 230, 210, 0.12) 100%);
    border: 1px solid rgba(200, 170, 110, 0.6);
    color: #f0e6d2;
    box-shadow: 0 0 10px rgba(200, 170, 110, 0.25);
}
.banger-badge.type-finals:hover {
    box-shadow: 0 0 14px rgba(200, 170, 110, 0.5);
    border-color: #f0e6d2;
}

.banger-badge.type-historical {
    background: linear-gradient(135deg, rgba(147, 83, 211, 0.22) 0%, rgba(120, 40, 200, 0.28) 100%);
    border: 1px solid rgba(147, 83, 211, 0.55);
    color: #c48bf5;
    box-shadow: 0 0 10px rgba(147, 83, 211, 0.2);
}

.banger-badge.type-speech {
    background: linear-gradient(135deg, rgba(0, 230, 118, 0.18) 0%, rgba(0, 180, 136, 0.25) 100%);
    border: 1px solid rgba(0, 230, 118, 0.5);
    color: #00e676;
    box-shadow: 0 0 10px rgba(0, 230, 118, 0.2);
}

.banger-badge.type-classic {
    background: linear-gradient(135deg, rgba(0, 200, 255, 0.18) 0%, rgba(0, 120, 240, 0.25) 100%);
    border: 1px solid rgba(0, 200, 255, 0.5);
    color: #00d2ff;
    box-shadow: 0 0 10px rgba(0, 200, 255, 0.2);
}

.banger-badge.type-meme {
    background: linear-gradient(135deg, rgba(255, 180, 0, 0.2) 0%, rgba(255, 110, 0, 0.25) 100%);
    border: 1px solid rgba(255, 180, 0, 0.5);
    color: #ffb400;
}

/* Legendary Caster Call Badges */
.caster-call-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: linear-gradient(135deg, rgba(0, 240, 255, 0.12) 0%, rgba(0, 114, 245, 0.2) 100%);
    border: 1px solid rgba(0, 240, 255, 0.45);
    color: #00f0ff;
    padding: 3px 9px;
    border-radius: 4px;
    font-family: 'Rajdhani', sans-serif;
    font-size: 0.76em;
    font-weight: 700;
    letter-spacing: 0.7px;
    text-transform: uppercase;
    cursor: pointer;
    white-space: nowrap;
    user-select: none;
    position: relative;
    transition: all 0.25s cubic-bezier(0.2, 0.8, 0.2, 1);
    box-shadow: 0 0 10px rgba(0, 240, 255, 0.15);
}

.caster-call-badge:hover {
    background: linear-gradient(135deg, rgba(0, 240, 255, 0.25) 0%, rgba(0, 114, 245, 0.35) 100%);
    border-color: #00f0ff;
    color: #ffffff;
    box-shadow: 0 0 16px rgba(0, 240, 255, 0.45);
    transform: translateY(-1px);
}

.caster-call-badge.is-playing-audio {
    border-color: #00f0ff;
    background: linear-gradient(135deg, rgba(0, 240, 255, 0.35) 0%, rgba(0, 114, 245, 0.45) 100%);
    box-shadow: 0 0 20px rgba(0, 240, 255, 0.6);
    animation: casterBadgePulse 1.6s infinite ease-in-out;
}

@keyframes casterBadgePulse {
    0%, 100% {
        box-shadow: 0 0 10px rgba(0, 240, 255, 0.3);
    }
    50% {
        box-shadow: 0 0 24px rgba(0, 240, 255, 0.75);
    }
}

/* Floating Caster Call Popover Tooltip Singleton */
.caster-call-popover {
    position: fixed;
    z-index: 99999;
    background: rgba(10, 16, 26, 0.96);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(0, 240, 255, 0.35);
    box-shadow: 0 14px 40px rgba(0, 0, 0, 0.8), 0 0 24px rgba(0, 240, 255, 0.2);
    border-radius: 8px;
    padding: 14px 16px;
    color: #f0e6d2;
    pointer-events: auto;
    opacity: 0;
    transform: translateY(6px);
    transition: opacity 0.2s cubic-bezier(0.2, 0.8, 0.2, 1), transform 0.2s cubic-bezier(0.2, 0.8, 0.2, 1);
    display: none;
    box-sizing: border-box;
}

.caster-call-popover.popover-visible {
    opacity: 1;
    transform: translateY(0);
}

.popover-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 8px;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.popover-caster-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: 'Rajdhani', sans-serif;
    font-weight: 700;
    font-size: 0.88em;
    color: #00f0ff;
    letter-spacing: 0.5px;
}

.popover-caster-tag .caster-name {
    color: #ffffff;
    font-weight: 800;
}

.popover-cocaster {
    font-size: 0.85em;
    color: #a09b8c;
    font-weight: 600;
}

.popover-tourney-badge {
    background: rgba(200, 170, 110, 0.15);
    border: 1px solid rgba(200, 170, 110, 0.3);
    color: #c8aa6e;
    font-size: 0.72em;
    font-family: 'Rajdhani', sans-serif;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 3px;
    text-transform: uppercase;
}

.popover-quote {
    font-family: 'Outfit', sans-serif;
    font-style: italic;
    font-size: 0.9em;
    line-height: 1.45;
    color: #e6e6e6;
    margin-bottom: 10px;
    letter-spacing: 0.2px;
}

.popover-audio-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    background: rgba(0, 0, 0, 0.35);
    padding: 6px 10px;
    border-radius: 6px;
    border: 1px solid rgba(0, 240, 255, 0.2);
}

.popover-play-btn {
    background: linear-gradient(135deg, rgba(0, 240, 255, 0.15) 0%, rgba(0, 114, 245, 0.25) 100%);
    border: 1px solid rgba(0, 240, 255, 0.4);
    color: #00f0ff;
    padding: 5px 12px;
    border-radius: 4px;
    font-family: 'Rajdhani', sans-serif;
    font-weight: 700;
    font-size: 0.82em;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s ease;
    outline: none;
}

.popover-play-btn:hover {
    background: linear-gradient(135deg, rgba(0, 240, 255, 0.3) 0%, rgba(0, 114, 245, 0.45) 100%);
    border-color: #00f0ff;
    color: #ffffff;
    box-shadow: 0 0 10px rgba(0, 240, 255, 0.35);
}

.popover-play-btn.playing {
    background: linear-gradient(135deg, rgba(255, 70, 85, 0.2) 0%, rgba(255, 122, 69, 0.3) 100%);
    border-color: #ff4655;
    color: #ff5e6c;
}

/* Audio wave animation */
.audio-wave-anim {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    height: 16px;
}

.audio-wave-anim span {
    display: inline-block;
    width: 3px;
    height: 4px;
    background: #00f0ff;
    border-radius: 1px;
    transition: height 0.15s ease;
}

.audio-wave-anim.active span {
    animation: waveBar 0.9s infinite ease-in-out alternate;
}

.audio-wave-anim.active span:nth-child(1) { animation-delay: 0.1s; }
.audio-wave-anim.active span:nth-child(2) { animation-delay: 0.3s; }
.audio-wave-anim.active span:nth-child(3) { animation-delay: 0.5s; }
.audio-wave-anim.active span:nth-child(4) { animation-delay: 0.2s; }
.audio-wave-anim.active span:nth-child(5) { animation-delay: 0.4s; }

@keyframes waveBar {
    0% { height: 4px; }
    100% { height: 16px; }
}

/* ====================================================
   lolworlds v1.8.0 Ecosystem Styles
   ==================================================== */

/* Live Ticker Banger Up Next High-Voltage Pulse */
.ticker-badge-pill.upnext.banger-upnext-pulse {
    background: linear-gradient(135deg, rgba(255, 70, 85, 0.3) 0%, rgba(255, 122, 69, 0.45) 100%) !important;
    border: 1px solid #ff4655 !important;
    color: #fff !important;
    font-weight: 800 !important;
    letter-spacing: 0.8px;
    animation: bangerPulseGlow 1.8s infinite alternate !important;
    box-shadow: 0 0 12px rgba(255, 70, 85, 0.5);
}

@keyframes bangerPulseGlow {
    0% {
        box-shadow: 0 0 6px rgba(255, 70, 85, 0.4);
        border-color: #ff4655;
    }
    100% {
        box-shadow: 0 0 18px rgba(255, 70, 85, 0.85), 0 0 28px rgba(255, 122, 69, 0.45);
        border-color: #ffaa40;
    }
}

/* Starred Watchlist States */
.match-card.is-starred {
    border-left: 3px solid #ffda6a !important;
    box-shadow: inset 3px 0 12px rgba(255, 218, 106, 0.12);
}

.match-action-btn.star-btn {
    background: rgba(200, 170, 110, 0.08);
    color: #c8aa6e;
    border-color: rgba(200, 170, 110, 0.3);
}

.match-action-btn.star-btn:hover {
    background: rgba(255, 218, 106, 0.18);
    border-color: #ffda6a;
    color: #ffda6a;
}

.match-action-btn.star-btn.active-starred {
    background: linear-gradient(135deg, rgba(200, 170, 110, 0.25), rgba(255, 218, 106, 0.2)) !important;
    color: #ffda6a !important;
    border-color: #ffda6a !important;
    box-shadow: 0 0 8px rgba(255, 218, 106, 0.35);
}

.watchlist-pill-count {
    display: inline-block;
    background: rgba(200, 170, 110, 0.35);
    color: #fff;
    padding: 1px 7px;
    border-radius: 10px;
    font-size: 0.85em;
    font-weight: 700;
    margin-left: 5px;
}

/* Targeted moment card highlight on soundboard */
.targeted-moment-highlight {
    border: 2px solid #00f0ff !important;
    box-shadow: 0 0 24px rgba(0, 240, 255, 0.6) !important;
    animation: targetedPulse 2.5s ease-out 3;
}

@keyframes targetedPulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.02); box-shadow: 0 0 35px rgba(0, 240, 255, 0.85); }
    100% { transform: scale(1); }
}
