* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Pretendard', 'Noto Sans KR', sans-serif;
}

body {
    background: linear-gradient(135deg, #0a0a1a 0%, #1a1a2e 50%, #0f0f1f 100%);
    background-attachment: fixed;
    color: #e6e6e6;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    animation: fadeIn 0.8s ease-in;
    position: relative;
    overflow: hidden;
}

/* 배경 애니메이션 효과 */
body::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(91, 91, 250, 0.1) 0%, transparent 70%);
    animation: pulse 8s ease-in-out infinite;
    pointer-events: none;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.5;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.8;
    }
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.login-container {
    width: 100%;
    max-width: 500px;
    padding: 20px;
    flex: 1;
    display: flex;
    justify-content: space-around;
    align-items: center;
}

.login-box {
    background: rgba(33, 33, 52, 0.8);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-radius: 12px;
    padding: 40px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
    width: 100%;
    border: none;
    animation: slideInUp 0.6s ease-out, scaleIn 0.6s ease-out;
    position: relative;
    z-index: 1;
    transition: all 0.3s ease;
}

.login-box:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.6);
}

.login-header {
    text-align: center;
    margin-bottom: 30px;
    animation: slideInUp 0.6s ease-out 0.2s both;
}

.login-icon {
    font-size: 40px;
    margin-bottom: 10px;
    display: block;
    color: #5b5bfa;
}

.login-header h1 {
    font-size: 24px;
    color: #fff;
    font-weight: 600;
}

.input-group {
    margin-bottom: 20px;
}

.input-label {
    display: block;
    margin-bottom: 8px;
    color: #9999aa;
    font-size: 14px;
}

.input-field {
    width: 100%;
    padding: 14px;
    border-radius: 8px;
    border: none;
    background: rgba(42, 42, 58, 0.6);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: #fff;
    font-size: 16px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    animation: slideInUp 0.6s ease-out 0.3s both;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.input-field:hover {
    background: rgba(42, 42, 58, 0.8);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.input-field:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(91, 91, 250, 0.2), 0 4px 16px rgba(91, 91, 250, 0.1);
    background: rgba(42, 42, 58, 0.9);
    transform: translateY(-2px);
}

.login-button {
    width: 100%;
    padding: 16px;
    border: none;
    border-radius: 8px;
    background-color: #4554e0;
    color: white;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    margin-top: 10px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(69, 84, 224, 0.3);
    animation: slideInUp 0.6s ease-out 0.4s both;
}

.login-button::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.login-button:hover::before {
    width: 300px;
    height: 300px;
}

.login-button:hover {
    background-color: #3a46c2;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(69, 84, 224, 0.5);
}

.login-button:active {
    transform: translateY(0);
} 
.header {
    width: 100%;
    display: flex;
    align-items: center;
    padding: 15px 20px;
    background: rgba(33, 33, 52, 0.8);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-bottom: none;
    flex-shrink: 0;
    animation: slideInRight 0.5s ease-out;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.header-title {
    font-size: 18px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
    color: #fff;
}

.header-icon {
    font-size: 22px;
}

.window-controls {
    margin-left: auto;
    display: flex;
    gap: 15px;
}

.window-btn {
    background: none;
    border: none;
    color: #8a8a9a;
    font-size: 16px;
    cursor: pointer;
    transition: color 0.2s;
}

.window-btn:hover {
    color: #fff;
}
