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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background: #0a0a0a;
    color: #e0e0e0;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.container {
    max-width: 800px;
    width: 100%;
    padding: 3rem 2rem;
    text-align: center;
}

.top-nav {
    text-align: right;
    margin-bottom: 1rem;
    position: relative;
}

.top-nav .signed-in {
    color: #888;
    font-size: 0.85rem;
    margin-right: 1rem;
}

.top-nav .nav-link {
    color: #e8c840;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 500;
    padding: 6px 16px;
    border: 1px solid #e8c840;
    border-radius: 6px;
    transition: all 0.2s;
}

.top-nav .nav-link:hover {
    background: #e8c840;
    color: #0a0a0a;
}

.top-nav .sign-in-btn {
    background: #e8c840;
    color: #0a0a0a;
    font-weight: 600;
    cursor: pointer;
    font-family: inherit;
}

.top-nav .sign-in-btn:hover {
    background: #d4b636;
    border-color: #d4b636;
}

/* Auth dropdown */
.auth-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 8px;
    background: #141414;
    border: 1px solid #333;
    border-radius: 12px;
    padding: 24px;
    width: 320px;
    box-shadow: 0 12px 40px rgba(0,0,0,0.6);
    text-align: left;
    z-index: 100;
}

.auth-dropdown .dropdown-title {
    font-size: 0.95rem;
    color: #e0e0e0;
    font-weight: 500;
    margin-bottom: 12px;
}

.auth-dropdown .dropdown-subtitle {
    font-size: 0.8rem;
    color: #888;
    margin-bottom: 12px;
}

.auth-dropdown .dropdown-subtitle span {
    color: #e8c840;
}

.auth-dropdown input[type="email"],
.auth-dropdown input[type="text"] {
    width: 100%;
    padding: 10px 12px;
    background: #1a1a1a;
    border: 1px solid #333;
    border-radius: 6px;
    color: #fff;
    font-size: 14px;
    outline: none;
    transition: border-color 0.2s;
    font-family: inherit;
}

.auth-dropdown input[type="text"] {
    font-size: 20px;
    letter-spacing: 8px;
    text-align: center;
}

.auth-dropdown input:focus {
    border-color: #e8c840;
}

.auth-dropdown input::placeholder {
    color: #555;
}

.auth-dropdown button {
    width: 100%;
    padding: 10px;
    background: #e8c840;
    color: #0a0a0a;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    margin-top: 12px;
    transition: background 0.2s;
    font-family: inherit;
}

.auth-dropdown button:hover {
    background: #d4b636;
}

.auth-dropdown button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.auth-dropdown .dropdown-error {
    background: rgba(255, 60, 60, 0.15);
    border: 1px solid rgba(255, 60, 60, 0.3);
    color: #ff6b6b;
    padding: 8px 10px;
    border-radius: 6px;
    font-size: 12px;
    margin-bottom: 10px;
}

.auth-dropdown .dropdown-back {
    display: block;
    text-align: center;
    margin-top: 12px;
    color: #666;
    font-size: 12px;
    text-decoration: none;
}

.auth-dropdown .dropdown-back:hover {
    color: #e8c840;
}

.hidden {
    display: none !important;
}

header {
    margin-bottom: 3rem;
}

.logo-mark {
    display: inline-block;
    font-size: 2.5rem;
    font-weight: 700;
    color: #0a0a0a;
    background: #e8c840;
    width: 80px;
    height: 80px;
    line-height: 80px;
    border-radius: 16px;
    margin-bottom: 1.5rem;
    letter-spacing: 2px;
}

h1 {
    font-size: 2.5rem;
    font-weight: 300;
    color: #ffffff;
    letter-spacing: 4px;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}

.tagline {
    font-size: 1.1rem;
    color: #888;
    letter-spacing: 1px;
}

.hero p {
    font-size: 1.2rem;
    color: #aaa;
    max-width: 500px;
    margin: 0 auto 3rem;
    line-height: 1.6;
}

.features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 4rem;
}

.feature {
    padding: 2rem 1.5rem;
    background: #141414;
    border: 1px solid #222;
    border-radius: 12px;
    transition: border-color 0.2s;
}

.feature:hover {
    border-color: #e8c840;
}

.feature-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.feature h3 {
    font-size: 1rem;
    font-weight: 600;
    color: #e8c840;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.feature p {
    font-size: 0.9rem;
    color: #777;
    line-height: 1.5;
}

footer {
    padding-top: 2rem;
    border-top: 1px solid #1a1a1a;
}

footer p {
    font-size: 0.85rem;
    color: #555;
}

@media (max-width: 640px) {
    .features {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    h1 {
        font-size: 1.8rem;
    }

    .logo-mark {
        width: 60px;
        height: 60px;
        line-height: 60px;
        font-size: 2rem;
    }

    .auth-dropdown {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        width: 100%;
        margin-top: 0;
        border-radius: 0;
        display: flex;
        flex-direction: column;
        justify-content: center;
        padding: 40px 24px;
    }

    .auth-dropdown.hidden {
        display: none !important;
    }
}
