/* Main Website Navbar Styles */
.main-navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 1000;
    border-bottom: 1px solid rgba(139, 92, 246, 0.1);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 30px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Logo */
.nav-logo {
    flex: 0 0 auto;
}

.nav-logo a {
    text-decoration: none;
}

.logo-text {
    font-size: 1.8rem;
    font-weight: 900;
    background: linear-gradient(135deg, #8B5CF6 0%, #a78bfa 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* Center Navigation */
.nav-center {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 35px;
}

.nav-link {
    color: #9ca3af;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 0;
}

.nav-link:hover {
    color: #ffffff;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, #8B5CF6, #a78bfa);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.nav-link:hover::after {
    transform: scaleX(1);
}

/* Status Link */
.nav-link.status-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

/* Status Dot */
.status-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    background: #10b981;
    border-radius: 50%;
    position: relative;
    flex-shrink: 0;
}

.status-dot::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    background: inherit;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
        transform: translate(-50%, -50%) scale(1);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(16, 185, 129, 0);
        transform: translate(-50%, -50%) scale(1.1);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
        transform: translate(-50%, -50%) scale(1);
    }
}

/* Auth Buttons */
.nav-auth {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    gap: 12px;
}

.btn-auth {
    padding: 8px 18px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border: 1px solid transparent;
}

.btn-auth i {
    font-size: 0.85rem;
}

.btn-login {
    color: #e5e7eb;
    background: transparent;
    border-color: rgba(156, 163, 175, 0.3);
}

.btn-login:hover {
    background: rgba(156, 163, 175, 0.1);
    border-color: rgba(156, 163, 175, 0.5);
    transform: translateY(-2px);
}

.btn-register,
.btn-dashboard {
    color: white;
    background: linear-gradient(135deg, #8B5CF6 0%, #7c3aed 100%);
    box-shadow: 0 4px 15px rgba(139, 92, 246, 0.25);
}

.btn-register:hover,
.btn-dashboard:hover {
    background: linear-gradient(135deg, #7c3aed 0%, #6d28d9 100%);
    box-shadow: 0 6px 20px rgba(139, 92, 246, 0.4);
    transform: translateY(-2px);
}

.btn-logout {
    color: #ef4444;
    background: transparent;
    border-color: rgba(239, 68, 68, 0.3);
}

.btn-logout:hover {
    background: rgba(239, 68, 68, 0.1);
    border-color: rgba(239, 68, 68, 0.5);
    transform: translateY(-2px);
}

/* Mobile Toggle */
.mobile-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 30px;
    height: 30px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    margin-left: 20px;
}

.mobile-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: #9ca3af;
    margin: 3px 0;
    transition: all 0.3s ease;
}

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

.mobile-toggle.active span:nth-child(2) {
    opacity: 0;
}

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

/* Body - No Padding */
/* Hero section should handle its own spacing */

/* Responsive Design */
@media (max-width: 1024px) {
    .nav-center {
        gap: 25px;
    }
}

@media (max-width: 768px) {
    .mobile-toggle {
        display: flex;
    }
    
    .nav-center,
    .nav-auth {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background: rgba(10, 10, 10, 0.98);
        backdrop-filter: blur(20px);
        padding: 20px;
        flex-direction: column;
        gap: 15px;
        transform: translateY(-150%);
        opacity: 0;
        transition: all 0.3s ease;
    }
    
    .nav-center.mobile-active,
    .nav-auth.mobile-active {
        transform: translateY(0);
        opacity: 1;
    }
    
    .nav-center {
        border-bottom: 1px solid rgba(139, 92, 246, 0.1);
    }
    
    .nav-auth {
        top: auto;
        bottom: 0;
        border-top: 1px solid rgba(139, 92, 246, 0.1);
    }
    
    .nav-link {
        width: 100%;
        justify-content: center;
        padding: 12px;
    }
    
    .btn-auth {
        width: 100%;
        justify-content: center;
    }
}

/* Extra Small Devices */
@media (max-width: 480px) {
    .nav-container {
        padding: 0 15px;
    }
    
    .logo-text {
        font-size: 1.5rem;
    }
}