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

:root {
    --primary-color: #46178f;
    --secondary-color: #ff6b35;
    --success-color: #26c281;
    --danger-color: #e74c3c;
    --warning-color: #f39c12;
    --dark: #2c3e50;
    --light: #ecf0f1;
    --option-1: #e21b3c;
    --option-2: #1368ce;
    --option-3: #d89e00;
    --option-4: #26890c;
}

/* Keyframe Animations */
@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    10%, 30%, 50%, 70%, 90% { transform: translateX(-10px); }
    20%, 40%, 60%, 80% { transform: translateX(10px); }
}

@keyframes celebration {
    0% { transform: scale(0) rotate(0deg); }
    50% { transform: scale(1.2) rotate(180deg); }
    100% { transform: scale(1) rotate(360deg); }
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.5);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

@keyframes glow {
    0%, 100% { 
        box-shadow: 0 0 10px rgba(255,255,255,0.5), 0 0 20px rgba(255,255,255,0.3);
    }
    50% { 
        box-shadow: 0 0 25px rgba(255,255,255,0.8), 0 0 40px rgba(255,255,255,0.6), 0 0 60px rgba(255,255,255,0.4);
    }
}

@keyframes countUp {
    from {
        opacity: 0;
        transform: translateY(20px) scale(0.8);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes confetti {
    0% { transform: translateY(0) rotateZ(0deg); opacity: 1; }
    100% { transform: translateY(1000px) rotateZ(720deg); opacity: 0; }
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    color: var(--dark);
}

/* Container & Layout */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.header {
    text-align: center;
    color: white;
    margin-bottom: 30px;
    padding: 30px 0;
}

.header h1 {
    font-size: 2.5em;
    margin-bottom: 10px;
}

/* Buttons */
.btn {
    padding: 12px 30px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    margin: 5px;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn:active::before {
    width: 300px;
    height: 300px;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.btn:active {
    transform: translateY(0) scale(0.98);
}

.btn-primary {
    background: var(--primary-color);
    color: white;
}

.btn-secondary {
    background: var(--secondary-color);
    color: white;
}

.btn-success {
    background: var(--success-color);
    color: white;
}

.btn-large {
    padding: 18px 40px;
    font-size: 1.2em;
}

.btn-join {
    width: 100%;
    background: var(--success-color);
    color: white;
    padding: 15px;
    font-size: 1.1em;
}

/* Tabs */
.tabs {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 30px;
}

.tab-btn {
    padding: 12px 30px;
    background: rgba(255,255,255,0.2);
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 16px;
    transition: all 0.3s ease;
}

.tab-btn:hover {
    background: rgba(255,255,255,0.3);
    transform: translateY(-2px);
}

.tab-btn.active {
    background: white;
    color: var(--primary-color);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.tab-content {
    display: none;
    background: white;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.tab-content.active {
    display: block;
}

/* Quiz Grid */
.quiz-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

.quiz-card {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 25px;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    border: 2px solid rgba(255,255,255,0.1);
}

.quiz-card:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    border-color: rgba(255,255,255,0.3);
}

.quiz-card:active {
    transform: translateY(-2px) scale(1.01);
}

.quiz-card h3 {
    font-size: 1.4em;
    margin-bottom: 10px;
}

.quiz-card p {
    opacity: 0.9;
    margin-bottom: 15px;
}

.quiz-card .quiz-info {
    display: flex;
    justify-content: space-between;
    font-size: 0.9em;
    opacity: 0.8;
}

/* Form */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
    color: var(--dark);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid #ddd;
    border-radius: 8px;
    font-size: 16px;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(70, 23, 143, 0.1);
    transform: translateY(-2px);
}

/* Question Form */
.question-item {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 20px;
    border-left: 4px solid var(--primary-color);
}

.question-item h4 {
    margin-bottom: 15px;
    color: var(--primary-color);
}

.option-input {
    display: flex;
    gap: 10px;
    margin-bottom: 10px;
    align-items: center;
}

.option-input input[type="text"] {
    flex: 1;
}

.option-input input[type="radio"] {
    width: 20px;
    height: 20px;
}

.btn-remove {
    background: var(--danger-color);
    color: white;
    padding: 8px 15px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

/* Join Page */
.join-page {
    display: flex;
    align-items: center;
    justify-content: center;
}

.join-container {
    text-align: center;
}

.join-box {
    background: white;
    padding: 50px;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.3);
    max-width: 500px;
}

.join-box h1 {
    color: var(--primary-color);
    font-size: 2.5em;
    margin-bottom: 10px;
}

.join-form {
    margin-top: 30px;
}

.pin-input,
.name-input {
    width: 100%;
    padding: 15px;
    margin-bottom: 15px;
    border: 3px solid #ddd;
    border-radius: 10px;
    font-size: 1.2em;
    text-align: center;
    transition: all 0.3s ease;
}

.pin-input:focus,
.name-input:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(70, 23, 143, 0.1);
    transform: scale(1.02);
}

.pin-input {
    font-size: 2em;
    font-weight: bold;
    letter-spacing: 5px;
}

.join-footer {
    margin-top: 30px;
    color: white;
}

.error-message {
    color: var(--danger-color);
    margin-top: 15px;
    font-weight: bold;
}

/* Play Page */
.play-page {
    background: var(--dark);
}

.screen {
    display: none;
    min-height: 100vh;
    padding: 20px;
}

.screen.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Lobby */
.lobby-container {
    text-align: center;
    color: white;
}

.lobby-container h1 {
    font-size: 3em;
    margin-bottom: 20px;
}

.waiting-text {
    font-size: 1.3em;
    margin-bottom: 30px;
    animation: pulse 2s infinite;
}

.player-info {
    background: rgba(255,255,255,0.1);
    padding: 30px;
    border-radius: 15px;
    margin-top: 30px;
}

.player-info p {
    font-size: 1.2em;
    margin: 10px 0;
}

/* Question */
.question-container {
    width: 100%;
    max-width: 900px;
}

.question-header {
    margin-bottom: 30px;
}

.timer-bar {
    height: 20px;
    background: rgba(255,255,255,0.2);
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 15px;
}

.timer-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--success-color), var(--warning-color), var(--danger-color));
    transition: width 0.1s linear;
    box-shadow: 0 0 10px rgba(255,255,255,0.5);
    animation: timerPulse 1s infinite;
}

@keyframes timerPulse {
    0%, 100% { box-shadow: 0 0 10px rgba(255,255,255,0.5); }
    50% { box-shadow: 0 0 20px rgba(255,255,255,0.8); }
}

.question-counter {
    text-align: center;
    color: white;
    font-size: 1.2em;
}

.question-text {
    background: white;
    padding: 40px;
    border-radius: 15px;
    font-size: 1.8em;
    font-weight: bold;
    text-align: center;
    margin-bottom: 30px;
    color: var(--dark);
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    border: 3px solid rgba(255,255,255,0.5);
}

.options-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.option-btn {
    padding: 50px 30px;
    border: none;
    border-radius: 15px;
    font-size: 1.3em;
    font-weight: bold;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    text-shadow: 0 2px 5px rgba(0,0,0,0.3);
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

.option-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 25px rgba(0,0,0,0.4);
}

.option-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.option-btn:active {
    transform: scale(0.95);
}

.option-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.option-btn:active::before {
    width: 500px;
    height: 500px;
}

.option-btn.option-0 {
    background: var(--option-1);
}

.option-btn.option-1 {
    background: var(--option-2);
}

.option-btn.option-2 {
    background: var(--option-3);
}

.option-btn.option-3 {
    background: var(--option-4);
}

.option-btn.selected {
    transform: scale(1.1);
    box-shadow: 0 0 30px rgba(255,255,255,0.8), 0 0 50px rgba(255,255,255,0.5);
    border: 3px solid white;
    animation: selectedPulse 0.6s ease-out;
}

@keyframes selectedPulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.15); }
    100% { transform: scale(1.1); }
}

.option-btn.correct {
    animation: pulse-correct 0.5s;
}

.option-btn.incorrect {
    animation: shake 0.5s;
}

@keyframes pulse-correct {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-10px); }
    75% { transform: translateX(10px); }
}

/* Feedback */
.feedback-container {
    text-align: center;
    color: white;
}

.feedback-result {
    font-size: 4em;
    margin-bottom: 20px;
    font-weight: bold;
    text-shadow: 0 4px 15px rgba(0,0,0,0.4);
}

.feedback-result.correct {
    color: var(--success-color);
    text-shadow: 0 0 30px rgba(38, 194, 129, 0.8), 0 4px 15px rgba(0,0,0,0.4);
}

.feedback-result.incorrect {
    color: var(--danger-color);
    text-shadow: 0 0 30px rgba(231, 76, 60, 0.8), 0 4px 15px rgba(0,0,0,0.4);
}

.feedback-points {
    font-size: 2.5em;
    margin-bottom: 30px;
    color: white;
    font-weight: bold;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.feedback-wait {
    font-size: 1.3em;
    color: white;
    opacity: 0.9;
}

/* Leaderboard */
.mini-leaderboard,
.leaderboard,
.final-leaderboard {
    background: white;
    border-radius: 15px;
    padding: 30px;
    max-width: 600px;
    margin: 0 auto;
    color: darkslategray;
}

.leaderboard-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    margin-bottom: 10px;
    background: #f8f9fa;
    border-radius: 10px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    color: #644a4a8a;
}

.leaderboard-item:hover {
    transform: translateX(5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.15);
}

.leaderboard-item.top-1 {
    background: linear-gradient(135deg, #f7b733, #fc4a1a);
    color: white;
    font-size: 1.2em;
    box-shadow: 0 5px 20px rgba(247, 183, 51, 0.5);
    animation: topOnePulse 2s ease-in-out infinite;
}

@keyframes topOnePulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.02); }
}

.leaderboard-item.top-2 {
    background: linear-gradient(135deg, #bdc3c7, #2c3e50);
    color: white;
    box-shadow: 0 5px 15px rgba(189, 195, 199, 0.4);
}

.leaderboard-item.top-3 {
    background: linear-gradient(135deg, #d4a574, #cd7f32);
    color: white;
    box-shadow: 0 5px 15px rgba(205, 127, 50, 0.4);
}

.rank {
    font-weight: bold;
    font-size: 1.3em;
    margin-right: 15px;
    min-width: 40px;
    text-align: center;
}

.player-name {
    flex: 1;
    font-weight: bold;
}

.score {
    font-weight: bold;
    font-size: 1.1em;
    min-width: 60px;
    text-align: right;
}

/* Game Over */
.gameover-container {
    text-align: center;
    color: white;
}

.gameover-container h1 {
    font-size: 3.5em;
    margin-bottom: 30px;
    text-shadow: 0 4px 15px rgba(0,0,0,0.5);
    animation: celebration 1s ease-out;
}

/* Host Game Page */
.host-game-page {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.host-lobby-container {
    text-align: center;
    color: white;
    max-width: 900px;
}

.host-lobby-container h1 {
    font-size: 3em;
    margin-bottom: 30px;
}

.pin-display {
    background: white;
    color: var(--primary-color);
    padding: 40px;
    border-radius: 20px;
    margin-bottom: 40px;
}

.pin-code {
    font-size: 4em;
    letter-spacing: 10px;
    margin: 20px 0;
    color: var(--primary-color);
    font-weight: bold;
    text-shadow: 0 0 20px rgba(70, 23, 143, 0.3);
    animation: pinGlow 2s ease-in-out infinite;
}

@keyframes pinGlow {
    0%, 100% { 
        text-shadow: 0 0 10px rgba(70, 23, 143, 0.3);
        transform: scale(1);
    }
    50% { 
        text-shadow: 0 0 25px rgba(70, 23, 143, 0.6), 0 0 35px rgba(70, 23, 143, 0.4);
        transform: scale(1.02);
    }
}

.pin-instruction {
    font-size: 1.2em;
    color: var(--primary-color);
    opacity: 0.9;
    font-weight: 500;
}

.players-waiting {
    background: rgba(255,255,255,0.1);
    padding: 30px;
    border-radius: 15px;
    margin-bottom: 30px;
}

.players-waiting h3 {
    margin-bottom: 20px;
    color: white;
    font-size: 1.5em;
}

.players-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 15px;
    margin-top: 20px;
}

.player-chip {
    background: rgba(255,255,255,0.2);
    padding: 15px;
    border-radius: 10px;
    font-weight: bold;
    color: white;
    transition: all 0.3s ease;
    border: 1px solid rgba(255,255,255,0.3);
    text-shadow: 0 1px 3px rgba(0,0,0,0.3);
}

.player-chip:hover {
    background: rgba(255,255,255,0.3);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

/* Host Question Screen */
.host-question-container {
    max-width: 1000px;
    width: 100%;
}

.host-question-display {
    background: white;
    padding: 40px;
    border-radius: 15px;
    margin-bottom: 30px;
}

.host-question-display h2 {
    font-size: 2em;
    margin-bottom: 30px;
    color: var(--dark);
}

.host-options-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.host-option {
    padding: 25px;
    border-radius: 10px;
    color: white;
    font-size: 1.2em;
    font-weight: bold;
    transition: all 0.3s ease;
    text-shadow: 0 2px 5px rgba(0,0,0,0.3);
    box-shadow: 0 3px 10px rgba(0,0,0,0.2);
}

.host-option:hover {
    transform: scale(1.02);
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

.host-option.option-0 {
    background: var(--option-1);
}

.host-option.option-1 {
    background: var(--option-2);
}

.host-option.option-2 {
    background: var(--option-3);
}

.host-option.option-3 {
    background: var(--option-4);
}

.answer-count {
    text-align: center;
    color: white;
    font-size: 1.3em;
    margin-top: 10px;
}

/* Host Results */
.host-results-container {
    max-width: 900px;
    color: white;
    text-align: center;
}

.host-results-container h2 {
    font-size: 2.5em;
    margin-bottom: 30px;
}

.results-stats {
    display: flex;
    gap: 30px;
    justify-content: center;
    margin-bottom: 40px;
}

.stat-box {
    background: rgba(255,255,255,0.2);
    padding: 30px;
    border-radius: 15px;
    min-width: 200px;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255,255,255,0.3);
}

.stat-box h3 {
    font-size: 3em;
    margin-bottom: 10px;
    color: white;
    font-weight: bold;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.stat-box p {
    color: white;
    font-size: 1.1em;
    opacity: 0.95;
}

/* Utilities */
.loading {
    text-align: center;
    padding: 50px;
    font-size: 1.2em;
    color: #999;
}

/* Micro Interaction Classes */
.animate-in {
    animation: slideInUp 0.5s ease-out;
}

.fade-in {
    animation: fadeIn 0.5s ease-out;
}

.scale-in {
    animation: scaleIn 0.4s ease-out;
}

.pulse {
    animation: pulse 1s infinite;
}

.bounce {
    animation: bounce 1s infinite;
}

.float {
    animation: float 3s ease-in-out infinite;
}

.glow {
    animation: glow 2s ease-in-out infinite;
}

.shake-animation {
    animation: shake 0.5s;
}

.celebration-animation {
    animation: celebration 0.6s ease-out;
}

/* Ripple Effect */
.ripple {
    position: relative;
    overflow: hidden;
}

.ripple::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.6);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s, opacity 0.6s;
    opacity: 0;
}

.ripple:active::after {
    width: 300px;
    height: 300px;
    opacity: 1;
    transition: 0s;
}

/* Confetti Particles */
.confetti-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 9999;
    overflow: hidden;
}

.confetti {
    position: absolute;
    width: 10px;
    height: 10px;
    background: #f0f;
    animation: confetti 3s linear forwards;
}

/* Loading Spinner */
.spinner {
    display: inline-block;
    width: 40px;
    height: 40px;
    border: 4px solid rgba(255,255,255,0.3);
    border-top-color: white;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Count Up Animation */
.count-up {
    animation: countUp 0.5s ease-out;
}

/* Button Press Effect */
.btn-press {
    transform: scale(0.95);
    box-shadow: inset 0 3px 5px rgba(0,0,0,0.2);
}

/* Highlight Effect */
.highlight-pulse {
    animation: highlightPulse 1.5s infinite;
}

@keyframes highlightPulse {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(255,255,255,0.7);
    }
    50% {
        box-shadow: 0 0 0 10px rgba(255,255,255,0);
    }
}

/* Success/Error Feedback */
.success-feedback {
    background: var(--success-color) !important;
    animation: pulse 0.5s ease-out;
}

.error-feedback {
    background: var(--danger-color) !important;
    animation: shake 0.5s ease-out;
}

/* Slide Animations */
.slide-in-left {
    animation: slideInLeft 0.5s ease-out;
}

.slide-in-right {
    animation: slideInRight 0.5s ease-out;
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Card Flip Effect */
.flip-card {
    animation: flipCard 0.6s ease-out;
}

@keyframes flipCard {
    0% { transform: rotateY(0deg); }
    50% { transform: rotateY(90deg); }
    100% { transform: rotateY(0deg); }
}

/* Enhanced Leaderboard Animations */
.leaderboard-item {
    animation: slideInLeft 0.5s ease-out backwards;
}

.leaderboard-item:nth-child(1) { animation-delay: 0.1s; }
.leaderboard-item:nth-child(2) { animation-delay: 0.2s; }
.leaderboard-item:nth-child(3) { animation-delay: 0.3s; }
.leaderboard-item:nth-child(4) { animation-delay: 0.4s; }
.leaderboard-item:nth-child(5) { animation-delay: 0.5s; }

.leaderboard-item.highlight {
    animation: highlightPulse 1.5s infinite, slideInLeft 0.5s ease-out;
    border: 3px solid var(--warning-color);
    margin-top: 20px;
}

/* Progress Bar Animation */
.progress-bar-animated {
    animation: progressFill 1s ease-out;
}

@keyframes progressFill {
    from { width: 0%; }
}

/* Responsive */
@media (max-width: 768px) {
    .header h1 {
        font-size: 2em;
    }

    .options-grid {
        grid-template-columns: 1fr;
    }

    .question-text {
        font-size: 1.3em;
        padding: 25px;
    }

    .option-btn {
        padding: 35px 20px;
        font-size: 1.1em;
    }

    .pin-code {
        font-size: 2.5em;
    }

    .results-stats {
        flex-direction: column;
    }

    .confetti {
        width: 8px;
        height: 8px;
    }
}

/* Audio Control Button */
.mute-btn {
    position: fixed;
    top: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    font-size: 1.5em;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
}

.mute-btn:hover {
    transform: scale(1.1);
    background: rgba(255, 255, 255, 1);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.mute-btn:active {
    transform: scale(0.95);
}

@media (max-width: 768px) {
    .mute-btn {
        top: 15px;
        right: 15px;
        width: 45px;
        height: 45px;
        font-size: 1.3em;
    }
}
