body {
    margin: 0;
    padding: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #1a1a2e;
    background-image: url('./media/background.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    color: #fff;
    overflow: hidden;
}

.game-container {
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(15px);
    border-radius: 24px;
    padding: 35px 30px;
    text-align: center;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
    width: 90%;
    max-width: 550px;
}

h1 {
    margin: 0 0 25px;
    font-size: 2rem;
    font-weight: 600;
}

.scoreboard {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 30px;
}

.score {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 12px 20px;
    border-radius: 12px;
    min-width: 80px;
}

.score.wins {
    background: rgba(46, 204, 113, 0.15);
    border: 1px solid #2ecc71;
}

.score.draws {
    background: rgba(241, 196, 15, 0.15);
    border: 1px solid #f1c40f;
}

.score.losses {
    background: rgba(231, 76, 60, 0.15);
    border: 1px solid #e74c3c;
}

.score-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.7;
}

.score-value {
    font-size: 2rem;
    font-weight: bold;
}

#reset-score {
    margin-top: 10px;
    margin-bottom: 20px;
    padding: 8px 20px;
    font-size: 0.85rem;
    font-weight: bold;
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
}

#reset-score:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-1px);
}

.battle-area {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    margin-bottom: 25px;
}

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

.player-side .label {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    opacity: 0.6;
}

.player-side img {
    width: 80px;
    height: 80px;
    object-fit: contain;
    transition: transform 0.2s;
}

.vs {
    font-size: 1.5rem;
    font-weight: bold;
    color: #e67e22;
}

#user-choice-text,
#computer-choice-text {
    font-size: 0.9rem;
    font-weight: bold;
    color: #e67e22;
    text-transform: capitalize;
    min-height: 1.2rem;
}

#computer-choice-img.thinking {
    animation: shake 0.4s ease-in-out;
}

@keyframes shake {

    0%,
    100% {
        transform: rotate(0deg);
    }

    25% {
        transform: rotate(-15deg);
    }

    75% {
        transform: rotate(15deg);
    }
}

#result {
    font-size: 1.3rem;
    font-weight: bold;
    margin-bottom: 25px;
    min-height: 2rem;
}

.choices {
    display: flex;
    gap: 15px;
    justify-content: center;
}

.choices button {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 15px 20px;
    border: none;
    border-radius: 16px;
    cursor: pointer;
    transition: all 0.2s ease;
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    min-width: 100px;
}

.choices button img {
    width: 50px;
    height: 50px;
    object-fit: contain;
}

.choices button span {
    font-size: 0.9rem;
    font-weight: bold;
}

#rock {
    border: 2px solid #e74c3c;
}

#rock:hover {
    background: rgba(231, 76, 60, 0.2);
    transform: translateY(-3px);
}

#paper {
    border: 2px solid #2ecc71;
}

#paper:hover {
    background: rgba(46, 204, 113, 0.2);
    transform: translateY(-3px);
}

#scissors {
    border: 2px solid #f39c12;
}

#scissors:hover {
    background: rgba(243, 156, 18, 0.2);
    transform: translateY(-3px);
}

@media (max-width: 480px) {
    .game-container {
        padding: 20px 15px;
    }

    h1 {
        font-size: 1.5rem;
    }

    .battle-area {
        gap: 15px;
    }

    .player-side img {
        width: 60px;
        height: 60px;
    }

    .choices {
        gap: 10px;
    }

    .choices button {
        min-width: 80px;
        padding: 12px 10px;
    }

    .choices button img {
        width: 40px;
        height: 40px;
    }
}