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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: url('hilarious-rock-paper-scissors-b700vm7azrzpu4pd.jpg');
    background-size: cover;
    background-position: center 40%; /* shifted DOWN */
    background-attachment: fixed;
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* HEADER */
header {
    text-align: center;
    padding: 30px;
}

header h1 {
    font-size: 2.8rem;
    text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.9);
}

/* GAME AREA */
.game-container {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 60px; /* more spacing */
    padding: 50px 20px;
}

/* CHOICES */
.choices {
    display: flex;
    gap: 60px;
}

.choice {
    background: transparent;
    border: none;
    cursor: pointer;
    text-align: center;
}

.choice img {
    width: 170px;
    height: 170px;
    border-radius: 16px;
    transition: transform 0.25s, box-shadow 0.25s;
}

.choice span {
    display: block;
    margin-top: 12px;
    font-size: 1.1rem;
    color: white;
}

.choice:hover img {
    transform: scale(1.15);
    box-shadow: 0 10px 25px rgba(0,0,0,0.5);
}

/* RESULT BOX */
.result-box {
    text-align: center;
    background: rgba(255,255,255,0.1);
    padding: 30px;
    border-radius: 14px;
    max-width: 400px;
}

/* RESET BUTTON */
#reset {
    margin-top: 15px;
    padding: 10px 18px;
    border: none;
    background: #4caf50;
    color: white;
    border-radius: 8px;
    cursor: pointer;
}

/* SCOREBOARD */
.scoreboard {
    display: flex;
    align-items: center;
    gap: 100px;

    margin-top: 300px;
    padding-bottom: 400px;
}
.player, .computer {
    text-align: center;
}

.player img, .computer img {
    width: 90px;
    height: 90px;
    border-radius: 50%;
}

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

/* MODAL */
dialog {
    border: none;
    border-radius: 10px;
    padding: 20px;
    color: black;
    max-width: 350px;
}

dialog::backdrop {
    background: rgba(0, 0, 0, 0.6);
}