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

body {
  font-family: 'Poppins', sans-serif;
  background: linear-gradient(135deg, #1f1c2c, #928dab);
  color: #fff;
  min-height: 100vh;
}

.navbar {
  background: rgba(0, 0, 0, 0.6);
  padding: 15px 30px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 20px;
  flex-wrap: wrap;
}

.navbar img {
  height: 70px; 
  transition: transform 0.3s ease;
}

.navbar img:hover {
  transform: rotate(-5deg) scale(1.05);
}

.navbar h1 {
  flex: 1; 
  text-align: center; 
  font-size: 2.2rem;
  letter-spacing: 2px;
  text-shadow: 2px 2px 8px rgba(0,0,0,0.4);
  color: #fff;
}

.choices {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
  margin: 50px 0;
}

.choice {
  background: rgba(255, 255, 255, 0.1);
  text-align: center;
  border: 3px solid transparent;
  border-radius: 12px;
  padding: 20px;
  cursor: pointer;
  width: 120px;
  transition: all 0.3s ease, border-color 0.3s ease;
}

.choice img {
  width: 80px;
  height: 80px;
  object-fit: contain;
}

.choice span {
  display: block;
  margin-top: 10px;
  font-size: 1.2rem;
}

.choice:hover {
  transform: translateY(-10px) scale(1.1);
  border-color: #ffcc00;
  box-shadow: 0 0 15px rgba(255, 204, 0, 0.7);
}

.choice:active {
  transform: scale(0.95);
}

.scores {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 30px;
  margin-top: 30px;
  font-size: 1.5rem;
  text-align: center;
}

.scores div {
  background: rgba(0, 0, 0, 0.4);
  padding: 15px 25px;
  border-radius: 10px;
  box-shadow: 0 0 12px rgba(0,0,0,0.4);
  transition: transform 0.3s ease;
  flex: 1 1 120px;
  max-width: 150px;
}

.scores span:first-child {
  display: block;
  font-weight: bold;
  margin-bottom: 8px;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.2); }
}

.scores span:last-child {
  display: inline-block;
}

#alert {
  margin: 30px auto 0 auto;
  font-size: 1.6rem;
  font-weight: bold;
  padding: 10px 20px;
  border-radius: 8px;
  background: rgba(0,0,0,0.5);
  color: #fff;
  display: block;        
  text-align: center;    
  max-width: 90%;
  word-wrap: break-word;
}

@media (max-width: 600px) {
  .navbar {
    justify-content: center;
    gap: 10px;
  }
  
  .navbar h1 {
    font-size: 1.8rem;
    text-align: center;
    flex-basis: 100%;
  }

  .choices {
    gap: 15px;
  }

  .choice {
    width: 40%;
    min-width: 100px;
    padding: 15px;
  }

  .choice img {
    width: 60px;
    height: 60px;
  }

  .scores {
    gap: 20px;
  }

  .scores div {
    flex: 1 1 45%;
    max-width: 120px;
  }

  #alert {
    font-size: 1.3rem;
  }
}
