:root {
    --glass-bg: rgba(255, 255, 255, 0.1);
    --glass-border: rgba(255, 255, 255, 0.2);
    --primary-color: #6a11cb;
    --secondary-color: #2575fc;
    --text-color: #ffffff;
    --lead-color: #2c2c2c;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Outfit', sans-serif;
    background: linear-gradient(135deg, #0f0c29, #302b63, #24243e);
    color: var(--text-color);
    min-height: 100vh;
    overflow-x: hidden;
}

#main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 0;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

#main-header.hidden {
    transform: translateY(-100%);
}

.stained-glass-menu {
    display: flex;
    align-items: center;
    width: 100%;
    height: 70px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 2px solid var(--lead-color);
    border-radius: 0;
    padding: 0 40px;
    box-shadow:
        0 4px 30px rgba(0, 0, 0, 0.1),
        inset 0 0 20px rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
    justify-content: space-between;
}

.stained-glass-menu::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        linear-gradient(45deg, rgba(255, 0, 0, 0.1) 0%, transparent 20%),
        linear-gradient(-45deg, rgba(0, 0, 255, 0.1) 0%, transparent 20%),
        linear-gradient(135deg, rgba(0, 255, 0, 0.1) 0%, transparent 20%);
    pointer-events: none;
    z-index: -1;
}

.logo {
    font-size: 1.5rem;
    font-weight: 600;
    margin-right: 40px;
    color: #fff;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

.mobile-logo {
    display: none;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-links li a {
    text-decoration: none;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 400;
    transition: all 0.3s ease;
    position: relative;
}

.nav-links li a:hover {
    color: #fff;
    text-shadow: 0 0 8px rgba(255, 255, 255, 0.8);
}

.login-btn {
    padding: 8px 25px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border: none;
    border-radius: 0;
    color: white;
    font-weight: 600;
    cursor: pointer;
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    opacity: 1;
    z-index: 1001;
    margin-left: 20px;
}

.login-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.login-btn.hidden {
    opacity: 0;
    transform: translateY(-80px);
    pointer-events: none;
}

main {
    padding-top: 120px;
    padding-left: 10%;
    padding-right: 10%;
}

.hero {
    text-align: center;
    margin-bottom: 60px;
    padding: 100px 0;
}

.hero h1 {
    font-size: 4rem;
    margin-bottom: 20px;
    background: linear-gradient(to right, #fff, #a5a5a5);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.content p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 30px;
    color: rgba(255, 255, 255, 0.8);
}

@media (max-width: 768px) {
    .stained-glass-menu {
        height: 70px;
        /* Fixed height again */
        flex-direction: row;
        /* Back to row */
        padding: 0 15px;
        gap: 10px;
        justify-content: space-between;
    }

    .nav-links {
        flex-direction: row;
        gap: 15px;
        /* Smaller gap */
        text-align: left;
        width: auto;
        font-size: 0.9rem;
        /* Smaller font */
        margin: 0;
        /* Optional: if you want them to scroll if they fit tightly */
        /* overflow-x: auto; */
        /* white-space: nowrap; */
    }

    .nav-links li a {
        padding: 5px;
        /* Touch target */
    }

    .logo {
        margin-right: 10px;
        margin-bottom: 0;
        font-size: 1.2rem;
    }

    .desktop-logo {
        display: none;
    }

    .mobile-logo {
        display: inline;
        font-size: 1.5rem;
    }

    .login-btn {
        margin-left: 10px;
        width: auto;
        padding: 6px 15px;
        font-size: 0.9rem;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    main {
        padding-top: 120px;
        /* Reset padding since menu is short again */
    }
}