
#intro-overlay {
    font-family: 'Luckiest Guy', cursive;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: url('/resources/doink-splash.jpeg') no-repeat center center/cover;
    color: #fff;
    text-align: center;
    overflow: hidden;
    position: relative;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

@media (min-width: 901px) {
    #intro-overlay {
        background-position: center calc(0% - 300px);
    }
}

@media (min-width: 601px) {
    #intro-overlay {
        background-position: center calc(0% - 200px);
    }
}

#intro-overlay h1 {
    font-size: 4rem;
    font-weight: bold;
    color: #FFD700;
    text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.8);
    margin-bottom: 2rem;
}

#intro-overlay .overlay {
    /* background: rgba(0,0,0,0.35); */
    position: absolute;
    inset: 0;
    z-index: 1;
}



#intro-overlay.container {
    position: relative;
    z-index: 4;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 1rem;
}



#intro-overlay .btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    font-size: 1.5rem;
    font-weight: bold;
    text-decoration: none;
    border-radius: 8px;
    margin: 0.5rem 0;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4);
    transition: transform 0.2s, box-shadow 0.2s;
}

#intro-overlay .btn:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.6);
}

#intro-overlay .play {
    background: #32CD32;
    color: #fff;
}

#intro-overlay .login-register{
    background: #b244d1;
    color: #fff;
}

#intro-overlay .login {
    background: #1E90FF;
    color: #fff;
}

#intro-overlay .subtext {
    margin-top: 0.5rem;
    font-size: 0.9rem;
    color: #fff;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.7);
}

#intro-overlay .subtext a {
    color: #FFD700;
    text-decoration: none;
    font-weight: bold;
}

#auth-form{
    display:flex;
    flex-direction: column;
}

#auth-form input {
    padding: 0.8rem;
    margin: 0.5rem 0;
    border: none;
    border-radius: 6px;
    font-size: 1rem;
    font-family:sans-serif;
}

/* Magic Link Form Styles */
#auth-container {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    padding: 2rem;
}

.auth-card {
    background: rgba(255, 255, 255, 0.95);
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    max-width: 400px;
    width: 100%;
}

.auth-card h2 {
    font-family: 'Luckiest Guy', cursive;
    font-size: 3rem;
    margin: 0 0 0.5rem 0;
    color: #2b8bf6;
    text-shadow: none;
}

.auth-subtitle {
    font-family: 'Luckiest Guy', cursive;
    font-size: 1.2rem;
    color: #666;
    margin: 0 0 2rem 0;
}

.auth-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

#email-input {
    font-family: Arial, sans-serif;
    padding: 1rem;
    font-size: 1rem;
    border: 3px solid #2b8bf6;
    border-radius: 8px;
    outline: none;
}

#email-input:focus {
    border-color: #62bf5e;
}

#auth-submit-btn {
    font-family: 'Luckiest Guy', cursive;
    padding: 1rem;
    font-size: 1.5rem;
    background-color: #62bf5e;
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.2s;
}

#auth-submit-btn:hover {
    background-color: #4fa047;
}

#auth-submit-btn:disabled {
    background-color: #ccc;
    cursor: not-allowed;
}

.auth-message {
    margin-top: 1rem;
    padding: 1rem;
    border-radius: 8px;
    font-family: Arial, sans-serif;
    display: none;
}

.auth-message.success {
    display: block;
    background-color: #d4edda;
    color: #155724;
    border: 2px solid #c3e6cb;
}

.auth-message.error {
    display: block;
    background-color: #f8d7da;
    color: #721c24;
    border: 2px solid #f5c6cb;
}

.auth-footer {
    font-family: Arial, sans-serif;
    font-size: 0.9rem;
    color: #666;
    margin-top: 1.5rem;
    line-height: 1.5;
}

.toggle-text {
    margin-top: 1rem;
    font-family: Arial, sans-serif;
    font-size: 0.9rem;
}

.toggle-text a {
    color: #2b8bf6;
    text-decoration: none;
    font-weight: bold;
}

.toggle-text a:hover {
    text-decoration: underline;
}

@media (max-width: 600px) {
    #intro-overlay h1 {
        font-size: 2.8rem;
    }

    #intro-overlay .btn {
        font-size: 1.2rem;
        padding: 0.8rem 1.5rem;
    }
    
    .auth-card h2 {
        font-size: 2rem;
    }
}

