* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html, body {
    width: 100%;
    height: 100vh;
    overflow: hidden;
    background-color: #103020;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #ffffff;
}
.game-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    max-width: 600px;
    margin: 0 auto;
    padding: 2vh 4vw;
    gap: 2vh;
}

.scoreboard {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 4vw;
    background: rgba(255, 255, 255, 0.08);
    padding: 1.2vh 4vw;
    border-radius: 12px;
    width: 100%;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.score-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: clamp(0.85rem, 1.8vw, 1.1rem);
    font-weight: bold;
}

.score-box span:last-child {
    font-size: clamp(1.3rem, 3.5vw, 1.9rem);
    color: #4ade80;
}

.vs-box {
    font-size: clamp(0.9rem, 2.5vw, 1.3rem);
    color: #94a3b8;
}

.message {
    font-size: clamp(0.95rem, 2.2vw, 1.25rem);
    text-align: center;
    font-weight: 500;
    padding: 1vh 2vw;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 8px;
    width: 100%;
}

.battle-arena {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8vw;
    width: 100%;
    margin: 1vh 0;
}

.player-side {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1vh;
}

.player-side p {
    font-size: clamp(0.9rem, 2.2vw, 1.1rem);
    font-weight: 600;
    letter-spacing: 1px;
}

.choice-display {
    width: clamp(80px, 18vw, 130px);
    height: clamp(80px, 18vw, 130px);
    background: rgba(255, 255, 255, 0.1);
    border: 3px dashed rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: transform 0.3s ease;
}

.choice-display img {
    width: 70%;
    height: 70%;
    object-fit: contain;
    animation: popIn 0.3s ease;
}

.placeholder-icon {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
}

.controls {
    display: flex;
    justify-content: center;
    gap: 3vw;
    width: 100%;
}

.choice-btn {
    background-color: #ffffff;
    border: none;
    border-radius: 12px;
    padding: 1.2vh 2vw;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.4vh;
    flex: 1;
    max-width: 130px;
    transition: transform 0.2s, background-color 0.2s;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.choice-btn:hover {
    background-color: #e2e8f0;
    transform: translateY(-3px);
}

.choice-btn:active {
    transform: translateY(0);
}

.btn-emoji {
    font-size: clamp(1.3rem, 3.5vw, 1.9rem);
}

.btn-text {
    font-size: clamp(0.75rem, 1.8vw, 0.95rem);
    font-weight: bold;
    color: #103020;
}

@keyframes popIn {
    0% { transform: scale(0); opacity: 0; }
    80% { transform: scale(1.1); opacity: 1; }
    100% { transform: scale(1); opacity: 1; }
}

@media (max-height: 500px) {
    .game-container {
        gap: 1vh;
        padding: 0.5vh 2vw;
    }
    .choice-display {
        width: 65px;
        height: 65px;
    }
}
