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

/* Body */
body {
  font-family: 'Poppins', sans-serif;
  background: linear-gradient(135deg, #4f46e5, #7c3aed);
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #1e293b;
  overflow: hidden;
}

/* 🔵 3D Background Blobs */
.bg1, .bg2 {
  position: fixed;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  filter: blur(120px);
  z-index: -1;
}

.bg1 {
  background: #6366f1;
  top: -100px;
  left: -100px;
  animation: float1 10s ease-in-out infinite alternate;
}

.bg2 {
  background: #f472b6;
  bottom: -100px;
  right: -100px;
  animation: float2 12s ease-in-out infinite alternate;
}

/* Container */
.container {
  width: 380px;
  padding: 35px;
  border-radius: 20px;
  text-align: center;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.25);

  transition: all 0.3s ease;
  animation: fadeIn 0.7s ease;
}

/* Hover */
.container:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 20px 40px rgba(124, 58, 237, 0.3);
}

/* Headings */
h1 {
  font-size: 30px;
  margin-bottom: 10px;
}

h2 {
  margin-bottom: 20px;
}

/* Buttons */
button {
  width: 100%;
  padding: 12px;
  margin-top: 10px;
  border: none;
  border-radius: 12px;
  background: linear-gradient(45deg, #4f46e5, #7c3aed);
  color: white;
  font-weight: bold;
  cursor: pointer;
  transition: 0.3s ease;
}

/* Button Hover */
button:hover {
  transform: scale(1.05);
  box-shadow: 0 5px 15px rgba(124, 58, 237, 0.4);
}

/* Disabled */
button:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

/* Correct */
.correct {
  background: #22c55e !important;
  color: white;
  box-shadow: 0 0 10px rgba(34, 197, 94, 0.7);
}

/* Wrong */
.wrong {
  background: #ef4444 !important;
  color: white;
  box-shadow: 0 0 10px rgba(239, 68, 68, 0.7);
}

/* Options */
#options button {
  margin: 8px 0;
}

/* Timer */
#timer {
  font-size: 22px;
  font-weight: bold;
  color: #4f46e5;
}

/* Danger Timer */
.danger {
  animation: dangerPulse 0.6s infinite;
  color: #ef4444 !important;
}

/* Countdown */
#count {
  font-size: 120px;
  font-weight: bold;
  color: white;
  animation: zoom 1s infinite;
}

/* Animations */
@keyframes zoom {
  0% { transform: scale(1); }
  50% { transform: scale(1.4); }
  100% { transform: scale(1); }
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

/* 3D Animations */
@keyframes float1 {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(80px, 60px) scale(1.2); }
}

@keyframes float2 {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(-80px, -60px) scale(1.3); }
}
#count {
  font-size: 120px;
  font-weight: bold;
  color: black;
  animation: zoom 1s infinite;
}