/* --- OFFLINE BANNER STYLES --- */
.offline-banner {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 60px;
    z-index: 10000;
    background: rgba(10, 10, 12, 0.9);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 69, 58, 0.3);
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 40px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.6);
    font-family: 'Outfit', sans-serif;
    color: #fff;
}

.banner-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: 1400px;
    gap: 20px;
}

.banner-left {
    display: flex;
    align-items: center;
    gap: 15px;
}

.banner-status-tag {
    background: #ff453a;
    color: #fff;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 0.7rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    animation: pulseRedBanner 2s infinite;
    white-space: nowrap;
}

@keyframes pulseRedBanner {
    0% { box-shadow: 0 0 0 0 rgba(255, 69, 58, 0.4); }
    70% { box-shadow: 0 0 0 8px rgba(255, 69, 58, 0); }
    100% { box-shadow: 0 0 0 0 rgba(255, 69, 58, 0); }
}

.banner-message {
    font-size: 0.9rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.2;
}

.banner-message strong {
    color: #fff;
    font-weight: 800;
}

.banner-timer {
    display: flex;
    gap: 12px;
    background: rgba(255, 255, 255, 0.05);
    padding: 6px 12px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    flex-shrink: 0;
}

.timer-unit {
    display: flex;
    align-items: baseline;
    gap: 2px;
}

.timer-unit span {
    font-size: 1.1rem;
    font-weight: 800;
    font-family: monospace;
    color: #fff;
}

.timer-unit small {
    font-size: 0.6rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
}

/* Page specific adjustments */
.top-nav, .navbar {
    top: 60px !important;
}

#main-layout, body > main, .hero {
    padding-top: 80px !important;
}

@media (max-width: 1000px) {
    .banner-message span { display: none; }
    .banner-message::after { content: " Transitioning to TONKA NETWORKS"; }
}

@media (max-width: 768px) {
    .offline-banner { height: auto; padding: 10px 20px; }
    .banner-content { flex-direction: column; gap: 10px; text-align: center; }
    .banner-left { flex-direction: column; gap: 5px; }
    .top-nav, .navbar { top: 110px !important; }
    #main-layout, .hero { padding-top: 140px !important; }
}
