.fmq-quiz {
  font-family: "Poppins", "Segoe UI", sans-serif;
  background: linear-gradient(135deg, #fff6ec 0%, #f0eaff 46%, #e8f8ff 100%);
  border: 1px solid #e0ddff;
  border-radius: 20px;
  padding: 28px;
  color: #0f172a;
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.12);
  overflow: hidden;
  opacity: 0.96;
}

.fmq-hero {
  text-align: center;
  margin-bottom: 20px;
}

.fmq-kicker {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(122, 99, 255, 0.12);
  color: #5b4bec;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: 999px;
  letter-spacing: 0.3px;
  text-transform: uppercase;
  font-size: 12px;
}

.fmq-hero h2 {
  font-size: 28px;
  margin: 8px 0 6px;
}

.fmq-hero .fmq-subtitle {
  margin: 0;
  color: #4b5563;
  font-size: 15px;
}

.fmq-layout {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 24px;
  align-items: stretch;
  margin-top: 12px;
}

.fmq-bowl {
  background: linear-gradient(160deg, #0f172a 0%, #1b2a4a 50%, #12213d 100%);
  border-radius: 18px;
  padding: 18px;
  position: relative;
  color: #e2e8f0;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 12px 30px rgba(4, 9, 20, 0.4);
}

.fmq-bowl-shape {
  position: relative;
  height: 280px;
  background: radial-gradient(circle at 50% 30%, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0) 50%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02));
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.fmq-noodles {
  position: absolute;
  bottom: 12px;
  left: 0;
  right: 0;
  height: 180px;
  background-image: url('../assets/images/cinija-noodles.png');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center bottom;
  filter: drop-shadow(0 10px 14px rgba(0, 0, 0, 0.28));
  animation: bowlIdle 5s ease-in-out infinite;
}

.fmq-noodles span {
  display: none;
}

.fmq-noodles span:nth-child(2) {
  top: 30px;
  opacity: 0.9;
  animation-delay: -1.2s;
}

.fmq-noodles span:nth-child(3) {
  top: 60px;
  opacity: 0.85;
  animation-delay: -2.4s;
}

.fmq-bowl.is-mixing .fmq-noodles span {
  animation-duration: 1.4s;
}

.fmq-bowl.is-mixing .fmq-noodles {
  animation: bowlWobble 0.9s ease;
}

.fmq-steam {
  position: absolute;
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
}

.fmq-steam span {
  display: block;
  width: 10px;
  height: 80px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.65), transparent);
  border-radius: 999px;
  animation: steam 3.5s ease-in-out infinite;
  opacity: 0.7;
}

.fmq-steam span:nth-child(2) { animation-delay: -1s; }
.fmq-steam span:nth-child(3) { animation-delay: -2s; }

.fmq-ingredients {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0px;
  padding: 64px 140px;
}

.fmq-ingredient {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(6px);
  font-size: 26px;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.16);
  animation: dropIn 0.5s ease forwards;
  opacity: 0;
}

.fmq-bowl-hint {
  margin: 10px 0 0;
  font-size: 16px;
  color: #cbd5e1;
}

.fmq-card {
  background: rgba(255, 255, 255, 0.9);
  border-radius: 16px;
  padding: 18px;
  border: 1px solid #e8e7ff;
  box-shadow: 0 10px 25px rgba(59, 64, 131, 0.08);
}

.fmq-step-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: #6b7280;
}

.fmq-step-label {
  font-weight: 700;
  color: #4338ca;
}

.fmq-question {
  margin: 10px 0 6px;
  font-size: 22px;
}

.fmq-hint {
  margin: 0 0 14px;
  color: #4b5563;
}

.fmq-options {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
}

.fmq-option {
  width: 100%;
  text-align: left;
  border: 1px solid #e5e7eb;
  background: linear-gradient(145deg, #ffffff, #f6f7fb);
  border-radius: 14px;
  padding: 14px 12px;
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 12px;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.fmq-option:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 18px rgba(69, 90, 100, 0.12);
  border-color: #c7d2fe;
}

.fmq-option.selected {
  border-color: #de2330;
  box-shadow: 0 16px 26px rgba(222, 35, 48, 0.18);
  background: linear-gradient(145deg, #f4ebff, #ffffff);
}

.fmq-option-icon {
  width: 54px;
  height: 54px;
  border-radius: 12px;
  background: #f5f3ff;
  display: grid;
  place-items: center;
  font-size: 26px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.fmq-option-text strong {
  display: block;
  font-size: 15px;
  margin-bottom: 4px;
}

.fmq-option-text small {
  color: #6b7280;
  display: block;
  line-height: 1.35;
}

.fmq-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 14px;
  gap: 12px;
}

.fmq-btn {
  border: 1px solid transparent;
  border-radius: 12px;
  padding: 12px 16px;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
  background: #f3f4f6;
}

.fmq-btn:hover:enabled { transform: translateY(-1px); }
.fmq-btn:disabled { opacity: 0.55; cursor: not-allowed; }

.fmq-btn.primary {
  background: linear-gradient(135deg, #de2330, #a51620);
  color: #fff;
  border-color: #c71e2a;
  box-shadow: 0 10px 20px rgba(222, 35, 48, 0.25);
}

.fmq-btn.ghost {
  background: transparent;
  border-color: #e5e7eb;
  color: #374151;
}

.fmq-btn.outline {
  background: #F5C415;
  border-color: #F5C415;
  color: #0f172a;
}

.fmq-btn.outline.fmq-restart {
  display: block;
  margin: 14px auto 0;
  text-align: center;
}

.fmq-progress {
  height: 8px;
  background: #eef2ff;
  border-radius: 999px;
  margin-top: 14px;
  overflow: hidden;
}

.fmq-progress-bar {
  display: block;
  height: 100%;
  width: 20%;
  background: linear-gradient(90deg, #de2330, #ff6b6b);
  border-radius: 999px;
  transition: width 0.3s ease;
}

.fmq-result {
  margin-top: 18px;
}

.fmq-result-card {
  background: linear-gradient(135deg, #fff8e6 0%, #ffe5ef 100%);
  color: #1f2937;
  padding: 22px;
  border-radius: 16px;
  border: 1px solid #ffd9d9;
  box-shadow: 0 14px 30px rgba(222, 35, 48, 0.18);
}

.fmq-result-title {
  margin: 6px 0;
  font-size: 24px;
  text-align: center;
}

.fmq-result-subtitle {
  margin: 0 0 12px;
  color: #374151;
  text-align: center;
}

.fmq-result-image {
  width: 100%;
  max-width: 420px;
  display: block;
  margin: 10px auto 16px;
  border-radius: 14px;
  border: none;
  box-shadow: none;
}

.fmq-result-pill {
  display: inline-flex;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(222, 35, 48, 0.12);
  color: #b91c1c;
  margin-bottom: 10px;
  font-weight: 700;
}

.fmq-result-copy,
.fmq-result-recap {
  margin: 0 0 10px;
  color: #1f2937;
}

@keyframes noodleWave {
  0% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-6px) rotate(2deg); }
  100% { transform: translateY(0) rotate(0deg); }
}

@keyframes steam {
  0% { transform: translateY(10px) scale(0.9); opacity: 0.3; }
  50% { transform: translateY(-8px) scale(1.05); opacity: 0.9; }
  100% { transform: translateY(10px) scale(0.9); opacity: 0.3; }
}

@keyframes dropIn {
  0% { transform: translateY(-10px) scale(0.9); opacity: 0; }
  80% { transform: translateY(4px) scale(1.06); opacity: 1; }
  100% { transform: translateY(0) scale(1); opacity: 1; }
}

@keyframes bowlIdle {
  0% { transform: translateY(0px) scale(1); }
  50% { transform: translateY(-3px) scale(1.005); }
  100% { transform: translateY(0px) scale(1); }
}

@keyframes bowlWobble {
  0% { transform: translateY(0) rotate(0deg) scale(1); }
  20% { transform: translateY(-4px) rotate(-2deg) scale(1.01); }
  50% { transform: translateY(2px) rotate(2deg) scale(0.995); }
  80% { transform: translateY(-2px) rotate(-1deg) scale(1.003); }
  100% { transform: translateY(0) rotate(0deg) scale(1); }
}

@media (max-width: 900px) {
  .fmq-layout {
    grid-template-columns: 1fr;
  }

  .fmq-bowl {
    order: 2;
  }

  .fmq-card {
    order: 1;
  }
  .fmq-ingredients {
    gap: 8px;
    padding: 70px 15px;
    }
}

.quiz-page .single-page__content h2, .quiz-page .single-page__content h3 {
    margin:0 !important;
    color:#de2330;
}
