/* Inherits base variables from style.css */

/* Difficulty Buttons */
.btn-diff {
    display: block;
    width: 100%;
    padding: 20px;
    margin: 15px 0;
    font-size: 1.2em;
    font-weight: bold;
    color: #fff;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
}

.easy { background: linear-gradient(135deg, #10b981, #059669); }
.medium { background: linear-gradient(135deg, #f59e0b, #d97706); }
.hard { background: linear-gradient(135deg, #ef4444, #b91c1c); }

.btn-diff:active { transform: scale(0.98); }

/* Game HUD */
.hud {
    display: flex;
    justify-content: space-between;
    margin-bottom: 30px;
}
.hud-box {
    background: rgba(255, 255, 255, 0.05);
    padding: 10px 20px;
    border-radius: 8px;
    font-family: monospace;
    border: 1px solid #30363d;
}

/* Word Card */
.card-area {
    background: #1f2937;
    padding: 40px 20px;
    border-radius: 16px;
    margin-bottom: 30px;
    border: 1px solid var(--accent-blue);
    box-shadow: 0 0 20px rgba(59, 130, 246, 0.2);
}
#target-word {
    font-size: 3em;
    color: #fff;
    margin: 10px 0;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

/* Controls */
.controls-area{
    /* Ensures the controls section has space around it */
    margin-bottom: 20px;
}

.tally-box {
    margin-bottom: 20px;
    padding: 15px;
    background: rgba(239, 68, 68, 0.1);
    border-radius: 12px;
    border: 1px solid rgba(239, 68, 68, 0.3);
}
#btn-wrong {
    background: #ef4444;
    color: white;
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    font-size: 1em;
    cursor: pointer;
    width: 100%;
}
#btn-correct {
    background: #10b981;
    color: white;
    padding: 20px;
    width: 100%;
    border: none;
    border-radius: 12px;
    font-size: 1.5em;
    font-weight: bold;
    cursor: pointer;
    box-shadow: 0 0 15px rgba(16, 185, 129, 0.4);
    animation: pulse-green 2s infinite;
    margin-bottom: 20px;
}

@keyframes pulse-green {
    0% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
    70% { box-shadow: 0 0 0 10px rgba(16, 185, 129, 0); }
    100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.btn-secondary {
    margin-top: 30px;
    background: transparent;
    color: #8b949e;
    border: 1px solid #30363d;
    padding: 10px 20px;
    border-radius: 6px;
    cursor: pointer;
}

/* skybuilds_app/static/css/oneword.css (Append these styles) */

/* Style for the Difficulty Menu buttons during the game */
.difficulty-menu-in-game {
    margin: 20px 0 40px;
    border: 1px dashed #30363d;
    padding: 15px;
    border-radius: 8px;
}

.difficulty-menu-in-game h4 {
    margin-top: 0;
    color: var(--text-secondary);
    font-weight: normal;
}

.difficulty-buttons {
    display: flex;
    justify-content: space-between;
    gap: 10px;
}

.difficulty-buttons .btn-diff {
    padding: 10px 5px; /* Smaller padding for in-game buttons */
    margin: 0;
    font-size: 0.9em;
    flex: 1; /* Makes them share the width equally */
}

/* Ensure the game buttons are separated */
#btn-correct {
    margin-bottom: 20px;
}

/* skybuilds_app/static/css/oneword.css (Append these styles) */

/* Style for highlighting the selected difficulty button */
.difficulty-buttons .selected-diff {
    border: 3px solid #fff; /* White border for high visibility */
    box-shadow: 0 0 10px #fff;
    transform: scale(1.05);
}