@import url('https://fonts.googleapis.com/css2?family=Special+Elite&display=swap');

body {
    font-family: 'Special Elite', cursive;
    background: linear-gradient(135deg, #1a472a, #2c5530);
    color: #fff;
    min-height: 100vh;
    margin: 0;
    padding: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 24px;
}

.quiz-container {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 30px;
    max-width: 1200px;
    width: 95%;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 2;
}

.question {
    background: rgba(255, 255, 255, 0.05);
    padding: 20px;
    margin: 15px 0;
    border-radius: 10px;
    transition: transform 0.3s ease;
}

.question:hover {
    transform: translateX(10px);
}

.question-image {
    width: 100%;
    max-width: 600px;
    height: auto;
    border-radius: 10px;
    margin-bottom: 15px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    display: block;
}

.clue-box {
    background: rgba(255, 215, 0, 0.15);
    border-left: 4px solid gold;
    padding: 12px 15px;
    margin: 15px 0;
    border-radius: 5px;
    font-size: 20px;
    color: #FFD700;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.clue-box em {
    font-style: italic;
}

.options {
    display: grid;
    gap: 10px;
    margin-top: 10px;
}

button {
    background: #c41e3a;
    color: white;
    border: none;
    padding: 15px 20px;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s ease;
    font-size: 24px;
    font-family: 'Special Elite', cursive;
}

button:hover {
    background: #a01830;
}

button:disabled {
    background: #666;
    cursor: not-allowed;
}

.result {
    color: #90EE90;
    margin-top: 10px;
    font-weight: bold;
    display: none;
    font-size: 24px;
}

h1 {
    text-align: center;
    color: #fff;
    margin-bottom: 30px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    font-size: 48px;
    font-family: 'Special Elite', cursive;
}

.score-display {
    text-align: center;
    font-size: 1.2em;
    margin-top: 20px;
    padding: 10px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
}

.present-box {
    position: relative;
    display: inline-block;
    margin: 10px;
    padding: 20px;
    background: linear-gradient(135deg, #8B0000, #DC143C);
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.3);
    text-align: center;
    max-width: 300px;
}

.present-box img {
    width: 100%;
    border-radius: 5px;
    margin-bottom: 10px;
}

.present-box p {
    margin: 0;
    font-size: 18px;
    color: gold;
    text-shadow: 1px 1px 2px #000;
}

.audio-controls {
    text-align: center;
    margin-bottom: 18px;
}

#audio-toggle {
    background: rgba(255,255,255,0.08);
    color: #fff;
    border: 1px solid rgba(255,255,255,0.12);
    padding: 10px 16px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 18px;
    transition: background 0.2s ease, transform 0.08s ease;
}

#audio-toggle:hover {
    background: rgba(255,255,255,0.12);
    transform: translateY(-1px);
}

#audio-toggle[aria-pressed="true"] {
    background: linear-gradient(90deg, #7ed56f, #2ecc71);
    color: #022;
    border-color: rgba(0,0,0,0.1);
}

/* small accessible styling for volume slider */
input[type="range"] {
    width: 180px;
    vertical-align: middle;
    margin-left: 10px;
    appearance: none;
    background: transparent;
    outline: none;
}
input[type="range"]::-webkit-slider-runnable-track {
    height: 8px;
    background: rgba(255,255,255,0.12);
    border-radius: 6px;
}
input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 18px;
    height: 18px;
    background: #c41e3a;
    border-radius: 50%;
    margin-top: -5px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.3);
}
input[type="range"]:focus {
    outline: 2px solid rgba(255,255,255,0.12);
}

@keyframes snowfall {
    0% {
        transform: translateY(-10vh) translateX(0);
    }
    100% {
        transform: translateY(100vh) translateX(20px);
    }
}

.snowflake {
    position: fixed;
    color: white;
    font-size: 1em;
    opacity: 0.8;
    pointer-events: none;
    animation: snowfall 10s linear infinite;
    z-index: 1;
}

.top-score {
    text-align: center;
    font-size: 1.1em;
    margin: 10px auto 20px;
    padding: 8px 12px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 8px;
    color: #fff;
    display: inline-block;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

