* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #667eea;
    --primary-dark: #5a6fd8;
    --secondary: #764ba2;
    --accent: #f093fb;
    --accent-secondary: #06b6d4;
    --accent-tertiary: #10b981;
    --bg-primary: #0f0f23;
    --bg-secondary: #1a1a2e;
    --bg-tertiary: #16213e;
    --bg-card: rgba(255, 255, 255, 0.05);
    --text-primary: #ffffff;
    --text-secondary: #a0aec0;
    --border: rgba(255, 255, 255, 0.1);
    --shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --glow: 0 0 20px rgba(102, 126, 234, 0.3);
    --glow-strong: 0 0 40px rgba(102, 126, 234, 0.5);
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: linear-gradient(135deg, var(--bg-primary) 0%, var(--bg-secondary) 50%, var(--bg-tertiary) 100%);
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
    color: var(--text-primary);
}

/* Static Background Layers - 움직임 제거 */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 50%, rgba(102, 126, 234, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(240, 147, 251, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 40% 80%, rgba(6, 182, 212, 0.15) 0%, transparent 50%);
    /* animation: backgroundFloat 20s ease-in-out infinite; 제거 */
    z-index: 1;
}

body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(2px 2px at 20px 30px, rgba(102, 126, 234, 0.4), transparent),
        radial-gradient(2px 2px at 40px 70px, rgba(139, 92, 246, 0.4), transparent),
        radial-gradient(1px 1px at 90px 40px, rgba(6, 182, 212, 0.4), transparent),
        radial-gradient(1px 1px at 130px 80px, rgba(240, 147, 251, 0.4), transparent);
    background-size: 200px 150px;
    /* animation: sparkle 15s linear infinite; 제거 */
    z-index: 1;
}

/* 배경 애니메이션 제거 - 주석 처리
@keyframes backgroundFloat {
    0%, 100% { 
        transform: translateY(0px) translateX(0px); 
        opacity: 0.8; 
    }
    50% { 
        transform: translateY(-30px) translateX(20px); 
        opacity: 1; 
    }
}

@keyframes sparkle {
    0%, 100% { 
        transform: translateY(0px) translateX(0px); 
        opacity: 0.8; 
    }
    50% { 
        transform: translateY(-200px) translateX(100px); 
        opacity: 0.3; 
    }
}
*/

.wrapper {
    position: relative;
    width: 100%;
    min-height: 100vh;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

/* Logo Section - 호버 효과만 유지 */
.logo {
    position: absolute;
    top: 40px;
    left: 40px;
    z-index: 10;
    display: flex;
    align-items: center;
    gap: 15px;
    background: var(--bg-card);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 15px 25px;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.logo:hover {
    transform: translateY(-3px);
    box-shadow: var(--glow);
    border-color: rgba(102, 126, 234, 0.3);
}

.logo img {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.logo:hover img {
    transform: scale(1.1);
    filter: drop-shadow(0 0 10px rgba(102, 126, 234, 0.5));
}

h1 {
    color: var(--text-primary);
    font-family: "Darker Grotesque", sans-serif;
    font-size: 24px;
    font-weight: 700;
    letter-spacing: 3px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: none;
}

/* Main Container - 움직임 제거 */
.container {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    z-index: 5;
    margin-top: 50px;
}

/* Modern Circle Background - 원형 요소들만 애니메이션 유지 */
.circle-bg {
    position: absolute;
    border-radius: 50%;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    z-index: -1;
}

.circle-1 {
    width: 800px;
    height: 800px;
    background: linear-gradient(135deg, 
        rgba(102, 126, 234, 0.03), 
        rgba(139, 92, 246, 0.03));
    animation: pulse 6s ease-in-out infinite alternate;
}

.circle-2 {
    width: 600px;
    height: 600px;
    background: linear-gradient(135deg, 
        rgba(118, 75, 162, 0.05), 
        rgba(6, 182, 212, 0.05));
    animation: pulse 8s ease-in-out infinite alternate-reverse;
}

.circle-3 {
    width: 400px;
    height: 400px;
    background: linear-gradient(135deg, 
        rgba(6, 182, 212, 0.08), 
        rgba(16, 185, 129, 0.08));
    animation: pulse 10s ease-in-out infinite alternate;
}

.circle-4 {
    width: 250px;
    height: 250px;
    background: linear-gradient(135deg, 
        rgba(139, 92, 246, 0.1), 
        rgba(240, 147, 251, 0.1));
    animation: pulse 7s ease-in-out infinite alternate-reverse;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.circle-5 {
    width: 150px;
    height: 150px;
    background: linear-gradient(135deg, 
        rgba(102, 126, 234, 0.15), 
        rgba(6, 182, 212, 0.15));
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    animation: float 5s ease-in-out infinite;
    box-shadow: 
        0 0 30px rgba(102, 126, 234, 0.3),
        inset 0 0 20px rgba(255, 255, 255, 0.1);
}

.circle-5 img {
    width: 80%;
    height: 80%;
    object-fit: contain;
    filter: drop-shadow(0 0 10px rgba(102, 126, 234, 0.5));
    animation: logoFloat 4s ease-in-out infinite;
}

/* 원형 요소들의 애니메이션 유지 */
@keyframes pulse {
    0% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.6;
    }
    100% {
        transform: translate(-50%, -50%) scale(1.05);
        opacity: 0.8;
    }
}

@keyframes float {
    0%, 100% {
        transform: translate(-50%, -50%) translateY(0px) rotate(0deg);
    }
    50% {
        transform: translate(-50%, -50%) translateY(-10px) rotate(2deg);
    }
}

@keyframes logoFloat {
    0%, 100% {
        transform: translateY(0px) scale(1);
    }
    50% {
        transform: translateY(-5px) scale(1.05);
    }
}

/* Typography - 움직임 제거 */
.welcome-text {
    font-size: 3.5rem;
    font-weight: 300;
    color: var(--text-secondary);
    text-align: center;
    margin-bottom: 20px;
    z-index: 10;
    position: relative;
    line-height: 1.2;
    font-family: "Inter", sans-serif;
    letter-spacing: 0.05em;
    /* animation: fadeInUp 1s ease-out; 제거 */
    text-transform: lowercase;
}

.galatea-text {
    font-size: 7rem;
    font-weight: 900;
    background: linear-gradient(135deg, 
        var(--primary) 0%, 
        var(--accent) 30%, 
        var(--accent-secondary) 60%, 
        var(--accent-tertiary) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-align: center;
    margin-bottom: 80px;
    z-index: 10;
    position: relative;
    letter-spacing: 0.02em;
    line-height: 0.9;
    font-family: "Bungee", sans-serif;
    /* animation: fadeInScale 1.2s ease-out; 제거 */
    text-shadow: 0 0 30px rgba(102, 126, 234, 0.3);
    filter: drop-shadow(0 0 20px rgba(102, 126, 234, 0.2));
}

/* 페이드인 애니메이션 제거 - 주석 처리
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: translateY(30px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}
*/

/* Button Container - 움직임 제거 */
.button-container {
    position: relative;
    display: flex;
    gap: 30px;
    z-index: 10;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 40px;
    /* animation: fadeInUp 1s ease-out 0.5s both; 제거 */
}

/* Modern Buttons - 호버 효과만 유지 */
.btn {
    padding: 18px 40px;
    border: none;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 1px;
    min-width: 150px;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: white;
    transition: all 0.4s ease;
    box-shadow: var(--shadow);
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(255, 255, 255, 0.4), 
        transparent);
    transition: left 0.8s ease;
}

.btn:hover::before {
    left: 100%;
}

.btn:hover {
    transform: translateY(-5px);
    box-shadow: 
        0 15px 35px rgba(0, 0, 0, 0.2),
        var(--glow-strong);
}

.btn-main {
    background: linear-gradient(135deg, 
        var(--primary), 
        var(--accent));
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
}

.btn-main:hover {
    background: linear-gradient(135deg, 
        var(--primary-dark), 
        var(--accent));
    box-shadow: 0 15px 40px rgba(102, 126, 234, 0.6);
}

.btn-signup {
    background: linear-gradient(135deg, 
        var(--accent-secondary), 
        var(--accent-tertiary));
    box-shadow: 0 8px 25px rgba(6, 182, 212, 0.4);
}

.btn-signup:hover {
    background: linear-gradient(135deg, 
        #0891b2, 
        var(--accent-tertiary));
    box-shadow: 0 15px 40px rgba(6, 182, 212, 0.6);
}

.btn-login {
    background: linear-gradient(135deg, 
        var(--secondary), 
        var(--accent));
    box-shadow: 0 8px 25px rgba(118, 75, 162, 0.4);
}

.btn-login:hover {
    background: linear-gradient(135deg, 
        #6b46c1, 
        var(--accent));
    box-shadow: 0 15px 40px rgba(118, 75, 162, 0.6);
}

.btn:active {
    transform: translateY(-2px);
    transition: all 0.1s ease;
}

/* Loading Animation for Buttons */
.btn.loading {
    pointer-events: none;
    position: relative;
}

.btn.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 20px;
    height: 20px;
    border: 2px solid transparent;
    border-top-color: white;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}

/* Enhanced Responsive Design */

/* 대형 데스크톱 */
@media (min-width: 1440px) {
    .welcome-text {
        font-size: 4.5rem;
    }
    
    .galatea-text {
        font-size: 9rem;
    }
    
    .circle-1 { width: 1000px; height: 1000px; }
    .circle-2 { width: 750px; height: 750px; }
    .circle-3 { width: 500px; height: 500px; }
    .circle-4 { width: 300px; height: 300px; }
    .circle-5 { width: 200px; height: 200px; }
    
    .btn {
        padding: 20px 50px;
        font-size: 18px;
        min-width: 180px;
    }
}

/* 노트북/작은 데스크톱 */
@media (max-width: 1439px) and (min-width: 1024px) {
    .welcome-text {
        font-size: 3rem;
    }
    
    .galatea-text {
        font-size: 6rem;
    }
    
    .circle-1 { width: 700px; height: 700px; }
    .circle-2 { width: 550px; height: 550px; }
    .circle-3 { width: 350px; height: 350px; }
    .circle-4 { width: 200px; height: 200px; }
    .circle-5 { width: 120px; height: 120px; }
}

/* 태블릿 - 개선된 반응형 */
@media (max-width: 1023px) and (min-width: 768px) {
    .logo {
        top: 30px;
        left: 30px;
        padding: 12px 20px;
    }
    
    .logo img {
        width: 50px;
        height: 50px;
    }
    
    h1 {
        font-size: 20px;
        letter-spacing: 2px;
    }
    
    .welcome-text {
        font-size: 2.8rem;
        margin-bottom: 15px;
    }
    
    .galatea-text {
        font-size: 4.5rem;
        margin-bottom: 50px;
    }
    
    .circle-1 { width: 600px; height: 600px; }
    .circle-2 { width: 480px; height: 480px; }
    .circle-3 { width: 350px; height: 350px; }
    .circle-4 { width: 230px; height: 230px; }
    .circle-5 { width: 140px; height: 140px; }
    
    .button-container {
        gap: 20px;
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 320px;
        padding: 16px 35px;
        font-size: 16px;
    }
}

/* 모바일 */
@media (max-width: 767px) {
    .logo {
        top: 20px;
        left: 20px;
        padding: 10px 18px;
        border-radius: 15px;
    }
    
    .logo img {
        width: 40px;
        height: 40px;
    }
    
    h1 {
        font-size: 18px;
        letter-spacing: 1.5px;
    }
    
    .container {
        margin-top: 30px;
        padding: 0 20px;
    }
    
    .welcome-text {
        font-size: 2.2rem;
        margin-bottom: 12px;
    }
    
    .galatea-text {
        font-size: 3.2rem;
        margin-bottom: 50px;
    }
    
    .circle-1 { width: 450px; height: 450px; }
    .circle-2 { width: 360px; height: 360px; }
    .circle-3 { width: 270px; height: 270px; }
    .circle-4 { width: 180px; height: 180px; }
    .circle-5 { width: 110px; height: 110px; }
    
    .button-container {
        gap: 15px;
        flex-direction: column;
        align-items: center;
        margin-top: 35px;
    }
    
    .btn {
        width: 280px;
        padding: 16px 30px;
        font-size: 15px;
        min-width: unset;
    }
}

/* 작은 모바일 */
@media (max-width: 479px) {
    .logo {
        top: 15px;
        left: 15px;
        padding: 8px 15px;
    }
    
    .logo img {
        width: 35px;
        height: 35px;
    }
    
    h1 {
        font-size: 16px;
        letter-spacing: 1.2px;
    }
    
    .container {
        padding: 0 15px;
    }
    
    .welcome-text {
        font-size: 1.8rem;
        margin-bottom: 10px;
    }
    
    .galatea-text {
        font-size: 2.5rem;
        margin-bottom: 40px;
    }
    
    .circle-1 { width: 350px; height: 350px; }
    .circle-2 { width: 280px; height: 280px; }
    .circle-3 { width: 210px; height: 210px; }
    .circle-4 { width: 140px; height: 140px; }
    .circle-5 { width: 90px; height: 90px; }
    
    .button-container {
        gap: 12px;
        margin-top: 30px;
    }
    
    .btn {
        width: 250px;
        padding: 14px 25px;
        font-size: 14px;
        border-radius: 35px;
    }
}

/* 가로 모드 최적화 - 움직임 제거 */
@media (max-height: 600px) and (orientation: landscape) and (max-width: 1023px) {
    .wrapper {
        flex-direction: row;
        align-items: center;
        justify-content: space-around;
        padding: 20px;
        min-height: 100vh;
    }
    
    .logo {
        position: absolute;
        top: 15px;
        left: 15px;
        padding: 8px 12px;
    }
    
    .logo img {
        width: 30px;
        height: 30px;
    }
    
    h1 {
        font-size: 14px;
        letter-spacing: 1px;
    }
    
    .container {
        width: 60%;
        margin-top: 0;
    }
    
    .welcome-text {
        font-size: 1.5rem;
        margin-bottom: 5px;
    }
    
    .galatea-text {
        font-size: 2rem;
        margin-bottom: 15px;
    }
    
    .button-container {
        width: 35%;
        gap: 8px;
        margin-top: 0;
    }
    
    .btn {
        width: 100%;
        padding: 8px 16px;
        font-size: 12px;
    }
    
    .circle-bg {
        transform: translate(-50%, -50%) scale(0.5);
    }
}

/* 접근성 및 성능 최적화 - 모든 애니메이션 제거 옵션 */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    .circle-bg,
    .circle-5 img {
        animation: none;
    }
}

/* 포커스 접근성 */
.btn:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 4px;
}

.logo:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}