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

body {
    font-family: Arial, sans-serif;
    background-color: #000033;
    color: #fff;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.game-container {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    padding: 20px;
}

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

h1 {
    color: #ffd700;
    margin-bottom: 15px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.current-money {
    font-size: 24px;
    color: #ffd700;
}

.main-game {
    display: grid;
    grid-template-columns: 1fr 2fr 1fr;
    gap: 20px;
    margin-bottom: 30px;
}

.help-lines {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.help-button {
    padding: 10px;
    background-color: #1a1a4d;
    color: #fff;
    border: 2px solid #ffd700;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.help-button:hover:not(:disabled) {
    background-color: #2a2a6d;
    transform: scale(1.05);
}

.help-button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.question-container {
    background-color: #1a1a4d;
    padding: 20px;
    border-radius: 10px;
    border: 2px solid #ffd700;
}

.question {
    font-size: 20px;
    margin-bottom: 20px;
    text-align: center;
    min-height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.answer-button {
    padding: 15px;
    background-color: #000066;
    color: #fff;
    border: 2px solid #4444cc;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 16px;
    text-align: left;
}

.answer-button:hover:not(:disabled) {
    background-color: #0000cc;
    transform: scale(1.02);
}

.answer-button.selected {
    background-color: #ffd700;
    color: #000;
}

.answer-button.correct {
    background-color: #00cc00;
    border-color: #00ff00;
}

.answer-button.wrong {
    background-color: #cc0000;
    border-color: #ff0000;
}

.money-ladder {
    display: flex;
    flex-direction: column-reverse;
    gap: 5px;
}

.money-item {
    padding: 8px;
    background-color: #1a1a4d;
    border: 1px solid #4444cc;
    border-radius: 3px;
    text-align: right;
}

.money-item.active {
    background-color: #ffd700;
    color: #000;
}

.money-item.safe {
    border-color: #00ff00;
}

.controls {
    text-align: center;
    margin-top: 20px;
}

.control-button {
    padding: 15px 30px;
    font-size: 18px;
    background-color: #ffd700;
    color: #000;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.control-button:hover {
    background-color: #ffed4a;
    transform: scale(1.05);
}

.message {
    text-align: center;
    margin-top: 20px;
    min-height: 24px;
    color: #ffd700;
    font-size: 18px;
}

@media (max-width: 768px) {
    .main-game {
        grid-template-columns: 1fr;
    }

    .help-lines {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
    }

    .help-button {
        flex: 1;
        min-width: 150px;
    }

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