/* ========================= */
/* 🎬 QUIZ CONTAINER ANIMATION */
/* ========================= */

#quiz-container {
  transition: opacity 0.3s ease, transform 0.3s ease;
  opacity: 0;
  transform: translateY(10px);
  min-height: 300px;
}

#quiz-container.show {
  opacity: 1;
  transform: translateY(0);
}

/* ========================= */
/* 🎬 CARD STYLE */
/* ========================= */

.netflix-card {
  text-align: center;
  padding: 20px;
  position: relative;
}

/* ========================= */
/* 🧩 OPTIONS */
/* ========================= */

.quiz-options {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 50px;
}

/* ========================= */
/* 🔘 BUTTONS */
/* ========================= */

.netflix-btn {
  padding: 14px;
  border: none;
  background: #111;
  color: white;
  border-radius: 8px;
  cursor: pointer;
  transition: 0.2s ease;
  font-size: 18px !important;
}

.netflix-btn:hover {
  background: #333;
  transform: scale(1.02);
}

/* ========================= */
/* 📊 RESULTS GRID */
/* ========================= */

.netflix-results {
  text-align: center;
}

.grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
  margin-top: 50px;
}

/* ========================= */
/* 📚 BOOK CARD */
/* ========================= */

.book-card {
  background: white;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.book-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.book-info {
  padding: 10px;
}

/* ========================= */
/* 🛒 CTA BUTTONS */
/* ========================= */

.book-actions {
  display: flex;
  gap: 12px;
  margin-top: 14px;
  justify-content: center;
  align-items: center;

  opacity: 0;
  transform: translateY(8px);
  animation: ctaFadeIn 0.4s ease forwards;
  animation-delay: 0.2s;
}

@keyframes ctaFadeIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ========================= */
/* 🖼️ CTA IMAGE BUTTONS */
/* ========================= */

.cta-btn {
  display: inline-block;
  transition: transform 0.2s ease;
}

.cta-btn img {
  height: 40px;
  width: auto;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.18);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.cta-btn:hover img {
  transform: scale(1.06);
  box-shadow: 0 12px 26px rgba(0,0,0,0.28);
}

/* Amazon glow */
.cta-btn.amazon:hover img {
  box-shadow:
    0 0 18px rgba(255, 153, 0, 0.45),
    0 12px 26px rgba(0,0,0,0.25);
}

/* ========================= */
/* 🔁 RESTART BUTTON */
/* ========================= */

.restart {
  margin-top: 50px;
  padding: 10px;
  font-size:18px!important;
  background: transparent;
  border: 1px solid #ccc;
  cursor: pointer;
}

/* ========================= */
/* 📊 PROGRESS BAR */
/* ========================= */

#quiz-progress {
  width: 100%;
  height: 6px;
  background: #c1bfbf;
  margin-top: 50px;
  border-radius: 10px;
  overflow: hidden;
}

#quiz-progress-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #e50914, #ff2e2e);
  transition: width 0.3s ease;
}

/* ========================= */
/* 🔙 BACK BUTTON */
/* ========================= */

#quiz-nav {
  margin-top: 10px;
  display: flex;
  justify-content: flex-start;
}

.back-btn {
  background: rgba(251, 231, 231, 0.6);
  border: 1px solid #444;
  color: #444 !important;
  margin-top:50px;
  padding: 6px 10px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 14px;
}

.back-btn:hover {
  border-color: #e50914;
  background: rgba(0,0,0,0.8);
  color: white !important;
}

/* ========================= */
/* 🧱 LAYOUT ROOT */
/* ========================= */

#quiz-app {
  display: flex;
  flex-direction: column;
}



.quiz-path {
  margin-top: 30px;
  font-size: 14px;
  color: #666;
}




