/* ===== WePang Match-3 Demo — UI Styles ===== */

/* HUD */
#hud {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    pointer-events: none;
}

.hud-top {
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 12px 16px;
    max-width: 480px;
    margin: 0 auto;
}

.hud-score,
.hud-moves,
.hud-target {
    text-align: center;
    background: rgba(255,255,255,0.9);
    border-radius: 12px;
    padding: 8px 16px;
    min-width: 80px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.hud-score .label,
.hud-moves .label,
.hud-target .label {
    display: block;
    font-size: 11px;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 1px;
}

#scoreValue {
    font-size: 22px;
    font-weight: bold;
    color: #FF6B6B;
}

#movesValue {
    font-size: 22px;
    font-weight: bold;
    color: #4ECDC4;
}

#targetValue {
    font-size: 22px;
    font-weight: bold;
    color: #A78BFA;
}

/* Result Overlay */
#resultOverlay {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 200;
}

.result-content {
    background: #fff;
    border-radius: 20px;
    padding: 40px 50px;
    text-align: center;
    box-shadow: 0 10px 40px rgba(0,0,0,0.3);
}

.result-content h2 {
    font-size: 28px;
    margin-bottom: 12px;
    color: #333;
}

.result-content p {
    font-size: 18px;
    color: #666;
    margin-bottom: 24px;
}

.btn-primary {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: #fff;
    border: none;
    border-radius: 25px;
    padding: 12px 36px;
    font-size: 16px;
    cursor: pointer;
    transition: transform 0.15s, box-shadow 0.15s;
    pointer-events: auto;
}

.btn-primary:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 16px rgba(102, 126, 234, 0.4);
}

.btn-primary:active {
    transform: scale(0.97);
}
