/* myth_busters.css */

.mbs{
  padding: 32px 16px 56px;
}

.mbs__shell{
  max-width: 1080px;
  margin: 0 auto;
}

.mbs__hero{
  text-align: center;
  margin-bottom: 10px;
}

.mbs__eyebrow{
  display: inline-block;
  color: var(--ppl-deep-sea-green);
  font-weight: 700;
  letter-spacing: 0.02em;
  margin-bottom: 7px;
}

.mbs__sub{
  max-width: 720px;
  margin: 14px auto 0;
  color: rgba(22, 35, 42, 0.82);
  font-size: 1rem;
  line-height: 1.6;
}

.mbs__topbar{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin: 24px 0;
}

/* Base stat card */
.mbs__stat{
  border-radius: 18px;
  padding: 16px 18px;
  position: relative;
  overflow: hidden;

  border: 2px solid rgba(228,238,240,0.22);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.10),
    inset 0 -10px 24px rgba(0,0,0,0.20);

  cursor: default;
}

/* Surface variants */
.mbs__stat--1{
  background:
    radial-gradient(120px 90px at 85% 15%, rgba(228,238,240,0.14), rgba(228,238,240,0) 60%),
    linear-gradient(135deg, rgba(0,0,0,0.12), rgba(0,0,0,0.00)),
    var(--ppl-blaze-orange);
}

.mbs__stat--2{
  background:
    radial-gradient(120px 90px at 85% 15%, rgba(228,238,240,0.14), rgba(228,238,240,0) 60%),
    linear-gradient(135deg, rgba(0,0,0,0.14), rgba(0,0,0,0.00)),
    var(--ppl-deep-sea-green);
}

.mbs__stat--3{
  background:
    radial-gradient(120px 90px at 85% 15%, rgba(228,238,240,0.14), rgba(228,238,240,0) 60%),
    linear-gradient(135deg, rgba(255,255,255,0.06), rgba(255,255,255,0.00)),
    var(--ppl-mirage);
}

/* Accent notch */
.mbs__stat::before{
  content: "";
  position: absolute;
  left: 14px;
  top: 14px;
  width: 34px;
  height: 6px;
  border-radius: 999px;
  opacity: 0.9;
  background: rgba(228,238,240,0.35);
}

/* Subtle texture */
.mbs__stat::after{
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(0deg, rgba(0,0,0,0.10), rgba(0,0,0,0.00) 55%),
    repeating-linear-gradient(
      135deg,
      rgba(228,238,240,0.05) 0px,
      rgba(228,238,240,0.05) 6px,
      rgba(228,238,240,0.00) 6px,
      rgba(228,238,240,0.00) 14px
    );
  opacity: 0.35;
  pointer-events: none;
}

.mbs__statValue{
  position: relative;
  z-index: 1;
  display: block;
  font-weight: 1000;
  letter-spacing: -0.02em;
  font-size: 20px;
  line-height: 1.05;
  color: var(--ppl-wild-sand);
  margin-top: 10px;
}

.mbs__statLabel{
  position: relative;
  z-index: 1;
  display: block;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: rgba(228,238,240,0.88);
  margin-top: 6px;
}

@media (max-width: 700px){
  .mbs__topbar{
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
  }

  .mbs__stat{
    padding: 12px 10px;
    border-radius: 14px;
  }

  .mbs__statValue{
    font-size: 16px;
    margin-top: 8px;
  }

  .mbs__statLabel{
    font-size: 10px;
    letter-spacing: 0.08em;
  }

  .mbs__stat::before{
    width: 24px;
    height: 4px;
    top: 10px;
    left: 10px;
  }
}

.mbs__board{
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr) 120px;
  align-items: center;
  gap: 16px;
}

.mbs__lane{
  text-align: center;
  font-weight: 800;
  font-size: 1rem;
  opacity: 0.9;
}

.mbs__lane--myth{
  color: #c63b3b;
}

.mbs__lane--fact{
  color: #1d8f63;
}

.mbs__stackWrap{
  display: flex;
  justify-content: center;
}

.mbs__stack{
  width: 100%;
  max-width: 560px;
  min-height: 560px;
  perspective: 1200px;
}

.mbsCard{
  position: relative;
  width: 100%;
  min-height: 560px;
  border-radius: 30px;
  background:
    radial-gradient(circle at top right, rgba(255,88,4,0.16), transparent 30%),
    linear-gradient(160deg, rgba(255,255,255,0.95), rgba(228,238,240,0.96));
  border: 1px solid rgba(7,80,86,0.12);
  box-shadow:
    0 24px 60px rgba(22,35,42,0.16),
    inset 0 1px 0 rgba(255,255,255,0.75);
  padding: 22px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  touch-action: none;
  user-select: none;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.mbsCard.is-dragging{
  transition: none;
  cursor: grabbing;
}

.mbsCard.is-correct{
  border-color: rgba(29,143,99,0.40);
  box-shadow:
    0 24px 60px rgba(29,143,99,0.18),
    0 0 0 6px rgba(29,143,99,0.09);
}

.mbsCard.is-wrong{
  border-color: rgba(198,59,59,0.40);
  box-shadow:
    0 24px 60px rgba(198,59,59,0.18),
    0 0 0 6px rgba(198,59,59,0.08);
}

.mbsCard__badge{
  align-self: flex-start;
  padding: 9px 14px;
  border-radius: 999px;
  background: rgba(7,80,86,0.10);
  color: var(--ppl-deep-sea-green);
  font-weight: 800;
}

.mbsCard__content{
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.mbsCard__statement{
  margin: 0;
  color: var(--ppl-mirage);
  font-size: clamp(1.5rem, 3vw, 2.3rem);
  line-height: 1.24;
  text-align: center;
}

.mbsCard__answerPanel{
  margin-top: 24px;
  text-align: center;
}

.mbsCard__result{
  font-size: 1.25rem;
  font-weight: 900;
  margin-bottom: 12px;
  color: var(--ppl-mirage);
}

.mbsCard__explanation{
  color: rgba(22,35,42,0.86);
  font-size: 1rem;
  line-height: 1.7;
  max-width: 90%;
  margin: 0 auto;
}

.mbsCard__miniHint{
  margin-top: 16px;
  color: var(--ppl-deep-sea-green);
  font-weight: 700;
}

.mbsCard__labels{
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.mbsCard__pill{
  padding: 10px 14px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 0.95rem;
}

.mbsCard__pill--myth{
  background: rgba(198,59,59,0.10);
  color: #b53333;
}

.mbsCard__pill--fact{
  background: rgba(29,143,99,0.12);
  color: #167d56;
}

.mbs__controls{
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 20px;
  flex-wrap: wrap;
}

.mbsBtn{
  border: none;
  border-radius: 16px;
  padding: 14px 18px;
  font-weight: 800;
  cursor: pointer;
  transition: transform 0.16s ease, opacity 0.16s ease, box-shadow 0.16s ease;
}

.mbsBtn:hover{
  transform: translateY(-1px);
}

.mbsBtn:disabled{
  opacity: 0.45;
  cursor: not-allowed;
}

.mbsBtn--myth{
  background: #c63b3b;
  color: #fff;
}

.mbsBtn--fact{
  background: var(--ppl-deep-sea-green);
  color: #fff;
}

.mbsBtn--next{
  background: var(--ppl-blaze-orange);
  color: #fff;
}

.mbs__guestNote{
  text-align: center;
  margin-top: 18px;
  color: rgba(22,35,42,0.72);
  font-size: 0.95rem;
}

.mbs__finish{
  margin-top: 28px;
}

.mbs__finishCard{
  max-width: 560px;
  margin: 0 auto;
  padding: 24px;
  border-radius: 24px;
  background: linear-gradient(135deg, rgba(255,88,4,0.12), rgba(7,80,86,0.10));
  border: 1px solid rgba(7,80,86,0.12);
  text-align: center;
  color: var(--ppl-mirage);
}

.is-hidden{
  display: none !important;
}

@media (max-width: 900px){
  .mbs__board{
    grid-template-columns: 1fr;
  }

  .mbs__lane{
    display: none;
  }

  .mbs__stack{
    min-height: 500px;
  }

  .mbsCard{
    min-height: 500px;
  }
}

.mbs__shareText{
  color: rgba(22,35,42,0.78);
  font-weight: 600;
}

.mbs__finishActions{
  margin-top: 18px;
  display: flex;
  justify-content: center;
}

.mbs__finishShareNote{
  margin-top: 12px;
  color: rgba(22,35,42,0.78);
  font-weight: 600;
}

/* Dark theme: keep helper copy readable against the global dark background. */
html[data-theme="dark"] .mbs__sub,
html[data-theme="dark"] .mbs__sub strong{
  color: rgba(232,241,245,0.9);
}
