* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

body {
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #FAFAF9;
    overflow: hidden;
    position: relative;
}

.welcome-container {
    background: transparent;
    backdrop-filter: none;
    padding: 30px;
    border-radius: 20px;
    width: 90%;
    max-width: 400px;
    position: relative;
    z-index: 1;
    animation: containerAppear 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    margin: 15px;
}

.logo {
    text-align: center;
    font-size: 32px;
    font-weight: bold;
    margin-bottom: 20px;
    position: relative;
    color: #1A1A1A;
    animation: logoAppear 0.8s cubic-bezier(0.68, -0.55, 0.265, 1.55) 0.2s backwards;
}

.welcome-text {
    text-align: center;
    color: #6B6B6B;
    margin-bottom: 40px;
    animation: fadeIn 0.5s ease 0.3s forwards;
    opacity: 0;
}

.button-group {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 30px;
}

.auth-button {
    width: 100%;
    padding: 12px;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 6px;
    opacity: 0;
    animation: fadeIn 0.5s ease forwards;
}

.outline-button {
    background: transparent;
    color: #1A1A1A;
    border: 1px solid #1A1A1A;
}

.outline-button:hover {
    background: #1A1A1A;
    color: white;
    transform: translateY(-2px);
}

.filled-button {
    background: #1A1A1A;
    color: white;
    border: none;
}

.filled-button:hover {
    background: #333333;
    transform: translateY(-2px);
}

#authButtons .auth-button:nth-child(1) {
    animation-delay: 0.4s;
}

#authButtons .auth-button:nth-child(2) {
    animation-delay: 0.5s;
}

#loggedInButtons .auth-button {
    animation-delay: 0.4s;
}

.legal-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    opacity: 0;
    animation: fadeIn 0.5s ease 0.6s forwards;
}

.legal-link {
    color: #6B6B6B;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
    padding: 8px 16px;
    /* border: 1px solid #e0e0e0;
    border-radius: 6px; */
    transition: all 0.3s ease;
}

.legal-link:hover {
    color: #1A1A1A;
    border-color: #1A1A1A;
}

@keyframes containerAppear {
    0% {
        transform: translateY(40px) scale(0.9);
        opacity: 0;
    }
    100% {
        transform: translateY(0) scale(1);
        opacity: 1;
    }
}

@keyframes logoAppear {
    0% {
        transform: translateY(-20px);
        opacity: 0;
    }
    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes fadeIn {
    to { opacity: 1; }
}

@media (max-width: 480px) {
    .welcome-container {
        padding: 20px;
        width: 95%;
        margin: 10px;
        border-radius: 15px;
    }

    .logo {
        font-size: 28px;
    }

    .welcome-text {
        font-size: 14px;
        margin-bottom: 30px;
    }

    .auth-button {
        font-size: 14px;
        padding: 10px;
    }

    .legal-links {
        gap: 12px;
    }

    .legal-link {
        font-size: 12px;
        padding: 6px 12px;
    }
}

@media (max-width: 320px) {
    .welcome-container {
        padding: 15px;
    }

    .logo {
        font-size: 24px;
        margin-bottom: 15px;
    }

    .legal-links {
        flex-direction: column;
        gap: 8px;
    }
}