@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700&display=swap');

/* ===== GENERAL TRANSITIONS ===== */
/* Applies smooth transitions to various UI elements for better user experience */
.header,
.update-card,
.update-info,
.dropdown-content,
.theme-btn,
.info-box,
.expanded-info,
.slide-content {
    transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
}

/* ===== HEADER STYLES ===== */

/* Header Container */
.header {
    max-width: 2460px;
    will-change: transform;
    -webkit-transform: translateX(-50%);
    transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
    position: fixed;
    top: 1rem;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100vw - 2rem);
    margin: 0 auto;
    display: flex;
    z-index: 1000;
    justify-content: space-between;
    align-items: center;
    background-color: var(--bg-secondary);
    color: var(--text-primary);
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    box-sizing: border-box;
    padding: 12px 20px;
    border: 1px solid rgba(var(--text-primary-rgb, 255, 255, 255), 0.08);
}

.light-theme .header {
    background-color: var(--bg-secondary);
    border: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.header--hidden {
    -webkit-transform: translate(-50%, -110%) !important;
    transform: translate(-50%, -110%) !important;
}

/* Header text styling */
.header,
.header *,
.header button,
.header span,
.search-bar input {
    font-family: 'Montserrat', sans-serif !important;
}

.dropdown-content,
.dropdown-content *,
.search-results,
.search-results * {
    text-transform: none !important;
}

.header-right {
    display: flex;
    align-items: center;
    box-sizing: border-box;
    gap: 6px;
}

/* Logo Section */
.logo {
    display: flex;
    align-items: center;
}

.logo a {
    display: flex;
    align-items: center;
}

.footer-logo {
    height: 42px;
    width: auto;
    transition: 0.25s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.footer-logo:hover {
    transform: translateY(-2px) scale(1.05);
    filter: brightness(1.1);
}

.logo-svg {
    height: 26px;
    width: auto;
    filter: brightness(0) saturate(100%) invert(var(--logo-invert, 100%));
    transition: transform 0.3s ease;
}

.logo-svg:hover {
    transform: translateY(-1px) scale(1.05);
    filter: brightness(1.2) saturate(110%) invert(var(--logo-invert, 100%));
}

/* Winter theme logo switching */
.logo-winter,
.footer-logo-winter {
    display: none;
}

.winter-theme .logo-default,
.winter-theme .footer-logo-default {
    display: none;
}

.winter-theme .logo-winter {
    display: block;
    filter: none !important;
    height: 28px;
}

.winter-theme .logo-winter:hover {
    filter: brightness(1.1) !important;
}

.winter-theme .footer-logo-winter {
    display: block;
    filter: none !important;
}

.winter-theme .footer-logo-winter:hover {
    filter: brightness(1.1) !important;
}

/* Firefox-specific adjustments */
@-moz-document url-prefix() {
    body .header {
        width: calc(100vw - 30px);
        left: 50%;
    }
}

/* Search Button */
#searchButton {
    width: 38px;
    height: 38px;
    border-radius: 8px;
    background: var(--bg-primary);
    border: 1px solid rgba(var(--text-primary-rgb, 255, 255, 255), 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease, outline-color 0.2s ease;
    outline: 2px solid transparent;
    outline-offset: 1px;
}

.light-theme #searchButton {
    border: 1px solid rgba(0, 0, 0, 0.1);
}

#searchButton svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: var(--text-primary);
    transition: all 0.2s ease;
}

#searchButton:hover {
    background: var(--accent-color);
    border-color: var(--primary-color);
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    outline: 2px solid var(--accent-color);
}

.light-theme #searchButton:hover {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

#searchButton:active {
    transform: translateY(0) scale(0.95);
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
}

#searchButton:focus {
    outline: 2px solid transparent;
}

#searchButton:hover svg {
    stroke: var(--text-primary);
}

/* Navigation Buttons */
@media (max-width: 1224px) {
    .nav-buttons {
        display: none !important; /* Hide nav buttons on mobile */
    }
}

.nav-buttons {
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    gap: 7px;
}

.nav-buttons > a,
.nav-buttons > button {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 36px;
}

.nav-buttons button {
    padding: 9px 14px;
    margin: 0 3px;
    border: 1px solid rgba(var(--text-primary-rgb, 255, 255, 255), 0.1);
    border-radius: 8px;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    font-size: 0.85rem;
    font-weight: 550;
    cursor: pointer;
    transition: background-color 0.2s cubic-bezier(0.4, 0, 0.2, 1), border-color 0.2s cubic-bezier(0.4, 0, 0.2, 1), color 0.2s cubic-bezier(0.4, 0, 0.2, 1), transform 0.2s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.2s cubic-bezier(0.4, 0, 0.2, 1), outline-color 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    outline: 2px solid transparent;
    outline-offset: 1px;
}

.light-theme .nav-buttons button {
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.nav-buttons button:hover {
    background: var(--accent-color);
    border-color: var(--episode-container);
    color: var(--text-primary);
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    outline: 2px solid var(--accent-color);
    border-width: 1px; /* Increase border size */
}

.light-theme .nav-buttons button:hover {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.nav-buttons button:active {
    transform: translateY(0) scale(0.98);
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
}

/* Search Bar */
.search-bar {
    display: flex;
    align-items: center;
    position: relative;
    margin: 0 18px;
}

.search-bar input {
    padding: 9px 16px;
    padding-right: 4.2rem;
    font-size: 0.85rem;
    border: 1px solid rgba(var(--text-primary-rgb, 255, 255, 255), 0.1);
    border-radius: 8px;
    background: var(--bg-primary);
    color: var(--text-primary);
    width: 200px;
    transition: width 0.3s ease, border-color 0.2s ease;
    box-sizing: border-box;
    outline: none;
}

.light-theme .search-bar input {
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.search-bar input:focus {
    outline: none;
    border-color: var(--accent-color);
    width: 280px;
    box-shadow: 0 0 0 3px rgba(var(--episode-container-rgb), 0.2);
}

.search-bar input:not(:placeholder-shown),
.search-bar.has-results input {
    width: 280px;
}

.search-bar input::placeholder {
    color: var(--text-secondary);
    opacity: 0.6;
    text-transform: capitalize;
}

.search-bar button {
    padding: 6px 12px;
    font-size: 0.8rem;
    border: none;
    border-radius: 6px;
    background: var(--accent-color);
    color: var(--text-primary);
    cursor: pointer;
    position: absolute;
    right: 4px;
    height: calc(100% - 8px);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    font-weight: 450;
}

.search-bar button:hover {
    opacity: 0.85;
}

.search-bar button:active {
    transform: scale(0.98);
}

/* Mobile Navigation (Hidden by default) */
.mobile-nav {
    display: none;
}

/* Profile Dropdown */
.profile-dropdown {
    position: relative;
    margin-left: 12px;
}

.profile-btn {
    width: 38px;
    height: 38px;
    border-radius: 8px;
    background: var(--bg-primary);
    border: 1px solid rgba(var(--text-primary-rgb, 255, 255, 255), 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease, outline-color 0.2s ease;
    outline: 2px solid transparent;
    outline-offset: 1px;
}

.light-theme .profile-btn {
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.nav-buttons button,
.notification-btn,
.profile-btn,
#searchButton {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
}

.profile-btn:hover {
    background: var(--accent-color);
    border-color: var(--accent-color);
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    outline-color: var(--accent-color);
}

.light-theme .profile-btn:hover {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.profile-btn:active {
    transform: translateY(0) scale(0.95);
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
}

.profile-btn:hover svg {
    stroke: var(--text-primary);
}

.profile-btn svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: var(--text-primary);
    transition: all 0.2s ease;
}

.profile-btn img {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: var(--text-primary);
    transition: all 0.2s ease;
}

/* Dropdown Content */
.dropdown-content {
    display: none;
    position: absolute;
    right: 0;
    top: calc(100% + 8px);
    min-width: 240px;
    max-height: 70vh;
    overflow-y: auto;
    background: var(--bg-secondary);
    border-radius: 10px;
    padding: 8px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    border: 1px solid rgba(var(--text-primary-rgb, 255, 255, 255), 0.06);
    z-index: 1000;
    scrollbar-width: thin;
    scrollbar-color: rgba(var(--text-primary-rgb, 255, 255, 255), 0.2) transparent;
}

.light-theme .dropdown-content {
    background: var(--bg-secondary);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.06);
}

.dropdown-content::-webkit-scrollbar {
    width: 4px;
}

.dropdown-content::-webkit-scrollbar-track {
    background: transparent;
    border-radius: 2px;
}

.dropdown-content::-webkit-scrollbar-thumb {
    background: rgba(var(--text-primary-rgb, 255, 255, 255), 0.2);
    border-radius: 2px;
}

.dropdown-content::-webkit-scrollbar-thumb:hover {
    background: rgba(var(--text-primary-rgb, 255, 255, 255), 0.3);
}

.menu-items button {
    padding: 10px 12px;
    border: none;
    border-radius: 8px;
    background: var(--bg-primary);
    border: 1px solid rgba(var(--text-primary-rgb, 255, 255, 255), 0.1);
    color: var(--text-primary);
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease, outline-color 0.2s ease;
    text-align: left;
    width: 100%;
    display: flex;
    align-items: center;
    gap: 10px;
    position: relative;
    outline: 2px solid transparent;
    outline-offset: 1px;
}

.light-theme .menu-items button {
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.menu-items button svg {
    flex-shrink: 0;
    stroke: var(--text-primary);
    transition: stroke 0.2s ease;
    width: 16px;
    height: 16px;
}

.menu-items button:hover {
    background: var(--accent-color);
    border-color: var(--episode-container);
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    outline-color: var(--accent-color);
}

.light-theme .menu-items button:hover {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.menu-items button:hover svg {
    stroke: var(--text-primary);
}

.menu-items button:active {
    transform: translateY(0) scale(0.95);
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
}

.menu-items {
    display: flex;
    flex-direction: column;
    gap: 2px;
    width: 100%;
}

.menu-items .theme-button {
    margin-bottom: 4px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(var(--text-primary-rgb, 255, 255, 255), 0.06);
}

.light-theme .menu-items .theme-button {
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

/* Dropdown Settings Section */
.dropdown-settings-section {
    width: 100%;
}

.dropdown-settings-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    position: relative;
}

.dropdown-settings-toggle-content {
    display: flex;
    align-items: center;
    gap: 10px;
}

.dropdown-settings-toggle .dropdown-chevron {
    transition: transform 0.2s ease;
    opacity: 0.5;
    flex-shrink: 0;
    width: 14px;
    height: 14px;
}

.dropdown-settings-toggle.active .dropdown-chevron {
    transform: rotate(180deg);
    opacity: 0.7;
}

.dropdown-settings-submenu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.2s ease;
    opacity: 0;
    margin-left: 8px;
    padding-left: 12px;
    border-left: 1px solid rgba(var(--text-primary-rgb, 255, 255, 255), 0.08);
}

.light-theme .dropdown-settings-submenu {
    border-left: 1px solid rgba(0, 0, 0, 0.08);
}

.dropdown-settings-submenu.active {
    max-height: 300px;
    opacity: 1;
    margin-top: 2px;
    padding-top: 2px;
}

.dropdown-submenu-item {
    padding: 8px 10px;
    border: none;
    border-radius: 8px;
    background: var(--bg-primary);
    border: 1px solid rgba(var(--text-primary-rgb, 255, 255, 255), 0.1);
    color: var(--text-primary);
    font-size: 0.825rem;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease, outline-color 0.2s ease;
    text-align: left;
    width: 100%;
    display: flex;
    align-items: center;
    gap: 8px;
    outline: 2px solid transparent;
    outline-offset: 1px;
}

.light-theme .dropdown-submenu-item {
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.dropdown-submenu-item svg {
    flex-shrink: 0;
    stroke: var(--text-primary);
    transition: stroke 0.2s ease;
    width: 14px;
    height: 14px;
}

.dropdown-submenu-item:hover {
    background: var(--accent-color);
    border-color: var(--episode-container);
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    outline-color: var(--accent-color);
}

.light-theme .dropdown-submenu-item:hover {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.dropdown-submenu-item:hover svg {
    stroke: var(--text-primary);
}

.dropdown-submenu-item:active {
    transform: translateY(0) scale(0.95);
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
}

/* Logout Item */
.logout-item {
    margin-top: 4px;
    padding-top: 10px;
    border-top: 1px solid rgba(var(--text-primary-rgb, 255, 255, 255), 0.06);
    color: #ef4444;
}

.light-theme .logout-item {
    border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.logout-item svg {
    stroke: #ef4444;
}

.logout-item:hover {
    background: rgba(239, 68, 68, 0.08);
    color: #f87171;
}

.logout-item:hover svg {
    stroke: #f87171;
}

/* Theme Content */
.theme-content {
    position: relative;
    width: 100%;
    display: none;
    z-index: 1001;
}

.theme-content.active {
    display: block;
}

.theme-content .back-button {
    margin-bottom: 6px;
    padding: 8px 10px;
    background: transparent;
    border: none;
    border-radius: 6px;
    color: var(--text-primary);
    cursor: pointer;
    font-size: 0.875rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: all 0.15s ease;
    opacity: 0.8;
}

.theme-content .back-button:hover {
    background: rgba(var(--text-primary-rgb, 255, 255, 255), 0.06);
    opacity: 1;
}

.light-theme .theme-content .back-button:hover {
    background: rgba(0, 0, 0, 0.04);
}

.theme-switcher {
    display: flex;
    flex-direction: column;
    gap: 2px;
    margin-bottom: 6px;
}

.theme-creator {
    padding: 12px;
    background: rgba(var(--text-primary-rgb, 255, 255, 255), 0.02);
    border-radius: 8px;
    margin-top: 6px;
    border: 1px solid rgba(var(--text-primary-rgb, 255, 255, 255), 0.06);
}

.light-theme .theme-creator {
    background: rgba(0, 0, 0, 0.02);
    border: 1px solid rgba(0, 0, 0, 0.06);
}

.hidden {
    display: none;
}

.dropdown-content.show {
    display: block;
    animation: dropdown-appear 0.15s ease;
}

@keyframes dropdown-appear {
    from {
        opacity: 0;
        transform: translateY(0%);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.theme-switcher,
.settings {
    padding: 0;
}

.theme-switcher h3,
.settings h3 {
    color: var(--text-primary);
    font-size: 0.875rem;
    margin-bottom: 8px;
    opacity: 0.85;
    font-weight: 600;
    letter-spacing: 0.01em;
}

.theme-btn {
    padding: 8px 10px;
    border: none;
    border-radius: 8px;
    background: var(--bg-primary);
    border: 1px solid rgba(var(--text-primary-rgb, 255, 255, 255), 0.1);
    color: var(--text-primary);
    font-size: 0.825rem;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease, outline-color 0.2s ease;
    text-align: left;
    width: 100%;
    display: flex;
    align-items: center;
    gap: 8px;
    outline: 2px solid transparent;
    outline-offset: 1px;
}

.light-theme .theme-btn {
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.theme-btn:hover {
    background: var(--accent-color);
    border-color: var(--episode-container);
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    outline-color: var(--accent-color);
}

.light-theme .theme-btn:hover {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.theme-btn:active {
    transform: translateY(0) scale(0.95);
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
}

/* ===== FOOTER STYLES ===== */
.footer {
    grid-column: 1 / -1;
    background: var(--bg-secondary);
    padding: 2rem;
    border-top: 1px solid rgba(var(--text-primary-rgb, 255, 255, 255), 0.08);
}

.light-theme .footer {
    border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.footer-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 2rem;
}

.footer-left {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.footer-logo img {
    height: 40px;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.15));
}

.social-links {
    display: flex;
    gap: 0.5rem;
}

.social-link {
    color: var(--text-primary);
    text-decoration: none;
    width: 32px;
    height: 32px;
    border-radius: 6px;
    background: var(--bg-primary);
    border: 1px solid rgba(var(--text-primary-rgb, 255, 255, 255), 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.light-theme .social-link {
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.social-link:hover {
    background: var(--accent-color);
    border-color: transparent;
    color: var(--text-primary);
    transform: translateY(-1px);
}

.social-link svg {
    width: 16px;
    height: 16px;
    fill: currentColor;
}

.az-list {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 2rem;
    padding: 1rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.light-theme .az-list {
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.az-list a {
    color: var(--text-primary);
    text-decoration: none;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    background: var(--bg-primary);
    border: 1px solid rgba(var(--text-primary-rgb, 255, 255, 255), 0.1);
    transition: all 0.2s ease;
    font-weight: 500;
}

.light-theme .az-list a {
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.az-list a:hover {
    background: var(--accent-color);
    border-color: transparent;
    color: var(--text-primary);
}

.legal-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 1rem;
}

.legal-links a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 0.9rem;
    position: relative;
}

.legal-links a:hover {
    color: var(--text-primary);
}

.legal-links a::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--text-secondary);
    transition: width 0.3s ease;
}

.legal-links a:hover::after {
    width: 100%;
}

.disclaimer {
    text-align: center;
    color: var(--text-secondary);
    font-size: 0.85rem;
    opacity: 0.7;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.5;
}

/* ===== NOTIFICATIONS ===== */

/* Notification Button */
.notification-btn {
    width: 38px;
    height: 38px;
    border-radius: 8px;
    background: var(--bg-primary);
    border: 1px solid rgba(var(--text-primary-rgb, 255, 255, 255), 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease, outline-color 0.2s ease;
    position: relative;
    padding: 0;
    margin-left: 8px;
    overflow: visible;
    outline: 2px solid transparent;
    outline-offset: 1px;
}

.light-theme .notification-btn {
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.notification-btn:hover {
    background: var(--accent-color);
    border-color: var(--accent-color);
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    outline-color: var(--accent-color);
}

.light-theme .notification-btn:hover {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.notification-btn:active {
    transform: translateY(0) scale(0.95);
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
}

.notification-btn:hover .bell-icon {
    stroke: var(--text-primary);
}

.bell-icon {
    width: 18px;
    height: 18px;
    min-width: 18px;
    min-height: 18px;
    stroke: var(--text-primary);
    stroke-width: 2;
    transition: all 0.2s ease;
}

@keyframes bellPulse {
    0% {
        transform: scale(1);
        filter: drop-shadow(0 0 0px rgba(255, 255, 255, 0));
    }
    45% {
        transform: scale(1);
        filter: drop-shadow(0 0 0px rgba(255, 255, 255, 0));
    }
    55% {
        transform: scale(1.2);
        filter: drop-shadow(0 0 3px rgba(255, 255, 255, 0.6));
    }
    65% {
        transform: scale(1);
        filter: drop-shadow(0 0 0px rgba(255, 255, 255, 0));
    }
    100% {
        transform: scale(1);
        filter: drop-shadow(0 0 0px rgba(255, 255, 255, 0));
    }
}

/* Notification Counter */
.notification-count {
    position: absolute;
    top: -6px;
    right: -6px;
    background: #ff3b30;
    color: white;
    font-size: 10px;
    font-weight: 600;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--header-bg);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.15);
    z-index: 10;
    animation: notificationPulse 3s infinite cubic-bezier(0.2, 0.8, 0.2, 1);
}

@keyframes notificationPulse {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.3);
        opacity: 1;
    }
    60% {
        transform: scale(1);
        opacity: 1;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

/* Notification Dropdown */
.notification-dropdown {
    position: absolute;
    top: 56px;
    right: 20px;
    width: 360px;
    background: var(--bg-secondary);
    border-radius: 10px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
    border: 1px solid rgba(var(--text-primary-rgb, 255, 255, 255), 0.08);
    overflow: hidden;
    display: none;
    z-index: 1000;
    transform-origin: top right;
    /* animation: dropdown-appear 0.3s cubic-bezier(0.2, 0.8, 0.2, 1); */
}

.light-theme .notification-dropdown {
    background: var(--bg-secondary);
    border: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

/* Notification Header */
.notification-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    border-bottom: 1px solid rgba(var(--text-primary-rgb, 255, 255, 255), 0.08);
    background: var(--bg-secondary);
    position: sticky;
    top: 0;
    z-index: 2;
}

.light-theme .notification-header {
    background: var(--bg-secondary);
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.notification-title {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-primary);
    letter-spacing: 0.01em;
}

.mark-read-btn {
    background: transparent;
    border: none;
    color: var(--text-secondary);
    font-size: 0.85rem;
    cursor: pointer;
    padding: 5px 8px;
    border-radius: 5px;
    transition: all 0.2s ease;
}

.mark-read-btn:hover {
    background: rgba(255, 255, 255, 0.08);
    color: var(--text-primary);
}

.light-theme .mark-read-btn:hover {
    background: rgba(0, 0, 0, 0.05);
}

/* Notification List */
.notification-list {
    max-height: 380px;
    overflow-y: auto;
    overflow-x: hidden;
}

/* Individual Notification */
.notification-item {
    display: flex;
    padding: 12px 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    transition: all 0.25s cubic-bezier(0.2, 0.8, 0.2, 1);
    align-items: center;
    gap: 12px;
    overflow: hidden;
    width: 100%;
    box-sizing: border-box;
    min-height: 60px;
}

.light-theme .notification-item {
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.notification-image {
    width: 70px;
    height: 40px;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
    transition: transform 0.25s cubic-bezier(0.2, 0.8, 0.2, 1);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12);
}

.notification-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.notification-item:hover {
    background: rgba(255, 255, 255, 0.03);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.08);
}

.light-theme .notification-item:hover {
    background: rgba(0, 0, 0, 0.02);
}

.notification-item:last-child {
    border-bottom: none;
}

.notification-icon {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    object-fit: cover;
    background: var(--accent-color);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12);
}

.notification-icon svg {
    width: 20px;
    height: 20px;
    stroke: var(--text-primary);
}

.notification-content {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
    transition: transform 0.2s ease;
}

.notification-item:hover .notification-image {
    transform: scale(1.03);
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.15);
}

.notification-read .notification-content {
    opacity: 0.7;
}

.notification-unread .notification-content::before {
    content: '';
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #ff3b30;
}

.notification-text {
    color: var(--text-primary);
    font-size: 0.92rem;
    line-height: 1.4;
    margin-bottom: 3px;
}

.notification-time {
    font-size: 11px;
    color: var(--text-secondary);
    opacity: 0.8;
}

.notification-show-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.3;
    max-height: 2.6em;
    margin-bottom: 2px;
    text-overflow: ellipsis;
    word-break: break-word;
}

.notification-episode {
    font-size: 0.8rem;
    color: var(--text-secondary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.no-notifications {
    padding: 40px 20px;
    text-align: center;
    color: var(--text-secondary);
    font-size: 0.92rem;
}

.notification-unread {
    position: relative;
    border-left: 3px solid #ff3b30;
    background-color: rgba(255, 255, 255, 0.03);
}

.light-theme .notification-unread {
    background-color: rgba(0, 0, 0, 0.02);
}

.notification-unread:hover {
    background-color: rgba(255, 255, 255, 0.05);
}

.light-theme .notification-unread:hover {
    background-color: rgba(0, 0, 0, 0.04);
}

.notification-unread:before {
    display: none;
}

.notification-read {
    opacity: 0.75;
    border-left: 3px solid transparent;
}

.notification-read:hover {
    opacity: 0.9;
}

.notification-read .notification-content {
    opacity: 0.9;
}

.notification-unread .notification-content {
    opacity: 1;
}

.notification-unread .notification-time::after {
    content: " • New";
    color: #ff3b30;
    font-weight: 600;
}

.notification-unread:before {
    content: '';
    position: absolute;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #ff3b30;
    top: 18px;
    left: 8px;
}

/* Empty Notification State */
.notification-empty {
    padding: 40px 20px;
    text-align: center;
    color: var(--text-secondary);
}

.notification-empty svg {
    width: 45px;
    height: 45px;
    margin-bottom: 15px;
    opacity: 0.6;
}

.notification-empty p {
    font-size: 0.92rem;
    line-height: 1.4;
}

/* Show dropdown when active */
.notification-dropdown.active {
    display: block;
}

/* ===== THEME CREATOR STYLES ===== */
.theme-creator {
    padding: 12px;
    border-radius: 8px;
    margin-top: 6px;
}

.theme-creator h4 {
    color: var(--text-primary);
    margin: 0 0 10px 0;
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.01em;
    opacity: 0.85;
}

.color-control {
    position: relative;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
}

.color-preview {
    width: 24px;
    height: 24px;
    border-radius: 6px;
    cursor: pointer;
    border: 1px solid rgba(var(--text-primary-rgb, 255, 255, 255), 0.15);
    flex-shrink: 0;
    transition: all 0.15s ease;
}

.light-theme .color-preview {
    border: 1px solid rgba(0, 0, 0, 0.15);
}

.color-preview:hover {
    transform: scale(1.05);
}

.color-palette {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    display: none;
    background: var(--bg-secondary);
    padding: 8px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    z-index: 100;
    grid-template-columns: repeat(4, 1fr);
    gap: 6px;
    border: 1px solid rgba(var(--text-primary-rgb, 255, 255, 255), 0.08);
}

.light-theme .color-palette {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(0, 0, 0, 0.08);
}

.color-palette.active {
    display: grid;
    animation: palette-appear 0.15s ease;
}

@keyframes palette-appear {
    from {
        opacity: 0;
        transform: translateY(-4px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.color-option {
    width: 20px;
    height: 20px;
    border-radius: 4px;
    cursor: pointer;
    border: 1px solid rgba(var(--text-primary-rgb, 255, 255, 255), 0.15);
    transition: transform 0.15s ease;
}

.light-theme .color-option {
    border: 1px solid rgba(0, 0, 0, 0.15);
}

.color-option:hover {
    transform: scale(1.1);
}

.color-picker {
    margin-bottom: 10px;
}

.color-picker label {
    display: block;
    color: var(--text-primary);
    margin-bottom: 5px;
    font-size: 0.75rem;
    font-weight: 500;
    opacity: 0.7;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.hex-input {
    width: 90px;
    padding: 5px 8px;
    border: 1px solid rgba(var(--text-primary-rgb, 255, 255, 255), 0.12);
    border-radius: 4px;
    background: rgba(var(--text-primary-rgb, 255, 255, 255), 0.03);
    color: var(--text-primary);
    font-size: 0.8rem;
    font-family: monospace;
    transition: all 0.15s ease;
}

.light-theme .hex-input {
    background: rgba(0, 0, 0, 0.03);
    border: 1px solid rgba(0, 0, 0, 0.12);
}

.hex-input:focus {
    outline: none;
    border-color: rgba(var(--text-primary-rgb, 255, 255, 255), 0.25);
    background: rgba(var(--text-primary-rgb, 255, 255, 255), 0.05);
}

.light-theme .hex-input:focus {
    border-color: rgba(0, 0, 0, 0.25);
    background: rgba(0, 0, 0, 0.05);
}

/* Logo Slider Control */
.slider-control {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.logo-slider {
    flex: 1;
    height: 6px;
    border-radius: 3px;
    background: rgba(var(--text-primary-rgb, 255, 255, 255), 0.1);
    outline: none;
    appearance: none;
    cursor: pointer;
}

.light-theme .logo-slider {
    background: rgba(0, 0, 0, 0.1);
}

.logo-slider::-webkit-slider-thumb {
    appearance: none;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--text-primary);
    cursor: pointer;
    border: 2px solid rgba(var(--text-primary-rgb, 255, 255, 255), 0.2);
    transition: all 0.15s ease;
}

.logo-slider::-webkit-slider-thumb:hover {
    transform: scale(1.1);
    border-color: rgba(var(--text-primary-rgb, 255, 255, 255), 0.4);
}

.logo-slider::-moz-range-thumb {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--text-primary);
    cursor: pointer;
    border: 2px solid rgba(var(--text-primary-rgb, 255, 255, 255), 0.2);
    transition: all 0.15s ease;
}

.logo-slider::-moz-range-thumb:hover {
    transform: scale(1.1);
    border-color: rgba(var(--text-primary-rgb, 255, 255, 255), 0.4);
}

.slider-value {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-primary);
    opacity: 0.7;
    min-width: 35px;
    text-align: center;
    font-family: monospace;
}

#themeName {
    width: 100%;
    padding: 8px 10px;
    margin-bottom: 12px;
    background: rgba(var(--text-primary-rgb, 255, 255, 255), 0.03);
    border: 1px solid rgba(var(--text-primary-rgb, 255, 255, 255), 0.12);
    border-radius: 6px;
    color: var(--text-primary);
    font-size: 0.825rem;
    transition: all 0.15s ease;
    box-sizing: border-box;
}

.light-theme #themeName {
    background: rgba(0, 0, 0, 0.03);
    border: 1px solid rgba(0, 0, 0, 0.12);
}

#themeName:focus {
    outline: none;
    border-color: rgba(var(--text-primary-rgb, 255, 255, 255), 0.25);
    background: rgba(var(--text-primary-rgb, 255, 255, 255), 0.05);
}

.light-theme #themeName:focus {
    border-color: rgba(0, 0, 0, 0.25);
    background: rgba(0, 0, 0, 0.05);
}

#themeName::placeholder {
    color: var(--text-primary);
    opacity: 0.4;
}

#saveTheme {
    width: 100%;
    padding: 9px 14px;
    background: rgba(var(--text-primary-rgb, 255, 255, 255), 0.08);
    color: var(--text-primary);
    border: 1px solid rgba(var(--text-primary-rgb, 255, 255, 255), 0.12);
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.15s ease;
    font-size: 0.825rem;
}

.light-theme #saveTheme {
    background: rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.12);
}

#saveTheme:hover {
    background: rgba(var(--text-primary-rgb, 255, 255, 255), 0.12);
    border-color: rgba(var(--text-primary-rgb, 255, 255, 255), 0.2);
}

.light-theme #saveTheme:hover {
    background: rgba(0, 0, 0, 0.12);
    border-color: rgba(0, 0, 0, 0.2);
}

#saveTheme:active {
    transform: scale(0.98);
}

.theme-btn-container {
    display: flex;
    align-items: center;
    gap: 4px;
    margin: 4px 0;
}

.theme-edit-btn,
.theme-delete-btn {
    color: var(--text-primary);
    border: none;
    width: 24px;
    height: 24px;
    border-radius: 5px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    transition: all 0.15s ease;
    background: rgba(var(--text-primary-rgb, 255, 255, 255), 0.06);
    opacity: 0.7;
}

.light-theme .theme-edit-btn,
.light-theme .theme-delete-btn {
    background: rgba(0, 0, 0, 0.04);
}

.theme-delete-btn {
    color: #ef4444;
}

.theme-edit-btn:hover,
.theme-delete-btn:hover {
    background: rgba(var(--text-primary-rgb, 255, 255, 255), 0.1);
    opacity: 1;
}

.light-theme .theme-edit-btn:hover,
.light-theme .theme-delete-btn:hover {
    background: rgba(0, 0, 0, 0.08);
}

.theme-delete-btn:hover {
    background: rgba(239, 68, 68, 0.1);
}

.login-button-nav {
    padding: 10px 12px;
    border: none;
    border-radius: 8px;
    background: var(--bg-primary);
    border: 1px solid rgba(var(--text-primary-rgb, 255, 255, 255), 0.1);
    color: var(--text-primary);
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease, outline-color 0.2s ease;
    text-align: left;
    width: 100%;
    margin-top: 6px;
    display: flex;
    align-items: center;
    gap: 10px;
    outline: 2px solid transparent;
    outline-offset: 1px;
}

.light-theme .login-button-nav {
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.login-button-nav svg {
    flex-shrink: 0;
    stroke: var(--text-primary);
    transition: stroke 0.2s ease;
    width: 16px;
    height: 16px;
}

.login-button-nav:hover {
    background: var(--accent-color);
    border-color: var(--episode-container);
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    outline-color: var(--accent-color);
}

.light-theme .login-button-nav:hover {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.login-button-nav:hover svg {
    stroke: var(--text-primary);
}

.login-button-nav:active {
    transform: translateY(0) scale(0.95);
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
}

/* ===== MEDIA QUERIES ===== */

/* Small screens (up to 450px) */
@media (min-width: 100px) and (max-width: 450px) {
    .search-bar input {
        width: 130px;
    }

    .search-bar input:focus {
        width: 170px;
    }
}

/* Tablet and smaller desktop (up to 1224px) */
@media (max-width: 1224px) {
    .search-bar {
        display: none;
    }

    .search-bar.expanded {
        display: flex;
        flex-wrap: nowrap;
        align-items: center;
        position: fixed;
        top: calc(1rem + 60px);
        left: 1rem;
        right: 1rem;
        background: rgba(var(--header-bg-rgb, 36, 36, 36), 0.95);
        padding: 1rem;
        z-index: 900;
        border-radius: 10px;
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
        border: 1px solid rgba(255, 255, 255, 0.07);
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.18);
    }
    
    .light-theme .search-bar.expanded {
        background: rgba(245, 239, 230, 0.95);
        border: 1px solid rgba(0, 0, 0, 0.07);
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
    }

    .search-bar.expanded input {
        flex: 1;
       /*  margin-right: 0.5rem; */
    }

    .search-bar.expanded button {
        padding: 7px 12px;
        font-size: 0.85rem;
        height: auto;
        width: auto;
        min-width: 55px;
        margin-right: 2rem;
    }

    .header-search-icon:hover {
        background: var(--accent-color);
        opacity: 0.9;
    }

    .header-search-icon svg {
        width: 20px;
        height: 20px;
        fill: var(--text-primary);
    }

    .footer {
        grid-column: 1 / -1;
    }

    .footer-top {
        flex-direction: column;
        gap: 1rem;
    }

    .social-links {
        flex-wrap: wrap;
        justify-content: center;
    }

    .az-list {
        gap: 0.3rem;
    }

    .legal-links {
        flex-wrap: wrap;
        gap: 1rem;
        text-align: center;
    }

    .disclaimer {
        font-size: 0.8rem;
        padding: 0 0.8rem;
    }

    .profile-dropdown {
        margin-left: 0.2rem;
    }

    .profile-dropdown .dropdown-content {
        z-index: 2000;
    }
    
    /* Responsive adjustments for notifications */
    .notification-dropdown {
        width: calc(100vw - 2rem);
        left: 50%;
        transform: translateX(-50%);
        top: 70px;
        border-radius: 12px;
        position: absolute;
        transform-origin: top center;
        max-height: 60vh;
        overflow: hidden;
    }

    .notification-list {
        max-height: calc(60vh - 60px);
        overflow-y: auto;
    }
}

/* Color variables for light and dark themes */
.light-theme {
    --header-bg-rgb: 245, 239, 230;
    --bg-secondary-rgb: 232, 224, 212;
    --text-primary-rgb: 56, 46, 39;
}

:root, .dark-theme, .amoled-theme {
    --header-bg-rgb: 36, 36, 36;
    --bg-secondary-rgb: 47, 47, 47;
    --text-primary-rgb: 255, 255, 255;
}

.winter-theme {
    --header-bg-rgb: 15, 26, 43;
    --bg-secondary-rgb: 22, 34, 54;
    --text-primary-rgb: 232, 241, 248;
}

/* ❄️ Winter/Christmas Snowflake Decoration */
.winter-snowflake {
    display: none;
    margin-left: 6px;
    font-size: 14px;
    animation: snowflake-float 3s ease-in-out infinite;
    opacity: 0.85;
}

.winter-theme .winter-snowflake {
    display: inline-block;
}

@keyframes snowflake-float {
    0%, 100% { 
        transform: translateY(0) rotate(0deg); 
        opacity: 0.85;
    }
    50% { 
        transform: translateY(-3px) rotate(15deg); 
        opacity: 1;
    }
}

/* Subtle snow glow effect on header for winter theme */
.winter-theme .header {
    box-shadow: 0 2px 12px rgba(91, 143, 185, 0.15), 0 0 30px rgba(91, 143, 185, 0.05);
    border: 1px solid rgba(91, 143, 185, 0.15);
}

/* ❄️ Header snowfall effect - GPU optimized */
.header-snow {
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    z-index: 0;
    border-radius: 10px;
    overflow: hidden;
}

.winter-theme .header-snow {
    display: block;
}

/* Single optimized snow layer with varied sizes */
.header-snow::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        /* Larger flakes - drift LEFT */
        radial-gradient(4px 4px at 8% 12%, rgba(255, 255, 255, 0.65) 50%, transparent 50%),
        radial-gradient(3.5px 3.5px at 52% 8%, rgba(255, 255, 255, 0.6) 50%, transparent 50%),
        radial-gradient(4px 4px at 88% 18%, rgba(255, 255, 255, 0.55) 50%, transparent 50%),
        /* Medium flakes */
        radial-gradient(2.5px 2.5px at 24% 32%, rgba(255, 255, 255, 0.5) 50%, transparent 50%),
        radial-gradient(3px 3px at 68% 28%, rgba(255, 255, 255, 0.55) 50%, transparent 50%),
        /* Smaller flakes */
        radial-gradient(2px 2px at 16% 48%, rgba(255, 255, 255, 0.4) 50%, transparent 50%),
        radial-gradient(1.5px 1.5px at 78% 38%, rgba(255, 255, 255, 0.45) 50%, transparent 50%);
    background-size: 200px 55px;
    background-repeat: repeat;
    will-change: background-position;
    animation: header-snowfall-left 12s linear infinite;
}

/* Second layer - different drift pattern */
.header-snow::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        /* Medium flakes - drift RIGHT */
        radial-gradient(2.5px 2.5px at 42% 42%, rgba(255, 255, 255, 0.45) 50%, transparent 50%),
        radial-gradient(2px 2px at 36% 22%, rgba(255, 255, 255, 0.5) 50%, transparent 50%),
        radial-gradient(1.5px 1.5px at 94% 45%, rgba(255, 255, 255, 0.4) 50%, transparent 50%),
        /* Extra flakes for variety */
        radial-gradient(3px 3px at 14% 35%, rgba(255, 255, 255, 0.48) 50%, transparent 50%),
        radial-gradient(2px 2px at 72% 15%, rgba(255, 255, 255, 0.5) 50%, transparent 50%),
        radial-gradient(3.5px 3.5px at 46% 50%, rgba(255, 255, 255, 0.52) 50%, transparent 50%);
    background-size: 200px 55px;
    background-repeat: repeat;
    will-change: background-position;
    animation: header-snowfall-right 14s linear infinite;
}

/* Left-drifting snowflakes */
@keyframes header-snowfall-left {
    0% {
        background-position: 0 0;
    }
    100% {
        background-position: -200px 220px;
    }
}

/* Right-drifting snowflakes with different timing */
@keyframes header-snowfall-right {
    0% {
        background-position: 0 0;
    }
    100% {
        background-position: 200px 220px;
    }
}

/* Ensure header content stays above snowflakes */
.winter-theme .header > *:not(.header-snow) {
    position: relative;
    z-index: 1;
}

/* Winter footer message - hidden by default */
.winter-footer-text {
    display: none;
}

.winter-theme .winter-footer-text {
    display: block;
    margin-bottom: 8px;
    font-size: 0.85rem;
    opacity: 0.9;
    color: var(--text-secondary);
}