* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Arial', sans-serif;
}

body {
    background-color: #000;
    color: white;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    overflow-x: hidden;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.header {
    text-align: center;
    margin-bottom: 20px;
}

.logo {
    color: #ffd700;
    font-size: 2.5rem;
    font-weight: bold;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.7);
    margin-bottom: 10px;
}

.game-area {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex-grow: 1;
    position: relative;
}

.question-container {
    width: 90%;
    background: linear-gradient(to right, #00008B, #000080, #00008B);
    border: 3px solid #4169E1;
    border-radius: 15px;
    padding: 20px;
    margin-bottom: 30px;
    text-align: center;
    box-shadow: 0 0 20px rgba(65, 105, 225, 0.5);
}

.question {
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.answers-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    width: 90%;
}

.answer {
    background: linear-gradient(to right, #00008B, #000080, #00008B);
    border: 2px solid #4169E1;
    border-radius: 10px;
    padding: 15px;
    cursor: pointer;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    position: relative;
    color: white;
    display: flex;
    align-items: center;
}

.answer:hover {
    background: linear-gradient(to right, #191970, #000080, #191970);
    transform: scale(1.02);
}

.answer.selected {
    background: #FFD700;
    color: #000;
    border-color: #B8860B;
}

.answer.correct {
    background: #008000;
    color: white;
    border-color: #006400;
}

.answer.incorrect {
    background: #8B0000;
    color: white;
    border-color: #800000;
}

.answer-letter {
    margin-right: 15px;
    font-weight: bold;
    font-size: 1.2rem;
}

.lifelines {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 20px 0;
}

.lifeline {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #4169E1;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 0 10px rgba(65, 105, 225, 0.5);
}

.lifeline:hover {
    transform: scale(1.1);
    background: #6495ED;
}

.lifeline.used {
    background: #696969;
    color: #A9A9A9;
    cursor: not-allowed;
}

.money-ladder {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.7);
    border-left: 2px solid #4169E1;
    padding: 15px;
    display: block;
    max-height: 80vh;
    overflow-y: auto;
}

.money-level {
    padding: 5px 10px;
    margin: 5px 0;
    border-radius: 5px;
    font-weight: bold;
}

.money-level.current {
    background: #FFD700;
    color: #000;
}

.money-level.milestone {
    color: #FFD700;
}

.controls {
    display: flex;
    justify-content: space-between;
    width: 90%;
    margin-top: 20px;
}

button {
    background: linear-gradient(to bottom, #4169E1, #000080);
    color: white;
    border: none;
    border-radius: 5px;
    padding: 10px 20px;
    cursor: pointer;
    font-weight: bold;
    transition: all 0.3s ease;
}

button:hover {
    background: linear-gradient(to bottom, #6495ED, #191970);
}

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

.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    justify-content: center;
    align-items: center;
    z-index: 10;
}

.modal.active {
    display: flex;
}

.modal-content {
    background: linear-gradient(to right, #00008B, #000080, #00008B);
    border: 3px solid #4169E1;
    border-radius: 15px;
    padding: 30px;
    max-width: 400px;
    text-align: center;
    box-shadow: 0 0 30px rgba(65, 105, 225, 0.7);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.modal-logo {
    max-width: 200px;
    height: auto;
    margin-bottom: 10px;
    filter: drop-shadow(0 0 10px rgba(255, 215, 0, 0.7));
}

.modal-text {
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: #fff;
    text-shadow: 0 0 5px rgba(0, 0, 0, 0.8);
}

.timer {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(to right, #00008B, #000080, #00008B);
    border: 3px solid #4169E1;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: bold;
    margin: 20px auto;
    box-shadow: 0 0 20px rgba(65, 105, 225, 0.5);
    position: relative;
}

.timer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 50%;
    background: transparent;
    z-index: 1;
}

.timer span {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.fade-in {
    animation: fadeIn 1s;
}

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

.pulse {
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.shake {
    animation: shake 0.5s;
}

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

/* Sound controls */
.sound-controls {
    position: absolute;
    top: 20px;
    right: 20px;
    display: flex;
    gap: 10px;
}

.sound-btn {
    background: rgba(65, 105, 225, 0.5);
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}

/* Responsive */
@media (max-width: 768px) {
    .answers-grid {
        grid-template-columns: 1fr;
    }
    
    .money-ladder {
        position: static;
        transform: none;
        margin-top: 20px;
        max-height: none;
    }
    
    .logo {
        font-size: 1.8rem;
    }
    
    .question {
        font-size: 1.1rem;
    }
    
    .answer {
        font-size: 1rem;
    }
}

/* Million Dollar Win Modal Styles */
.million-win {
    max-width: 400px !important;
    padding: 40px !important;
    background: linear-gradient(135deg, #00008B, #000080, #00008B) !important;
    border: 4px solid #FFD700 !important;
    box-shadow: 0 0 40px rgba(255, 215, 0, 0.8) !important;
}

.million-win-image {
    max-width: 100%;
    height: auto;
    margin-bottom: 20px;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.6);
}

.million-win-text {
    font-size: 2rem !important;
    color: #FFD700 !important;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.7) !important;
    margin: 20px 0 !important;
    animation: pulse 2s infinite;
}

#million-win-btn {
    background: linear-gradient(to bottom, #FFD700, #B8860B) !important;
    color: #000 !important;
    font-size: 1.2rem;
    padding: 15px 30px;
    border: 2px solid #FFD700;
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.6);
}

#million-win-btn:hover {
    background: linear-gradient(to bottom, #FFC000, #A67C00) !important;
    transform: scale(1.05);
} 