@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;700;900&display=swap');

body {
    margin: 0;
    padding: 0;
    font-family: 'Orbitron', sans-serif;
    background: linear-gradient(135deg, #0a0a1a, #1c1c3a);
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    overflow: hidden;
    position: relative;
}

.container {
    text-align: center;
    z-index: 2;
    width: 100%;
    max-width: 500px;
    padding: 5vw;
    box-sizing: border-box;
}

.particle-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.particle {
    position: absolute;
    background: linear-gradient(45deg, #ff1a8c, #00e6ff);
    border-radius: 50%;
    animation: starDrift 5s linear infinite;
    box-shadow: 0 0 15px rgba(255, 26, 140, 0.8);
}

@keyframes starDrift {
    0% { transform: translateY(100vh) scale(0.3); opacity: 0.7; }
    100% { transform: translateY(-100vh) scale(1.2); opacity: 0; }
}

.animation {
    width: 40vw;
    max-width: 200px;
    height: 40vw;
    max-height: 200px;
    border-radius: 50%;
    background: linear-gradient(45deg, #ff1a8c, #00e6ff, #ff66b3);
    animation: starBurst 2s ease-in-out infinite;
    margin: 0 auto 10vw;
    box-shadow: 0 0 50px rgba(255, 26, 140, 0.9);
}

@keyframes starBurst {
    0%, 100% { transform: scale(1); box-shadow: 0 0 50px rgba(255, 26, 140, 0.9); }
    50% { transform: scale(1.3); box-shadow: 0 0 80px rgba(0, 230, 255, 0.9); }
}

.code-input {
    padding: 4vw 8vw;
    font-size: 5vw;
    max-font-size: 24px;
    font-family: 'Orbitron', sans-serif;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    border: 2px solid #ff1a8c;
    border-radius: 10px;
    text-align: center;
    margin-bottom: 5vw;
    box-shadow: 0 0 20px rgba(255, 26, 140, 0.7);
}

.code-input:focus {
    outline: none;
    box-shadow: 0 0 30px rgba(0, 230, 255, 0.9);
}

.submit-button {
    padding: 4vw 10vw;
    font-size: 5vw;
    max-font-size: 24px;
    font-weight: 900;
    text-transform: uppercase;
    background: linear-gradient(45deg, #ff1a8c, #00e6ff);
    color: #fff;
    border: none;
    border-radius: 60px;
    cursor: pointer;
    box-shadow: 0 0 40px rgba(255, 26, 140, 0.9);
    transition: transform 0.3s;
}

.submit-button:hover {
    transform: scale(1.2);
}

.error-message {
    display: none;
    color: #ff1a8c;
    font-size: 4vw;
    max-font-size: 20px;
    margin-top: 3vw;
    text-shadow: 0 0 10px rgba(255, 26, 140, 0.9);
}

@media (max-width: 600px) {
    .container {
        padding: 8vw;
    }

    .animation {
        width: 50vw;
        height: 50vw;
        margin-bottom: 15vw;
    }

    .code-input {
        padding: 5vw 10vw;
        font-size: 6vw;
    }

    .submit-button {
        padding: 5vw 12vw;
        font-size: 6vw;
    }

    .error-message {
        font-size: 5vw;
    }
}