/* ============================================
   HEADER & NAVIGATION STYLES
   ============================================ */

/* Header Container */
header {
    padding: 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 100;
    background: #1d1d1f;
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

/* Header Scrolled State */
header.scrolled {
    background: #1d1d1f;
}

/* Navigation Container */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 44px;
    padding: 0 20px;
    max-width: 1000px;
    margin: 0 auto;
}

/* Logo Styles */
.logo {
    font-size: 1rem;
    font-weight: 400;
    color: white;
    letter-spacing: 0;
    cursor: pointer;
    transition: opacity 0.2s;
    font-family: 'Press Start 2P', monospace;
}

.logo:hover {
    opacity: 0.7;
}

.logo::after {
    display: none;
}

/* Navigation Links Container */
.nav-links {
    display: flex;
    gap: 32px;
    align-items: center;
}

/* Navigation Link Styles */
.nav-links a {
    color: white;
    text-decoration: none;
    font-size: 0.65rem;
    font-weight: 400;
    position: relative;
    transition: opacity 0.2s;
    padding: 0;
    font-family: 'Press Start 2P', monospace;
}

.nav-links a::before {
    display: none;
}

.nav-links a:hover {
    opacity: 0.7;
    color: white;
}

/* Connect Button Styles */
.connect-btn {
    background: white;
    color: var(--apple-dark);
    border: none;
    padding: 8px 16px;
    border-radius: 4px;
    font-size: 0.65rem;
    font-weight: 400;
    cursor: pointer;
    transition: all 0.2s;
    box-shadow: none;
    font-family: 'Press Start 2P', monospace;
}

.connect-btn::before {
    display: none;
}

.connect-btn:hover {
    background: rgba(255, 255, 255, 0.9);
}

.connect-btn:hover::before {
    display: none;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    z-index: 101;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 2px;
    background: white;
    transition: all 0.3s ease;
}

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

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

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

/* ============================================
   MEDIA QUERIES
   ============================================ */

/* Mobile Responsiveness - Tablets and Mobile Devices */
@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background: var(--apple-dark);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 30px;
        transition: right 0.3s ease;
        z-index: 999;
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links a {
        color: white;
    }

    /* Admin link should be white on mobile like other links */
    .nav-links a#admin-link,
    .nav-links a.admin-link-nav {
        color: white !important;
    }

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