/* Clean Premium Header - Rebuilt from Scratch */

/* Main Header Container */
.clean-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 10000;
    padding: 0.8rem 0;
    height: 80px;
    transition: all 0.4s ease;
    background: rgba(10, 10, 20, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

/* Navigation Container */
.clean-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    height: 100%;
}

/* Logo */
.clean-logo {
    display: flex;
    align-items: center;
}

.clean-logo-img {
    width: 80px;
    height: 80px;
    object-fit: contain;
    transition: all 0.3s ease;
}

.clean-logo-img:hover {
    transform: scale(1.05);
}

/* Navigation Links */
.clean-nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
    list-style: none;
}

.clean-nav-links a {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    font-family: 'Panchang', 'Inter', sans-serif;
    font-weight: 500;
    font-size: 1rem;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    position: relative;
}

.clean-nav-links a:hover {
    color: #ffffff;
    background: rgba(124, 119, 198, 0.15);
}

.clean-nav-links a.active {
    color: #7c77c6;
    font-weight: 600;
}

.clean-nav-links a.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 2px;
    background: linear-gradient(90deg, #7c77c6, #00b3b3);
    border-radius: 1px;
}

/* Navigation Buttons */
.clean-nav-buttons {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.clean-login-btn {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 0.9rem;
    padding: 0.7rem 1.5rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.clean-login-btn:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
}

.clean-join-btn {
    color: #ffffff;
    text-decoration: none;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 0.9rem;
    padding: 0.7rem 1.5rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    background: linear-gradient(135deg, #7c77c6, #00b3b3);
    box-shadow: 0 4px 15px rgba(124, 119, 198, 0.3);
}

.clean-join-btn:hover {
    transform: translateY(-2px) scale(1.03);
    box-shadow: 0 6px 20px rgba(124, 119, 198, 0.4);
}

/* Mobile Menu Toggle */
.clean-mobile-toggle {
    display: none;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    padding: 0.6rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.clean-mobile-toggle:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.05);
}

.clean-mobile-toggle i {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.2rem;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .clean-nav-links {
        gap: 1.5rem;
    }
    
    .clean-nav-buttons {
        gap: 0.8rem;
    }
    
    .clean-login-btn,
    .clean-join-btn {
        padding: 0.6rem 1.2rem;
        font-size: 0.85rem;
    }
}

@media (max-width: 768px) {
    .clean-header {
        height: 70px;
        padding: 0.6rem 0;
    }
    
    .clean-nav {
        padding: 0 1.5rem;
    }
    
    .clean-logo-img {
        width: 70px;
        height: 70px;
    }
    
    .clean-nav-links {
        display: none;
    }
    
    .clean-mobile-toggle {
        display: block;
    }
    
    .clean-login-btn {
        display: none;
    }
}

@media (max-width: 480px) {
    .clean-header {
        height: 65px;
        padding: 0.5rem 0;
    }
    
    .clean-nav {
        padding: 0 1rem;
    }
    
    .clean-logo-img {
        width: 60px;
        height: 60px;
    }
    
    .clean-nav-buttons {
        gap: 0.5rem;
    }
    
    .clean-join-btn {
        padding: 0.6rem 1rem;
        font-size: 0.8rem;
    }
}

/* Mobile Menu */
.clean-mobile-menu {
    position: fixed;
    top: 65px;
    left: 0;
    right: 0;
    background: rgba(10, 10, 20, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 1.5rem;
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
    z-index: 9999;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.clean-mobile-menu.open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
}

.clean-mobile-links {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    list-style: none;
}

.clean-mobile-links a {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    font-family: 'Panchang', 'Inter', sans-serif;
    font-weight: 500;
    font-size: 1.1rem;
    padding: 1rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    text-align: center;
}

.clean-mobile-links a:hover {
    color: #ffffff;
    background: rgba(124, 119, 198, 0.15);
}

.clean-mobile-links a.active {
    color: #7c77c6;
    background: rgba(124, 119, 198, 0.1);
}

.clean-mobile-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 1.5rem;
}

.clean-mobile-login-btn {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 1rem;
    padding: 1rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    text-align: center;
}

.clean-mobile-login-btn:hover {
    background: rgba(255, 255, 255, 0.15);
}

.clean-mobile-join-btn {
    color: #ffffff;
    text-decoration: none;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    padding: 1rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    background: linear-gradient(135deg, #7c77c6, #00b3b3);
    text-align: center;
    box-shadow: 0 4px 15px rgba(124, 119, 198, 0.3);
}

.clean-mobile-join-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(124, 119, 198, 0.4);
}