body {
    background-color: #2d2a3d;
    color: #fff;
    font-family: Poppins, sans-serif;
    font-size: 18px;
    margin: 0;
    padding: 0;
}
.start-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(45, 42, 61, 0.95);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 999;
  flex-direction: column;
}

.popup-box {
  background: #fff;
  padding: 2em;
  border-radius: 12px;
  color: #2d2a3d;
  text-align: center;
  box-shadow: 0 0 15px rgba(0,0,0,0.3);
}

.popup-box h2 {
  margin-bottom: 1em;
  font-size: 1.5rem;
}

.popup-box input {
  padding: 10px;
  font-size: 1.2em;
  width: 100px;
  margin-right: 10px;
  border-radius: 5px;
  border: 1px solid #aaa;
  text-align: center;
}

.popup-box button {
  padding: 10px 20px;
  font-size: 1.1em;
  border: none;
  border-radius: 7px;
  background-color: #2d2a3d;
  color: #fff;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.popup-box button:hover {
  background-color: #444;
}

.container {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
}

.game-title {
    text-align: center;
    font-size: 2.5em;
    margin: 1em 0 0.5em;
    background: linear-gradient(45deg, #fff, #ccc);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.message {
    margin: 2em 0;
    text-align: center;
    font-size: 1.5em;
    font-weight: bold;
}
.images {
    display: flex;
    justify-content: space-around;
    align-items: center;
    text-align: center;
    height: 200px;
    margin: 2em 0;
}
.computer img,
.player img {
    width: clamp(120px, 20vw, 200px);
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.3);
}

.shakeComputer {
    animation: shakeComputer 0.8s linear;
}
.shakePlayer {
    animation: shakePlayer 0.8s linear;
}
.points {
    margin: 2em 0;
    text-align: center;
}
.computer-score {
    margin-left: 3em;
}
.player-score {
    margin-right: 3em;
}
.options {
    display: flex;
    justify-content: space-around;
    margin-top: 3em;
    flex-wrap: wrap;
    gap: 1em;
}
.options button {
    width: 150px;
    height: 80px;
    background: none;
    border: 1px solid #fff;
    cursor: pointer;
    border-radius: 7px;
    font-size: 1.5em;
    color: #fff;
    white-space: nowrap;
    outline: none;
    transition: all 0.3s ease;
}
.options button:hover {
    background-color: #fff;
    color: #2d2a3d;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(255,255,255,0.3);
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    .container {
        padding: 10px;
    }
    
    .game-title {
        font-size: 2em;
        margin: 0.5em 0;
    }
    
    .options {
        flex-direction: column;
        align-items: center;
        margin-top: 2em;
    }
    
    .options button {
        width: 200px;
        margin: 0.5em 0;
        font-size: 1.3em;
    }
    
    .images {
        height: 120px;
        margin: 1em 0;
    }
    
    .computer img,
    .player img {
        width: clamp(80px, 25vw, 150px);
    }
    
    .message {
        font-size: 1.2em;
        margin: 1em 0;
    }
    
    .points {
        font-size: 1em;
        margin: 1.5em 0;
    }
    
    .popup-box {
        margin: 20px;
        padding: 1.5em;
    }
    
    .popup-box h2 {
        font-size: 1.3em;
    }
}

@media (max-width: 480px) {
    .game-title {
        font-size: 1.8em;
    }
    
    .options button {
        width: 180px;
        height: 70px;
        font-size: 1.2em;
    }
    
    .computer img,
    .player img {
        width: clamp(70px, 30vw, 120px);
    }
}
@keyframes shakeComputer {
    0% {
        transform: rotate(-30deg);
    }
    25% {
        transform: rotate(30deg);
    }
    50% {
        transform: rotate(-30deg);
    }
    75% {
        transform: rotate(30deg);
    }
    100% {
        transform: rotate(0deg);
    }
}
@keyframes shakePlayer {
    0% {
        transform: rotate(30deg);
    }
    25% {
        transform: rotate(-30deg);
    }
    50% {
        transform: rotate(30deg);
    }
    75% {
        transform: rotate(-30deg);
    }
    100% {
        transform: rotate(0deg);
    }
}
