/* ============================================================
   ELF TRAINING ACADEMY BAND (home page #academy)
   Follows the supplied reference: layered reds, gold hairlines, a pill
   eyebrow, a large display headline, then a featured card and a grid.
   The band's own .np-band gradient is replaced with the reference's
   deeper three-stop red so the artwork sits on the same stage it was
   designed against.
   ============================================================ */

.np-band {
  background-color: #5a1219;
  background-image:
    radial-gradient(120% 80% at 18% 0%, #a52c2c 0%, rgba(165,44,44,0) 62%),
    radial-gradient(90% 70% at 88% 12%, #7e1b28 0%, rgba(126,27,40,0) 66%),
    linear-gradient(180deg, #7d1a20 0%, #5a1219 46%, #2c0d13 100%);
}
.np-band .wrap { position: relative; z-index: 2; }

/* ---- Hero ---- */
.npa-hero {
  display: grid; grid-template-columns: 1.05fr 0.95fr;
  gap: 56px; align-items: center; padding: 8px 0 48px;
}
.npa-pill {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 6px 14px; border: 1px solid rgba(240,212,154,0.4); border-radius: 999px;
  font-size: 12px; font-weight: 700; letter-spacing: 0.24em;
  text-transform: uppercase; color: #f0d49a;
}
.npa-hero h2 {
  font-family: var(--display); font-weight: 500;
  font-size: clamp(40px, 5.4vw, 72px); line-height: 1.02; letter-spacing: -0.02em;
  margin: 20px 0 0; color: #fff6ea; text-wrap: pretty;
}
.npa-hero p {
  font-size: 18px; line-height: 1.6; color: rgba(255,238,222,0.82);
  max-width: 32em; margin: 20px 0 0; text-wrap: pretty;
}
.npa-cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-top: 34px; }
.npa-cta {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 15px 28px; border-radius: 999px;
  border: 1px solid #f0d49a; background: rgba(240,212,154,0.08);
  color: #fff6ea; font-size: 16px; font-weight: 500; text-decoration: none;
  transition: background 0.25s ease, border-color 0.25s ease;
}
.npa-cta:hover { background: rgba(240,212,154,0.2); border-color: #fff0d0; }
.npa-fineprint { font-size: 14px; color: rgba(255,238,222,0.6); }

/* Hero art is the adventure map: the other way in, beside the games. */
.npa-hero-art { position: relative; display: block; justify-self: center; width: min(400px, 100%); text-decoration: none; }
.npa-hero-art::before {
  content: ""; position: absolute; inset: -14% -14% -14% -14%;
  background: radial-gradient(circle, rgba(240,212,154,0.28) 0%, rgba(240,212,154,0) 70%);
  pointer-events: none;
}
.npa-hero-art img {
  position: relative; display: block; width: 100%; height: auto;
  aspect-ratio: 1 / 1; object-fit: cover;
  border-radius: var(--r-lg); border: 1px solid rgba(240,212,154,0.35);
  box-shadow: 0 30px 60px -28px rgba(0,0,0,0.8);
  transition: transform 0.3s ease;
}
.npa-hero-art:hover img { transform: translateY(-5px); }
.npa-hero-badge {
  position: absolute; bottom: -16px; left: -16px; z-index: 2;
  background: #2c0d13; border: 1px solid rgba(240,212,154,0.4); border-radius: 999px;
  padding: 10px 18px; font-size: 13px; color: #f4ddb3;
  box-shadow: 0 10px 24px -10px rgba(0,0,0,0.8);
}

.npa-rule {
  height: 1px; margin: 8px 0 0;
  background: linear-gradient(90deg, rgba(240,212,154,0), rgba(240,212,154,0.45) 20%, rgba(240,212,154,0.45) 80%, rgba(240,212,154,0));
}

/* ---- Featured ---- */
.npa-feature-head { padding: 48px 0 22px; }
.npa-kicker { font-size: 12px; font-weight: 700; letter-spacing: 0.24em; text-transform: uppercase; color: #f0d49a; }
.npa-feature-head h3 {
  font-family: var(--display); font-weight: 500;
  font-size: clamp(26px, 3.2vw, 38px); line-height: 1.1; margin: 10px 0 0; color: #fff6ea;
}
.npa-feature {
  display: grid; grid-template-columns: minmax(0, 420px) minmax(0, 1fr);
  gap: 40px; align-items: center; padding: 26px;
  border-radius: var(--r-lg); border: 1px solid rgba(240,212,154,0.28);
  background: linear-gradient(120deg, rgba(255,246,234,0.09), rgba(255,246,234,0.03));
  box-shadow: 0 20px 44px -24px rgba(0,0,0,0.7);
  text-decoration: none; color: inherit;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}
.npa-feature:hover { transform: translateY(-6px); border-color: rgba(240,212,154,0.6); box-shadow: 0 30px 60px -26px rgba(0,0,0,0.8); }
.npa-feature-art { display: block; border-radius: var(--r-md); overflow: hidden; border: 1px solid rgba(240,212,154,0.25); }
.npa-feature-art img { display: block; width: 100%; height: auto; aspect-ratio: 1 / 1; object-fit: cover; }
.npa-feature-copy { display: block; }
.npa-tag {
  display: inline-flex; align-items: center; padding: 5px 12px; border-radius: 999px;
  background: rgba(143,217,143,0.16); border: 1px solid rgba(143,217,143,0.45);
  color: #c9f0c9; font-size: 11px; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase;
}
.npa-feature h4 {
  font-family: var(--display); font-weight: 500;
  font-size: clamp(28px, 3.6vw, 44px); line-height: 1.06; margin: 14px 0 0; color: #fff6ea;
}
.npa-feature p { font-size: 17px; line-height: 1.6; color: rgba(255,238,222,0.8); max-width: 34em; margin: 14px 0 0; text-wrap: pretty; }
.npa-channels { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.npa-channels span {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 6px 12px; border-radius: 999px;
  border: 1px solid rgba(240,212,154,0.22); background: rgba(255,246,234,0.05);
  font-size: 13px; color: rgba(255,238,222,0.8);
}
.npa-channels span::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%;
  background: #8fd98f; box-shadow: 0 0 8px #8fd98f;
}
.npa-channels span.is-soon { color: rgba(255,238,222,0.5); }
.npa-channels span.is-soon::before { background: rgba(255,238,222,0.35); box-shadow: none; }
.npa-go { display: inline-block; margin-top: 18px; font-size: 15px; font-weight: 500; color: #f0d49a; }

/* ---- Grid ---- */
.npa-grid-head {
  font-family: var(--display); font-weight: 500; font-size: clamp(24px, 2.8vw, 32px);
  margin: 52px 0 24px; color: #fff6ea;
}
.npa-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.npa-card {
  display: flex; flex-direction: column; overflow: hidden;
  border-radius: var(--r-lg); border: 1px solid rgba(240,212,154,0.24);
  background: linear-gradient(180deg, rgba(255,246,234,0.09), rgba(255,246,234,0.03));
  box-shadow: 0 14px 30px -18px rgba(0,0,0,0.6);
  text-decoration: none; color: inherit;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}
.npa-card:hover { transform: translateY(-8px) rotate(-0.5deg); border-color: rgba(240,212,154,0.6); box-shadow: 0 30px 60px -26px rgba(0,0,0,0.8); }
.npa-card:nth-child(even):hover { transform: translateY(-8px) rotate(0.5deg); }
/* The source art is square. Let it stay square and it fills the box with no
   crop at all. Two things were fighting that: the height="400" attribute is a
   presentational hint the aspect-ratio does not override on its own, and as a
   flex item in the column the image could be stretched along the main axis.
   height:auto settles the first, flex:none the second. object-fit is then a
   no-op for square art, and still protects the layout if any future card ships
   a non-square image. */
.npa-card img {
  display: block; width: 100%; height: auto; flex: none;
  aspect-ratio: 1 / 1; object-fit: cover; object-position: center;
}
.npa-card-body { display: flex; flex-direction: column; gap: 10px; flex: 1; padding: 18px 18px 24px; }
.npa-card h4 { font-family: var(--display); font-weight: 500; font-size: 23px; line-height: 1.1; margin: 0; color: #fff6ea; }
.npa-card p { font-size: 14px; line-height: 1.55; color: rgba(255,238,222,0.78); margin: 0; flex: 1; text-wrap: pretty; }
.npa-card .npa-go { margin-top: 0; font-size: 14px; }

@media (max-width: 1100px) {
  .npa-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 980px) {
  .npa-hero { grid-template-columns: 1fr; gap: 40px; padding-bottom: 36px; }
  .npa-feature { grid-template-columns: 1fr; gap: 22px; }
  .npa-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
  .npa-hero-badge { left: 12px; bottom: -14px; }
}
@media (max-width: 560px) {
  .npa-grid { grid-template-columns: 1fr; }
  .npa-feature-head { padding-top: 36px; }
  .npa-grid-head { margin-top: 38px; }
}
@media (prefers-reduced-motion: reduce) {
  .npa-card, .npa-feature, .npa-cta, .npa-hero-art img { transition: none; }
  .npa-card:hover, .npa-card:nth-child(even):hover,
  .npa-feature:hover, .npa-hero-art:hover img { transform: none; }
}
