body {
    font-family: Arial, sans-serif;
    background: linear-gradient(to bottom, #0f172a, #1e293b);
    color: white;
    margin: 0;
    padding: 0;
    text-align: center;
}

.container {
    max-width: 400px;
    margin: auto;
    padding: 20px;
}

@media (max-width: 500px) {
    .container {
        max-width: 100%;
        padding: 10px;
    }
}

/* 🖼️ IMAGEM */
.image-container {
    position: relative;
    width: 100%;
    max-width: 500px;
    height: 280px;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 16px;
}

#gameImage {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 16px;
    opacity: 0;
    transition: opacity 0.2s ease;
}

/* 🟦 BLUR ZONE */
#blurZone {
    position: absolute;
    overflow: hidden;
    border-radius: 8px;
    pointer-events: none;
}

#blurZone img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1);
}

/* 💬 FEEDBACK - BOTTOM DA IMAGEM */
#feedback {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);

    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 10px 16px;
    border-radius: 12px;
    font-size: 14px;
    pointer-events: none;
    z-index: 10;

    opacity: 0;
    transition: opacity 0.3s ease;
    display: none;
}

#feedback.success {
    background: rgba(34, 197, 94, 0.9);
}

#feedback.error {
    background: rgba(239, 68, 68, 0.9);
}

#feedback.info {
    background: rgba(59, 130, 246, 0.9);
}

/* ⏱️ TIMER OVERLAY */
#timer-overlay {
    position: absolute;
    top: 10px;
    left: 10px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 6px 10px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: bold;
    z-index: 5;
}

/* 🔝 STATS PANEL */
.stats-panel {
    display: flex;
    justify-content: space-between;
    margin: 15px 0;
    gap: 10px;
}

.stat-block {
    flex: 1;
    background: #1e293b;
    border-radius: 12px;
    padding: 12px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.stat-emoji {
    font-size: 24px;
    margin-bottom: 4px;
}

.stat-title {
    font-size: 12px;
    color: #94a3b8;
    margin-bottom: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.stat-value {
    font-size: 18px;
    font-weight: bold;
    color: #f8fafc;
}

/* ℹ️ INFO BUTTON */
#infoBtn {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #334155;
    border: none;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    font-size: 18px;
    cursor: pointer;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

#infoBtn:hover {
    background: #475569;
}

/* 🔘 BOTÕES */
button {
    display: block;
    width: 100%;
    margin: 10px auto;
    padding: 14px;
    border-radius: 12px;
    border: none;
    font-size: 16px;
    background: #334155;
    color: white;
    cursor: pointer;
    transition: 0.2s;
}

button:hover {
    background: #475569;
}

button:disabled {
    background: #1e293b;
    opacity: 0.5;
    cursor: not-allowed;
}

#resumeBtn {
    background: #22c55e;
}

#resumeBtn:hover {
    background: #16a34a;
}

#revealBtn {
    background: #3b82f6;
}

#revealBtn:hover {
    background: #2563eb;
}

#skipBtn {
    background: #f59e0b;
}

#skipBtn:hover {
    background: #d97706;
}

#exitBtn {
    opacity: 0.6;
}

/* 📋 OPÇÕES */
#options {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: space-between;
    margin-top: 15px;
    margin-bottom: 15px;
}

#options .option-btn {
    display: block;
    width: calc(50% - 5px);
    margin: 0;
}

/* 🎛️ ACTION BUTTONS */
#action-buttons {
    display: flex;
    gap: 10px;
    margin: 15px auto;
}

#action-buttons button {
    flex: 1;
    margin: 0;
    padding: 12px;
    font-size: 14px;
}

/* 📊 TOP BAR */
.top-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 16px;
    font-weight: bold;
}

.top-bar .left {
    font-size: 22px;
    color: #ff3b3b;
}

.top-bar .center {
    font-size: 18px;
    text-align: center;
    flex: 1;
}

.top-bar .right {
    font-size: 14px;
    display: flex;
    gap: 10px;
}

/* 💰 COINS (removido fixed) */

#coinFly {
    position: fixed;
    top: 50%;
    left: 50%;
    font-size: 24px;
    pointer-events: none;
    opacity: 0;
    transition: all 0.6s ease;
}

/* 🎆 CONFETTI */
#confettiCanvas {
    position: fixed;
    top: 0;
    left: 0;
    pointer-events: none;
    width: 100%;
    height: 100%;
    transition: opacity 0.3s;
}

/* 🎭 OVERLAY (MODAL) */
.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background: rgba(0, 0, 0, 0.6);
    z-index: 9;
}

.box {
    background: white;
    padding: 24px;
    border-radius: 16px;
    text-align: center;
    color: #222;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}