* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    text-align: center;
    font-family: Arial, sans-serif;
}

body {
    background-color: pink;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
}

h1 {
    background-color: rgb(5, 5, 65);
    color: white;
    width: 100%;
    padding: 1rem 0;
    font-size: 2rem;
}

.choices {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 2rem;
    margin-top: 2rem;
    width: 100%;
    max-width: 600px;
}

.choice {
    height: 100px;
    width: 100px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 30%;
    cursor: pointer;
    background-color: rgb(5, 5, 65);
    box-shadow: 0px 0px 6px 3px rgb(142, 42, 59);
    transition: background-color 0.3s ease, transform 0.2s;
}

.choice:hover {
    transform: scale(1.05);
}

.choice:active {
    background-color: red;
}

.choice img {
    height: 80%;
    width: 80%;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0px 0px 2px 2px rgb(142, 42, 59);
}

.score-board {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin: 2rem 0;
    flex-wrap: wrap;
}

.score {
    font-size: 1rem;
}

#user-score,
#comp-score {
    font-size: 4rem;
}

#msg {
    background-color: #081b31;
    color: white;
    padding: 0.8rem 1.5rem;
    border-radius: 1rem;
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

/* 🔁 Responsive Media Queries */

@media (max-width: 768px) {
    h1 {
        font-size: 1.5rem;
    }

    .choice {
        height: 80px;
        width: 80px;
    }

    #user-score,
    #comp-score {
        font-size: 3rem;
    }

    #msg {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .choices {
        flex-direction: column;
        align-items: center;
    }

    .choice {
        height: 70px;
        width: 70px;
    }

    #user-score,
    #comp-score {
        font-size: 2.5rem;
    }

    .score-board {
        flex-direction: column;
        gap: 1rem;
    }

    #msg {
        font-size: 0.9rem;
        padding: 0.6rem 1rem;
    }
}
