* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'SF Pro Display', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    min-height: 100vh;
    overflow: hidden;
}

.container {
    position: relative;
    width: 100%;
    height: 100vh;
}

.screen {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transform: translateY(100px);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    pointer-events: none;
}

.screen.active {
    opacity: 1;
    transform: translateY(0);
    pointer-events: all;
}

/* 메인 화면 스타일 */
.hero-content {
    text-align: center;
    z-index: 2;
    animation: fadeInUp 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.hero-title {
    font-size: 4rem;
    font-weight: 700;
    color: #e8e8e8;
    margin-bottom: 0.5rem;
    letter-spacing: -0.02em;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.hero-subtitle {
    font-size: 2.5rem;
    font-weight: 300;
    color: rgba(232, 232, 232, 0.8);
    margin-bottom: 4rem;
    letter-spacing: -0.01em;
}

.hero-description {
    font-size: 1.2rem;
    color: rgba(200, 200, 200, 0.7);
    margin-bottom: 3rem;
    font-weight: 400;
}

.cta-button {
    background: rgba(40, 40, 60, 0.6);
    border: 2px solid rgba(120, 120, 150, 0.4);
    color: #e8e8e8;
    padding: 1rem 3rem;
    margin-top : 1rem;
    font-size: 1.1rem;
    font-weight: 500;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    font-family: inherit;
}

.cta-button:hover {
    background: rgba(60, 60, 90, 0.7);
    border-color: rgba(150, 150, 180, 0.6);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.cta-button.secondary {
    background: rgba(30, 30, 50, 0.5);
    border: 2px solid rgba(100, 100, 130, 0.3);
    margin-top: 2rem;
}

.floating-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.float-element {
    position: absolute;
    width: 200px;
    height: 200px;
    border: 1px solid rgba(120, 120, 150, 0.15);
    border-radius: 50%;
    animation: float var(--duration) ease-in-out infinite;
    animation-delay: var(--delay);
}

.float-element:nth-child(1) {
    top: 10%;
    left: 10%;
}

.float-element:nth-child(2) {
    top: 60%;
    right: 15%;
}

.float-element:nth-child(3) {
    bottom: 20%;
    left: 20%;
}

.location-reveal {
    text-align: center;
    animation: revealAnimation 1.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.location-text h2 {
    font-size: 1.5rem;
    color: rgba(200, 200, 200, 0.7);
    margin-bottom: 1rem;
    font-weight: 400;
}

.location-name {
    font-size: 3.5rem;
    font-weight: 700;
    color: #e8e8e8;
    margin-bottom: 2rem;
    letter-spacing: -0.02em;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    animation: glowPulse 2s ease-in-out infinite alternate;
}

.challenge-reveal {
    text-align: center;
    animation: challengeReveal 1.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.location-info {
    margin-bottom: 1.5rem;
}

.location-info h3 {
    font-size: 1rem;
    color: rgba(180, 180, 180, 0.6);
    margin-bottom: 0.5rem;
    font-weight: 400;
}

.challenge-location-name {
    font-size: 1.8rem;
    font-weight: 600;
    color: rgba(220, 220, 220, 0.8);
    margin-bottom: 0;
    letter-spacing: -0.01em;
    text-shadow: 0 2px 15px rgba(0, 0, 0, 0.3);
}

.challenge-divider {
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(150, 150, 180, 0.4), transparent);
    margin: 1.5rem auto;
}

.challenge-text h2 {
    font-size: 1.5rem;
    color: rgba(200, 200, 200, 0.7);
    margin-bottom: 1rem;
    font-weight: 400;
}

.challenge-name {
    font-size: 2.8rem;
    font-weight: 600;
    color: #FFA500;
    margin-bottom: 1.5rem;
    letter-spacing: -0.01em;
    text-shadow: 0 4px 20px rgba(255, 165, 0, 0.4);
    animation: goldGlow 3s ease-in-out infinite alternate;
}

.challenger {
    margin-bottom: 2rem;
    font-size: 1.3rem;
    color: rgba(220, 220, 220, 0.8);
}

.challenger-name {
    font-weight: 600;
    color: #FF6B6B;
    text-shadow: 0 2px 10px rgba(255, 107, 107, 0.4);
}

.stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-top: 2rem;
}

.stat-item {
    text-align: center;
}

.stat-label {
    display: block;
    font-size: 1rem;
    color: rgba(180, 180, 180, 0.6);
    margin-bottom: 0.5rem;
}

.stat-value {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: #4ECDC4;
    text-shadow: 0 2px 10px rgba(78, 205, 196, 0.4);
}

.stat-value.boost {
    color: #FFA500;
    text-shadow: 0 2px 15px rgba(255, 165, 0, 0.6);
    animation: boostGlow 2s ease-in-out infinite alternate;
}

@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(50px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
        opacity: 0.3;
    }
    50% {
        transform: translateY(-30px) rotate(180deg);
        opacity: 0.6;
    }
}

@keyframes revealAnimation {
    0% {
        opacity: 0;
        transform: scale(0.8) translateY(50px);
    }
    50% {
        opacity: 0.7;
        transform: scale(1.05) translateY(0);
    }
    100% {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

@keyframes challengeReveal {
    0% {
        opacity: 0;
        transform: scale(0.5) rotateY(90deg);
    }
    60% {
        opacity: 0.8;
        transform: scale(1.1) rotateY(0deg);
    }
    100% {
        opacity: 1;
        transform: scale(1) rotateY(0deg);
    }
}

@keyframes glowPulse {
    0% {
        text-shadow: 0 4px 20px rgba(232, 232, 232, 0.3);
    }
    100% {
        text-shadow: 0 4px 30px rgba(232, 232, 232, 0.6), 0 0 50px rgba(232, 232, 232, 0.2);
    }
}

@keyframes goldGlow {
    0% {
        text-shadow: 0 4px 20px rgba(255, 165, 0, 0.4);
    }
    100% {
        text-shadow: 0 4px 30px rgba(255, 165, 0, 0.8), 0 0 60px rgba(255, 165, 0, 0.4);
    }
}

@keyframes boostGlow {
    0% {
        text-shadow: 0 2px 15px rgba(255, 165, 0, 0.6);
        transform: scale(1);
    }
    100% {
        text-shadow: 0 2px 25px rgba(255, 165, 0, 0.9), 0 0 40px rgba(255, 165, 0, 0.4);
        transform: scale(1.05);
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 3rem;
    }
    
    .hero-subtitle {
        font-size: 2rem;
    }
    
    .location-name {
        font-size: 2.5rem;
    }
    
    .challenge-name {
        font-size: 2rem;
    }
    
    .stats {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .stat-value {
        font-size: 1.5rem;
    }
}
