* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Orbitron', monospace;
    overflow: hidden;
    height: 100vh;
    background: #000;
}

.container {
    position: relative;
    width: 100%;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.background-animation {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, #ff0066, #6600ff, #00ffcc, #ff6600);
    background-size: 400% 400%;
    animation: gradientShift 8s ease infinite;
    opacity: 0.8;
    z-index: -2;
}

@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }
    25% {
        background-position: 100% 50%;
    }
    50% {
        background-position: 100% 100%;
    }
    75% {
        background-position: 0% 100%;
    }
    100% {
        background-position: 0% 50%;
    }
}

.text-container {
    text-align: center;
    z-index: 10;
    position: relative;
}

.main-text {
    font-size: clamp(2rem, 8vw, 6rem);
    font-weight: 900;
    color: #ffffff;
    text-shadow: 
        0 0 20px rgba(255, 255, 255, 0.8),
        0 0 40px rgba(255, 0, 102, 0.6),
        0 0 60px rgba(102, 0, 255, 0.4),
        0 0 80px rgba(0, 255, 204, 0.3);
    animation: textGlow 2s ease-in-out infinite alternate, textBounce 0.8s ease-in-out;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 2rem;
    opacity: 1;
    transition: all 0.5s ease-in-out;
}

.main-text.fade-out {
    opacity: 0;
    transform: scale(0.8) translateY(-20px);
}

.main-text.fade-in {
    opacity: 1;
    transform: scale(1) translateY(0);
    animation: textBounce 0.8s ease-out;
}

@keyframes textGlow {
    from {
        text-shadow: 
            0 0 20px rgba(255, 255, 255, 0.8),
            0 0 40px rgba(255, 0, 102, 0.6),
            0 0 60px rgba(102, 0, 255, 0.4),
            0 0 80px rgba(0, 255, 204, 0.3);
    }
    to {
        text-shadow: 
            0 0 30px rgba(255, 255, 255, 1),
            0 0 50px rgba(255, 0, 102, 0.8),
            0 0 70px rgba(102, 0, 255, 0.6),
            0 0 90px rgba(0, 255, 204, 0.5);
    }
}

@keyframes textBounce {
    0% {
        transform: scale(0.3) translateY(50px);
        opacity: 0;
    }
    50% {
        transform: scale(1.1) translateY(-10px);
    }
    100% {
        transform: scale(1) translateY(0);
        opacity: 1;
    }
}

.language-indicator {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 25px;
    padding: 10px 25px;
    margin: 0 auto;
    display: inline-block;
    animation: indicatorPulse 2s ease-in-out infinite;
}

.language-indicator span {
    color: #ffffff;
    font-size: 1.2rem;
    font-weight: 700;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

@keyframes indicatorPulse {
    0%, 100% {
        box-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
    }
    50% {
        box-shadow: 0 0 40px rgba(255, 255, 255, 0.6);
    }
}

.particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

.particles::before,
.particles::after {
    content: '';
    position: absolute;
    width: 4px;
    height: 4px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    animation: particle 15s linear infinite;
}

.particles::before {
    top: 10%;
    left: 20%;
    animation-delay: 0s;
}

.particles::after {
    top: 80%;
    right: 30%;
    animation-delay: 7s;
}

@keyframes particle {
    0% {
        transform: translateY(0) rotate(0deg);
        opacity: 1;
    }
    100% {
        transform: translateY(-100vh) rotate(360deg);
        opacity: 0;
    }
}

/* Responsive */
@media (max-width: 768px) {
    .main-text {
        font-size: clamp(1.5rem, 10vw, 4rem);
    }
    
    .language-indicator span {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .main-text {
        font-size: clamp(1.2rem, 12vw, 3rem);
        letter-spacing: 0.05em;
    }
} 