:root {
    --primary-gold: #ffd700;
    --primary-red: #8b0000;
    --dark-red: #4a0404;
    --transparent-gold: rgba(255, 215, 0, 0.3);
    --transparent-white: rgba(255, 255, 255, 0.1);
}

body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    margin: 0;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background: linear-gradient(135deg, var(--primary-red), var(--dark-red));
    color: #fff;
    overflow: hidden;
}

.quiz-container {
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 3rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3),
                0 0 20px var(--transparent-gold);
    max-width: 600px;
    width: 90%;
    position: relative;
    border: 2px solid var(--transparent-gold);
    contain: content;
}

.snow {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 1;
}

.snowflake {
    position: fixed;
    color: var(--transparent-gold);
    font-size: 1.5rem;
    will-change: transform;
    pointer-events: none;
}

@keyframes snowfall {
    0% {
        transform: translateY(-10vh) rotate(0deg);
    }
    100% {
        transform: translateY(100vh) rotate(360deg);
    }
}

.timer, .question-counter {
    background: linear-gradient(45deg, var(--primary-gold), #ffb347);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-size: 1.4rem;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    padding: 10px 20px;
    border-radius: 15px;
    border: 2px solid var(--transparent-gold);
    position: absolute;
    backdrop-filter: blur(5px);
    top: 20px;
}

.timer { right: 20px; }
.question-counter { left: 20px; }

.question {
    font-size: 1.8rem;
    margin: 4rem 0 2rem;
    text-align: center;
    color: var(--primary-gold);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.options {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    margin-top: 2rem;
}

button {
    background: linear-gradient(45deg, rgba(255, 215, 0, 0.1), rgba(178, 34, 34, 0.1));
    border: 2px solid rgba(255, 215, 0, 0.5);
    padding: 1.2rem;
    border-radius: 15px;
    color: var(--primary-gold);
    font-size: 1.1rem;
    cursor: pointer;
    /* transition: all 0.3s ease; */
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
}

button:hover {
    background: linear-gradient(45deg, rgba(255, 215, 0, 0.2), rgba(178, 34, 34, 0.2));
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(255, 215, 0, 0.3);
}

input[type="text"], input[type="email"] {
    background: var(--transparent-white);
    border: 2px solid rgba(255, 215, 0, 0.5);
    padding: 1.2rem;
    border-radius: 15px;
    color: var(--primary-gold);
    font-size: 1.1rem;
    width: 100%;
    box-sizing: border-box;
    margin-bottom: 1rem;
}

input::placeholder {
    color: rgba(255, 215, 0, 0.5);
}

.quiz-header {
    text-align: center;
    margin-bottom: 2rem;
}

.quiz-title {
    font-size: 2.4rem;
    color: var(--primary-gold);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    margin-bottom: 1rem;
}

.company-logo {
    width: 150px;
    height: auto;
    margin-bottom: 1rem;
    filter: drop-shadow(2px 2px 4px rgba(0, 0, 0, 0.3));
}

#registration {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.hidden {
    display: none !important;
}

#results {
    text-align: center;
    font-size: 1.8rem;
    color: var(--primary-gold);
    margin-top: 2rem;
}

/* 
@keyframes fadeIn {
    from { opacity: 0; transform: translate(-50%, -20px); }
    to { opacity: 1; transform: translate(-50%, 0); }
} */
