/* ==========================================================================
   Wizardz Bluff — home page styles
   Hero trailer + duel panel, learn/metrics teaser, product cards, what's
   included. Loaded alongside css/base.css.
   ========================================================================== */

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding: 48px 0 64px; }
.hero-wizard {
  position: absolute; width: 22%; max-width: 280px; pointer-events: none; z-index: 1;
  filter: drop-shadow(0 24px 34px rgba(0,0,0,.55));
  opacity: 0; transform: translateY(24px);
  animation: wizard-rise .8s cubic-bezier(.22,1,.36,1) .1s forwards;
}
.hero-wizard.left  { left: 0; top: 0; }
.hero-wizard.right { right: 0; bottom: 0; animation-delay: .25s; }
@keyframes wizard-rise { to { opacity: 1; transform: translateY(0); } }

.duel {
  position: relative; z-index: 2; max-width: 980px; margin: 36px auto 0;
  opacity: 0; transform: translateY(16px);
  animation: panel-rise .7s cubic-bezier(.22,1,.36,1) .5s forwards;
}
.duel h4 { font-size: clamp(1.5rem, 3vw, 2rem); }

/* ---------- Learn / metrics / buy ---------- */
.learn-link img { border-radius: var(--radius); margin: 0 auto; box-shadow: 0 20px 44px -16px rgba(0,0,0,.4); transition: box-shadow .2s ease, transform .2s ease; }
.learn-link:hover img { transform: translateY(-2px); box-shadow: 0 26px 50px -16px rgba(0,0,0,.45); }
.caption { color: #6b5a3f; font-size: 15px; margin-top: 10px; }
.metrics { max-width: min(460px, 100%); margin: 28px auto; }

/* ---------- Products / Stripe ---------- */
.products { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 28px; margin-top: 28px; }
.product {
  position: relative;
  background: #fffaf0; border: 1px solid var(--parchment-edge); border-radius: var(--radius);
  box-shadow: 0 0 0 4px rgba(216,175,82,.08), 0 14px 30px -14px rgba(0,0,0,.3);
  padding: 30px 26px; display: flex; flex-direction: column; text-align: center;
}
.product.featured {
  border-color: var(--ember);
  box-shadow: 0 0 0 4px rgba(201,85,44,.14), 0 20px 42px -14px rgba(201,85,44,.4);
}
.product .tag {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: var(--ember); color: #fff8ee; font-size: 13px; font-weight: 600;
  padding: 5px 16px; border-radius: 999px; box-shadow: 0 4px 10px -2px rgba(0,0,0,.35);
}
.product-img {
  background: #fff;
  display: block; margin-bottom: 20px; aspect-ratio: 1;
  object-fit: contain; border-radius: var(--radius);
}
.product h3 { color: #3c1f0f; font-size: 1.5rem; margin-bottom: .3em; }
.product .price { font-family: var(--font-display); font-size: 2rem; font-weight: 600; color: var(--ember); margin: 0 0 .4em; }
.product p { font-size: 16px; }
.product .desc { flex: 1; margin-top: 0; }
.product .btn { align-self: center; }
.fine-print { font-size: 14px; margin-top: 24px; opacity: .75; }

/* ---------- What's included ---------- */
.included { display: grid; grid-template-columns: minmax(240px, 1fr) 2fr; gap: 36px; align-items: center; }
.included ul { list-style: none; padding: 0; margin: 0; font-size: 19px; }
.included li { padding: 5px 0; display: flex; align-items: baseline; gap: .6em; }
.included .qty { display: inline-block; min-width: 2em; text-align: right; font-family: var(--font-display); font-weight: 600; color: var(--gold); }
.included img { border-radius: var(--radius); box-shadow: 0 20px 44px -16px rgba(0,0,0,.5); }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .hero-wizard { width: 30%; opacity: .9; }
}
@media (max-width: 700px) {
  .included { grid-template-columns: 1fr; }
  .hero-wizard { display: none; }
}
