/* Main Navigation - HORIZONTAL */
.main-nav {
    background: #1a1a1a;
    border-bottom: 3px solid #E31E24;
    padding: 0;
    margin: 0;
    width: 100%;
}

.main-nav .container {
    display: flex;
    align-items: center;
    gap: 0;
    overflow-x: auto;
    padding: 0;
    white-space: nowrap;
    width: 100%;
}

.nav-link {
    color: white;
    text-decoration: none;
    padding: 15px 20px;
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
    transition: all 0.3s;
    border-bottom: 3px solid transparent;
    font-weight: 500;
    flex-shrink: 0;
}

.nav-link:hover, .nav-link.active {
    background: #E31E24;
    border-bottom-color: #fff;
}

.nav-link i {
    font-size: 14px;
    margin-right: 5px;
}

/* Remove any old class styles */
.nav-main, .nav-container, .nav-desktop, .nav-mobile {
    display: none !important;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    .main-nav .container {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        padding: 5px 0;
    }
    
    .nav-link {
        padding: 12px 15px;
        font-size: 14px;
        flex-shrink: 0;
    }
    
    .nav-link i {
        font-size: 12px;
    }
}

/* Remove vertical styles if any */
.nav-vertical, .nav-stack, .nav-column {
    display: none !important;
}

/* Breaking News Ticker Animation */
.breaking-ticker {
    background: #E31E24;
    overflow: hidden;
    height: 45px;
    border-bottom: 2px solid #B71C1C;
}

.breaking-ticker .container {
    display: flex;
    align-items: center;
    height: 100%;
    padding: 0;
}

.breaking-badge {
    background: #B71C1C;
    color: white;
    padding: 10px 20px;
    font-weight: 700;
    font-size: 13px;
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 8px;
}

.breaking-badge i {
    animation: blink 1.5s infinite;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.ticker-content {
    flex: 1;
    overflow: hidden;
}

.ticker-scroll {
    display: flex;
    animation: scroll-left 30s linear infinite;
}

.ticker-scroll span {
    color: white;
    font-size: 14px;
    padding: 0 60px;
    white-space: nowrap;
}

@keyframes scroll-left {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* Breaking News Ticker Animation */
.breaking-ticker {
    background: #E31E24;
    overflow: hidden;
    height: 45px;
    border-bottom: 2px solid #B71C1C;
}

.breaking-ticker .container {
    display: flex;
    align-items: center;
    height: 100%;
    padding: 0;
    max-width: 100%;
}

.breaking-badge {
    background: #B71C1C;
    color: white;
    padding: 10px 20px;
    font-weight: 700;
    font-size: 13px;
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 8px;
    z-index: 1;
}

.breaking-badge i {
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.7; transform: scale(1.2); }
}

.ticker-content {
    flex: 1;
    overflow: hidden;
    position: relative;
}

.ticker-scroll {
    display: flex;
    animation: ticker 30s linear infinite;
    will-change: transform;
}

.ticker-scroll span {
    color: white;
    font-size: 14px;
    padding: 0 60px;
    white-space: nowrap;
}

@keyframes ticker {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.ticker-scroll:hover {
    animation-play-state: paused;
}


/* ===== STICKY HEADER FIX ===== */
.main-header {
    position: sticky !important;
    top: 0 !important;
    z-index: 9999 !important;
    box-shadow: 0 2px 10px rgba(0,0,0,0.3) !important;
}
.main-nav {
    position: sticky;
    top: 62px;
    z-index: 9998;
}
/* ===== HAMBURGER ===== */
.hamburger-btn {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    background: rgba(255,255,255,0.15);
    border: 1px solid rgba(255,255,255,0.3);
    border-radius: 6px;
    cursor: pointer;
    padding: 8px 10px;
    min-width: 44px;
    min-height: 44px;
}
.hamburger-btn span {
    display: block;
    width: 22px;
    height: 2px;
    background: white;
    border-radius: 2px;
    transition: all 0.3s;
}
.hamburger-btn.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger-btn.active span:nth-child(2) { opacity: 0; }
.hamburger-btn.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
@media (max-width: 480px) {
    .hamburger-btn { display: flex !important; }
    .main-nav {
        position: fixed;
        top: 62px;
        left: -100%;
        width: 75%;
        height: 100vh;
        background: #1a1a1a;
        box-shadow: 4px 0 15px rgba(0,0,0,0.3);
        transition: left 0.3s ease;
        z-index: 9997;
        overflow-y: auto;
    }
    .main-nav.open {
        left: 0;
    }
    .main-nav .container {
        flex-direction: column;
        overflow-x: hidden;
        padding: 10px 0;
        white-space: normal;
    }
    .nav-link {
        width: 100%;
        padding: 16px 24px;
        border-bottom: 1px solid #2a2a2a;
        font-size: 15px;
    }
    .nav-overlay {
        display: none;
        position: fixed;
        top: 0; left: 0;
        width: 100%; height: 100%;
        background: rgba(0,0,0,0.5);
        z-index: 9996;
    }
    .nav-overlay.open { display: block; }
}