* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Noto Sans KR', sans-serif;
    background-color: #000;
    height: 100vh;
    overflow: hidden;
}

canvas {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1;
}

.main-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 3;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    opacity: 0;
    transform: translateY(-100%);
    transition: all 0.5s ease;
    margin-top: 50px;
}

.main-nav.visible {
    opacity: 1;
    transform: translateY(0);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    color: #fff;
    text-decoration: none;
    font-size: 1.5rem;
    font-weight: bold;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 2rem;
}

.nav-links a {
    color: #fff;
    text-decoration: none;
    font-size: 1rem;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: #007bff;
}

.container {
    position: relative;
    z-index: 2;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.text-animation {
    font-size: 4rem;
    font-weight: bold;
    color: #fff;
    margin-bottom: 1rem;
    mix-blend-mode: difference;
    position: relative;
}

.text-animation span {
    display: inline-block;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.5s forwards;
    text-shadow: 
        0 0 10px rgba(255,255,255,0.8),
        0 0 20px rgba(255,255,255,0.8),
        0 0 30px rgba(0,102,255,0.8),
        0 0 40px rgba(0,102,255,0.8),
        0 0 70px rgba(0,102,255,0.6),
        0 0 80px rgba(0,102,255,0.6);
    position: relative;
}

.text-animation span::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(255,255,255,0.2), 
        transparent
    );
    animation: shine 2s infinite;
    transform: skewX(-20deg);
}

@keyframes shine {
    0% {
        transform: translateX(-100%) skewX(-20deg);
    }
    100% {
        transform: translateX(200%) skewX(-20deg);
    }
}

.text-animation span:nth-child(1) { animation-delay: 0.1s; }
.text-animation span:nth-child(2) { animation-delay: 0.2s; }
.text-animation span:nth-child(3) { animation-delay: 0.3s; }
.text-animation span:nth-child(4) { animation-delay: 0.4s; }
.text-animation span:nth-child(5) { animation-delay: 0.5s; }
.text-animation span:nth-child(6) { animation-delay: 0.6s; }
.text-animation span:nth-child(7) { animation-delay: 0.7s; }
.text-animation span:nth-child(8) { animation-delay: 0.8s; }
.text-animation span:nth-child(9) { animation-delay: 0.9s; }
.text-animation span:nth-child(10) { animation-delay: 1.0s; }

.text-animation span:nth-child(1)::after { animation-delay: 1.1s; }
.text-animation span:nth-child(2)::after { animation-delay: 1.2s; }
.text-animation span:nth-child(3)::after { animation-delay: 1.3s; }
.text-animation span:nth-child(4)::after { animation-delay: 1.4s; }
.text-animation span:nth-child(5)::after { animation-delay: 1.5s; }
.text-animation span:nth-child(6)::after { animation-delay: 1.6s; }
.text-animation span:nth-child(7)::after { animation-delay: 1.7s; }
.text-animation span:nth-child(8)::after { animation-delay: 1.8s; }
.text-animation span:nth-child(9)::after { animation-delay: 1.9s; }
.text-animation span:nth-child(10)::after { animation-delay: 2.0s; }

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

@media (max-width: 768px) {
    .nav-container {
        flex-direction: column;
        gap: 1rem;
    }

    .nav-links {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .text-animation {
        font-size: 3rem;
    }
}

.lang-selector {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    padding: 10px 0;
    z-index: 1000;
    display: flex;
    justify-content: center;
    gap: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.lang-btn {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.7);
    padding: 8px 16px;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    min-width: 100px;
    text-align: center;
}

.lang-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
}

.lang-btn.active {
    background: #007bff;
    border-color: #007bff;
    color: #fff;
} 