body {
    font-family: 'Inter', sans-serif;
    background: linear-gradient(to bottom, #0a0a0a, #333333);
    color: #ffffff;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    margin: 0;
    padding: 20px;
    box-sizing: border-box;
    overflow-y: auto;
}

.game-container {
    background-color: #1a1a1a;
    border-radius: 20px;
    box-shadow: 0 0 30px rgba(0, 255, 255, 0.5);
    padding: 30px;
    width: 100%;
    max-width: 900px;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 25px;
    position: relative;
    overflow: hidden;
    border: 2px solid #00ffff;
}

h1 {
    font-family: 'Roboto', sans-serif;
    font-size: 2.8em;
    color: #ffd700;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.8);
    margin-bottom: 20px;
    letter-spacing: 2px;
    line-height: 1.2;
}

.game-image {
    width: 100%;
    max-width: 300px;
    height: auto;
    border-radius: 10px;
    margin: 0 auto 20px;
    box-shadow: 0 0 15px rgba(0, 255, 255, 0.4);
    display: block;
    object-fit: cover;
}

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

.lifeline-button {
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 10px;
    padding: 12px 20px;
    font-size: 1.1em;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 123, 255, 0.4);
    font-weight: bold;
}

.lifeline-button:hover:not(:disabled) {
    background-color: #0056b3;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 123, 255, 0.6);
}

.lifeline-button:disabled {
    background-color: #6c757d;
    cursor: not-allowed;
    box-shadow: none;
}

.question-area {
    background-color: #2c3e50;
    border-radius: 15px;
    padding: 25px;
    margin-bottom: 25px;
    box-shadow: inset 0 0 15px rgba(0, 255, 255, 0.3);
    border: 1px solid #00ffff;
}

.question-text {
    font-size: 1.8em;
    margin-bottom: 20px;
    font-weight: 700;
    line-height: 1.4;
    color: #e0f7fa;
}

.options-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.option-button {
    background-color: #34495e;
    color: #ffffff;
    border: 2px solid #00ffff;
    border-radius: 10px;
    padding: 15px 20px;
    font-size: 1.2em;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
    font-weight: 600;
    text-align: left;
}

.option-button:hover:not(:disabled) {
    background-color: #2c3e50;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 255, 255, 0.4);
}

.option-button:disabled {
    background-color: #4a4a4a;
    color: #cccccc;
    cursor: not-allowed;
    border-color: #666666;
}

.option-button.correct {
    background-color: #28a745;
    border-color: #28a745;
    box-shadow: 0 0 20px rgba(40, 167, 69, 0.8);
}

.option-button.incorrect {
    background-color: #dc3545;
    border-color: #dc3545;
    box-shadow: 0 0 20px rgba(220, 53, 69, 0.8);
}

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

.control-button {
    background-color: #ffc107;
    color: #333;
    border: none;
    border-radius: 10px;
    padding: 15px 30px;
    font-size: 1.3em;
    cursor: pointer;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.2s ease;
    box-shadow: 0 5px 15px rgba(255, 193, 7, 0.4);
}

.control-button:hover:not(:disabled) {
    background-color: #e0a800;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(255, 193, 7, 0.6);
}

.control-button:disabled {
    background-color: #6c757d;
    cursor: not-allowed;
    box-shadow: none;
}

.message-box-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.message-box-overlay.show {
    opacity: 1;
    visibility: visible;
}

.message-box {
    background-color: #1a1a1a;
    border-radius: 15px;
    padding: 30px;
    max-width: 500px;
    width: 90%;
    box-shadow: 0 0 25px rgba(0, 255, 255, 0.6);
    text-align: center;
    border: 2px solid #00ffff;
}

.message-box h2 {
    color: #ffd700;
    font-size: 2.2em;
    margin-bottom: 20px;
}

.message-box p {
    font-size: 1.3em;
    margin-bottom: 30px;
    line-height: 1.5;
    color: #e0f7fa;
}

.message-box-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.message-box-button {
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 8px;
    padding: 12px 25px;
    font-size: 1.1em;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.message-box-button.confirm {
    background-color: #28a745;
}

.message-box-button.cancel {
    background-color: #dc3545;
}

.message-box-button:hover {
    background-color: #0056b3;
    transform: translateY(-2px);
}

.message-box-button.confirm:hover {
    background-color: #218838;
}

.message-box-button.cancel:hover {
    background-color: #c82333;
}

.player-name-input {
    width: calc(100% - 40px);
    padding: 10px;
    margin-bottom: 20px;
    border-radius: 8px;
    border: 2px solid #00ffff;
    background-color: #34495e;
    color: #ffffff;
    font-size: 1.1em;
    text-align: center;
    box-sizing: border-box;
}

.player-name-input::placeholder {
    color: #bbb;
}

.game-area-with-ladder {
    display: flex;
    width: 100%;
    justify-content: space-between;
    align-items: flex-start;
    gap: 30px;
}

.main-game-content {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.prize-ladder {
    background-color: #2c3e50;
    border-radius: 15px;
    padding: 15px 10px;
    box-shadow: inset 0 0 10px rgba(0, 255, 255, 0.2);
    border: 1px solid #00ffff;
    min-width: 150px;
    display: flex;
    flex-direction: column-reverse;
    gap: 5px;
}

.prize-level-item {
    background-color: #34495e;
    color: #ffffff;
    border: 1px solid #00ffff;
    border-radius: 8px;
    padding: 8px 15px;
    font-size: 1em;
    font-weight: 600;
    text-align: center;
    cursor: default;
    transition: background-color 0.3s ease, box-shadow 0.3s ease, transform 0.2s ease;
}

.prize-level-item.current-level {
    background-color: #ffd700;
    color: #1a1a1a;
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.8), inset 0 0 10px rgba(255, 215, 0, 0.5);
    transform: scale(1.05);
    font-weight: bold;
}

/* Responsivo */
@media (max-width: 768px) {
    h1 { font-size: 2em; }
    .lifeline-button { font-size: 0.9em; padding: 10px 15px; }
    .question-text { font-size: 1.4em; }
    .options-grid { grid-template-columns: 1fr; }
    .option-button { font-size: 1em; padding: 12px 15px; }
    .control-button { font-size: 1.1em; padding: 12px 25px; }
    .message-box h2 { font-size: 1.8em; }
    .message-box p { font-size: 1.1em; }
}

@media (max-width: 480px) {
    .game-container { padding: 20px; gap: 15px; }
    h1 { font-size: 1.8em; }
    .lifelines { gap: 10px; }
    .lifeline-button { font-size: 0.8em; padding: 8px 12px; }
    .question-area { padding: 15px; }
    .question-text { font-size: 1.2em; }
    .option-button { font-size: 0.9em; padding: 10px 12px; }
    .control-buttons { flex-direction: column; gap: 10px; }
    .control-button { width: 100%; }
}
    