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

body {
    font-family: 'Arial Black', Arial, sans-serif;
    background: 
        radial-gradient(circle at 20% 80%, rgba(255, 215, 0, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(100, 150, 255, 0.06) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(150, 100, 255, 0.05) 0%, transparent 50%),
        linear-gradient(135deg, #000000 0%, #0a0a0a 15%, #111111 30%, #0f0f1a 45%, #1a1a2e 60%, #16213e 75%, #1e3c72 90%, #2a4365 100%);
    background-size: 100% 100%, 100% 100%, 100% 100%, 400% 400%;
    animation: darkProfessionalBackground 25s ease-in-out infinite;
    color: white;
    height: 100vh;
    overflow: hidden;
    margin: 0;
    padding: 0;
    position: relative;
}

@keyframes darkProfessionalBackground {
    0% { 
        background-position: 0% 0%, 100% 100%, 50% 50%, 0% 50%; 
        filter: hue-rotate(0deg) brightness(0.8) contrast(1.2);
    }
    25% { 
        background-position: 30% 70%, 70% 30%, 80% 20%, 25% 75%; 
        filter: hue-rotate(10deg) brightness(0.85) contrast(1.25);
    }
    50% { 
        background-position: 70% 30%, 30% 70%, 20% 80%, 50% 50%; 
        filter: hue-rotate(20deg) brightness(0.9) contrast(1.3);
    }
    75% { 
        background-position: 100% 0%, 0% 100%, 40% 60%, 75% 25%; 
        filter: hue-rotate(10deg) brightness(0.85) contrast(1.25);
    }
    100% { 
        background-position: 0% 0%, 100% 100%, 50% 50%, 0% 50%; 
        filter: hue-rotate(0deg) brightness(0.8) contrast(1.2);
    }
}

/* Elegant floating particles background */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(1px 1px at 25px 35px, rgba(255, 215, 0, 0.4), transparent),
        radial-gradient(1.5px 1.5px at 65px 85px, rgba(255, 255, 255, 0.3), transparent),
        radial-gradient(1px 1px at 105px 45px, rgba(100, 200, 255, 0.3), transparent),
        radial-gradient(2px 2px at 145px 95px, rgba(255, 215, 0, 0.2), transparent),
        radial-gradient(1px 1px at 185px 25px, rgba(255, 255, 255, 0.2), transparent),
        radial-gradient(1.5px 1.5px at 225px 75px, rgba(200, 150, 255, 0.2), transparent);
    background-repeat: repeat;
    background-size: 250px 120px;
    animation: gentleFloatingParticles 25s linear infinite;
    pointer-events: none;
    z-index: 1;
    opacity: 0.7;
}

@keyframes gentleFloatingParticles {
    0% { transform: translateY(100vh) translateX(0px) rotate(0deg); }
    25% { transform: translateY(75vh) translateX(10px) rotate(90deg); }
    50% { transform: translateY(50vh) translateX(0px) rotate(180deg); }
    75% { transform: translateY(25vh) translateX(-10px) rotate(270deg); }
    100% { transform: translateY(-50px) translateX(0px) rotate(360deg); }
}

.container {
    max-width: 100vw;
    height: 100vh;
    margin: 0;
    padding: 3px;
    display: flex;
    flex-direction: column;
    z-index: 2;
    position: relative;
}

/* NEW LAYOUT SYSTEM */
.game-layout {
    height: calc(100vh - 130px); /* Account for toolbar */
    display: flex;
    flex-direction: column;
    background: linear-gradient(135deg, rgba(22, 33, 62, 0.92) 0%, rgba(15, 52, 96, 0.9) 25%, rgba(30, 60, 114, 0.88) 50%, rgba(15, 52, 96, 0.9) 75%, rgba(22, 33, 62, 0.92) 100%);
    border-radius: 25px;
    border: 4px solid transparent;
    background-clip: padding-box;
    position: relative;
    backdrop-filter: blur(25px);
    overflow: hidden;
    animation: professionalBoardGlow 6s ease-in-out infinite;
    z-index: 10;
}

/* Primary Game Area - 67% height for answers */
.game-primary {
    height: 67vh;
    display: flex;
    flex-direction: column;
    padding: 15px 20px;
    overflow: hidden;
}

/* Control Panel - 33% height for all controls */
.game-controls-panel {
    height: 33vh;
    max-height: 33vh;
    display: flex;
    flex-direction: column;
    padding: 10px 15px;
    background: rgba(0, 0, 0, 0.3);
    border-top: 2px solid rgba(255, 215, 0, 0.4);
    overflow: hidden;
}

/* Compact Question Header */
.question-header {
    flex-shrink: 0;
    margin-bottom: 15px;
}

.question-header .question-display {
    background: rgba(0, 0, 0, 0.8);
    border: 2px solid #ffd700;
    border-radius: 12px;
    padding: 12px 20px;
    font-size: 1.3rem;
    font-weight: bold;
    color: #ffffff;
    min-height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

/* Control Rows */
.control-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 8px;
    min-height: 0;
}

.info-row {
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 215, 0, 0.3);
}

.teams-row {
    flex: 1;
    padding: 5px 0;
}

/* Round Info Group - Compact */
.round-info-group {
    display: flex;
    align-items: center;
    gap: 15px;
}

.round-display {
    display: flex;
    align-items: center;
    gap: 6px;
}

.round-label {
    font-size: 12px;
    font-weight: bold;
    color: #FFD700;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.round-number {
    font-size: 18px;
    font-weight: bold;
    color: #FFF;
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    padding: 4px 10px;
    border-radius: 50%;
    min-width: 30px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(37, 99, 235, 0.4);
}

.question-tracker {
    display: flex;
    align-items: center;
    gap: 6px;
}

.question-label {
    font-size: 12px;
    font-weight: bold;
    color: #FFD700;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.question-progress {
    font-size: 14px;
    font-weight: bold;
    color: #FFF;
    background: linear-gradient(135deg, #16a085, #2c3e50);
    padding: 3px 8px;
    border-radius: 6px;
    min-width: 40px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(22, 160, 133, 0.4);
}

/* Points and Multiplier - Compact */
.points-multiplier {
    padding: 4px 10px;
    border-radius: 15px;
    font-weight: bold;
    text-align: center;
    transition: all 0.3s ease;
}

.points-multiplier .multiplier-text {
    font-size: 12px;
}

.current-points {
    display: flex;
    align-items: center;
    gap: 6px;
}

.current-points-label {
    font-size: 11px;
    color: #FFD700;
    font-weight: bold;
}

.current-points-value {
    font-size: 16px;
    font-weight: bold;
    color: #FFF;
    background: linear-gradient(135deg, #7c3aed, #5b21b6);
    padding: 3px 8px;
    border-radius: 6px;
    min-width: 45px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(124, 58, 237, 0.4);
}

/* Round Controls - Compact */
.round-controls {
    display: flex;
    align-items: center;
    gap: 4px;
}

.round-btn.compact {
    padding: 4px 8px;
    font-size: 11px;
    margin: 1px;
    min-width: auto;
}

/* Lifeline Logo - Small */
.lifeline-logo-compact {
    display: flex;
    align-items: center;
}

.lifeline-image-small {
    height: 35px;
    width: auto;
    filter: drop-shadow(0 2px 8px rgba(255, 215, 0, 0.3));
}

/* Teams Container */
.teams-container {
    display: flex;
    align-items: stretch;
    width: 100%;
    gap: 15px;
    height: 100%;
}

/* Compact Team Panels */
.team.team-compact {
    flex: 1;
    max-width: none;
    border-radius: 8px;
    padding: 8px 12px;
    border: 2px solid rgba(255, 215, 0, 0.5);
    background: rgba(22, 33, 62, 0.3);
    backdrop-filter: blur(8px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.team-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 4px;
    gap: 8px;
}

.team-name-input.compact {
    padding: 3px 6px;
    font-size: 0.8rem;
    border: 1px solid #ffd700;
    border-radius: 4px;
    background: transparent;
    color: #ffd700;
    margin-bottom: 0;
    flex: 1;
}

.team-score.compact {
    background: rgba(231, 76, 60, 0.8);
    color: white;
    font-size: 1.2rem;
    font-weight: bold;
    padding: 4px 8px;
    border-radius: 4px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 1px 4px rgba(231, 76, 60, 0.3);
    min-width: 45px;
    text-align: center;
}

.team-strikes.compact {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 0.7rem;
}

.team-strikes.compact .strikes-label {
    font-size: 0.6rem;
    color: #e74c3c;
    font-weight: bold;
}

/* Game Actions Center */
.game-actions-center {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 200px;
    padding: 0 10px;
}

.current-team-display.compact {
    background: linear-gradient(135deg, rgba(26, 26, 46, 0.8) 0%, rgba(30, 60, 114, 0.6) 100%);
    border: 1px solid rgba(255, 215, 0, 0.4);
    border-radius: 6px;
    padding: 4px 8px;
    margin-bottom: 6px;
    color: #FFD700;
    font-size: 0.8rem;
    text-align: center;
    min-width: 150px;
}

.action-buttons.compact {
    display: flex;
    gap: 4px;
    flex-wrap: wrap;
    justify-content: center;
}

.action-btn.compact {
    padding: 4px 8px;
    font-size: 0.7rem;
    margin: 1px;
    min-width: auto;
    border-radius: 4px;
}

/* Top Toolbar */
.top-toolbar {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    padding: 12px 20px;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.8) 0%, rgba(15, 25, 45, 0.9) 50%, rgba(0, 0, 0, 0.8) 100%);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    border: 2px solid rgba(255, 215, 0, 0.4);
    margin-bottom: 12px;
    flex-shrink: 0;
    box-shadow: 
        0 8px 25px rgba(0, 0, 0, 0.4),
        0 0 20px rgba(255, 215, 0, 0.3),
        inset 0 2px 0 rgba(255, 255, 255, 0.1),
        inset 0 0 20px rgba(255, 215, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.top-toolbar::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 215, 0, 0.1), transparent);
    animation: toolbarShimmer 3s ease-in-out infinite;
}

@keyframes toolbarShimmer {
    0% { left: -100%; }
    50% { left: 100%; }
    100% { left: -100%; }
}

.toolbar-btn {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.9) 0%, rgba(118, 75, 162, 0.9) 100%);
    border: 2px solid rgba(255, 215, 0, 0.6);
    color: #ffd700;
    width: 48px;
    height: 48px;
    border-radius: 14px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(15px);
    box-shadow: 
        0 4px 15px rgba(0, 0, 0, 0.3),
        0 0 10px rgba(255, 215, 0, 0.4),
        inset 0 2px 0 rgba(255, 255, 255, 0.15),
        inset 0 0 10px rgba(255, 215, 0, 0.1);
    position: relative;
    overflow: hidden;
    font-weight: bold;
}

.toolbar-btn svg {
    width: 24px;
    height: 24px;
    stroke-width: 2.5;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

.toolbar-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 215, 0, 0.3), transparent);
    transition: left 0.5s ease;
}

.toolbar-btn:hover::before {
    left: 100%;
}

.toolbar-btn:hover {
    transform: translateY(-2px) scale(1.05);
    border-color: #ffd700;
    box-shadow: 
        0 6px 15px rgba(0, 0, 0, 0.3),
        0 0 15px rgba(255, 215, 0, 0.5),
        0 0 25px rgba(255, 215, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    background: linear-gradient(135deg, rgba(118, 75, 162, 0.9) 0%, rgba(102, 126, 234, 0.9) 100%);
}

.toolbar-btn:active {
    transform: translateY(0) scale(1);
}

/* Tooltip styles */
[title] {
    position: relative;
}

[title]:hover::after {
    content: attr(title);
    position: absolute;
    bottom: 120%;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.9) 0%, rgba(30, 30, 30, 0.9) 100%);
    color: #ffd700;
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 0.75rem;
    font-weight: bold;
    white-space: nowrap;
    z-index: 1000;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 215, 0, 0.3);
    box-shadow: 
        0 4px 15px rgba(0, 0, 0, 0.4),
        0 0 10px rgba(255, 215, 0, 0.3);
    animation: tooltipFadeIn 0.3s ease;
}

[title]:hover::before {
    content: '';
    position: absolute;
    bottom: 110%;
    left: 50%;
    transform: translateX(-50%);
    border: 5px solid transparent;
    border-top-color: rgba(0, 0, 0, 0.9);
    z-index: 1000;
    animation: tooltipFadeIn 0.3s ease;
}

@keyframes tooltipFadeIn {
    0% { opacity: 0; transform: translateX(-50%) translateY(5px); }
    100% { opacity: 1; transform: translateX(-50%) translateY(0); }
}

@keyframes lightning-pulse {
    0%, 50%, 100% { 
        opacity: 1; 
        transform: scale(1) rotate(0deg);
    }
    25% { 
        opacity: 0.7; 
        transform: scale(1.1) rotate(-5deg);
    }
    75% { 
        opacity: 0.9; 
        transform: scale(1.05) rotate(5deg);
    }
}

/* OLD LAYOUT - DISABLED */
.game-board {
    display: none;
}

.game-board::before {
    content: '';
    position: absolute;
    top: -4px;
    left: -4px;
    right: -4px;
    bottom: -4px;
    background: linear-gradient(45deg, #ffd700, #fff, #ffd700, #fff, #ffd700);
    background-size: 200% 200%;
    border-radius: 25px;
    z-index: -1;
    animation: borderShimmer 4s linear infinite;
}

@keyframes professionalBoardGlow {
    0%, 100% {
        box-shadow: 
            0 0 30px rgba(255, 215, 0, 0.6),
            0 25px 80px rgba(0, 0, 0, 0.5), 
            inset 0 2px 0 rgba(255, 255, 255, 0.15),
            inset 0 0 30px rgba(255, 215, 0, 0.12),
            inset 0 0 60px rgba(255, 255, 255, 0.03);
    }
    50% {
        box-shadow: 
            0 0 40px rgba(255, 215, 0, 0.8),
            0 25px 80px rgba(0, 0, 0, 0.5), 
            inset 0 2px 0 rgba(255, 255, 255, 0.2),
            inset 0 0 40px rgba(255, 215, 0, 0.18),
            inset 0 0 80px rgba(255, 255, 255, 0.05);
    }
}

@keyframes borderShimmer {
    0% { background-position: 0% 0%; }
    50% { background-position: 100% 100%; }
    100% { background-position: 0% 0%; }
}


.question-display {
    background: rgba(0, 0, 0, 0.9);
    border: 2px solid #ffd700;
    border-radius: 12px;
    padding: 15px 20px;
    font-size: 1.4rem;
    font-weight: bold;
    color: #ffffff;
    min-height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    flex: 1;
}


.round-tracker {
    background: linear-gradient(135deg, rgba(15, 52, 96, 0.9) 0%, rgba(22, 33, 62, 0.9) 100%);
    border: 2px solid rgba(255, 215, 0, 0.6);
    border-radius: 10px;
    padding: 8px 16px;
    font-size: 0.9rem;
    font-weight: bold;
    color: #ffd700;
    margin-top: 10px;
    display: inline-block;
    backdrop-filter: blur(8px);
    box-shadow: 
        0 2px 10px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.1),
        0 0 10px rgba(255, 215, 0, 0.2);
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7);
    animation: roundTrackerPulse 2s ease-in-out infinite;
}

@keyframes roundTrackerPulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 
            0 2px 10px rgba(0, 0, 0, 0.3),
            inset 0 1px 0 rgba(255, 255, 255, 0.1),
            0 0 10px rgba(255, 215, 0, 0.2);
    }
    50% {
        transform: scale(1.02);
        box-shadow: 
            0 2px 10px rgba(0, 0, 0, 0.3),
            inset 0 1px 0 rgba(255, 255, 255, 0.1),
            0 0 15px rgba(255, 215, 0, 0.4);
    }
}

@keyframes professionalQuestionGlow {
    0%, 100% {
        box-shadow: 
            0 0 25px rgba(255, 215, 0, 0.5),
            0 12px 40px rgba(0, 0, 0, 0.4), 
            inset 0 2px 0 rgba(255, 215, 0, 0.4),
            inset 0 0 25px rgba(255, 215, 0, 0.15),
            inset 0 0 50px rgba(255, 255, 255, 0.03);
    }
    50% {
        box-shadow: 
            0 0 35px rgba(255, 215, 0, 0.7),
            0 12px 40px rgba(0, 0, 0, 0.4), 
            inset 0 2px 0 rgba(255, 215, 0, 0.5),
            inset 0 0 35px rgba(255, 215, 0, 0.2),
            inset 0 0 70px rgba(255, 255, 255, 0.05);
    }
}

@keyframes questionBorderShimmer {
    0% { background-position: 0% 0%; }
    50% { background-position: 100% 100%; }
    100% { background-position: 0% 0%; }
}

.answers-board {
    display: flex;
    gap: 30px;
    justify-content: center;
    flex: 1;
    padding: 10px;
    height: 100%;
    align-items: stretch;
}

.answers-column {
    display: flex;
    flex-direction: column;
    gap: 12px;
    flex: 1;
    max-width: 700px;
    height: 100%;
    justify-content: space-evenly;
}

.answer-slot {
    background: linear-gradient(135deg, rgba(22, 33, 62, 0.9) 0%, rgba(15, 52, 96, 0.8) 100%);
    border: 2px solid rgba(15, 52, 96, 0.8);
    border-radius: 12px;
    padding: 15px;
    display: flex;
    align-items: center;
    flex: 1;
    min-height: 70px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    backdrop-filter: blur(10px);
    box-shadow: 
        0 4px 20px rgba(0, 0, 0, 0.2), 
        inset 0 1px 0 rgba(255, 255, 255, 0.1),
        0 0 10px rgba(255, 215, 0, 0.2);
    position: relative;
    overflow: hidden;
}

.answer-slot::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(255, 215, 0, 0.1), 
        rgba(255, 215, 0, 0.2), 
        rgba(255, 215, 0, 0.1), 
        transparent
    );
    transition: left 0.6s ease;
}

.answer-slot:hover::before {
    left: 100%;
}

.answer-slot:hover {
    border: 2px solid #ffd700;
    transform: translateY(-3px) scale(1.02);
    box-shadow: 
        0 8px 25px rgba(255, 215, 0, 0.6), 
        0 0 30px rgba(255, 215, 0, 0.4),
        0 0 50px rgba(255, 215, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    background: linear-gradient(135deg, rgba(22, 33, 62, 0.95) 0%, rgba(15, 52, 96, 0.9) 100%);
    animation: hoverGlow 0.3s ease;
}

@keyframes hoverGlow {
    0% {
        box-shadow: 
            0 4px 20px rgba(0, 0, 0, 0.2), 
            inset 0 1px 0 rgba(255, 255, 255, 0.1),
            0 0 10px rgba(255, 215, 0, 0.2);
    }
    100% {
        box-shadow: 
            0 8px 25px rgba(255, 215, 0, 0.6), 
            0 0 30px rgba(255, 215, 0, 0.4),
            0 0 50px rgba(255, 215, 0, 0.2),
            inset 0 1px 0 rgba(255, 255, 255, 0.2);
    }
}

.answer-slot.revealed {
    background: linear-gradient(135deg, #ffd700 0%, #ffed4e 25%, #fff 50%, #ffed4e 75%, #ffd700 100%);
    background-size: 200% 200%;
    animation: spectacularReveal 1.2s ease-out, shimmerReveal 2s ease-in-out infinite 1.2s;
    color: #1a1a2e;
    border: 3px solid #fff;
    position: relative;
    overflow: hidden;
    box-shadow: 
        0 0 20px rgba(255, 215, 0, 1),
        0 0 40px rgba(255, 215, 0, 0.8),
        0 0 60px rgba(255, 215, 0, 0.6),
        inset 0 1px 0 rgba(255, 255, 255, 0.5),
        inset 0 -1px 0 rgba(0, 0, 0, 0.2);
    transform: scale(1.05);
}

.answer-slot.revealed::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: conic-gradient(
        transparent, 
        rgba(255, 215, 0, 0.2), 
        transparent, 
        rgba(255, 215, 0, 0.2), 
        transparent
    );
    border-radius: 12px;
    animation: rotatingGlow 3s linear infinite;
    pointer-events: none;
    z-index: -1;
}

@keyframes rotatingGlow {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes shimmerReveal {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.answer-slot.inactive {
    display: none !important;
    pointer-events: none;
}

.answer-slot.fade-in {
    animation: fadeInFromTop 0.8s ease-out forwards;
    opacity: 0;
    transform: translateY(-20px);
}

/* Lifeline Logo */
.lifeline-logo {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: -1;
    pointer-events: none;
}

.lifeline-image {
    opacity: 0.5;
    max-width: 400px;
    max-height: 300px;
    width: auto;
    height: auto;
}

@keyframes fadeInFromTop {
    0% {
        opacity: 0;
        transform: translateY(-20px) scale(0.9);
    }
    50% {
        opacity: 0.5;
        transform: translateY(-10px) scale(0.95);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.answer-slot.revealed::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.8), transparent);
    animation: lightning-flash 0.6s ease-in-out;
}

@keyframes spectacularReveal {
    0% { 
        transform: scale(0.5) rotateY(180deg) rotateX(90deg);
        opacity: 0;
        filter: blur(10px) brightness(0.5);
        box-shadow: 0 0 0 rgba(255, 215, 0, 0);
    }
    15% {
        transform: scale(0.8) rotateY(90deg) rotateX(45deg);
        opacity: 0.3;
        filter: blur(5px) brightness(0.8);
        box-shadow: 0 0 50px rgba(255, 215, 0, 0.8);
    }
    30% { 
        transform: scale(1.4) rotateY(45deg) rotateX(20deg);
        opacity: 0.6;
        filter: blur(2px) brightness(1.2);
        box-shadow: 
            0 0 60px rgba(255, 215, 0, 1),
            0 0 100px rgba(255, 215, 0, 0.6),
            0 0 140px rgba(255, 255, 255, 0.4);
    }
    50% {
        transform: scale(1.2) rotateY(10deg) rotateX(5deg);
        opacity: 0.8;
        filter: blur(1px) brightness(1.5);
        box-shadow: 
            0 0 40px rgba(255, 215, 0, 1),
            0 0 80px rgba(255, 215, 0, 0.8),
            0 0 120px rgba(255, 255, 255, 0.3);
    }
    75% {
        transform: scale(1.1) rotateY(-5deg) rotateX(-2deg);
        opacity: 0.95;
        filter: blur(0.5px) brightness(1.3);
        box-shadow: 
            0 0 30px rgba(255, 215, 0, 1),
            0 0 60px rgba(255, 215, 0, 0.7),
            0 0 90px rgba(255, 255, 255, 0.2);
    }
    100% { 
        transform: scale(1.05) rotateY(0deg) rotateX(0deg);
        opacity: 1;
        filter: blur(0px) brightness(1.1);
        box-shadow: 
            0 0 20px rgba(255, 215, 0, 1),
            0 0 40px rgba(255, 215, 0, 0.8),
            0 0 60px rgba(255, 215, 0, 0.6);
    }
}

@keyframes lightning-flash {
    0% { left: -100%; }
    50% { left: 100%; }
    100% { left: 100%; }
}

.answer-number {
    background: #ffd700;
    color: #1a1a2e;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.6rem;
    margin-right: 15px;
    flex-shrink: 0;
}

.answer-text {
    flex: 1;
    font-size: 1.8rem;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    line-height: 1.2;
}

.answer-points {
    background: #e74c3c;
    color: white;
    padding: 12px 18px;
    border-radius: 20px;
    font-weight: bold;
    font-size: 1.5rem;
    margin-left: 15px;
    min-width: 75px;
    text-align: center;
}

.teams-section {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex: 0 0 auto;
    margin: 15px 0 10px 0;
    padding: 0;
}

.team {
    flex: 1;
    max-width: 500px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 8px;
    padding: 8px 16px;
    border: 3px solid rgba(255, 215, 0, 0.6);
    background: rgba(22, 33, 62, 0.4);
    backdrop-filter: blur(10px);
    box-shadow: 
        0 4px 15px rgba(0, 0, 0, 0.2),
        0 0 8px rgba(255, 215, 0, 0.2);
    position: relative;
    overflow: hidden;
}

.team:hover {
    border-color: rgba(255, 215, 0, 0.9);
    background: rgba(22, 33, 62, 0.6);
    transform: translateY(-2px) scale(1.01);
    box-shadow: 
        0 6px 20px rgba(0, 0, 0, 0.3),
        0 0 15px rgba(255, 215, 0, 0.4);
}

.team.selected {
    border: 3px solid #ffd700;
    background: rgba(255, 215, 0, 0.15);
    animation: selectedTeamPulse 2s ease-in-out infinite;
    box-shadow: 
        0 0 25px rgba(255, 215, 0, 1),
        0 0 50px rgba(255, 215, 0, 0.6),
        0 10px 40px rgba(0, 0, 0, 0.4),
        inset 0 2px 0 rgba(255, 255, 255, 0.2),
        inset 0 0 30px rgba(255, 215, 0, 0.15);
    transform: scale(1.05);
}

@keyframes selectedTeamPulse {
    0%, 100% {
        box-shadow: 
            0 0 25px rgba(255, 215, 0, 1),
            0 0 50px rgba(255, 215, 0, 0.6),
            0 10px 40px rgba(0, 0, 0, 0.4),
            inset 0 2px 0 rgba(255, 255, 255, 0.2),
            inset 0 0 30px rgba(255, 215, 0, 0.15);
    }
    50% {
        box-shadow: 
            0 0 35px rgba(255, 215, 0, 1),
            0 0 70px rgba(255, 215, 0, 0.8),
            0 10px 40px rgba(0, 0, 0, 0.4),
            inset 0 2px 0 rgba(255, 255, 255, 0.3),
            inset 0 0 40px rgba(255, 215, 0, 0.2);
    }
}

.team-name-input {
    width: 100%;
    padding: 4px 6px;
    font-size: 0.9rem;
    font-weight: bold;
    text-align: center;
    border: 1px solid #ffd700;
    border-radius: 6px;
    background: transparent;
    color: #ffd700;
    margin-bottom: 4px;
    transition: all 0.3s ease;
}

.team-name-input:focus {
    outline: none;
    border-color: #ffed4e;
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.6), inset 0 0 10px rgba(255, 215, 0, 0.1);
    transform: scale(1.02);
}

.team-info {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
}

.team-score {
    background: rgba(231, 76, 60, 0.8);
    color: white;
    font-size: 1.5rem;
    font-weight: bold;
    padding: 6px 10px;
    border-radius: 6px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 2px 8px rgba(231, 76, 60, 0.3);
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
    min-width: 80px;
    text-align: center;
}

.team-score::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    transform: scale(0);
    transition: transform 0.6s ease;
}

.team-score.score-update {
    animation: score-pulse 0.6s ease;
}

.team-score.score-update::before {
    transform: scale(1);
}

@keyframes score-pulse {
    0% { 
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(231, 76, 60, 0.7);
    }
    50% { 
        transform: scale(1.05);
        box-shadow: 0 0 0 20px rgba(231, 76, 60, 0);
    }
    100% { 
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(231, 76, 60, 0);
    }
}

/* Strikes System */
.team-strikes {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 6px;
}

.strikes-label {
    color: #e74c3c;
    font-weight: bold;
    font-size: 0.6rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.strikes-display {
    display: flex;
    gap: 3px;
}

.strike {
    background: linear-gradient(135deg, #34495e 0%, #2c3e50 100%);
    color: #7f8c8d;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 0.9rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.strike.active {
    background: linear-gradient(45deg, #ff0000, #ff4444, #ff0000, #cc0000);
    background-size: 200% 200%;
    color: white;
    border: 2px solid #fff;
    animation: spectacularStrike 0.8s ease, strikeGlow 1.5s ease-in-out infinite 0.8s;
    box-shadow: 
        0 0 20px rgba(255, 0, 0, 1),
        0 0 40px rgba(255, 0, 0, 0.8),
        0 0 60px rgba(255, 0, 0, 0.6),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
    transform: scale(1.2);
    position: relative;
    overflow: hidden;
}

.strike.active::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(
        transparent, 
        rgba(255, 0, 0, 0.4), 
        transparent, 
        rgba(255, 100, 100, 0.4), 
        transparent
    );
    animation: rotatingStrike 2s linear infinite;
}

@keyframes rotatingStrike {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes strikeGlow {
    0%, 100% {
        box-shadow: 
            0 0 20px rgba(255, 0, 0, 1),
            0 0 40px rgba(255, 0, 0, 0.8),
            0 0 60px rgba(255, 0, 0, 0.6);
        background-position: 0% 50%;
    }
    50% {
        box-shadow: 
            0 0 30px rgba(255, 0, 0, 1),
            0 0 60px rgba(255, 0, 0, 1),
            0 0 90px rgba(255, 0, 0, 0.8);
        background-position: 100% 50%;
    }
}

@keyframes spectacularStrike {
    0% { 
        transform: scale(1) rotate(0deg);
        filter: brightness(1) blur(0px);
    }
    15% {
        transform: scale(1.5) rotate(180deg);
        filter: brightness(2) blur(2px);
    }
    30% {
        transform: scale(1.8) rotate(360deg);
        filter: brightness(3) blur(1px);
    }
    50% {
        transform: scale(1.4) rotate(540deg);
        filter: brightness(2.5) blur(0px);
    }
    70% {
        transform: scale(1.3) rotate(720deg);
        filter: brightness(2) blur(0px);
    }
    100% { 
        transform: scale(1.2) rotate(720deg);
        filter: brightness(1.5) blur(0px);
    }
}

/* Competition state styling */
.current-team-display.competition {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.2) 0%, rgba(255, 237, 78, 0.1) 100%) !important;
    border-color: #ffd700 !important;
    animation: competition-pulse 2s ease-in-out infinite;
}

@keyframes competition-pulse {
    0%, 100% { 
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2), 0 0 10px rgba(255, 215, 0, 0.3);
        transform: scale(1);
    }
    50% { 
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3), 0 0 20px rgba(255, 215, 0, 0.5);
        transform: scale(1.02);
    }
}

/* Team switching animations */
@keyframes team-switch-out {
    0% { 
        transform: scale(1) rotateY(0deg);
        opacity: 1;
    }
    50% { 
        transform: scale(0.8) rotateY(90deg);
        opacity: 0.3;
    }
    100% { 
        transform: scale(0.8) rotateY(90deg);
        opacity: 0;
    }
}

@keyframes team-switch-in {
    0% { 
        transform: scale(0.8) rotateY(-90deg);
        opacity: 0;
    }
    50% { 
        transform: scale(1.1) rotateY(-20deg);
        opacity: 0.7;
    }
    100% { 
        transform: scale(1) rotateY(0deg);
        opacity: 1;
    }
}

.team.switching-out {
    animation: team-switch-out 0.6s ease-in-out;
}

.team.switching-in {
    animation: team-switch-in 0.8s ease-in-out;
}

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

.team.three-strikes {
    animation: spectacularThreeStrikes 1.5s ease-in-out;
    border: 3px solid #ff0000 !important;
    background: linear-gradient(45deg, 
        rgba(255, 0, 0, 0.4) 0%, 
        rgba(255, 100, 100, 0.3) 25%,
        rgba(255, 0, 0, 0.4) 50%,
        rgba(200, 0, 0, 0.3) 75%,
        rgba(255, 0, 0, 0.4) 100%) !important;
    background-size: 200% 200%;
    box-shadow: 
        0 0 30px rgba(255, 0, 0, 1),
        0 0 60px rgba(255, 0, 0, 0.8),
        0 0 90px rgba(255, 0, 0, 0.6) !important;
    position: relative;
    overflow: hidden;
}

.team.three-strikes::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    animation: warningFlash 0.3s ease-in-out 5;
}

@keyframes warningFlash {
    0% { left: -100%; }
    100% { left: 100%; }
}

@keyframes spectacularThreeStrikes {
    0%, 100% { 
        transform: translateX(0) scale(1) rotate(0deg);
        background-position: 0% 50%;
    }
    10% { 
        transform: translateX(-10px) scale(1.05) rotate(-2deg);
        background-position: 25% 50%;
    }
    20% { 
        transform: translateX(10px) scale(1.1) rotate(2deg);
        background-position: 50% 50%;
    }
    30% { 
        transform: translateX(-8px) scale(1.08) rotate(-1.5deg);
        background-position: 75% 50%;
    }
    40% { 
        transform: translateX(8px) scale(1.12) rotate(1.5deg);
        background-position: 100% 50%;
    }
    50% { 
        transform: translateX(-6px) scale(1.06) rotate(-1deg);
        background-position: 75% 50%;
    }
    60% { 
        transform: translateX(6px) scale(1.09) rotate(1deg);
        background-position: 50% 50%;
    }
    70% { 
        transform: translateX(-4px) scale(1.04) rotate(-0.5deg);
        background-position: 25% 50%;
    }
    80% { 
        transform: translateX(4px) scale(1.07) rotate(0.5deg);
        background-position: 0% 50%;
    }
    90% { 
        transform: translateX(-2px) scale(1.02) rotate(0deg);
        background-position: 50% 50%;
    }
}

/* Game Controls */
.game-controls {
    margin-top: 8px;
    padding: 8px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 10px;
    border: 2px solid #ffd700;
    flex-shrink: 0;
}

.team-selection {
    text-align: center;
    margin-bottom: 8px;
}

.current-team-display {
    background: linear-gradient(135deg, rgba(26, 26, 46, 0.9) 0%, rgba(30, 60, 114, 0.7) 100%);
    padding: 8px;
    border-radius: 10px;
    border: 2px solid #ffd700;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2), inset 0 1px 0 rgba(255, 215, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.team-label {
    color: #ffd700;
    font-weight: bold;
    font-size: 1.1rem;
    margin-right: 8px;
}

.current-team-name {
    color: white;
    font-size: 1.2rem;
    font-weight: bold;
    text-transform: uppercase;
}

.action-buttons {
    display: flex;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
}

.action-btn {
    background: linear-gradient(135deg, #e74c3c 0%, #c0392b 50%, #e74c3c 100%);
    border: 2px solid #ffd700;
    font-size: 0.9rem;
    padding: 8px 16px;
    border-radius: 12px;
    box-shadow: 
        0 4px 15px rgba(0, 0, 0, 0.3),
        0 0 10px rgba(231, 76, 60, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.action-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.action-btn:not(:disabled):hover::before {
    left: 100%;
}

.action-btn:disabled {
    background: linear-gradient(135deg, #555 0%, #444 100%);
    border-color: #666;
    cursor: not-allowed;
    opacity: 0.5;
    box-shadow: 
        0 2px 8px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.action-btn:disabled:hover {
    transform: none;
    background: linear-gradient(135deg, #555 0%, #444 100%);
}

.action-btn:not(:disabled):hover {
    background: linear-gradient(135deg, #c0392b 0%, #e74c3c 50%, #c0392b 100%);
    transform: translateY(-2px) scale(1.05);
    box-shadow: 
        0 6px 20px rgba(0, 0, 0, 0.4),
        0 0 15px rgba(231, 76, 60, 0.6),
        0 0 25px rgba(231, 76, 60, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.action-btn:not(:disabled):active {
    transform: translateY(0) scale(1);
}

/* Remove old controls section */

.btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: 2px solid #ffd700;
    color: white;
    padding: 8px 16px;
    font-size: 0.9rem;
    font-weight: bold;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    gap: 6px;
    position: relative;
    overflow: hidden;
    box-shadow: 
        0 4px 15px rgba(0, 0, 0, 0.2),
        0 0 10px rgba(255, 215, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.btn::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 215, 0, 0.3), transparent);
    transition: left 0.5s ease;
}

.btn:hover::after {
    left: 100%;
}

.btn-icon {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.btn:hover::before {
    left: 100%;
}

.btn:hover {
    background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
    transform: translateY(-2px) scale(1.05);
    box-shadow: 
        0 8px 20px rgba(0, 0, 0, 0.3),
        0 0 20px rgba(255, 215, 0, 0.5),
        0 0 30px rgba(255, 215, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    border-color: #ffed4e;
}

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

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    animation: fadeIn 0.3s ease;
}

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

.modal-content {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    margin: 5% auto;
    padding: 30px;
    border: 5px solid #ffd700;
    border-radius: 20px;
    width: 90%;
    max-width: 800px;
    max-height: 85vh;
    overflow-y: auto;
    position: relative;
    animation: slideIn 0.3s ease;
}

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

.close {
    color: #ffd700;
    float: right;
    font-size: 2rem;
    font-weight: bold;
    cursor: pointer;
    position: absolute;
    right: 20px;
    top: 15px;
}

.close:hover {
    color: #ffed4e;
}

.modal-content h2 {
    color: #ffd700;
    margin-bottom: 30px;
    text-align: center;
    font-size: 2.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.config-section {
    margin-bottom: 30px;
}

.config-section label {
    display: block;
    color: #ffd700;
    font-size: 1.3rem;
    font-weight: bold;
    margin-bottom: 10px;
}

.config-section input[type="text"] {
    width: 100%;
    padding: 12px;
    font-size: 1.1rem;
    border: 2px solid #ffd700;
    border-radius: 8px;
    background: #1a1a2e;
    color: white;
}

.config-section h3 {
    color: #ffd700;
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.answers-config {
    display: grid;
    gap: 15px;
}

.answer-config {
    display: flex;
    gap: 15px;
    align-items: center;
}

.answer-config input[type="text"] {
    flex: 2;
    padding: 10px;
    font-size: 1rem;
    border: 2px solid #ffd700;
    border-radius: 6px;
    background: #1a1a2e;
    color: white;
}

.answer-config input[type="number"] {
    flex: 0 0 100px;
    padding: 10px;
    font-size: 1rem;
    border: 2px solid #ffd700;
    border-radius: 6px;
    background: #1a1a2e;
    color: white;
    text-align: center;
}

.config-section input:focus {
    outline: none;
    border-color: #ffed4e;
    box-shadow: 0 0 8px rgba(255, 215, 0, 0.4);
}

.file-input {
    width: 100% !important;
    padding: 10px !important;
    font-size: 1rem !important;
    border: 2px solid #ffd700 !important;
    border-radius: 6px !important;
    background: #1a1a2e !important;
    color: white !important;
    margin-bottom: 10px;
}

.question-select {
    width: 100%;
    padding: 12px;
    font-size: 1.1rem;
    border: 2px solid #ffd700;
    border-radius: 8px;
    background: #1a1a2e;
    color: white;
}

.question-select:focus {
    outline: none;
    border-color: #ffed4e;
    box-shadow: 0 0 8px rgba(255, 215, 0, 0.4);
}

.question-select option {
    background: #1a1a2e;
    color: white;
    padding: 10px;
}

.config-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}

/* Alert and Confirmation Modals */
.alert-modal, .confirm-modal {
    max-width: 500px;
    text-align: center;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid #ffd700;
}

.modal-header h3 {
    color: #ffd700;
    margin: 0;
    font-size: 1.8rem;
    font-weight: bold;
}

.modal-body {
    margin-bottom: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.alert-icon, .confirm-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: icon-pulse 1s ease-in-out;
}

.alert-icon {
    background: linear-gradient(135deg, #27ae60, #2ecc71);
    color: white;
}

.confirm-icon {
    background: linear-gradient(135deg, #f39c12, #e67e22);
    color: white;
}

.alert-icon-svg, .confirm-icon-svg {
    width: 50px;
    height: 50px;
}

@keyframes icon-pulse {
    0% { transform: scale(0.8); opacity: 0; }
    50% { transform: scale(1.1); opacity: 0.8; }
    100% { transform: scale(1); opacity: 1; }
}

.modal-body p {
    color: white;
    font-size: 1.3rem;
    line-height: 1.5;
    margin: 0;
    text-align: center;
}

.modal-footer {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.alert-btn {
    background: linear-gradient(135deg, #27ae60, #2ecc71);
    border-color: #2ecc71;
    min-width: 120px;
}

.alert-btn:hover {
    background: linear-gradient(135deg, #2ecc71, #27ae60);
}

.confirm-btn {
    min-width: 100px;
}

.confirm-yes {
    background: linear-gradient(135deg, #27ae60, #2ecc71);
    border-color: #2ecc71;
}

.confirm-yes:hover {
    background: linear-gradient(135deg, #2ecc71, #27ae60);
}

.confirm-no {
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    border-color: #e74c3c;
}

.confirm-no:hover {
    background: linear-gradient(135deg, #c0392b, #e74c3c);
}

/* Help Modal */
.help-modal {
    max-width: 700px;
    max-height: 80vh;
    overflow-y: auto;
}

.help-content {
    max-height: 60vh;
    overflow-y: auto;
    padding-right: 10px;
}

.help-section {
    margin-bottom: 25px;
    padding: 15px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    border-left: 4px solid #ffd700;
}

.help-section h4 {
    color: #ffd700;
    margin: 0 0 10px 0;
    font-size: 1.1rem;
}

.help-section ul {
    margin: 0;
    padding-left: 20px;
}

.help-section li {
    margin-bottom: 8px;
    line-height: 1.4;
}

.help-section strong {
    color: #ffd700;
}

/* Error and Success Alert Variations */
.alert-modal.error .alert-icon {
    background: linear-gradient(135deg, #e74c3c, #c0392b);
}

.alert-modal.error .alert-icon-svg {
    display: none;
}

.alert-modal.error .alert-icon::after {
    content: '✕';
    font-size: 2.5rem;
    font-weight: bold;
    color: white;
}

.alert-modal.warning .alert-icon {
    background: linear-gradient(135deg, #f39c12, #e67e22);
}

.alert-modal.warning .alert-icon-svg {
    display: none;
}

.alert-modal.warning .alert-icon::after {
    content: '⚠';
    font-size: 2.5rem;
    color: white;
}

/* Background Lightning Effect */
.game-board::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(255, 215, 0, 0.15) 0%, transparent 60%),
        radial-gradient(circle at 80% 20%, rgba(255, 215, 0, 0.15) 0%, transparent 60%),
        radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.05) 0%, transparent 70%);
    pointer-events: none;
    animation: ambient-glow 6s ease-in-out infinite;
}

@keyframes ambient-glow {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 0.6; }
}

/* Enhanced Question Display */
.question-display {
    position: relative;
    overflow: hidden;
}

.question-display::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 215, 0, 0.2), transparent);
    animation: question-shimmer 3s ease-in-out infinite;
}

@keyframes question-shimmer {
    0% { left: -100%; }
    50% { left: 100%; }
    100% { left: 100%; }
}

/* Fullscreen button */
.fullscreen-btn {
    position: fixed;
    top: 8px;
    right: 8px;
    z-index: 1001;
    transform: scale(0.9);
}

/* Special tooltip for fullscreen button */
.fullscreen-btn:hover::after {
    content: attr(title);
    position: fixed;
    bottom: auto;
    top: 55px;
    right: 8px;
    left: auto;
    transform: none;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.9) 0%, rgba(30, 30, 30, 0.9) 100%);
    color: #ffd700;
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 0.75rem;
    font-weight: bold;
    white-space: nowrap;
    z-index: 1002;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 215, 0, 0.3);
    box-shadow: 
        0 4px 15px rgba(0, 0, 0, 0.4),
        0 0 10px rgba(255, 215, 0, 0.3);
    animation: tooltipFadeIn 0.3s ease;
}

.fullscreen-btn:hover::before {
    content: '';
    position: fixed;
    top: 48px;
    right: 20px;
    left: auto;
    bottom: auto;
    transform: none;
    border: 5px solid transparent;
    border-bottom-color: rgba(0, 0, 0, 0.9);
    z-index: 1002;
    animation: tooltipFadeIn 0.3s ease;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 5px;
    }
    
    .game-header {
        margin-bottom: 10px;
    }
    
    .game-header h1 {
        font-size: 2rem;
        letter-spacing: 2px;
        flex-direction: column;
        gap: 8px;
    }
    
    .lightning-icon {
        width: 25px;
        height: 25px;
    }
    
    .game-board {
        padding: 15px;
    }
    
    .question-display {
        padding: 10px;
        font-size: 1.2rem;
        min-height: 50px;
    }
    
    .answers-board {
        flex-direction: column;
        gap: 10px;
        margin-bottom: 25px;
    }
    
    .answers-column {
        gap: 8px;
    }
    
    .answer-slot {
        padding: 8px;
        min-height: 45px;
    }
    
    .teams-section {
        flex-direction: column;
        gap: 15px;
        margin: 25px 0 15px 0;
    }
    
    .team {
        padding: 8px;
    }
    
    .team-name-input {
        padding: 8px;
        font-size: 1rem;
        margin-bottom: 8px;
    }
    
    .team-score {
        font-size: 2rem;
        padding: 12px;
    }
    
    .game-controls {
        margin-top: 15px;
        padding: 12px;
    }
    
    .team-selection {
        margin-bottom: 12px;
    }
    
    .current-team-display {
        padding: 8px;
    }
    
    .controls {
        flex-wrap: wrap;
        gap: 8px;
        margin-top: 10px;
    }
    
    .action-buttons {
        gap: 8px;
    }
    
    .action-btn {
        padding: 6px 12px;
        font-size: 0.8rem;
    }
    
    .strikes-display {
        gap: 3px;
    }
    
    .strike {
        width: 25px;
        height: 25px;
        font-size: 1rem;
    }
    
    .btn {
        font-size: 0.9rem;
        padding: 8px 15px;
    }
    
    .btn-icon {
        width: 14px;
        height: 14px;
    }
    
    .answer-config {
        flex-direction: column;
        gap: 8px;
    }
    
    .answer-config input[type="number"] {
        flex: 1;
    }
}

/* ====== PRINT STYLES ====== */
.print-modal .modal-body {
    max-height: 500px;
    overflow-y: auto;
}

.print-options h4 {
    margin-bottom: 15px;
    color: #2c5aa0;
}

.print-selection {
    margin-bottom: 20px;
}

.print-option {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    cursor: pointer;
}

.print-option input[type="radio"] {
    margin-right: 10px;
}

.range-inputs {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-left: 10px;
}

.range-inputs input {
    padding: 4px 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.print-info {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 8px;
    border-left: 4px solid #2c5aa0;
    color: #333;
}

.print-info ul {
    margin-left: 20px;
    margin-top: 10px;
    color: #333;
}

.print-info li {
    margin-bottom: 5px;
    color: #333;
}

.print-info p {
    color: #333;
    margin-bottom: 10px;
}

/* Print Container Styles */
.print-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: white;
    z-index: 10000;
    overflow-y: auto;
    font-family: 'Arial', sans-serif;
    color: #333;
    line-height: 1.4;
}

/* Print Styles */
@media print {
    .no-print, .toolbar-btn, .top-toolbar, .game-controls, .teams-section, .modal, .print-header {
        display: none !important;
    }
    
    body {
        background: white !important;
        color: black !important;
        font-size: 11px;
        overflow: visible !important;
        height: auto !important;
        margin: 0 !important;
        padding: 0 !important;
    }
    
    .print-container {
        position: static !important;
        background: white !important;
        overflow: visible !important;
        margin: 0 !important;
        padding: 0 !important;
    }
    
    .print-cards-container {
        margin: 0 !important;
        padding: 5mm !important;
        gap: 8px !important;
    }
    
    .print-question-card {
        font-size: 7px !important;
    }
}

@page {
    size: A4;
    margin: 8mm;
}

.print-cards-container {
    width: 100%;
    padding: 10px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    align-items: start;
}

.print-cards-container .print-summary-page {
    grid-column: 1 / -1; /* Summary spans all columns */
}

.print-question-card {
    break-inside: avoid;
    margin-bottom: 0;
    border: 2px solid #1e4a73;
    border-radius: 8px;
    overflow: hidden;
    background: white;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    width: 100%;
    font-family: 'Arial Black', Arial, sans-serif;
}

.print-card-header {
    background: linear-gradient(135deg, #1e4a73 0%, #2c5aa0 50%, #3d6ab8 100%);
    color: white;
    padding: 8px 10px;
    font-weight: bold;
    font-size: 11px;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
    border-bottom: 2px solid #1e4a73;
}

.print-question-number {
    background: rgba(255,255,255,0.2);
    padding: 4px 8px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: bold;
    margin-right: 10px;
    display: inline-block;
}

.print-question-text {
    font-size: 13px;
    line-height: 1.3;
    font-weight: bold;
}

.print-answers-grid {
    padding: 8px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 3px;
    background: linear-gradient(180deg, #f8f9fa 0%, #e9ecef 100%);
}

.print-answer-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 4px 6px;
    background: white;
    border: 1px solid #dee2e6;
    border-radius: 4px;
    font-size: 8px;
    box-shadow: 0 1px 2px rgba(0,0,0,0.1);
    transition: all 0.2s ease;
}

.print-answer-number {
    background: linear-gradient(135deg, #1e4a73 0%, #2c5aa0 100%);
    color: white;
    border-radius: 50%;
    width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 8px;
    font-weight: bold;
    margin-right: 6px;
    flex-shrink: 0;
    box-shadow: 0 1px 2px rgba(0,0,0,0.2);
}

.print-answer-text {
    font-weight: 600;
    flex-grow: 1;
    margin-right: 6px;
    color: #2c3e50;
    letter-spacing: 0.2px;
    font-size: 8px;
}

.print-answer-points {
    background: linear-gradient(135deg, #218838 0%, #28a745 100%);
    color: white;
    padding: 3px 6px;
    border-radius: 12px;
    font-size: 7px;
    font-weight: bold;
    min-width: 20px;
    text-align: center;
    flex-shrink: 0;
    box-shadow: 0 1px 2px rgba(0,0,0,0.15);
}

/* Print media adjustments */
@media print {
    .print-cards-container {
        padding: 10px;
        gap: 12px;
    }
    
    .print-question-card {
        font-size: 8px;
    }
}

/* Summary page styles */
.print-summary-page {
    break-before: page;
    padding: 20px 0;
}

.print-summary-title {
    text-align: center;
    font-size: 18px;
    font-weight: bold;
    color: #2c5aa0;
    margin-bottom: 30px;
    border-bottom: 2px solid #2c5aa0;
    padding-bottom: 10px;
}

.print-summary-stats {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 20px;
    margin-bottom: 30px;
    text-align: center;
}

.print-stat-box {
    padding: 15px;
    background: #f8f9fa;
    border-radius: 8px;
    border: 1px solid #dee2e6;
}

.print-stat-number {
    font-size: 24px;
    font-weight: bold;
    color: #2c5aa0;
}

.print-stat-label {
    font-size: 12px;
    color: #666;
    margin-top: 5px;
}

.print-quick-reference {
    margin-top: 30px;
}

.print-quick-reference h3 {
    color: #2c5aa0;
    margin-bottom: 15px;
    border-bottom: 1px solid #ddd;
    padding-bottom: 5px;
}

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

.print-reference-item {
    font-size: 10px;
    padding: 8px;
    background: #f8f9fa;
    border-radius: 4px;
    border-left: 3px solid #2c5aa0;
}

.print-reference-question {
    font-weight: bold;
    margin-bottom: 3px;
}

.print-reference-top-answer {
    color: #28a745;
    font-weight: 500;
}

.print-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    background: #fff;
    border: 2px solid #2c5aa0;
    border-bottom: 3px solid #2c5aa0;
    margin-bottom: 20px;
    color: #333;
    font-weight: bold;
}

.print-header h2 {
    color: #2c5aa0;
    margin: 0;
}

.print-close-btn {
    background: #6c757d;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
}

.print-close-btn:hover {
    background: #545b62;
}

/* Full-screen strike effect */
.strike-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: radial-gradient(circle, rgba(220, 53, 69, 0.9) 0%, rgba(139, 0, 0, 0.7) 50%, rgba(0, 0, 0, 0.4) 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    pointer-events: none;
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.1s ease-out;
}

.strike-overlay.show {
    opacity: 1;
    transform: scale(1);
    animation: strikeShake 0.6s ease-in-out;
}

.strike-text {
    font-size: 15vw;
    font-weight: 900;
    color: #ffffff;
    text-shadow: 
        0 0 20px rgba(255, 255, 255, 0.8),
        0 0 40px rgba(220, 53, 69, 0.8),
        0 0 60px rgba(220, 53, 69, 0.6),
        5px 5px 0px #8b0000,
        10px 10px 0px #600000;
    letter-spacing: 0.5vw;
    margin-bottom: 2vh;
    animation: strikeTextGlow 0.6s ease-in-out;
}

.strike-message {
    font-size: 4vw;
    font-weight: bold;
    color: #ffffff;
    text-shadow: 
        0 0 10px rgba(255, 255, 255, 0.8),
        2px 2px 0px #8b0000,
        4px 4px 0px #600000;
    text-align: center;
    letter-spacing: 0.2vw;
    animation: strikeMessagePulse 0.6s ease-in-out;
}

@keyframes strikeShake {
    0% { transform: scale(1) rotate(0deg); }
    15% { transform: scale(1.05) rotate(-2deg); }
    30% { transform: scale(0.95) rotate(2deg); }
    45% { transform: scale(1.03) rotate(-1deg); }
    60% { transform: scale(0.98) rotate(1deg); }
    75% { transform: scale(1.01) rotate(-0.5deg); }
    100% { transform: scale(1) rotate(0deg); }
}

@keyframes strikeTextGlow {
    0% { 
        text-shadow: 
            0 0 20px rgba(255, 255, 255, 0.8),
            0 0 40px rgba(220, 53, 69, 0.8),
            0 0 60px rgba(220, 53, 69, 0.6),
            5px 5px 0px #8b0000,
            10px 10px 0px #600000;
    }
    50% { 
        text-shadow: 
            0 0 40px rgba(255, 255, 255, 1),
            0 0 80px rgba(220, 53, 69, 1),
            0 0 120px rgba(220, 53, 69, 0.8),
            5px 5px 0px #8b0000,
            10px 10px 0px #600000;
    }
    100% { 
        text-shadow: 
            0 0 20px rgba(255, 255, 255, 0.8),
            0 0 40px rgba(220, 53, 69, 0.8),
            0 0 60px rgba(220, 53, 69, 0.6),
            5px 5px 0px #8b0000,
            10px 10px 0px #600000;
    }
}

@keyframes strikeMessagePulse {
    0% { 
        transform: scale(1);
        opacity: 0.8;
    }
    50% { 
        transform: scale(1.1);
        opacity: 1;
    }
    100% { 
        transform: scale(1);
        opacity: 0.9;
    }
}

/* Steal mode styling */
.steal-mode {
    background: linear-gradient(45deg, #ff6b35, #f7931e, #ff6b35) !important;
    color: white !important;
    animation: stealModeGlow 1s ease-in-out infinite alternate !important;
    font-weight: bold !important;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.8) !important;
    border: 3px solid #fff !important;
    box-shadow: 
        0 0 20px rgba(255, 107, 53, 0.8),
        inset 0 0 20px rgba(255, 255, 255, 0.2) !important;
}

@keyframes stealModeGlow {
    0% { 
        box-shadow: 
            0 0 20px rgba(255, 107, 53, 0.8),
            inset 0 0 20px rgba(255, 255, 255, 0.2);
    }
    100% { 
        box-shadow: 
            0 0 30px rgba(255, 107, 53, 1),
            0 0 40px rgba(247, 147, 30, 0.6),
            inset 0 0 20px rgba(255, 255, 255, 0.3);
    }
}

/* Question jump styling */
.question-jump {
    display: flex;
    align-items: center;
    gap: 4px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 4px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

#questionJumpInput {
    width: 60px;
    padding: 6px 8px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 6px;
    color: white;
    font-size: 14px;
    text-align: center;
    font-weight: bold;
}

#questionJumpInput::placeholder {
    color: rgba(255, 255, 255, 0.6);
    font-weight: normal;
}

#questionJumpInput:focus {
    outline: none;
    border-color: #ffd700;
    box-shadow: 0 0 0 2px rgba(255, 215, 0, 0.3);
    background: rgba(255, 255, 255, 0.15);
}

.jump-btn {
    padding: 6px !important;
    min-height: 32px !important;
}

.jump-btn svg {
    width: 16px !important;
    height: 16px !important;
}

/* Splash Screen Styles */
.splash-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    opacity: 1;
    transition: opacity 0.5s ease-out;
}

.splash-screen.fade-out {
    opacity: 0;
    pointer-events: none;
}

.splash-content {
    text-align: center;
    color: white;
    animation: splashFadeIn 1.5s ease-out;
}

.splash-logo {
    margin-bottom: 30px;
    animation: logoFloat 3s ease-in-out infinite;
}

.splash-lifeline-image {
    max-width: 300px;
    max-height: 200px;
    width: auto;
    height: auto;
    opacity: 1;
    filter: drop-shadow(0 0 20px rgba(255, 215, 0, 0.3));
}

.splash-text h1 {
    font-size: 3.5rem;
    margin: 0 0 10px 0;
    font-weight: bold;
    background: linear-gradient(45deg, #ffd700, #ffed4e);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 2px 10px rgba(255, 215, 0, 0.3);
    animation: titleGlow 2s ease-in-out infinite alternate;
}

.splash-text p {
    font-size: 1.2rem;
    margin: 0;
    opacity: 0.9;
    font-weight: 300;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.splash-action {
    margin-top: 40px;
}

.splash-ok-btn {
    background: linear-gradient(135deg, #ffd700, #ffed4e);
    color: #1a1a2e;
    border: none;
    padding: 15px 30px;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 auto;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3);
    animation: buttonPulse 2s ease-in-out infinite;
}

.splash-ok-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 215, 0, 0.4);
    background: linear-gradient(135deg, #ffed4e, #ffd700);
}

.splash-ok-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 10px rgba(255, 215, 0, 0.3);
}

.splash-ok-btn .btn-icon {
    width: 20px;
    height: 20px;
}

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

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

@keyframes titleGlow {
    from {
        text-shadow: 0 2px 10px rgba(255, 215, 0, 0.3);
    }
    to {
        text-shadow: 0 2px 20px rgba(255, 215, 0, 0.6);
    }
}

@keyframes buttonPulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 6px 20px rgba(255, 215, 0, 0.5);
    }
}

/* OLD STYLES - DISABLED */
.question-round-panel,
.round-info-compact,
.round-status-compact,
.round-controls-inline,
.lifeline-logo,
.teams-section,
.game-controls {
    display: none;
}

.round-info-compact {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.round-status-compact {
    display: flex;
    align-items: center;
    gap: 15px;
}

.round-controls-inline {
    display: flex;
    align-items: center;
    gap: 8px;
}

.round-display {
    display: flex;
    align-items: center;
    gap: 10px;
}

.question-tracker {
    display: flex;
    align-items: center;
    gap: 10px;
}

.question-label {
    font-size: 14px;
    font-weight: bold;
    color: #FFD700;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.question-progress {
    font-size: 16px;
    font-weight: bold;
    color: #FFF;
    background: linear-gradient(135deg, #16a085, #2c3e50);
    padding: 4px 8px;
    border-radius: 8px;
    min-width: 50px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(22, 160, 133, 0.4);
}

.round-label {
    font-size: 18px;
    font-weight: bold;
    color: #FFD700;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.round-number {
    font-size: 24px;
    font-weight: bold;
    color: #FFF;
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    padding: 8px 16px;
    border-radius: 50%;
    min-width: 40px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.4);
}

.points-multiplier {
    padding: 8px 16px;
    border-radius: 25px;
    font-weight: bold;
    text-align: center;
    transition: all 0.3s ease;
}

.points-multiplier .multiplier-text {
    font-size: 16px;
}

.points-multiplier.normal {
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.4);
}

.points-multiplier.double {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: white;
    box-shadow: 0 4px 15px rgba(245, 158, 11, 0.4);
    animation: doubleGlow 2s ease-in-out infinite;
}

.points-multiplier.triple {
    background: linear-gradient(135deg, #dc2626, #991b1b);
    color: white;
    box-shadow: 0 4px 15px rgba(220, 38, 38, 0.4);
    animation: tripleGlow 1.5s ease-in-out infinite;
}

.current-points {
    display: flex;
    align-items: center;
    gap: 10px;
}

.current-points-label {
    font-size: 14px;
    color: #FFD700;
    font-weight: bold;
}

.current-points-value {
    font-size: 20px;
    font-weight: bold;
    color: #FFF;
    background: linear-gradient(135deg, #7c3aed, #5b21b6);
    padding: 6px 12px;
    border-radius: 8px;
    min-width: 60px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(124, 58, 237, 0.4);
}


.round-btn {
    margin: 2px;
    padding: 6px 10px;
    font-size: 12px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    min-width: auto;
}

.round-controls-inline .round-btn {
    padding: 4px 8px;
    font-size: 11px;
    margin: 1px;
}

.round-btn.double {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    border-color: #f59e0b;
}

.round-btn.double:hover {
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    box-shadow: 0 6px 20px rgba(245, 158, 11, 0.4);
}

.round-btn.triple {
    background: linear-gradient(135deg, #dc2626, #991b1b);
    border-color: #dc2626;
}

.round-btn.triple:hover {
    background: linear-gradient(135deg, #ef4444, #dc2626);
    box-shadow: 0 6px 20px rgba(220, 38, 38, 0.4);
}

.round-btn.active {
    transform: scale(1.05);
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.6);
}

@keyframes doubleGlow {
    0%, 100% {
        box-shadow: 0 4px 15px rgba(245, 158, 11, 0.4);
    }
    50% {
        box-shadow: 0 6px 25px rgba(245, 158, 11, 0.7);
    }
}

@keyframes tripleGlow {
    0%, 100% {
        box-shadow: 0 4px 15px rgba(220, 38, 38, 0.4);
    }
    50% {
        box-shadow: 0 6px 25px rgba(220, 38, 38, 0.8);
    }
}

/* NEW RESPONSIVE DESIGN */
@media (max-width: 768px) {
    .game-layout {
        height: calc(100vh - 100px);
    }
    
    .game-primary {
        height: 65vh;
        padding: 10px 15px;
    }
    
    .game-controls-panel {
        height: 35vh;
        max-height: 35vh;
        padding: 8px 10px;
    }
    
    .question-header .question-display {
        padding: 8px 15px;
        font-size: 1.1rem;
        min-height: 35px;
    }
    
    .answers-board {
        gap: 15px;
        padding: 5px;
    }
    
    .answers-column {
        gap: 8px;
    }
    
    .answer-slot {
        padding: 10px;
        min-height: 60px;
    }
    
    .answer-number {
        width: 40px;
        height: 40px;
        font-size: 1.3rem;
    }
    
    .answer-text {
        font-size: 1.4rem;
    }
    
    .answer-points {
        font-size: 1.2rem;
        padding: 8px 12px;
    }
    
    .control-row {
        margin-bottom: 5px;
    }
    
    .round-info-group {
        gap: 8px;
        flex-wrap: wrap;
    }
    
    .round-number {
        padding: 3px 8px;
        font-size: 14px;
        min-width: 25px;
    }
    
    .current-points-value {
        font-size: 14px;
        padding: 2px 6px;
        min-width: 35px;
    }
    
    .teams-container {
        gap: 8px;
    }
    
    .team.team-compact {
        padding: 6px 8px;
    }
    
    .team-score.compact {
        font-size: 1rem;
        padding: 3px 6px;
        min-width: 35px;
    }
    
    .game-actions-center {
        min-width: 150px;
        padding: 0 5px;
    }
    
    .current-team-display.compact {
        font-size: 0.7rem;
        padding: 3px 6px;
        min-width: 120px;
    }
    
    .action-btn.compact {
        padding: 3px 6px;
        font-size: 0.6rem;
    }
    
    .lifeline-image-small {
        height: 25px;
    }
}