/* ========================================
   CLEAN SIMPLE NAVBAR - NO WRAPPING
======================================== */

/* Gaming gradient variable */
:root {
    --gradient-gaming: linear-gradient(135deg, #6366f1 0%, #3b82f6 50%, #1d4ed8 100%);
}

.clean-navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(17, 24, 39, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 0;
    margin: 0;
    transition: all 0.3s ease;
}

.clean-navbar.scrolled {
    background: rgba(17, 24, 39, 0.95);
    backdrop-filter: blur(20px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.navbar-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 10px;
    height: 90px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    flex-wrap: nowrap;
    position: relative;
}

/* Logo - Styled like navbar button */
.navbar-logo {
    flex: 0 0 auto;
    margin-right: 0px;
    margin-left: 0px;
}

.navbar-logo a {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px 20px;
    border-radius: 8px;
    background: transparent;
    border: none;
    text-decoration: none;
    min-height: 48px;
    line-height: 1;
    color: white;
    font-weight: 500;
    white-space: nowrap;
}

.navbar-logo a:hover {
    background: transparent;
    transform: none;
    text-decoration: none;
    color: white;
}

.navbar-logo img {
    height: 80px;
    width: auto;
}

/* Desktop Navigation - CENTERED */
.navbar-nav {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 4px;
    flex-direction: row;
    flex-wrap: nowrap;
    flex: 1;
    order: 2;
    margin-left: 0px;
}

.nav-btn {
    color: white;
    text-decoration: none;
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    white-space: nowrap;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: 48px;
    line-height: 1;
    flex-shrink: 0;
}

.nav-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
    color: white;
    text-decoration: none;
}

.nav-btn.active {
    background: rgba(255, 255, 255, 0.15);
    color: white;
    border-color: rgba(255, 255, 255, 0.3);
    position: relative;
}

.nav-btn.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-gaming);
    border-radius: 2px 2px 0 0;
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    flex: 0 0 auto;
    order: 3;
}

.mobile-menu-btn span {
    width: 20px;
    height: 2px;
    background: white;
    margin: 2px 0;
    transition: all 0.3s ease;
    border-radius: 1px;
}

.mobile-menu-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.05);
}

/* Mobile Menu Animation */
.mobile-menu-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
    transform: scale(0);
}

.mobile-menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Responsive Design */
@media (max-width: 1200px) {
    .nav-btn {
        padding: 8px 12px;
        font-size: 12px;
    }
    
    .navbar-logo a {
        padding: 10px 16px;
    }
    
    .navbar-logo img {
        height: 65px;
    }

    .navbar-nav {
        gap: 3px;
    }
}

@media (max-width: 1100px) {
    .nav-btn {
        padding: 6px 10px;
        font-size: 11px;
    }
    
    .navbar-logo a {
        padding: 8px 14px;
    }
    
    .navbar-logo img {
        height: 60px;
    }

    .navbar-nav {
        gap: 2px;
    }
}

@media (max-width: 1000px) {
    .nav-btn {
        padding: 6px 8px;
        font-size: 10px;
    }
    
    .navbar-logo a {
        padding: 6px 12px;
    }
    
    .navbar-logo img {
        height: 55px;
    }

    .navbar-nav {
        gap: 1px;
    }
}

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

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

@media (max-width: 768px) {
    .navbar-container {
        height: 80px;
        padding: 0 16px;
    }

    .navbar-logo a {
        padding: 8px 16px;
    }
    
    .navbar-logo img {
        height: 60px;
    }
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Section scroll offset for fixed header */
section[id] {
    scroll-margin-top: 100px;
}

/* Mobile Menu Overlay */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

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

/* Mobile Menu Panel */
.mobile-menu-panel {
    position: fixed;
    top: 0;
    right: -100%;
    width: min(300px, 80vw);
    height: 100vh;
    background: rgba(17, 24, 39, 0.95);
    backdrop-filter: blur(20px);
    border-left: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 1000;
    transition: right 0.3s ease;
    padding: 80px 20px 20px;
    overflow-y: auto;
}

.mobile-menu-panel.active {
    right: 0;
}

.mobile-nav-btn {
    display: block;
    color: white;
    text-decoration: none;
    padding: 15px 20px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 500;
    margin-bottom: 8px;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-nav-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    transform: translateX(8px);
    text-decoration: none;
}

.mobile-nav-btn.active {
    background: rgba(255, 255, 255, 0.15);
    color: white;
    transform: translateX(8px);
    text-decoration: none;
    position: relative;
}

.mobile-nav-btn.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-gaming);
    border-radius: 2px 2px 0 0;
}

/* Prevent body scroll when mobile menu is open */
body.mobile-menu-open {
    overflow: hidden;
}