/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background: #0a0a0a;
    color: #fff;
    font-family: 'Inter', sans-serif;
    padding-top: 80px;
}

/* Essential navigation styles */
.cyber-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(10, 10, 15, 0.95);
    padding: 0.5rem 4rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 999998;
    height: 80px;
    box-sizing: border-box;
    overflow: visible;
}

.nav-brand {
    flex: 0 0 auto;
    margin-right: 2rem;
    min-width: 220px;
    max-width: 220px;
    z-index: 10;
    position: relative;
}

.nav-brand a {
    font-family: 'Orbitron', sans-serif;
    text-decoration: none;
    font-size: 3rem;
    color: #fff;
    display: flex;
    align-items: center;
    white-space: nowrap;
    width: 100%;
}

/* Brand text colors */
.nav-brand .teh {
    color: #ff0000;
}

.nav-brand .kluma {
    color: #00ffff;
}

.nav-links {
    display: flex;
    gap: 1.5rem;
    align-items: center;
    margin-left: auto;
    flex: 0 1 auto;
    justify-content: flex-end;
    flex-wrap: nowrap;
    overflow: visible;
    position: relative;
}

.nav-links > a {
    color: #fff;
    text-decoration: none;
    font-family: 'Orbitron', sans-serif;
    font-size: 1.1rem;
    position: relative;
    transition: all 0.3s ease;
    padding: 0.5rem 1rem;
    border-radius: 4px;
}

/* Dropdown menu styles for army pages */
.nav-dropdown {
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
    overflow: visible;
    z-index: 1000;
}

.nav-dropdown .dropdown-toggle {
    display: flex !important;
    align-items: center;
    gap: 0.3rem;
    cursor: pointer;
    color: #fff !important;
    text-decoration: none !important;
    font-family: 'Orbitron', sans-serif !important;
    font-size: 1.1rem !important;
    position: relative;
    transition: all 0.3s ease;
    padding: 0.5rem 1rem !important;
    border-radius: 4px;
}

.nav-dropdown .dropdown-toggle:hover {
    background: linear-gradient(180deg, 
        rgba(0, 255, 213, 0.1) 0%,
        rgba(0, 255, 213, 0.02) 100%);
    color: #00ffd5 !important;
}

.nav-dropdown .dropdown-toggle.active {
    background: linear-gradient(180deg, 
        rgba(0, 255, 213, 0.15) 0%,
        rgba(0, 255, 213, 0.05) 100%);
    box-shadow: 
        0 0 10px rgba(0, 255, 213, 0.2),
        0 0 20px rgba(0, 255, 213, 0.1);
    color: #fff !important;
}

.nav-dropdown .dropdown-toggle i {
    font-size: 0.7rem;
    transition: transform 0.3s ease;
    margin-left: 0.2rem;
}

.nav-dropdown .dropdown-menu {
    position: absolute !important;
    top: 100% !important;
    left: 0 !important;
    background: rgba(10, 10, 15, 0.98) !important;
    border: 2px solid #00ffd5 !important;
    border-radius: 4px !important;
    min-width: 200px !important;
    padding: 0.5rem 0 !important;
    margin-top: 0.3rem !important;
    opacity: 0 !important;
    visibility: hidden !important;
    transform: translateY(-10px) !important;
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease !important;
    z-index: 999999 !important;
    box-shadow: 0 4px 20px rgba(0, 255, 213, 0.3) !important;
    backdrop-filter: blur(10px) !important;
    display: block !important;
    pointer-events: none !important;
    overflow: visible !important;
    clip: none !important;
    clip-path: none !important;
}

.nav-dropdown .dropdown-menu.show {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateY(0) !important;
    pointer-events: auto !important;
    z-index: 999999 !important;
    display: block !important;
    overflow: visible !important;
}

.nav-dropdown .dropdown-menu a {
    display: block !important;
    padding: 0.7rem 1.2rem !important;
    color: #fff !important;
    text-decoration: none !important;
    font-family: 'Orbitron', sans-serif !important;
    font-size: 0.85rem !important;
    letter-spacing: 1px !important;
    transition: all 0.3s ease !important;
    border-left: 3px solid transparent !important;
    height: auto !important;
    white-space: nowrap !important;
    position: relative !important;
    margin: 0 !important;
    border-radius: 0 !important;
    background: none !important;
    box-shadow: none !important;
}

.nav-dropdown .dropdown-menu a:hover {
    background: rgba(0, 255, 213, 0.1) !important;
    color: #00ffd5 !important;
    text-shadow: 0 0 10px #00ffd5 !important;
    border-left-color: #00ffd5 !important;
    padding-left: 1.5rem !important;
}

.nav-dropdown .dropdown-menu a.active {
    background: rgba(0, 255, 213, 0.15) !important;
    color: #00ffd5 !important;
    text-shadow: 0 0 10px #00ffd5 !important;
    border-left-color: #00ffd5 !important;
}

/* Active page highlight */
.nav-links > a.active {
    background: #00ffd5;
    background: linear-gradient(180deg, 
        rgba(0, 255, 213, 0.15) 0%,
        rgba(0, 255, 213, 0.05) 100%);
    box-shadow: 
        0 0 10px rgba(0, 255, 213, 0.2),
        0 0 20px rgba(0, 255, 213, 0.1);
    color: #fff;
}

/* Hover effect for nav links */
.nav-links > a:hover {
    background: linear-gradient(180deg, 
        rgba(0, 255, 213, 0.1) 0%,
        rgba(0, 255, 213, 0.02) 100%);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: #fff;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
    transition: color 0.3s ease;
}

.mobile-menu-btn:hover {
    color: #00ffd5;
}

/* Mobile styles */
@media screen and (max-width: 768px) {
    .cyber-nav {
        padding: 0.5rem 1rem;
        background: #111;
        border-bottom: 1px solid #00ffd5;
    }

    .nav-brand a {
        font-size: 1.2rem;
    }

    .mobile-menu-btn {
        display: block;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: #111;
        flex-direction: column;
        padding: 0;
        gap: 0;
        border-bottom: 1px solid #00ffd5;
    }

    .nav-links > a {
        padding: 0.8rem 1rem;
        width: 100%;
        text-align: left;
        border-radius: 0;
        font-size: 0.9rem;
        color: #00ffd5;
    }

    .nav-links > a:hover {
        background: rgba(0, 255, 213, 0.1);
    }

    .nav-links > a.active {
        background: rgba(0, 255, 213, 0.15);
        box-shadow: none;
    }

    .nav-links.active {
        display: flex;
    }

    /* Adjust body padding for mobile */
    body {
        padding-top: 50px;
    }

    /* Grid background for content area */
    body::after {
        content: '';
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: 
            linear-gradient(rgba(0, 255, 213, 0.1) 1px, transparent 1px),
            linear-gradient(90deg, rgba(0, 255, 213, 0.1) 1px, transparent 1px);
        background-size: 20px 20px;
        pointer-events: none;
        z-index: -1;
    }
}

/* Live sections styles */
#page-wrapper {
    width: 100vw;
    max-width: 100vw;
    padding: 0;
    margin: 0;
    overflow-x: hidden;
}

article#main {
    width: 100%;
    max-width: 100%;
    padding: 0;
    margin: 0;
}

.wrapper.style5 {
    width: 100%;
    max-width: 100%;
    padding: 2rem 0;
    margin: 0;
}

.wrapper.style5 .inner {
    width: 100%;
    max-width: 100%;
    padding: 0 2rem;
    margin: 0;
}

.wrapper.style5 h3 {
    color: var(--neon-blue);
    font-family: 'Orbitron', sans-serif;
    font-size: 2rem;
    margin: 2rem 0 1rem;
    text-transform: uppercase;
    text-shadow: 0 0 10px rgba(0, 255, 255, 0.5);
    border-bottom: 2px solid var(--neon-blue);
    padding-bottom: 0.5rem;
}

@media screen and (max-width: 768px) {
    .wrapper.style5 {
        padding: 1rem 0;
    }
    
    .wrapper.style5 .inner {
        padding: 0 1rem;
    }
    
    .wrapper.style5 h3 {
        font-size: 1.5rem;
        margin: 1.5rem 0 1rem;
    }
}

#streamers-container,
#klumaarmy-team-container,
#klumaarmy-streamers-container,
#sutv-streamers-container {
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

@media screen and (max-width: 768px) {
    #streamers-container,
    #klumaarmy-team-container,
    #klumaarmy-streamers-container,
    #sutv-streamers-container {
        grid-template-columns: 1fr;
        padding: 0.5rem;
    }
}
#footer .copyright a[href="https://neondestiny.com"] {
    color: #39ff14;
    text-shadow: 0 0 5px #39ff14, 0 0 10px #39ff14, 0 0 15px #39ff14;
    transition: all 0.3s ease;
}

#footer .copyright a[href="https://neondestiny.com"]:hover {
    color: #4fff2a;
    text-shadow: 0 0 8px #4fff2a, 0 0 15px #4fff2a, 0 0 20px #4fff2a;
}
