/* /public/css/login.css */

.login-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    position: relative;
    overflow: hidden;
}

/* 배경 애니메이션 효과 */
.login-container::before {
    content: '';
    position: absolute;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: moveBackground 20s linear infinite;
    opacity: 0.3;
}

@keyframes moveBackground {
    0% { transform: translate(0, 0); }
    100% { transform: translate(50px, 50px); }
}

.login-card {
    background: var(--surface);
    border-radius: 24px;
    box-shadow: var(--shadow-xl);
    max-width: 440px;
    width: 100%;
    overflow: hidden;
    animation: cardSlideIn 0.6s ease-out;
    position: relative;
    z-index: 1;
}

@keyframes cardSlideIn {
    from {
        transform: translateY(50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.login-header {
    padding: 48px 32px 32px;
    text-align: center;
    background: linear-gradient(180deg, var(--surface-light) 0%, var(--surface) 100%);
}

.game-title {
    font-size: 36px;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 8px;
}

.game-subtitle {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 16px;
    font-weight: 300;
}

.game-description {
    font-size: 14px;
    color: var(--text-muted);
    max-width: 300px;
    margin: 0 auto;
}

.login-body {
    padding: 32px;
}

.google-login-btn {
    width: 100%;
    padding: 16px 24px;
    background: white;
    color: #333;
    border: none;
    border-radius: var(--border-radius);
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    transition: var(--transition);
    box-shadow: var(--shadow-md);
}

.google-login-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.google-login-btn:active {
    transform: translateY(0);
}

.google-login-btn i {
    font-size: 20px;
    color: #4285f4;
}

.login-footer {
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid var(--surface-light);
}

.terms-text {
    font-size: 13px;
    color: var(--text-muted);
    text-align: center;
    line-height: 1.6;
}

.terms-link {
    color: var(--primary-light);
    text-decoration: none;
    transition: var(--transition);
}

.terms-link:hover {
    color: var(--primary-color);
    text-decoration: underline;
}

/* 반응형 디자인 */
@media (max-width: 480px) {
    .login-card {
        border-radius: 16px;
    }
    
    .login-header {
        padding: 32px 24px 24px;
    }
    
    .game-title {
        font-size: 28px;
    }
    
    .game-subtitle {
        font-size: 16px;
    }
    
    .login-body {
        padding: 24px;
    }
}
