body {
    font-family: 'Jersey 25', sans-serif;
    text-transform: uppercase;
    letter-spacing: 2px;
    background: radial-gradient(circle at center, #111 0%, #000 100%);
    color: #fff;
    margin: 0;
    min-height: 100vh;
}

header h1 {
    font-size: 64px;
    color: #00ffff;
    text-shadow: 0 0 10px #00ffff, 0 0 20px #00ffff;
    text-align: center;
    margin-top: 1.5rem;
    font-family: 'Jersey 25', sans-serif;
}

#scoreboard {
    background-color: rgba(20, 20, 20, 0.8);
    border: 3px solid #ff00ff;
    padding: 1rem 2rem;
    border-radius: 12px;
    font-size: 1.5rem;
    text-shadow: 0 0 8px #ff00ff;
    text-align: center;
    margin-top: 1rem;
}

#roundAnnouncement {
    font-size: 2rem;
    margin-top: 1rem;
    color: #39ff14;
    text-shadow: 0 0 10px #39ff14;
    text-align: center;
}

.choices {
    position: fixed;
    bottom: 2rem;
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    padding: 0 2rem;
}

.choice-btn {
    background-color: transparent;
    border: 3px solid #00ffff;
    border-radius: 12px;
    padding: 1rem;
    cursor: pointer;
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

#rockChoice:hover {
    border-color: #ff0000;
    box-shadow: 0 0 15px #ff0000;
    transform: scale(1.2);
}

#paperChoice:hover {
    border-color: #00ffff;
    box-shadow: 0 0 15px #00ffff;
    transform: scale(1.2);
}

#scissorsChoice:hover {
    border-color: #ff00ff;
    box-shadow: 0 0 15px #ff00ff;
    transform: scale(1.2);
}

.choice-btn img {
    width: 150px;
    height: 150px;
    image-rendering: pixelated;
    background: none;
    display: block;
    filter: drop-shadow(0 0 10px #00ffff);
}

.choice-display {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6rem;
    margin-top: 2rem;
}

.hand-wrapper {
    opacity: 0;
}

.bounce-in {
    animation: bounceIn 0.6s ease forwards;
}

@keyframes bounceIn {
    0% {
        transform: scale(0.5);
        opacity: 0;
    }

    60% {
        transform: scale(1.2);
        opacity: 1;
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

/* User hand: flipped to face left */
#userChoiceDisplay {
    width: 120px;
    height: 120px;
    /* mirror horizontally */
    filter: drop-shadow(0 0 10px #39ff14);
}

/* Computer hand: normal orientation */
#computerChoiceDisplay {
    width: 120px;
    height: 120px;
    transform: scaleX(-1);
    /* explicitly reset, no flip */
    filter: drop-shadow(0 0 10px #ff00ff);
}

/* Centered Play Again button */
.play-again-btn {
    display: block;
    margin: 2rem auto;
    /* centers horizontally */
    padding: 1rem 2rem;
    font-size: 2rem;
    background-color: #00ffff;
    color: #000;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    box-shadow: 0 0 15px #00ffff;
    transition: transform 0.2s ease;
    position: relative;
    /* ensures it sits in normal flow */
    z-index: 10;
    /* keeps it above choice buttons */
}

.play-again-btn:hover {
    transform: scale(1.1);
}


.hidden {
    display: none;
}.start-page {
  display: flex;
  flex-direction: column;
  align-items: center;   /* horizontal center */
  justify-content: center; /* vertical center */
  min-height: 100vh;     /* full viewport height */
  background: radial-gradient(circle at center, #111 0%, #000 100%);
  color: #fff;
  font-family: 'Jersey 25', sans-serif;
}

#playButton {
  padding: 1rem 2rem;
  font-size: 2rem;
  background-color: #00ffff;
  color: #000;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  box-shadow: 0 0 15px #00ffff;
  transition: transform 0.2s ease;
}

#playButton:hover {
  transform: scale(1.1);
}
