/*

   ██╗  ██╗████████╗██████╗ ███████╗███╗   ███╗███████╗
   ╚██╗██╔╝╚══██╔══╝██╔══██╗██╔════╝████╗ ████║██╔════╝
    ╚███╔╝    ██║   ██████╔╝█████╗  ██╔████╔██║█████╗
    ██╔██╗    ██║   ██╔══██╗██╔══╝  ██║╚██╔╝██║██╔══╝
   ██╔╝ ██╗   ██║   ██║  ██║███████╗██║ ╚═╝ ██║███████╗
   ╚═╝  ╚═╝   ╚═╝   ╚═╝  ╚═╝╚══════╝╚═╝     ╚═╝╚══════╝
 ██╗    ██╗███████╗ █████╗ ████████╗██╗  ██╗███████╗██████╗
 ██║    ██║██╔════╝██╔══██╗╚══██╔══╝██║  ██║██╔════╝██╔══██╗
 ██║ █╗ ██║█████╗  ███████║   ██║   ███████║█████╗  ██████╔╝
 ██║███╗██║██╔══╝  ██╔══██║   ██║   ██╔══██║██╔══╝  ██╔══██╗
 ╚███╔███╔╝███████╗██║  ██║   ██║   ██║  ██║███████╗██║  ██║
  ╚══╝╚══╝ ╚══════╝╚═╝  ╚═╝   ╚═╝   ╚═╝  ╚═╝╚══════╝╚═╝  ╚═╝

          WE're the ones who innovate, not imitate.

*/

   
   


@font-face {
    font-family: 'Druk Wide';
    src: url('fonts/DrukWideBold.woff2') format('woff2');
    font-weight: 700;
    font-display: swap;
}

@font-face {
    font-family: 'Mustica Pro';
    src: url('fonts/MusticaPro-SemiBold.woff2') format('woff2');
    font-weight: 600;
    font-display: swap;
}

@font-face {
    font-family: 'Font Awesome 6 Free';
    font-style: normal;
    font-weight: 900;
    font-display: swap;
    src: url(https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.2/webfonts/fa-solid-900.woff2) format("woff2");
}



.coverage-banner {
    position: fixed;
    bottom: 24px;
    left: 50%;
    max-width: 560px;
    width: calc(100% - 40px);
    padding: 14px 20px;
    border-radius: 999px;
    display: none;
    cursor: pointer;
    z-index: 900;
    opacity: 0;
    transform: translateX(-50%) translateY(calc(100% + 32px));
    transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.55s ease;
    will-change: transform, opacity;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35);
}

.coverage-banner.animate-in {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

.coverage-banner.animate-out {
    opacity: 0;
    transform: translateX(-50%) translateY(calc(100% + 32px));
    pointer-events: none;
}

.coverage-banner.severe {
    background: linear-gradient(135deg, rgba(220, 38, 38, 1), rgba(185, 28, 28, 1));
}

.coverage-banner.winter {
    background: linear-gradient(135deg, rgba(37, 99, 235, 1), rgba(29, 78, 216, 1));
}

.coverage-banner.tropical {
    background: linear-gradient(135deg, rgba(21, 128, 61, 1), rgba(22, 101, 52, 1));
}

.coverage-banner-content {
    display: flex;
    align-items: center;
    gap: 14px;
    position: relative;
}

.coverage-icon {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

.coverage-text {
    flex: 1;
    min-width: 0;
}

.coverage-title {
    font-size: 15px;
    font-weight: 700;
    color: white;
    margin: 0;
    text-transform: none;
}

.coverage-subtitle {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
    font-weight: 500;
}

.coverage-dismiss {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: rgba(0,0,0,0.3);
    border: none;
    color: white;
    padding: 0;
    line-height: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    flex: 0 0 auto;
    align-self: center;
    margin-left: auto;
    transition: background 0.2s ease;
}

.coverage-dismiss:hover {
    background: rgba(0, 0, 0, 0.4);
}

.coverage-arrow {
    display: none !important;
}

.coverage-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 3000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    background: rgba(0, 0, 0, 1);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.coverage-modal.active {
    opacity: 1;
    pointer-events: auto;
}

.coverage-modal-content {
    position: relative;
    width: 100%;
    max-width: 700px;
    max-height: 85vh;
    overflow-y: auto;
    background: rgba(15, 15, 20, 0.98);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    transform: scale(0.9) translateY(20px);
    opacity: 0;
    transition: transform 0.3s ease-out, opacity 0.3s ease;
}

.coverage-modal.active .coverage-modal-content {
    transform: scale(1) translateY(0);
    opacity: 1;
}

.coverage-modal-header {
    padding: 1.5rem 2rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    background: rgba(0, 0, 0, 0.3);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.coverage-modal-icon {
    width: 56px;
    height: 56px;
    flex-shrink: 0;
}

.coverage-modal-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.coverage-modal-title-section {
    flex: 1;
}

.coverage-modal-label {
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    opacity: 0.6;
    margin-bottom: 0.3rem;
}

.coverage-modal-title {
    font-size: 1.3rem;
    font-weight: 800;
    line-height: 1.2;
    text-transform: none;
}

.coverage-modal-close {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: background-color 0.2s ease;
}

.coverage-modal-close:hover {
    background: rgba(255, 255, 255, 0.2);
}

.coverage-modal-close i {
    font-size: 1.2rem;
}

.coverage-modal-body {
    padding: 2rem;
}

.coverage-description-header {
    font-size: 0.85rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    opacity: 0.6;
    margin-bottom: 1rem;
}

.coverage-description {
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.description-section {
    margin-top: 2rem;
}

.description-title {
    font-size: 0.9rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    opacity: 0.7;
    margin-bottom: 0.8rem;
    color: white;
}

.coverage-modal-body .summary-section {
    margin-bottom: 1.5rem;
}

.coverage-modal-body .summary-title {
    font-size: 0.9rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    opacity: 0.7;
    margin-bottom: 0.6rem;
}

.coverage-discord-cta {
    padding: 1.5rem;
    background: rgba(88, 101, 242, 0.15);
    border: 1px solid rgba(88, 101, 242, 0.3);
    border-radius: 24px;
    display: flex;
    align-items: center;
    gap: 1.2rem;
    overflow: hidden;
}

.coverage-discord-icon {
    width: 48px;
    height: 48px;
    background: #5865F2;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.coverage-discord-icon i {
    font-size: 1.5rem;
    color: white;
}

.coverage-discord-text {
    flex: 1;
}

.coverage-discord-title {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.3rem;
}

.coverage-discord-subtitle {
    font-size: 0.85rem;
    opacity: 0.8;
}

.coverage-discord-btn {
    padding: 0.7rem 1.5rem;
    background: #5865F2;
    border: none;
    border-radius: 16px;
    color: white;
    font-family: 'Mustica Pro', sans-serif;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    flex-shrink: 0;
    transition: all 0.2s ease;
    box-shadow: 0 4px 12px rgba(88, 101, 242, 0.3);
}

.coverage-discord-btn:hover {
    background: #4752C4;
    transform: translateY(-2px) scale(1.04);
    box-shadow: 0 8px 20px rgba(88, 101, 242, 0.5);
}

@media (max-width: 768px) {
    .coverage-banner {
        bottom: 16px;
        padding: 14px 18px;
        max-width: calc(100% - 32px);
    }

    .coverage-icon {
        width: 48px;
        height: 48px;
    }

    .coverage-title {
        font-size: 14px;
    }

    .coverage-subtitle {
        font-size: 12px;
        line-height: 1.35;
    }

    .coverage-dismiss {
        width: 28px;
        height: 28px;
    }

    .coverage-modal {
        padding: 1rem;
    }

    .coverage-modal-content {
        margin: 1rem;
        max-height: 90vh;
    }

    .coverage-discord-cta {
        flex-direction: column;
        text-align: center;
    }

}

@media (max-width: 480px) {
    .coverage-banner {
        padding: 12px 16px;
    }

    .coverage-banner-content {
        gap: 12px;
    }

    .coverage-icon {
        width: 44px;
        height: 44px;
    }

    .coverage-title {
        font-size: 13px;
    }

    .coverage-subtitle {
        font-size: 11px;
        line-height: 1.35;
        margin-top: 2px;
    }
}

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

html {
    height: 100%;
    min-height: 100vh;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Mustica Pro', -apple-system, sans-serif;
    background: #0a0a0a;
    color: white;
    min-height: 100vh;
    overflow-x: hidden;
    overflow-y: auto;
    margin: 0;
    padding: 0;
}


.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 10000;
    height: 67px;
    display: flex;
    align-items: center;
    background: #000000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    isolation: isolate;
    overflow: visible !important;
}

.nav-container {
    width: 100%;
    max-width: 1400px;
    height: 100%;
    margin: 0 auto;
    padding: 0 1.25rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
}

.nav-left {
    display: flex;
    align-items: center;
    gap: 1rem;
    z-index: 20;
}

.logo {
    height: 50px;
    width: auto;
    border-radius: 6px;
}

@media (max-width: 768px) {
    .logo {
        margin-left: -2px;
    }
}

.nav-center {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 2rem;
    height: 100%;
    z-index: 10;
}

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
    height: 100%;
    align-items: center;
}

.nav-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: color 0.2s ease;
}

.nav-links a:hover,
.nav-links a.active {
    color: white;
}

.nav-links li.has-dropdown {
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
}

.nav-links li.has-dropdown::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 40px;
    transform: translateY(100%);
    pointer-events: none;
}

.nav-links li.has-dropdown:hover::after {
    pointer-events: auto;
}

.dropdown-arrow {
    font-size: 0.7rem;
    margin-left: 6px;
    opacity: 0.5;
    transition: transform 0.3s ease;
    display: inline-block;
    width: 1em;
    text-align: center;
}

.nav-links li:hover .dropdown-arrow {
    transform: rotate(180deg);
    opacity: 1;
}

.nav-right {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.8rem;
    z-index: 20;
}

.nav-app-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 16px;
    border-radius: 999px;
    background: rgba(107, 84, 245, 0.16);
    border: 1px solid rgba(107, 84, 245, 0.35);
    color: #fff;
    font-size: 13.5px;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
    transition: background 0.2s, border-color 0.2s;
}
.nav-app-btn:hover { background: rgba(107, 84, 245, 0.3); border-color: rgba(107, 84, 245, 0.55); }
.nav-app-btn i { font-size: 14px; display: inline-block; width: 14px; text-align: center; }
@media (max-width: 1024px) { .nav-app-btn { display: none; } }

.btn-arrow-img {
    width: 16px;
    height: 16px;
    object-fit: contain;
    flex-shrink: 0;
    filter: brightness(0) invert(1);
}

.nav-btn-circle,
.back-btn-circle {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    flex-shrink: 0;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: white;
    transition: all 0.2s ease;
}

.nav-btn-circle:hover,
.back-btn-circle:hover {
    background: rgba(255, 255, 255, 0.2);
}

.nav-btn-circle:active,
.back-btn-circle:active {
    transform: scale(0.9);
}

.nav-btn-circle i,
.back-btn-circle i {
    font-size: 1.1rem;
}

.nav-btn-disabled {
    opacity: 0.2 !important;
    pointer-events: none !important;
    transition: opacity 0.3s ease !important;
}

.nav-btn-circle,
.back-btn-circle,
.search-trigger-btn {
    transition: all 0.3s ease, transform 0.2s ease !important;
}

.nav-btn-circle i,
.back-btn-circle i {
    transition: all 0.3s ease !important;
}

.units-toggle {
    height: 42px;
    padding: 0 1rem;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: white;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    transition: all 0.2s ease;
    font-family: 'Mustica Pro', sans-serif;
}

.units-toggle:hover {
    background: rgba(255, 255, 255, 0.15);
}

.hamburger {
    display: none;
}

@media (max-width: 1024px) {
    .hamburger {
        display: flex !important;
    }

    .nav-btn-circle,
    .back-btn-circle,
    .search-trigger-btn,
    .hamburger {
        background: rgba(255, 255, 255, 0.15);
        border: 1px solid rgba(255, 255, 255, 0.25);
    }

    .nav-btn-circle:active,
    .back-btn-circle:active,
    .search-trigger-btn:active,
    .hamburger:active {
        background: rgba(255, 255, 255, 0.25);
    }
}


.mega-menu {
    position: fixed;
    top: 67px;
    left: 50%;
    width: 550px;
    margin-left: -275px;
    margin-top: 10px;
    padding: 24px;
    background: rgba(19, 17, 28, 0.94);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 16px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 99;
}

.mega-menu.mega-menu-2col { width: 720px; margin-left: -360px; }

.mega-menu-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.mega-column {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.mega-header {
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 8px;
    padding-left: 10px;
}

.mega-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 10px 12px;
    border-radius: 10px;
    text-decoration: none;
    cursor: pointer;
    border: 1px solid transparent;
    transition: all 0.2s ease;
}

.mega-item:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.1);
    padding-left: 16px;
    padding-right: 8px;
}

.mega-item i {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.8);
    width: 24px;
    text-align: center;
    transition: color 0.2s;
}

.mega-item:hover i {
    color: #fff;
}

.mega-item-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.mega-item-text .title {
    font-size: 0.9rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 1.0);
}

.mega-item-text .desc {
    font-size: 0.75rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.6);
}


.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    background: rgba(8, 8, 10, 0.4);
    backdrop-filter: blur(40px) saturate(180%);
    -webkit-backdrop-filter: blur(40px) saturate(180%);
    opacity: 0;
    visibility: hidden;
    overflow: hidden;
    transition: opacity 0.4s ease, visibility 0.4s;
}

.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

.mobile-view {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    padding: 0;
    display: flex;
    flex-direction: column;
    opacity: 0;
    transform: translateY(10px);
    transition: transform 0.5s cubic-bezier(0.19, 1, 0.22, 1), opacity 0.4s ease;
}
.main-view {
    padding: 0 2rem;
}

.mobile-menu-overlay.active .main-view {
    opacity: 1;
    transform: translateY(0);
}

.sub-view {
    transform: translateX(100%);
    opacity: 0;
    pointer-events: none;
    padding-top: 0;
}

.mobile-menu-overlay.sub-active .main-view {
    transform: translateX(-100%) !important;
    opacity: 0;
    pointer-events: none;
}

.sub-view.active {
    transform: translateX(0);
    opacity: 1;
    pointer-events: auto;
}

.sub-view.parked {
    transform: translateX(-100%);
    opacity: 0;
    pointer-events: none;
}

.mobile-flat-panel {
    width: 100%;
    max-width: 500px;
    height: 100%;
    overflow-y: auto;
    padding: 5.5rem 2rem 3rem;
    opacity: 0;
    transform: translateY(12px);
    transition: transform 0.5s cubic-bezier(0.19, 1, 0.22, 1), opacity 0.4s ease;
}
.mobile-menu-overlay.active .mobile-flat-panel {
    opacity: 1;
    transform: translateY(0);
}
.mobile-section-label {
    font-family: var(--font-display);
    font-size: 11px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.3);
    margin: 1.8rem 0 0.4rem;
    padding: 0;
}
.mobile-section-label:first-child { margin-top: 0; }

.mobile-centered-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2.4rem;
    width: 100%;
}

.mobile-big-link {
    position: relative;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background: transparent;
    border: none;
    color: white;
    font-family: 'Mustica Pro', sans-serif;
    font-size: 1.9rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    cursor: pointer;
    text-decoration: none;
    transition: opacity 0.2s;
}

.mobile-big-link:active {
    opacity: 0.5;
}

.mobile-big-link.premium {
    color: #fbbf24;
}

.tiny-arrow {
    position: absolute;
    right: 10px;
    font-size: 1.2rem;
    opacity: 0.2;
    pointer-events: none;
}

.mobile-back-btn {
    position: absolute;
    top: calc(67px + 6px + 8px + 2px);
    left: calc(1.25rem + 2px);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255,255,255,0.15);
    border: 1px solid rgba(255,255,255,0.25);
    color: white;
    font-size: 1.1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    transition: all 0.2s ease;
    z-index: 1;
}
.mobile-back-btn:hover { background: rgba(255,255,255,0.22); }
.mobile-back-btn:active { background: rgba(255,255,255,0.25) !important; transform: scale(0.9); }

.mobile-sub-list {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 10vh 2rem 0;
    gap: 0.2rem;
    overflow-y: auto;
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
    box-sizing: border-box;
}
.mobile-sub-item {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    padding: 0.9rem 0;
    text-decoration: none;
    color: white;
    transition: opacity 0.15s;
}
.mobile-sub-item:active { opacity: 0.5; }
.mobile-sub-icon {
    position: relative;
    width: 3.6rem;
    height: 3.6rem;
    min-width: 3.6rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(107,84,245,0.22);
    border: none;
    color: var(--purple-500);
    font-size: 1.1rem;
}
.mobile-sub-icon::after {
    content: '';
    position: absolute;
    inset: 0;
    background: url('assets/othericons/w.svg') center/contain no-repeat;
    pointer-events: none;
}
.mobile-sub-item-text {
    display: flex;
    flex-direction: column;
    gap: 3px;
}
.mobile-sub-item-name {
    font-family: var(--font-body);
    font-size: 1.7rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: #fff;
    line-height: 1;
}
.mobile-sub-item-desc {
    display: none;
}

.mobile-units-pill {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    padding: 0.8rem 1.5rem;
    color: rgba(255, 255, 255, 0.7);
    font-family: 'Mustica Pro', sans-serif;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    transition: all 0.2s;
}

.mobile-units-pill:hover {
    background: rgba(255, 255, 255, 0.1);
    color: white;
}

.sub-menu-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 2rem;
    padding-bottom: 0.5rem;
    position: relative;
    margin-left: -5px;
}

.sub-title {
    font-size: 1.2rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: rgba(255, 255, 255, 0.4);
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
}

.mobile-clean-list {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.clean-link {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    padding: 0.8rem 0;
    color: white;
    text-decoration: none;
    font-size: 1.4rem;
    font-weight: 700;
    transition: opacity 0.2s;
}

.clean-link:active {
    opacity: 0.6;
}

.clean-link .icon-box {
    width: 42px;
    height: 42px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.8);
}


.search-trigger-btn {
    position: relative;
    z-index: 101;
    will-change: transform;
    transition: background-color 0.3s ease, border-color 0.3s ease, transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.search-trigger-btn.active {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.3);
}

.search-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
   z-index: 10001;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding-top: 120px;
    background: linear-gradient(to bottom,
        rgba(8, 8, 10, 0.4) 0%,
        rgba(5, 5, 5, 0.8) 60%,
        rgba(0, 0, 0, 1.0) 100%
    );
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(14px);
    transition:
        opacity 0.22s ease,
        transform 0.28s cubic-bezier(0.19, 1, 0.22, 1),
        visibility 0s linear 0.28s;
    will-change: opacity, transform;
}

.search-overlay.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
    transition:
        opacity 0.22s ease,
        transform 0.28s cubic-bezier(0.19, 1, 0.22, 1),
        visibility 0s linear 0s;
}

.search-container {
    width: 90%;
    max-width: 800px;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    transform: translateY(15px);
    transition: transform 0.25s cubic-bezier(0.19, 1, 0.22, 1);
    will-change: transform;
}

.search-overlay.active .search-container {
    transform: translateY(0);
}

.search-trigger-btn {
    position: relative;
    z-index: 101;
}

.search-trigger-btn i {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.search-trigger-btn .fa-search {
    opacity: 1;
    transform: translate(-50%, -50%) rotate(0deg) scale(1);
}

.search-trigger-btn .fa-times {
    opacity: 0;
    transform: translate(-50%, -50%) rotate(90deg) scale(0.8);
}

.search-trigger-btn.active .fa-search {
    opacity: 0;
    transform: translate(-50%, -50%) rotate(-90deg) scale(0.8);
}

.search-trigger-btn.active .fa-times {
    opacity: 1;
    transform: translate(-50%, -50%) rotate(0deg) scale(1);
}

.search-input-large {
    width: 100%;
    padding: 1rem 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px !important;
    font-family: 'Mustica Pro', sans-serif;
    font-size: 1.2rem;
    font-weight: 600;
    color: white;
    text-align: left;
    outline: none;
    transition: all 0.3s ease;
}

.search-input-large::placeholder {
    color: rgba(255, 255, 255, 0.3);
    font-weight: 500;
    transition: opacity 0.2s ease;
}

.search-input-large:focus::placeholder {
    opacity: 0;
}

.search-input-large:focus {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

.search-results-large {
    width: 100%;
    max-height: 0;
    margin-top: 0;
    padding: 0;
    opacity: 0;
    overflow-y: scroll;
    background: transparent;
    border: none;
    scrollbar-width: none;
    -webkit-mask-image: linear-gradient(to bottom, black 0%, black 85%, transparent 100%);
    mask-image: linear-gradient(to bottom, black 0%, black 85%, transparent 100%);
    transition: 
        max-height 0.6s cubic-bezier(0.33, 1, 0.68, 1),
        opacity 0.4s ease-out,
        margin-top 0.4s cubic-bezier(0.33, 1, 0.68, 1);
}

.search-results-large::-webkit-scrollbar {
    display: none;
}

.search-results-large.has-data {
    max-height: 500px;
    opacity: 1;
    margin-top: 1.5rem;
}

.resultitem {
    padding: 1rem 1.5rem;
    margin-bottom: 0.6rem;
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.8);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid transparent;
    border-radius: 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 1rem;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUpResults 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    transition: all 0.2s ease;
}

.resultitem:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.1);
    color: white;
    transform: scale(1.02);
}

.resultitem i {
    opacity: 0.5;
}

.result-msg {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.5);
    padding-top: 2rem;
    text-align: center;
    opacity: 0;
    animation: fadeInUpResults 0.4s ease forwards;
}

.search-footer-actions {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    padding-bottom: 2rem;
    width: 100%;
    display: flex;
    justify-content: center;
    position: relative;
    z-index: 1;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.4s ease;
}

.current-location-btn {
    width: 100%;
    min-height: 60px;
    padding: 0 2rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px !important;
    color: rgba(255, 255, 255, 0.9);
    font-family: 'Mustica Pro', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    transition: all 0.2s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.current-location-btn:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.25);
    color: white;
    transform: translateY(-2px);
}

.current-location-btn:active {
    transform: scale(0.98);
}

.current-location-btn i {
    font-size: 1.1rem;
    opacity: 0.8;
}

.current-location-btn.error {
    background: rgba(239, 68, 68, 0.1);
    border-color: rgba(239, 68, 68, 0.4);
    color: #fca5a5;
}

#favorites-section {
    width: 100%;
}

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

.fav-item {
    position: relative;
    padding: 0.8rem 1.2rem;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    overflow: hidden;
    transition: all 0.2s ease;
}

.fav-item:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
}

.fav-left-content {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    overflow: hidden;
    flex: 1;
}

.fav-name {
    font-weight: 600;
    font-size: 0.95rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.fav-alert-badge {
    font-size: 0.9rem;
    display: none;
}

.fav-alert-badge.visible {
    display: inline-block;
}

.fav-alert-badge.warning { color: #ef4444; }
.fav-alert-badge.watch { color: #f97316; }
.fav-alert-badge.advisory { color: #eab308; }

.fav-delete {
    opacity: 0;
    padding: 6px;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.4);
    transition: opacity 0.2s, color 0.2s;
}

.fav-item:hover .fav-delete {
    opacity: 1;
}

.fav-delete:hover {
    color: #ffffff;
    opacity: 1;
}

#fav-btn {
    border-radius: 18px !important;
}

#fav-btn i {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.5);
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

#fav-btn.active {
    background: rgba(251, 191, 36, 0.15) !important;
    border-color: rgba(251, 191, 36, 0.4) !important;
}

#fav-btn.active i {
    color: #fbbf24;
    font-weight: 900;
    transform: scale(1.1);
}


.alert-banner {
    position: fixed;
    top: 67px;
    left: 0;
    right: 0;
    z-index: 98;
    padding: 0.8rem 2rem;
    background: rgba(20, 20, 20, 0.5);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
    -webkit-transform: translateZ(0);
    will-change: transform, opacity;
    transition: transform 0.5s cubic-bezier(0.19, 1, 0.22, 1),
                opacity 0.4s ease,
                background-color 0.3s ease;
}

.alert-banner.active {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
}

.alert-content-wrapper {
    display: flex;
    align-items: center;
    gap: 1rem;
    max-width: 1400px;
    width: 100%;
    justify-content: center;
    pointer-events: none;
}

.alert-banner-text {
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    flex: 0 1 auto;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.alert-view-btn {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.alert-view-btn i {
    font-size: 0.85rem;
    color: white;
}

.alert-banner.warning .alert-content-wrapper i:first-child { color: #ef4444; }
.alert-banner.warning .alert-banner-text { color: #fca5a5; }
.alert-banner.watch .alert-content-wrapper i:first-child { color: #f97316; }
.alert-banner.watch .alert-banner-text { color: #fdba74; }
.alert-banner.advisory .alert-content-wrapper i:first-child { color: #eab308; }
.alert-banner.advisory .alert-banner-text { color: #fde047; }


.alert-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    background: rgba(0, 0, 0, 0.65);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease, pointer-events 0s linear 0.3s;
}

.alert-modal.active {
    opacity: 1;
    pointer-events: auto;
    transition: opacity 0.3s ease;
}

.alert-modal-content {
    position: relative;
    width: 100%;
    max-width: 900px;
    max-height: 85vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background: rgba(20, 20, 20, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    transform: scale(0.9) translateY(20px);
    opacity: 0;
    transition: transform 0.3s ease-out, opacity 0.3s ease;
    isolation: isolate;
    contain: paint;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    -webkit-mask-image: -webkit-radial-gradient(white, black);
}

.alert-modal-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: var(--modal-bg);
    background-size: cover;
    background-position: center;
    filter: blur(10px) saturate(120%) brightness(0.7);
    opacity: 0.4;
    z-index: 0;
    border-radius: inherit;
    transform: none;
    -webkit-clip-path: inset(0 round 24px);
    clip-path: inset(0 round 24px);
    pointer-events: none;
}

.alert-modal-content > * {
    position: relative;
    z-index: 1;
}

.alert-modal.active .alert-modal-content {
    transform: scale(1) translateY(0);
    opacity: 1;
}

.alert-modal-header {
    padding: 1.5rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(0, 0, 0, 0.2);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.alert-modal-title {
    font-size: 1.3rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    color: white;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.alert-modal-close {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: background-color 0.2s ease;
}

.alert-modal-close i {
    font-size: 1.4rem;
}

.alert-modal-close:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: none;
}

.alert-list {
    padding: 0.8rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    overflow-y: auto;
    background: rgba(0, 0, 0, 0.1);
    scrollbar-width: none;
}

.alert-list::-webkit-scrollbar {
    display: none;
}

.alert-item {
    width: 100%;
    padding: 1.2rem 1rem;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    flex-shrink: 0;
    transition: all 0.2s ease;
}

.alert-item:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.alert-item.warning { border-left: 5px solid #ef4444; }
.alert-item.watch { border-left: 5px solid #f97316; }
.alert-item.advisory { border-left: 5px solid #eab308; }

.alert-item-header {
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.alert-item-title {
    font-weight: 800;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    line-height: 1.2;
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.warning .alert-item-title { color: #f87171; }
.watch .alert-item-title { color: #fb923c; }
.advisory .alert-item-title { color: #facc15; }

.alert-item-meta {
    font-size: 0.75rem;
    font-weight: 600;
    opacity: 0.7;
    margin-bottom: 0.5rem;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.alert-item-desc {
    font-size: 0.9rem;
    line-height: 1.6;
    opacity: 0.9;
    color: rgba(255, 255, 255, 0.9);
    white-space: normal;
}

.alert-body {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-top: 1rem;
    width: 100%;
}

.alert-section {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    width: 100%;
}

.alert-section-label {
    font-size: 0.7rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 0.2rem;
}

.alert-text {
    font-size: 0.95rem;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.9);
    white-space: normal;
    width: 100%;
    overflow-wrap: break-word;
}

.alert-action-box {
    margin-top: 4px;
    padding: 0.8rem 1rem;
    background: rgba(255, 255, 255, 0.05);
    border-left: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 20px;
}

.alert-highlight {
    font-weight: 800;
    color: white;
    letter-spacing: 0.02em;
}

.alert-label {
    display: inline-block;
    margin-top: 8px;
    margin-right: 4px;
    font-weight: 800;
    color: white;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.alert-text .alert-label:first-child {
    margin-top: 0 !important;
}


.content {
    position: relative;
    z-index: 6;
    min-height: 60vh;
    height: auto;
    padding-top: 100px;
    padding-bottom: 1rem;
    margin-bottom: 60px;
    transition: padding-top 0.5s cubic-bezier(0.19, 1, 0.22, 1);
}

.content.has-alert {
    padding-top: 150px;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    filter: blur(8px) brightness(0.67) saturate(1.2);
    transform: scale(1.1) translateZ(0);
    opacity: 0;
    transition: opacity 1.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-bg.loaded {
    opacity: 1;
}

.hero-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.6s ease;
}

.hero-bg.crossfading::before {
    opacity: 1;
}

.hero-wrapper {
    position: relative;
    overflow: visible;
}

.greeting-section {
    max-width: 1400px;
    margin: 0 auto;
    padding: 2rem 2rem 1rem 2rem;
}

.greeting {
    font-size: 2.5rem;
    font-weight: 700;
    min-height: 3rem;
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.5);
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s cubic-bezier(0.2, 0.8, 0.2, 1),
                transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.greeting.is-loaded {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.1s;
}

.location-controls {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s cubic-bezier(0.2, 0.8, 0.2, 1),
                transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.location-controls.is-loaded {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.2s;
}

.location {
    padding: 0.55rem 0.8rem;
    font-size: 0.95rem;
    font-weight: 600;
    opacity: 0.9;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.location:hover {
    background: rgba(255, 255, 255, 0.15);
}

.sun-item {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.sun-item i {
    color: #fbbf24;
}

.weather-info-grid {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 2rem;
    max-width: 1400px;
    min-height: 600px;
    margin: 1rem auto 2rem auto;
    padding: 1rem 2rem;
    align-items: center;
    transition: opacity 0.5s ease;
}

.weather-info-grid.loading {
    opacity: 0;
}

.weather-info-grid.loaded {
    opacity: 1;
    transform: translateY(0);
}

.skeleton-active .weather-info-grid {
    opacity: 1 !important;
}


.current-card,
.info-card {
    will-change: transform, opacity;
    opacity: 0;
    transform: translateY(40px) scale(0.96);
    transition: opacity 0.8s cubic-bezier(0.2, 0.8, 0.2, 1),
                transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.current-card.is-loaded {
    opacity: 1;
    transform: none;
    will-change: auto;
    transition-delay: 0.3s;
}

.current-card.is-loading {
    opacity: 1;
    transform: none;
}

.card-loading-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 400px;
    gap: 1rem;
    opacity: 0.35;
}

.card-loading-state i {
    font-size: 2rem;
}

.card-loading-state span {
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.01em;
}

.switching-pill {
    position: fixed;
    bottom: 96px;
    left: 50%;
    transform: translateX(-50%) translateY(16px);
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.55rem 1.2rem;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 999px;
    color: #fff;
    font-size: 0.85rem;
    font-weight: 500;
    font-family: 'Mustica Pro', sans-serif;
    white-space: nowrap;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s ease, transform 0.3s ease;
    z-index: 9000;
    isolation: isolate;
    overflow: hidden;
}
.switching-pill::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(20, 20, 30, 0.55);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: inherit;
    z-index: -1;
}

.switching-pill.visible {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

@media (min-width: 769px) {
    .switching-pill {
        bottom: 32px;
    }
}

.info-card.is-loaded {
    opacity: 1;
    transform: none;
    will-change: auto;
}

.side-cards .info-card:nth-child(1).is-loaded { transition-delay: 0.4s; }
.side-cards .info-card:nth-child(2).is-loaded { transition-delay: 0.5s; }

.current-card {
    position: relative;
    min-height: 500px;
    padding: 3rem;
    background: linear-gradient(
        135deg,
        rgba(255, 255, 255, 0.12) 0%,
        rgba(255, 255, 255, 0.06) 50%,
        rgba(255, 255, 255, 0.09) 100%
    );
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 30px;
    box-shadow:
        inset 0 1px 1px rgba(255, 255, 255, 0.1),
        0 8px 32px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.current-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.7' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
    opacity: 0.04;
    pointer-events: none;
    z-index: 0;
}

.current-card > * {
    position: relative;
    z-index: 1;
}

.info-card {
    position: relative;
    padding: 1.5rem;
    background: linear-gradient(
        135deg,
        rgba(255, 255, 255, 0.12) 0%,
        rgba(255, 255, 255, 0.06) 50%,
        rgba(255, 255, 255, 0.09) 100%
    );
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 20px;
    box-shadow:
        inset 0 1px 1px rgba(255, 255, 255, 0.1),
        0 8px 32px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
}

.info-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.7' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
    opacity: 0.04;
    pointer-events: none;
    z-index: 0;
}

.info-card > * {
    position: relative;
    z-index: 1;
}
.info-card-title {
    font-size: 1rem;
    font-weight: 700;
    opacity: 0.9;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.info-card-content {
    font-size: 0.9rem;
    line-height: 1.6;
    opacity: 0.8;
}

.side-cards {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    align-items: stretch;
}

.observation-meta {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    min-height: 42px;
    margin-bottom: 1.5rem;
    font-size: 0.85rem;
    opacity: 0.6;
}

.station-name {
    font-size: 0.8rem;
    opacity: 0.5;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.station-name i {
    font-size: 0.75rem;
}

.obs-time-line {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.obs-time-line i {
    font-size: 0.8rem;
}

.data-stale {
    color: rgba(239, 68, 68, 0.9) !important;
    opacity: 0.9 !important;
}

.partial-data-warning {
    margin-bottom: 1.5rem;
    padding: 0.8rem 1rem;
    background: rgba(251, 191, 36, 0.15);
    border: 1px solid rgba(251, 191, 36, 0.3);
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.85rem;
    color: rgba(251, 191, 36, 0.95);
}

.partial-data-warning i {
    font-size: 1rem;
}

.temp-group {
    display: flex;
    align-items: center;
    gap: 0;
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
}

.temp-main {
    font-size: 6rem;
    font-family: 'Druk Wide', Arial, sans-serif;
    min-height: 2rem;
    display: flex;
    align-items: center;
    line-height: 1;
}

.condition-main {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.condition-icon {
    width: 45px;
    height: 45px;
    display: block;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    transform: translateZ(0);
    will-change: transform;
}

.condition-icon svg * {
    animation-play-state: paused !important;
}

.current-card.is-loaded .condition-icon svg * {
    animation-play-state: running !important;
}

.feels-like {
    font-size: 1rem;
    opacity: 0.7;
    position: relative;
    z-index: 1;
}

.stats-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 2rem;
    position: relative;
    z-index: 1;
}

.stat-item {
    flex: 1 1 calc(33.333% - 1rem);
    min-width: 140px;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.stat-bg-icon {
    position: absolute;
    bottom: -5px;
    right: -5px;
    font-size: 2.8rem;
    color: white;
    opacity: 0.05;
    transform: rotate(-15deg);
    pointer-events: none;
    z-index: 0;
}

.stat-label {
    font-size: 0.85rem;
    opacity: 0.7;
    margin-bottom: 0.3rem;
    position: relative;
    z-index: 1;
}

.stat-value {
    font-size: 1.3rem;
    font-weight: 700;
    position: relative;
    z-index: 1;
}

.glass-error {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    min-height: 300px;
    padding: 2rem;
    height: 100%;
    color: white;
    text-align: center;
}

.glass-error i {
    font-size: 3rem;
    margin-bottom: 0.5rem;
    opacity: 0.8;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.glass-error-title {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 0.2rem;
}

.glass-error-text {
    max-width: 350px;
    font-size: 0.95rem;
    line-height: 1.5;
    opacity: 0.7;
}

.view-map-btn {
    width: 100%;
    margin-top: 1rem;
    padding: 0.8rem 1.2rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    color: white;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    text-decoration: none;
    transition: all 0.2s ease;
}

.view-map-btn:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-1px);
}

.view-map-btn i {
    font-size: 1rem;
}


.cameras-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.8rem;
    margin-top: 0.8rem;
}

.skeleton-box {
    height: 80px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    animation: pulse 1.5s infinite ease-in-out;
}

.skeleton-cam {
    aspect-ratio: 16/9;
    position: relative;
    overflow: hidden;
    background-color: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
}

.skeleton-cam::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.05) 20%,
        rgba(255, 255, 255, 0.15) 60%,
        rgba(255, 255, 255, 0.0) 100%
    );
    transform: translateX(-100%);
    animation: shimmer 1.5s infinite linear;
}

.camera-content-hidden {
    opacity: 0;
    transition: opacity 0.5s ease;
}

.camera-content-visible {
    opacity: 1;
}

.camera-thumb {
    aspect-ratio: 16/9;
    position: relative;
    overflow: hidden;
    background: #000;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.camera-thumb-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 0.6rem;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.6) 70%, transparent 100%);
    display: flex;
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
    gap: 0.8rem;
    z-index: 20;
    opacity: 0;
    transition: opacity 0.2s ease-in-out;
}

.camera-thumb:hover .camera-thumb-overlay {
    opacity: 1;
}

.camera-thumb-overlay-text {
    flex: 1;
    margin-bottom: 2px;
    color: white;
    font-size: 0.65rem;
    font-weight: 600;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: normal;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.8);
}

.camera-thumb-distance {
    flex-shrink: 0;
    margin-bottom: 0;
    padding: 1px 5px;
    font-size: 0.65rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 3px;
    background: rgba(0, 0, 0, 0.4);
    border-radius: 4px;
}

.camera-thumb-distance i {
    font-size: 0.85em;
    opacity: 0.8;
}

.camera-thumb-placeholder {
    width: 100%;
    height: 100%;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: rgba(0, 0, 0, 0.2);
}

.camera-thumb-placeholder i {
    font-size: 1.5rem;
    opacity: 0.3;
}

.camera-thumb-placeholder span {
    font-size: 0.7rem;
    opacity: 0.5;
    text-align: center;
}

.camera-loading {
    padding: 1.5rem 1rem;
    font-size: 0.75rem;
    opacity: 0.5;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.camera-loading i {
    font-size: 1.2rem;
}

.camera-error-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.85rem;
    z-index: 10;
    border-radius: 8px;
}

.camera-error-overlay i {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    opacity: 0.5;
}

.camera-error-overlay span {
    text-align: center;
    padding: 0 1rem;
}

.video-js .vjs-error-display {
    display: none !important;
}

.video-js.vjs-error .vjs-error-display {
    display: none !important;
}

.camera-thumb img,
.camera-modal-video img {
    opacity: 1;
    transition: opacity 0.5s ease-in-out;
}

.image-fading-out {
    opacity: 0.2 !important;
    filter: blur(5px);
}

.no-cams-box {
    grid-column: 1 / -1;
    min-height: 160px;
    padding: 2rem 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    background: rgba(255, 255, 255, 0.03);
    border: 2px dashed rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    text-align: center;
    transition: all 0.3s ease;
}

.no-cams-box:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.2);
}

.no-cams-box i {
    font-size: 2rem;
    color: rgba(255, 255, 255, 0.2);
}

.no-cams-box span {
    font-size: 0.95rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.5);
}

.camera-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    background: rgba(0, 0, 0, 0.65);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease, pointer-events 0s linear 0.3s;
}

.camera-modal.active {
    opacity: 1;
    pointer-events: auto;
    transition: opacity 0.3s ease;
}

.camera-modal-content {
    position: relative;
    width: 100%;
    max-width: 900px;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background: rgba(20, 20, 20, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    transform: scale(0.9) translateY(20px);
    opacity: 0;
    transition: transform 0.3s ease-out, opacity 0.3s ease;
    isolation: isolate;
    contain: paint;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    -webkit-mask-image: -webkit-radial-gradient(white, black);
}

.camera-modal-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: var(--modal-bg);
    background-size: cover;
    background-position: center;
    filter: blur(10px) saturate(120%) brightness(0.7);
    opacity: 0.4;
    z-index: 0;
    border-radius: inherit;
    transform: none;
    -webkit-clip-path: inset(0 round 24px);
    clip-path: inset(0 round 24px);
    pointer-events: none;
}

.camera-modal-content > * {
    position: relative;
    z-index: 1;
}

.camera-modal.active .camera-modal-content {
    transform: scale(1) translateY(0);
    opacity: 1;
}

.camera-modal-header {
    padding: 1.2rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(0, 0, 0, 0.4);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 2;
}

.camera-modal-title {
    font-size: 1.1rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    color: white;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.camera-modal-close {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: background 0.2s ease;
}

.camera-modal-close:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: none;
}

.camera-modal-close i {
    font-size: 1.4rem;
}

.camera-modal-video {
    width: 100%;
    aspect-ratio: 16/9;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-grow: 1;
    min-height: 0;
    overflow: hidden;
    background: #000;
    z-index: 5 !important;
    transition: aspect-ratio 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.camera-modal-video img,
.camera-modal-video video,
.camera-modal-video .video-js {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: opacity 0.6s ease-in;
}

.media-loaded {
    opacity: 1 !important;
}

.camera-modal-info {
    padding: 1.5rem;
    display: flex;
    justify-content: center;
    gap: 4rem;
    background: rgba(0, 0, 0, 0.6);
    z-index: 2;
}

.camera-modal-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.camera-modal-stat-label {
    margin-bottom: 0.3rem;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    opacity: 0.6;
}

.camera-modal-stat-value {
    font-size: 1.1rem;
    font-weight: 700;
}

.video-js {
    font-family: 'Mustica Pro', sans-serif;
    color: white;
}

.video-js .vjs-live-control,
.video-js .vjs-live-display {
    font-family: 'Mustica Pro', sans-serif !important;
    font-weight: 600;
    letter-spacing: 0.05em;
}

.video-js .vjs-live-display:before {
    content: '● ';
    color: #ef4444;
}

.camera-thumb .video-js {
    width: 100%;
    height: 100%;
    background: transparent;
}

.camera-thumb .vjs-big-play-button,
.camera-thumb .vjs-control-bar {
    display: none !important;
}

.video-js .vjs-big-play-button {
    width: 80px;
    height: 80px;
    line-height: 80px;
    font-size: 3rem;
    top: 50%;
    left: 50%;
    margin-top: -40px;
    margin-left: -40px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: all 0.2s ease;
}

.video-js:hover .vjs-big-play-button {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}

.video-js .vjs-control-bar {
    height: 75px;
    padding: 0 10px;
    align-items: center;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.4) 0%, transparent 100%);
}

.video-js .vjs-progress-control,
.video-js .vjs-progress-holder,
.video-js .vjs-time-control,
.video-js .vjs-time-divider,
.video-js .vjs-duration,
.video-js .vjs-current-time,
.video-js .vjs-remaining-time,
.video-js .vjs-load-progress,
.vjs-volume-panel,
.vjs-subs-caps-button,
.vjs-captions-button,
.vjs-subtitles-button,
.vjs-audio-button {
    display: none !important;
}

.video-js .vjs-play-progress {
    background-color: #3b82f6;
}

.video-js .vjs-slider {
    background-color: rgba(255, 255, 255, 0.2);
}

.video-js.media-loaded .vjs-tech {
    opacity: 1 !important;
}

.video-js.media-loaded {
    opacity: 1 !important;
}

.vjs-control-bar {
    z-index: 9999 !important;
}

.share-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 3000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    background: rgba(0, 0, 0, 0.65);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease, pointer-events 0s linear 0.3s;
}

.share-modal.active {
    opacity: 1;
    pointer-events: auto;
    transition: opacity 0.3s ease;
}

.share-modal-content {
    position: relative;
    width: 100%;
    max-width: 450px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background: rgba(20, 20, 20, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    transform: scale(0.9) translateY(20px);
    opacity: 0;
    transition: transform 0.3s ease-out, opacity 0.3s ease;
    isolation: isolate;
    contain: paint;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    -webkit-mask-image: -webkit-radial-gradient(white, black);
}

.share-modal-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: var(--modal-bg);
    background-size: cover;
    background-position: center;
    filter: blur(10px) saturate(120%) brightness(0.7);
    opacity: 0.4;
    z-index: 0;
    border-radius: inherit;
    transform: none;
    -webkit-clip-path: inset(0 round 24px);
    clip-path: inset(0 round 24px);
    pointer-events: none;
}

.share-modal-content > * {
    position: relative;
    z-index: 1;
}

.share-modal.active .share-modal-content {
    transform: scale(1) translateY(0);
    opacity: 1;
}

.share-modal-header {
    padding: 1.5rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(0, 0, 0, 0.2);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.share-modal-title {
    font-size: 1.3rem;
    font-weight: 800;
    color: white;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.share-modal-close {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: background-color 0.2s ease;
}

.share-modal-close i {
    font-size: 1.4rem;
}

.share-modal-close:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: none;
}

.share-modal-body {
    padding: 2rem;
    background: rgba(0, 0, 0, 0.1);
}

.share-platforms {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.share-platform-btn {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    color: white;
    cursor: pointer;
    transition: all 0.2s ease;
}

.share-platform-btn:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.share-platform-btn i {
    font-size: 2rem;
}

.share-platform-btn span {
    font-size: 0.9rem;
    font-weight: 600;
}

.share-more-btn {
    width: 100%;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    color: white;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: all 0.2s ease;
}

.share-more-btn:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.25);
}


.hourly-forecast-section {
    position: relative;
    width: 100%;
    max-width: 1400px;
    min-height: 400px;
    margin: 3rem auto 0;
    padding: 0 1.5rem 2rem;
    z-index: 10;
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.2, 0.8, 0.2, 1),
                transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.hourly-forecast-section.is-loaded {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.6s;
}

.hourly-forecast-card {
    display: block !important;
    height: auto !important;
    min-height: 360px;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 24px;
    opacity: 0;
    transform: translateY(40px) scale(0.96);
    transition: opacity 0.8s cubic-bezier(0.2, 0.8, 0.2, 1),
                transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.hourly-forecast-card.is-loaded {
    opacity: 1;
    transform: translateY(0) scale(1);
    transition-delay: 0.6s;
}

.hourly-forecast-header h3 {
    margin: 0 0 1.5rem 0;
    font-size: 1.3rem;
    font-weight: 700;
    color: white;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.hourly-cards-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.hourly-card {
    min-height: 140px;
    padding: 1.25rem 1rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    text-align: center;
    transition: background 0.2s ease, transform 0.2s ease;
}

.hourly-card:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.hourly-card-time {
    margin-bottom: 0.75rem;
    font-size: 0.85rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.6);
}

.hourly-card-icon {
    margin-bottom: 0.75rem;
    font-size: 2.5rem;
    opacity: 0.7;
}

.hourly-card-icon svg {
    width: 70px !important;
    height: 70px !important;
    max-width: 100%;
}

.hourly-card-temp {
    font-size: 1.5rem;
    font-weight: 800;
    color: white;
}

.hourly-card-condition {
    margin-top: 0.4rem;
    font-size: 0.78rem;
    line-height: 1.25;
    color: rgba(255, 255, 255, 0.7);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.hourly-cta {
    width: 100%;
    padding: 0.9rem 1.3rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    color: white;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    text-decoration: none;
    transition: all 0.2s ease;
}

.hourly-cta:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
}

.hourly-unavailable {
    grid-column: 1 / -1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 3rem 1rem;
    color: rgba(255, 255, 255, 0.4);
}

.hourly-unavailable i {
    font-size: 2.5rem;
    color: rgba(255, 255, 255, 0.25);
}

.hourly-unavailable span {
    font-size: 1rem;
    font-weight: 600;
}


.dive-deeper-section {
    position: relative;
    z-index: 0;
    min-height: 750px !important;
    margin-top: 0;
    padding: 60px 0 4rem;
    background: linear-gradient(180deg, #0e0b1a 0%, #13102a 40%, #0e0b1a 100%);
    opacity: 0;
    transition: opacity 0.5s ease;
}

.dive-deeper-section.loaded {
    opacity: 1;
}

.dive-deeper-section::before {
    content: "";
    position: absolute;
    top: -100px;
    left: 0;
    right: 0;
    height: 100px;
    background: linear-gradient(to bottom, transparent, #0e0b1a);
    z-index: -1000;
    pointer-events: none;
}

.dive-deeper-container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

.dive-deeper-header {
    margin-bottom: 1.5rem;
    text-align: left;
}

.dive-deeper-title {
    margin: 0 0 0.5rem 0;
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.1;
    color: white;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.5);
    opacity: 0;
    animation: fadeInUp 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
    animation-delay: 0.1s;
}

.dive-deeper-subtitle {
    margin: 0;
    font-size: 1rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.6);
    opacity: 0;
    animation: fadeInUp 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
    animation-delay: 0.2s;
}


.lifestyle-section {
    position: relative;
    z-index: 5;
    width: 100%;
    min-height: 520px;
    padding: 4rem 0 5rem;
   background: linear-gradient(
        135deg,
        #14111F 0%,
        #1a1730 50%,
        #14111F 100%
    );
    border-top: 3px solid rgba(255, 255, 255, 0.08);
    border-bottom: 3px solid rgba(255, 255, 255, 0.06);
}


.lifestyle-container {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

.lifestyle-title {
    margin: 0 0 2rem 0;
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.1;
    color: white;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.5);
    opacity: 0;
}

.lifestyle-section.is-loaded .lifestyle-title {
    animation: fadeInUp 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
    animation-delay: 0.1s;
}

.lifestyle-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.life-card {
    height: 260px;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(140, 100, 220, 0.18);
    border-radius: 24px;
    transition: all 0.2s ease;
    opacity: 0;
    transform: translateY(40px);
}

.lifestyle-section.is-loaded .life-card {
    animation: fadeInUp 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

@media (min-width: 769px) and (pointer: fine) {
    .life-card {
        backdrop-filter: blur(20px) saturate(150%);
        -webkit-backdrop-filter: blur(20px) saturate(150%);
    }
}

.lifestyle-section.is-loaded .life-card:nth-child(1) { animation-delay: 0.2s; }
.lifestyle-section.is-loaded .life-card:nth-child(2) { animation-delay: 0.3s; }
.lifestyle-section.is-loaded .life-card:nth-child(3) { animation-delay: 0.4s; }
.lifestyle-section.is-loaded .life-card:nth-child(4) { animation-delay: 0.5s; }


.life-header {
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0;
    opacity: 0.8;
}

.aqi-value,
.uv-value {
    margin-bottom: 4px;
    font-size: 2.2rem;
    font-weight: 800;
    font-family: 'Druk Wide', sans-serif;
    line-height: 1;
}

.life-main .aqi-value,
.life-main .uv-value {
    font-size: 3rem;
}

.aqi-label,
.uv-label {
    font-size: 0.9rem;
    font-weight: 600;
    opacity: 0.9;
}

.life-bar-container {
    width: 100%;
    height: 6px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    overflow: hidden;
}

.life-bar-fill {
    height: 100%;
    border-radius: 10px;
    transition: width 1s ease-out;
}

.pollen-grid {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    margin-bottom: 0.8rem;
}

.pollen-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9rem;
}

.p-label {
    opacity: 0.7;
}

.p-val {
    font-weight: 700;
}

.pollen-summary {
    margin-top: auto;
    font-size: 0.75rem;
    opacity: 0.5;
}



.site-footer {
    position: relative;
    z-index: 10;
    padding: 3rem 2rem 2.5rem;
    background: #14111F;
    border-top: 1px solid rgba(255, 255, 255, 0);
    overflow: hidden;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 3rem;
    flex-wrap: wrap;
}

.footer-brand-section {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    max-width: 350px;
}

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

.footer-logo {
    width: 68px;
    height: 68px;
    border-radius: 16px;
}

.footer-brand-text {
    display: flex;
    flex-direction: column;
}

.footer-brand-name {
    font-size: 1.4rem;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.02em;
    color: white;
}

.footer-tagline {
    margin-top: 4px;
    font-size: 0.9rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.85);
}

.footer-description {
    font-size: 0.9rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.80);
}

.footer-nav-section {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 1.5rem;
}

.footer-socials {
    display: flex;
    gap: 0.8rem;
}

.social-btn {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-btn i {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.7);
    transition: color 0.3s ease, transform 0.3s ease;
}

.social-btn:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-3px);
}

.social-btn:hover i {
    color: white;
}

.social-btn:hover .fa-discord {
    color: #5865F2;
}

.social-btn.social-pill {
    width: calc(92px + 0.8rem);
    padding: 0;
    border-radius: 999px;
    gap: 9px;
}

.social-btn.social-pill i {
    font-size: 1.05rem;
}

.social-btn.social-pill span {
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.7);
    transition: color 0.3s ease;
}

.social-btn.social-pill:hover span {
    color: white;
}

.social-btn:hover .fa-x-twitter {
    color: white;
}

.footer-links {
    display: flex;
    gap: 2rem;
    padding: 0.8rem 2rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 50px;
}

.footer-link {
    font-size: 0.9rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-link:hover {
    color: white;
}

.footer-copyright {
    width: 100%;
    max-width: 1200px;
    margin: 3rem auto 0;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.75);
    text-align: center;
}

.info-section {
    position: relative;
    z-index: 3;
    padding: 4rem 2rem;
    background: linear-gradient(to bottom, #0a0a0a 0%, #12121f 50%, #16213e 100%);
}

.info-container {
    max-width: 1400px;
    margin: 0 auto;
}

.info-title {
    margin-bottom: 1rem;
    font-size: 1.8rem;
    font-weight: 700;
}

.info-text {
    max-width: 800px;
    font-size: 1rem;
    line-height: 1.8;
    opacity: 0.8;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 2.5rem;
}

.info-grid .info-card {
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
}

.info-grid .info-card-title {
    margin-bottom: 0.8rem;
    font-size: 1.1rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.7rem;
}

.info-grid .info-card-title i {
    opacity: 0.7;
}

.info-grid .info-card-text {
    font-size: 0.9rem;
    line-height: 1.7;
    opacity: 0.7;
}


@keyframes pulse {
    0% { opacity: 0.3; }
    50% { opacity: 0.6; }
    100% { opacity: 0.3; }
}

@keyframes shimmer {
    100% { transform: translateX(100%); }
}

@keyframes fadeInUpResults {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(40px) scale(0.96);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}


@media (max-width: 1024px) {
    .nav-center {
        display: none;
    }

    .units-toggle {
        display: none;
    }
}

@media (max-width: 1024px) {

    .hamburger {
        position: relative;
    }

    .hamburger i {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        transition: opacity 0.3s ease, transform 0.3s ease;
    }

    .hamburger .fa-bars {
        opacity: 1;
        transform: translate(-50%, -50%) rotate(0deg) scale(1);
    }

    .hamburger .fa-times {
        opacity: 0;
        transform: translate(-50%, -50%) rotate(90deg) scale(0.8);
    }

    .hamburger.active .fa-bars {
        opacity: 0;
        transform: translate(-50%, -50%) rotate(-90deg) scale(0.8);
    }

    .hamburger.active .fa-times {
        opacity: 1;
        transform: translate(-50%, -50%) rotate(0deg) scale(1);
    }

    .mega-menu {
        display: none !important;
    }

    .weather-info-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .side-cards {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 1.5rem;
    }

    .lifestyle-grid {
        grid-template-columns: 1fr 1fr;
    }

    .lifestyle-section {
        min-height: 800px;
    }

    .dive-deeper-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (min-width: 1025px) {
    .mobile-menu-overlay {
        opacity: 0 !important;
        visibility: hidden !important;
        pointer-events: none !important;
        transition: opacity 0.4s ease, visibility 0.4s !important;
        transform: translateY(0) !important;
    }
}

@media (min-width: 769px) {
    .alert-modal-content::before,
    .camera-modal-content::before,
    .share-modal-content::before {
        filter: blur(20px) saturate(120%) brightness(0.7);
        transform: none;
        -webkit-clip-path: inset(0 round 24px);
        clip-path: inset(0 round 24px);
        opacity: 0.5;
    }
}


.mobile-bottom-nav {
    display: none !important;
}


@media (max-width: 768px) {
    
    
    * {
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
    }
    
    .nav-container {
        gap: 1rem;
    }


    .units-toggle {
        background: rgba(255, 255, 255, 0.15) !important;
        border: 1px solid rgba(255, 255, 255, 0.25);
    }
    
    
    .alert-banner {
        background: linear-gradient(
            180deg,
            rgba(15, 15, 20, 1) 0%,
            rgba(10, 10, 15, 1) 100%
        ) !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    }
    
    .alert-banner.warning {
        background: linear-gradient(
            180deg,
            rgba(50, 15, 15,1) 0%,
            rgba(30, 10, 10, 1) 100%
        ) !important;
        border-bottom: 1px solid rgba(239, 68, 68, 0.4);
    }
    
    .alert-banner.watch {
        background: linear-gradient(
            180deg,
            rgba(50, 30, 15, 1) 0%,
            rgba(30, 20, 10, 1) 100%
        ) !important;
        border-bottom: 1px solid rgba(249, 115, 22, 0.4);
    }
    
    .alert-banner.advisory {
        background: linear-gradient(
            180deg,
            rgba(50, 45, 15, 1) 0%,
            rgba(30, 25, 10, 1) 100%
        ) !important;
        border-bottom: 1px solid rgba(234, 179, 8, 0.4);
    }
    
    .alert-view-btn {
        background: rgba(255, 255, 255, 0.15);
    }
    
    
    .mobile-menu-overlay {
        background: linear-gradient(
            180deg,
            rgba(5, 5, 10, 0.99) 0%,
            rgba(10, 10, 18, 0.99) 30%,
            rgba(15, 12, 25, 0.99) 60%,
            rgba(20, 17, 31, 1) 100%
        ) !important;
    }
    
    .mobile-big-link,
    .clean-link {
        text-shadow: 0 2px 8px rgba(0, 0, 0, 0.8);
    }
    
    .mobile-units-pill {
        background: rgba(255, 255, 255, 0.12) !important;
        border: 1px solid rgba(255, 255, 255, 0.2);
    }
    
    .back-btn-circle {
        background: rgba(255, 255, 255, 0.12) !important;
        border: 1px solid rgba(255, 255, 255, 0.2);
    }
    
    .clean-link .icon-box {
        background: rgba(255, 255, 255, 0.1);
    }
    
    
.search-overlay {
    background: linear-gradient(
        180deg,
        rgb(8, 10, 15) 0%,
        rgb(10, 12, 18) 40%,
        rgb(12, 14, 20) 70%,
        rgb(14, 16, 25) 100%
    ) !important;
}
    .search-input-large {
        background: rgba(255, 255, 255, 0.1) !important;
        border: 1px solid rgba(255, 255, 255, 0.2);
    }
    
    .search-input-large:focus {
        background: rgba(255, 255, 255, 0.15) !important;
        border-color: rgba(255, 255, 255, 0.35);
        transform: translateY(-2px);
    }
    
    .current-location-btn {
        background: rgba(255, 255, 255, 0.1) !important;
        border: 1px solid rgba(255, 255, 255, 0.2);
    }
    
    .fav-item {
        background: rgba(255, 255, 255, 0.12) !important;
        border: 1px solid rgba(255, 255, 255, 0.18);
    }
    
    .resultitem {
        background: rgba(255, 255, 255, 0.1) !important;
        border: 1px solid rgba(255, 255, 255, 0.15);
    }
    
    
    .current-card {
        padding: 1.5rem;
        background: rgba(255, 255, 255, 0.12) !important;
        border: 1px solid rgba(255, 255, 255, 0.15);
    }
    
    .info-card {
        background: rgba(255, 255, 255, 0.12) !important;
        border: 1px solid rgba(255, 255, 255, 0.15);
    }
    
    .hourly-forecast-card {
        background: rgba(255, 255, 255, 0.12) !important;
        border: 1px solid rgba(255, 255, 255, 0.15);
    }
    
    .side-cards {
        grid-template-columns: 1fr;
    }
    
    .stats-grid {
        gap: 0.8rem;
    }

    .stat-item {
        flex: 1 1 calc(50% - 0.8rem);
    }
    
    
    .life-card {
        background: rgba(255, 255, 255, 0.12) !important;
        height: auto;
        min-height: 220px;
        padding: 1.5rem;
    }
    
    .lifestyle-section {
        min-height: 1200px;
        padding: 3rem 0 4rem;
    }
    
    .lifestyle-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    
    .location {
        background: rgba(255, 255, 255, 0.12) !important;
        border: 1px solid rgba(255, 255, 255, 0.18);
    }
    
    .location-controls {
        gap: 0.8rem;
    }
    
    
    .greeting {
        font-size: 2rem;
    }

    .temp-main {
        font-size: 4.5rem;
    }

    .condition-main {
        font-size: 1.2rem;
    }

    .condition-icon {
        width: 30px;
        height: 30px;
    }

    .dive-deeper-title,
    .lifestyle-title {
        font-size: 2rem !important;
    }
    
    .sun-times-header {
        font-size: 0.85rem;
        padding: 0.6rem 0.8rem;
    }
    
    
    .hourly-cards-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 1rem;
        max-width: 500px;
        margin: 0 auto 1.5rem auto;
    }

    .hourly-card {
        min-height: 160px;
        padding: 1.4rem 1rem;
        border-radius: 20px;
        background: rgba(255, 255, 255, 0.08);
    }

    .hourly-card-icon svg {
        width: 48px !important;
        height: 48px !important;
    }

    .hourly-card-time {
        font-size: 1rem;
    }

    .hourly-card-temp {
        font-size: 1.8rem;
    }

    .hourly-card-condition {
        font-size: 0.85rem;
        line-height: 1.35;
        -webkit-line-clamp: 2;
        max-height: 2.4em;
    }

    .hourly-forecast-card {
        min-height: 400px;
        padding: 1.5rem;
    }
    
    
    .dive-deeper-section {
        min-height: 750px;
        padding: 3rem 0 4rem;
        padding-top: 60px;
        background: linear-gradient(180deg, #0e0b1a 0%, #13102a 40%, #0e0b1a 100%);
    }

    .dive-deeper-header {
        margin-bottom: 2rem;
    }

    .dive-deeper-subtitle {
        font-size: 0.9rem;
    }

    .dive-deeper-section .hourly-forecast-card {
        padding: 1.5rem;
        border-radius: 20px;
    }

    .dive-deeper-section .hourly-forecast-header h3 {
        font-size: 1.1rem;
    }

    .dive-deeper-grid {
        grid-template-columns: 1fr;
    }
    
    .info-grid {
        grid-template-columns: 1fr;
    }
    
    
    .alert-modal,
    .camera-modal {
        padding: 1rem;
        background: rgba(0, 0, 0, 0.65) !important;
        border-radius: 0;
    }

    .alert-modal.active,
    .camera-modal.active,
    .share-modal.active,
    .coverage-modal.active {
        backdrop-filter: blur(10px) saturate(125%) !important;
        -webkit-backdrop-filter: blur(10px) saturate(125%) !important;
    }

    .alert-modal-content,
    .camera-modal-content {
        width: 100% !important;
        max-height: 85vh !important;
        border-radius: 24px !important;
        max-width: none;
        margin: 0 auto;
        background: rgba(15, 15, 20, 0.98) !important;
        border: 1px solid rgba(255, 255, 255, 0.12);
    }
    
    .alert-list {
        padding: 1rem;
        -webkit-overflow-scrolling: touch;
    }
    
    .camera-modal-video {
        aspect-ratio: 4/3;
        transition: none !important;
    }
    
    .share-platforms {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .share-modal {
        padding: 1rem;
        background: rgba(0, 0, 0, 0.65) !important;
        border-radius: 0;
    }

    .share-modal-content {
        background: rgba(15, 15, 20, 0.98) !important;
    }
    
    
    .site-footer {
        padding: 3rem 1.5rem 2rem;
        padding-bottom: calc(2rem + env(safe-area-inset-bottom, 0px));
        text-align: center;
    }

    .footer-container {
        flex-direction: column;
        align-items: center;
        gap: 2.5rem;
    }

    .footer-brand-section {
        align-items: center;
        max-width: 100%;
    }

    .footer-brand-identity {
        flex-direction: column;
        gap: 0.8rem;
    }

    .footer-brand-text {
        align-items: center;
    }

    .footer-nav-section {
        align-items: center;
        width: 100%;
    }

    .footer-links {
        flex-wrap: wrap;
        justify-content: center;
        width: auto;
        gap: 1.2rem;
        padding: 1rem 1.5rem;
        border-radius: 50px;
        background: rgba(255, 255, 255, 0.05);
    }

    .footer-brand {
        flex-direction: column;
        text-align: center;
    }

    .footer-links a {
        font-size: 0.85rem;
    }
    
    
    .mobile-bottom-nav {
        display: flex !important;
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        height: 60px;
        padding-bottom: env(safe-area-inset-bottom);
        background: linear-gradient(
            180deg,
            rgba(8, 8, 12, 0.98) 0%,
            rgba(5, 5, 8, 0.99) 100%
        ) !important;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        z-index: 9998 !important;
        justify-content: space-around;
        align-items: center;
        overflow: hidden;
    }

    .footer {
        padding-bottom: 85px;
    }

    .bottom-nav-item {
        position: relative;
        flex: 1;
        height: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 4px;
        color: rgba(255, 255, 255, 0.5);
        text-decoration: none;
        cursor: pointer;
        -webkit-tap-highlight-color: transparent;
        transition: color 0.3s ease;
    }

    .bottom-nav-item i,
    .bottom-nav-item span {
        position: relative;
        z-index: 2;
    }

    .bottom-nav-item i {
        margin-bottom: 0;
        font-size: 1.2rem;
        transition: color 0.3s ease, transform 0.3s ease;
    }

    .bottom-nav-item span {
        font-family: 'Mustica Pro', sans-serif;
        font-size: 0.65rem;
        font-weight: 600;
        letter-spacing: 0.02em;
        transition: all 0.3s ease;
    }

    .bottom-nav-item.active i {
        color: white;
        transform: scale(1.1);
    }

    .bottom-nav-item.active span {
        color: white;
    }

    .bottom-nav-item.active::before {
        content: '';
        position: absolute;
        top: 58%;
        left: 50%;
        width: 70px;
        height: 70px;
        border-radius: 50%;
        background: radial-gradient(
            ellipse at center,
            rgba(139, 92, 246, 0.7) 0%,
            rgba(124, 58, 237, 0.5) 30%,
            rgba(99, 102, 241, 0.3) 60%,
            rgba(79, 70, 229, 0.1) 80%,
            transparent 100%
        );
        filter: blur(8px);
        opacity: 1;
        z-index: 0;
        pointer-events: none;
        transform: translate(-50%, -50%);
        -webkit-transform: translate(-50%, -50%);
        -webkit-backface-visibility: hidden;
        backface-visibility: hidden;
        will-change: transform, opacity;
        transition: opacity 0.4s ease;
        animation: pulseGlow 3s ease-in-out infinite;
    }

    @keyframes pulseGlow {
        0%, 100% {
            opacity: 0.9;
            transform: translate(-50%, -50%) translateZ(0) scale(1);
        }
        50% {
            opacity: 1;
            transform: translate(-50%, -50%) translateZ(0) scale(1.05);
        }
    }

    .mobile-bottom-nav.nav-updating .bottom-nav-item.active::before {
        opacity: 0 !important;
        transition: opacity 0.2s ease-out;
    }

    .alert-modal.active:not(.modal-closing) ~ .mobile-bottom-nav .bottom-nav-item.active::before,
    .camera-modal.active:not(.modal-closing) ~ .mobile-bottom-nav .bottom-nav-item.active::before,
    .share-modal.active:not(.modal-closing) ~ .mobile-bottom-nav .bottom-nav-item.active::before,
    .coverage-modal.active:not(.modal-closing) ~ .mobile-bottom-nav .bottom-nav-item.active::before {
        opacity: 0.72 !important;
        animation: none !important;
        transform: translate(-50%, -50%) translateZ(0) scale(1) !important;
        -webkit-transform: translate(-50%, -50%) translateZ(0) scale(1) !important;
        filter: none !important;
    }
    
    
    .condition-icon svg *,
    .hourly-card-icon svg * {
        animation-play-state: paused !important;
    }

    .skeleton-cam::after {
        animation: none !important;
    }
    
    .camera-thumb .camera-thumb-overlay {
        opacity: 1 !important;
    }
    

    .mega-item,
    .mega-item i,
    .mobile-big-link,
    .clean-link,
    .alert-item,
    .hourly-card,
    .life-card,
    .stat-item,
    .resultitem,
    .fav-item,
    .fav-delete,
    .no-cams-box,
    .vjs-big-play-button,
    .location,
    .bottom-nav-item,
    .camera-thumb-overlay,
    .search-input-large {
        transition: none !important;
    }

    .mega-item:hover {
        background: transparent;
        border-color: transparent;
        transform: none;
    }

    .mega-item:hover i {
        transform: none;
        color: inherit;
    }

    .mobile-big-link:hover,
    .clean-link:hover {
        opacity: 1;
    }

    .alert-item:hover {
        background: rgba(255, 255, 255, 0.07);
        border-right-color: rgba(255, 255, 255, 0.08);
        border-top-color: rgba(255, 255, 255, 0.08);
        border-bottom-color: rgba(255, 255, 255, 0.08);
        transform: none;
        box-shadow: none;
    }

    .hourly-card:hover {
        background: rgba(255, 255, 255, 0.05);
        transform: none;
    }

    .life-card:hover {
        background: rgba(255, 255, 255, 0.05);
        transform: none;
        box-shadow: none;
    }

    .stat-item:hover {
        background: rgba(255, 255, 255, 0.05);
        transform: none;
    }

    .resultitem:hover {
        background: transparent;
        border-color: transparent;
        color: inherit;
        transform: none;
    }

    .fav-item:hover {
        background: rgba(255, 255, 255, 0.05);
        transform: none;
        box-shadow: none;
    }

    .fav-item:hover .fav-delete {
        opacity: 0;
    }

    .search-input-large:hover {
        background: rgba(255, 255, 255, 0.05);
        border-color: rgba(255, 255, 255, 0.1);
        transform: none;
        box-shadow: none;
    }

    .no-cams-box:hover {
        background: transparent;
        border-color: rgba(255, 255, 255, 0.05);
    }

    .video-js:hover .vjs-big-play-button {
        background: inherit;
        transform: none;
    }

    .location:hover {
        background: transparent;
    }

    .bottom-nav-item:hover {
        color: inherit;
    }

    .camera-thumb:hover .camera-thumb-overlay {
        transform: none;
    }
    
    
    .nav-btn-circle:active,
    .back-btn-circle:active,
    .search-trigger-btn:active {
        transform: scale(0.90);
        opacity: 0.7;
    }
    
    .mobile-big-link:active,
    .clean-link:active {
        opacity: 0.5;
    }
    
    .resultitem:active,
    .fav-item:active {
        transform: scale(0.96);
        opacity: 0.6;
    }
    
    button:active,
    .view-map-btn:active,
    .hourly-cta:active,
    .current-location-btn:active {
        transform: scale(0.96);
        opacity: 0.8;
    }
    
    .alert-banner:active {
        background: linear-gradient(
            180deg,
            rgba(20, 20, 25, 0.98) 0%,
            rgba(15, 15, 20, 0.99) 100%
        ) !important;
    }
    
    .fav-delete {
        display: none !important;
    }
    
    .camera-thumb-overlay {
        pointer-events: none !important;
    }

}


@media (pointer: coarse) {
    * {
        -webkit-tap-highlight-color: transparent !important;
        -webkit-touch-callout: none;
    }
}


.lifestyle-section,
.dive-deeper-section,
.hourly-forecast-section {
    contain: layout style;
}

.site-footer {
    content-visibility: auto;
    contain-intrinsic-size: 0 750px;
}

.dive-deeper-section {
    isolation: isolate;
    transform: translateZ(0);
    -webkit-transform: translateZ(0);
}

.sun-orb,
.condition-icon,
.hamburger i {
    will-change: transform;
}

.current-card.is-loaded .condition-icon,
.hamburger:not(.active) i {
    will-change: auto;
}

body {
    margin: 0;
    padding: 0;
    min-height: 100vh;
    min-height: 100dvh;
}

.alert-modal,
.camera-modal,
.share-modal,
.coverage-modal {
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    will-change: opacity;
}

.alert-modal.modal-closing,
.camera-modal.modal-closing,
.share-modal.modal-closing,
.coverage-modal.modal-closing {
    opacity: 0 !important;
    transition: opacity 0.15s ease-out !important;
    pointer-events: none !important;
}

@supports (-webkit-touch-callout: none) {
    @media (max-width: 768px) {
        .alert-modal,
        .camera-modal,
        .share-modal,
        .coverage-modal {
            -webkit-transform: none !important;
            transform: none !important;
        }
    }
}

body.scroll-locked {
    overflow: hidden !important;
    touch-action: none;
    -webkit-overflow-scrolling: none;
}

@media (min-width: 769px) {
    
    
    ::-webkit-scrollbar {
        width: 10px;
    }
    ::-webkit-scrollbar-track {
        background: #111;
    }
    ::-webkit-scrollbar-thumb {
        background: #444;
        border-radius: 6px;
    }
    ::-webkit-scrollbar-thumb:hover {
        background: #666;
    }
}

@media (max-width: 768px) {
    html {
        scrollbar-gutter: auto;
        background-color: #0d0d18;
    }
    ::-webkit-scrollbar {
        display: none;
    }
    html, body {
        -ms-overflow-style: none;
        scrollbar-width: none;
        background-color: #0d0d18;
    }

    .site-footer {
        content-visibility: visible !important;
        contain-intrinsic-size: auto !important;
        contain: none !important;
    }
}



.hero-bg { z-index: 1; }
.content { z-index: 6; }
.dive-deeper-section { z-index: 5; }
.lifestyle-section { z-index: 5; }
.site-footer { z-index: 10; }

.search-overlay { z-index: 9000 !important; }
.mobile-menu-overlay { z-index: 9000 !important; }

.navbar { z-index: 10000 !important; }
.mega-menu { z-index: 9999 !important; }
.alert-banner { z-index: 8000 !important; }
.mobile-bottom-nav { z-index: 9500 !important; }
.coverage-banner { z-index: 900 !important; }

.alert-modal { z-index: 11000 !important; }
.camera-modal { z-index: 11000 !important; }
.share-modal { z-index: 11000 !important; }
.coverage-modal { z-index: 11000 !important; }


.cmd-filters {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin: 28px 0 32px;
}

.cmd-filter-pill {
    display: inline-flex;
    align-items: center;
    padding: 9px 18px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.75);
    font-family: inherit;
    font-size: 0.88rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.18s ease, border-color 0.18s ease, color 0.18s ease, transform 0.15s ease;
}

.cmd-filter-pill:active {
    transform: scale(0.96);
}

.cmd-filter-pill.active {
    background: white;
    border-color: white;
    color: #0b0b0f;
}

.commands-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 12px;
}

.cmd-chip {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    min-width: 0;
    opacity: 0;
    animation: cmd-chip-in 320ms cubic-bezier(0.22, 1, 0.36, 1) both;
    transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.cmd-chip:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.18);
    transform: translateY(-2px);
}

.cmd-chip img {
    width: 28px;
    height: 28px;
    object-fit: contain;
    flex-shrink: 0;
}

.cmd-chip-inner {
    display: flex;
    flex-direction: column;
    min-width: 0;
    gap: 2px;
}

.cmd-chip-name {
    font-size: 0.9rem;
    font-weight: 700;
    color: white;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.cmd-chip-desc {
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.6);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

@keyframes cmd-chip-in {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 768px) {
    .cmd-filters {
        gap: 8px;
        margin: 22px 0 24px;
    }

    .cmd-filter-pill {
        padding: 8px 14px;
        font-size: 0.82rem;
    }

    .commands-grid {
        grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
        gap: 10px;
    }

    .cmd-chip {
        padding: 11px;
        gap: 10px;
        border-radius: 12px;
        transition: none;
    }

    .cmd-chip:hover {
        background: rgba(255, 255, 255, 0.04);
        border-color: rgba(255, 255, 255, 0.08);
        transform: none;
    }

    .cmd-chip img {
        width: 24px;
        height: 24px;
    }

    .cmd-chip-name {
        font-size: 0.82rem;
    }

    .cmd-chip-desc {
        font-size: 0.72rem;
    }
}


.footer-wrn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 9px;
    margin-top: 6px;
    max-width: 300px;
    text-align: center;
    text-decoration: none;
}
.footer-wrn-logo {
    width: 110px;
    height: auto;
    opacity: 0.9;
    transition: opacity 0.3s ease;
}
.footer-wrn:hover .footer-wrn-logo {
    opacity: 1;
}
.footer-wrn-text {
    font-size: 0.8rem;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.62);
}

@media (max-width: 1024px) {
    .site-footer { text-align: center; }
    .footer-container { flex-direction: column; align-items: center; gap: 2.5rem; }
    .footer-brand-section { align-items: center; max-width: 520px; }
    .footer-nav-section { align-items: center; width: 100%; }
    .footer-links { flex-wrap: wrap; justify-content: center; }
}

.footer-center-row {
    max-width: 1200px;
    margin: 2rem auto 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}
.footer-center-row .footer-wrn {
    max-width: none; margin-top: 0;
    flex-direction: row; gap: 10px; align-items: center;
}
.footer-center-row .footer-wrn-logo { width: 70px; }
.footer-donate-btn {
    display: inline-flex; align-items: center; gap: 7px;
    padding: 8px 22px; border-radius: 999px;
    background: rgba(107,84,245,0.15); border: 1px solid rgba(107,84,245,0.35);
    color: var(--purple-300); font-size: 13px; font-weight: 600;
    text-decoration: none; transition: background 0.2s, border-color 0.2s, color 0.2s;
}
.footer-donate-btn:hover {
    background: rgba(107,84,245,0.28); border-color: rgba(107,84,245,0.6); color: #fff;
}
.footer-donate-btn i { font-size: 12px; }

.footer-link.is-donate {
    color: #b9a8ff;
}
.footer-link.is-donate:hover {
    color: #fff;
}

#community-mega-menu,
#info-mega-menu {
    width: 720px;
}
@media (max-width: 800px) {
    #community-mega-menu,
    #info-mega-menu { width: 100%; left: 0; margin-left: 0; }
}
