body {
  font-family: Arial, sans-serif;
  background: linear-gradient(135deg, #a8edea, #fed6e3);
  text-align: center;
  padding: 40px;
  margin: 0;
  min-height: 200vh; /* Make page tall enough to scroll */
}

button {
  background-color: #6c63ff;
  color: white;
  border: none;
  border-radius: 25px;
  padding: 15px 40px;
  font-size: 18px;
  font-weight: bold;
  cursor: pointer;
  box-shadow: 0 5px 15px rgba(108, 99, 255, 0.4);
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
  margin-top: 20px;
}

button:hover {
  background-color: #574fdb;
  box-shadow: 0 8px 20px rgba(87, 79, 219, 0.7);
}

button:active {
  background-color: #483ecc;
  box-shadow: 0 3px 10px rgba(72, 62, 204, 0.9);
  transform: translateY(2px);
}

button:focus {
  outline: none;
  box-shadow: 0 0 8px 3px #a29bff;
}

.container {
  background: #ffffffcc;
  padding: 60px 80px;
  border-radius: 30px;
  max-width: 1200px;
  margin: 60px auto;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
  font-size: 20px;
  color: #333;
  border: 3px solid #6c63ff;
}

.option {
  display: inline-block;
  margin: 15px;
  cursor: pointer;
  border: 3px solid #bbb;
  border-radius: 15px;
  padding: 25px 30px;
  font-weight: 600;
  font-size: 18px;
  background: #fefefe;
  transition: all 0.4s ease;
  color: #444;
  box-shadow: 0 3px 8px rgba(0,0,0,0.1);
}

.option:hover {
  border-color: #6c63ff;
  background-color: #e0d7ff;
  color: #4b3cb1;
  box-shadow: 0 5px 15px rgba(108, 99, 255, 0.6);
}

.option.selected {
  background-color: #c0f7c0;
  border-color: #2ea02e;
  color: #1a5a1a;
  box-shadow: 0 0 15px #2ea02e99;
}

.option.correct {
  background-color: #a6f1a6;
  border-color: #28a428;
  animation: bounce 0.5s;
  color: #145214;
  box-shadow: 0 0 18px #28a428cc;
}

.option.wrong {
  background-color: #f7a6a6;
  border-color: #d12727;
  animation: shake 0.5s;
  color: #750000;
  box-shadow: 0 0 18px #d1272788;
}

.option img {
  width: 100px;
  height: 100px;
  margin-bottom: 10px;
}

#result {
  font-size: 28px;
  margin-top: 30px;
  font-weight: 700;
  color: #444;
  animation: fadeIn 1s;
}

/* Keyframes for animations */
@keyframes bounce {
  0% { transform: scale(1); }
  50% { transform: scale(1.1); }
  100% { transform: scale(1); }
}

@keyframes shake {
  0% { transform: translateX(0); }
  25% { transform: translateX(-5px); }
  50% { transform: translateX(5px); }
  75% { transform: translateX(-5px); }
  100% { transform: translateX(0); }
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* PARALLAX EFFECT FOR H1 */
h1 {
    font-size: 3.5rem;
    color: #6c63ff;
    font-weight: 500;
    text-align: center;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    text-shadow: 2px 2px 5px rgba(108, 99, 255, 0.4);
    margin: 70px 0 30px 0;
    letter-spacing: 2px;
    text-transform: uppercase;
    position: fixed; /* Make it fixed for parallax effect */
    top: 20%; /* Initial position */
    left: 50%;
    transform: translateX(-50%); /* Center horizontally */
    z-index: 5; /* Keep it above background but below logos */
    transition: transform 0.1s ease-out; /* Smooth movement */
    width: 100%; /* Ensure it stays centered */
    pointer-events: none; /* Allow clicks to pass through */
}

/* Positioning logos */
.logo {
  position: absolute;
  top: 10px;
  width: 80px;
  height: auto;
  z-index: 10;
}

.left-logo {
  left: 10px;
}

.right-logo {
  right: 10px;
}

.trademark-logo {
  position: fixed;
  bottom: 5px;
  right: 10px;
  width: 80px;
  height: auto;
  opacity: 0.8;
  z-index: 1000;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
  body {
    padding: 20px;
  }

  h2 {
    font-size: 2.5rem;
    top: 15%; /* Adjust position for mobile */
  }

  .container {
    padding: 40px 30px;
    font-size: 18px;
    margin-top: 200px; /* Add more top margin to account for fixed h1 */
  }

  .option {
    font-size: 16px;
    padding: 20px 25px;
    margin: 10px;
  }

  button {
    font-size: 16px;
    padding: 12px 30px;
  }

  .logo {
    width: 60px;
  }

  .trademark-logo {
    width: 60px;
  }
}

/* For very small screens like mobile phones */
@media (max-width: 480px) {
  h2 {
    font-size: 2rem;
    top: 12%;
  }

  .container {
    padding: 30px 20px;
    font-size: 16px;
    margin-top: 180px;
  }

  .option {
    font-size: 14px;
    padding: 18px 22px;
  }

  button {
    font-size: 14px;
    padding: 10px 25px;
  }
}