/* Base page style – same spirit as original */
body {
  margin: 0;
  min-height: 100vh;

  display: flex;
  flex-direction: column;
  align-items: center;

  background-color: #121212;
  color: #ffffff;

  font-family: "Zalando Sans Expanded", Arial, sans-serif;
  font-weight: 900;

  user-select: none;
}


/* Main container */
#quiz-container {
  width: min(90%, 900px);
  text-align: center;
}

/* Title styling like the animated gradient text */
h1 {
  margin-top: 40px;
  margin-bottom: 20px;

  font-size: min(4rem, 8vw);

  background: linear-gradient(90deg,
    #ffd166,
    #ff9f1c,
    #ff6b00
  );

  background-size: 200% 200%;

  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;

  animation: gradientMove 3s ease infinite;
}

/* Question block */
.question {
  font-size: min(1.8rem, 4.5vw);
  margin-bottom: 30px;
}

/* Answers layout */
.answers {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
  background-color: rgba(255,255,255,0.05);
  border-radius: 16px;
  box-shadow: 0 0 20px rgba(255,157,0,0.08);
  border: 1px solid rgba(255,255,255,0.08);
}

/* Buttons inspired from original hover effect */
.answers button,
.navigation button {
  font-family: inherit;
  font-weight: 900;

  font-size: min(1.4rem, 3.5vw);
  padding: 14px 28px;

  background: transparent;
  color: white;

  border-color: transparent;

  cursor: pointer;
  transition: all 0.3s ease;
  width: min(100%, 500px);
}

/* Hover gradient effect from original */
.answers button:hover,
.navigation button:hover:not(:disabled) {
  border-color: transparent;

  background: linear-gradient(90deg,
    #ffd166,
    #ff9f1c,
    #ff6b00
  );

  background-size: 200% 200%;

  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;

  animation: smoothHoverGradient 2s forwards;
}

/* Disabled state */
.navigation button:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

/* Navigation container */
.navigation {
  margin-top: 30px;
  display: flex;
  justify-content: center;
  gap: 20px;
}

/* Animations from your original */
@keyframes gradientMove {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

@keyframes smoothHoverGradient {
  0% { background-position: 0% 50%; }
  20% { background-position: 100% 50%; }
  40% { background-position: 0% 50%; }
  60% { background-position: 100% 50%; }
  80% { background-position: 0% 50%; }
  100% { background-position: 50% 50%; }
}

.result-card {
  margin-top: 40px;
  padding: 30px;

  width: min(90%, 600px);

  border-radius: 16px;

  background: rgba(255,255,255,0.05);
  backdrop-filter: blur(10px);

  box-shadow: 0 0 40px rgba(255, 157, 0, 0.15);
  margin: 40px auto 0 auto;   /
}

.result-card h2 {
  font-size: min(2.6rem, 6vw);
  margin-bottom: 10px;
}

.result-card .price {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;

  font-size: min(3.2rem, 8vw);
  margin: 20px 0;
}

.result-card .new-price {
  background: linear-gradient(90deg,
    #ffd166,
    #ff9f1c,
    #ff6b00
  );

  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* NEW PRICE – RED */
.result-card .new-price-discounted {
  color: #ff3b3b;
  background: none;

  /* optional subtle glow */
  text-shadow: 0 0 20px rgba(255, 0, 0, 0.3);
}

/* OLD PRICE – smaller + to the right */
.result-card .old-price {
  font-size: 0.5em;
  opacity: 0.6;
  position: relative;
  color: #ff3b3b;
}

/* RED CROSS BAR */
.result-card .old-price::after {
  content: "";
  position: absolute;

  left: -2px;
  right: -2px;
  top: 50%;

  height: 2px;
  background: #ff3b3b;
  transform: rotate(-3deg);
}
.result-card .note {
  opacity: 0.7;
  font-size: 1rem;
}

/* Header styling */
header {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 40px;
  background-color: #1a1a1a; /* dark header strip */
  box-shadow: 0 2px 10px rgba(0,0,0,0.5);
  position: sticky;
  top: 0;
  z-index: 1000;
  font-family: "Zalando Sans Expanded", Arial, sans-serif;
}

/* Navigation menu */
header nav {
  display: flex;
  gap: 20px;
}

/* Header links/buttons */
header nav a {
  text-decoration: none;
  color: white;
  font-weight: 900;
  padding: 8px 16px;
  border-radius: 8px;
  transition: all 0.3s ease;
  font-size: min(1.2rem, 2.5vw);
}

/* Hover gradient effect on nav links */
header nav a:hover {
  background: linear-gradient(90deg, #ffd166, #ff9f1c, #ff6b00);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: smoothHoverGradient 2s forwards;
}

/* Optional: Adjust h1 margin to compensate for sticky header */
h1 {
  margin-top: 0px; /* adds space below sticky header */
}

p {
  margin-top: 80px;
  font-size: min(2.4rem, 5vw);
  text-align: center;
}

