/* ===== Global Styles ===== */
body {
    margin: 0;
    font-family: "Comic Sans MS", "Trebuchet MS", sans-serif;
    background: linear-gradient(135deg, #FFE7D1, #D9ECFF);
    color: #333;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

h1 {
    margin: 0.5em 0;
}

/* ===== Header ===== */
.main-header, .game-header {
    text-align: center;
    padding: 20px;
    background: #FFA552;
    color: white;
    box-shadow: 0 3px 8px rgba(0,0,0,0.2);
}

.subtitle {
    font-size: 1.2em;
}

.monster {
    font-size: 3rem;
}

/* ===== Menu Buttons ===== */
.menu-container {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.menu-btn {
    text-decoration: none;
    font-size: 2rem;
    padding: 30px 50px;
    border-radius: 20px;
    color: white;
    box-shadow: 0 6px 10px rgba(0,0,0,0.2);
    transition: transform 0.2s, box-shadow 0.2s;
}

.menu-btn.orange { background: #FFA552; }
.menu-btn.blue { background: #4DA6FF; }

.menu-btn:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 10px 14px rgba(0,0,0,0.25);
}

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

/* ===== Footer ===== */
.footer {
    text-align: center;
    padding: 10px;
    background: #4DA6FF;
    color: white;
}

/* ===== Game Box ===== */
.game-box {
    margin: auto;
    background: white;
    border-radius: 20px;
    padding: 30px;
    max-width: 500px;
    text-align: center;
    box-shadow: 0 6px 12px rgba(0,0,0,0.2);
}

.instruction {
    font-size: 1.2em;
}

/* Prompt letter */
.prompt-letter {
    font-size: 4rem;
    margin: 20px 0;
}

/* Letter choice buttons */
.choices {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.letter-btn {
    font-size: 2rem;
    padding: 15px 25px;
    border: none;
    border-radius: 15px;
    background: #4DA6FF;
    color: white;
    cursor: pointer;
    transition: transform 0.15s, background 0.15s;
}

.letter-btn:hover {
    background: #FFA552;
    transform: scale(1.1);
}

/* Result text */
.result {
    font-size: 1.3em;
    margin-top: 15px;
    font-weight: bold;
}

/* Back button */
.back-btn {
    display: inline-block;
    margin-top: 10px;
    text-decoration: none;
    color: white;
    background: #4DA6FF;
    padding: 8px 16px;
    border-radius: 12px;
}

/* ===== Responsive ===== */
@media (max-width: 600px) {
    .menu-btn {
        width: 80%;
        text-align: center;
    }
    .game-box {
        margin: 15px;
    }
}
