/* ==========================================================================
   Hero: New Year Mega Skill Fest 2027 campaign (loaded last).
   Presentation for the campaign badge, title, offer highlight, highlights row,
   video CTA and the hero form text. Purple #8B48B5 base, gold accents.
   ========================================================================== */

@keyframes hc-sheen { 0%, 50% { background-position: 170% 0, 0 0; } 100% { background-position: -70% 0, 0 0; } }
@keyframes hc-ring { 0% { opacity: .9; scale: 1; } 100% { opacity: 0; scale: 1.35; } }

/* ---------- Campaign badge ---------- */
.hero .hero__campaign { position: relative; display: inline-flex; align-items: center; gap: 10px; margin: 0 0 16px; padding: 8px 18px 8px 14px; border: 1px solid transparent; border-radius: 999px; background: linear-gradient(100deg, rgba(53, 19, 69, .72), rgba(84, 33, 111, .55)) padding-box, linear-gradient(100deg, #FFE5A3, #F5C76A 40%, rgba(201, 155, 229, .9) 70%, #F5C76A) border-box; box-shadow: 0 10px 24px -14px rgba(20, 4, 30, .9), inset 0 1px 0 rgba(255, 255, 255, .12); color: #FFE5A3; font: 600 15px/1.2 'Poppins', 'Roboto', sans-serif; letter-spacing: .05em; }
.hero .hero__campaign::before { flex: 0 0 auto; width: 15px; height: 15px; content: ''; background: linear-gradient(135deg, #FFF8E4, #F5C76A); clip-path: polygon(50% 0, 61% 39%, 100% 50%, 61% 61%, 50% 100%, 39% 61%, 0 50%, 39% 39%); filter: drop-shadow(0 0 5px rgba(255, 229, 163, .9)); animation: x-twinkle 2.6s ease-in-out infinite; }

/* ---------- Title ---------- */
.hero .hero__title { max-width: none; margin: 0; color: #fff; font: 700 30px/1.14 'Poppins', 'Roboto', sans-serif; letter-spacing: -.02em; }
.hero .hero__title .hero__title-line { display: block; color: #FFFFFF; } /* style.css / mobile.css tint any title span #EBFF24 */
.hero .hero__title .hero__title-line--accent { color: #EADCF5; background: linear-gradient(100deg, #FFFFFF 0%, #F1E3FB 45%, #C99BE5 100%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }

/* ---------- Offer highlight (coupon) ---------- */
.hero .hero__offer { position: relative; display: inline-flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin: 18px 0 16px; padding: 12px 20px 12px 18px; border: 1.5px dashed rgba(245, 199, 106, .7); border-radius: 18px; background: linear-gradient(120deg, rgba(53, 19, 69, .62), rgba(139, 72, 181, .28)); box-shadow: 0 18px 34px -22px rgba(20, 4, 30, .95), inset 0 1px 0 rgba(255, 255, 255, .1); }
.hero .hero__offer-main { color: #F5C76A; background: var(--ny-sheen, linear-gradient(transparent, transparent)) 170% 0 / 260% 100% no-repeat, var(--ny-metal, linear-gradient(#FFE5A3, #F5C76A)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; filter: drop-shadow(0 4px 12px rgba(245, 199, 106, .35)); font: 800 40px/1 'Poppins', 'Roboto', sans-serif; letter-spacing: -.02em; white-space: nowrap; animation: hc-sheen 5.5s ease-in-out 1.8s infinite; }
.hero .hero__offer-plus { display: grid; place-items: center; flex: 0 0 auto; width: 30px; height: 30px; border-radius: 50%; color: #351345; background: var(--x-grad-gold); box-shadow: 0 6px 14px -6px rgba(217, 162, 63, .95); font: 800 20px/1 'Poppins', 'Roboto', sans-serif; }
.hero .hero__offer-extra { display: inline-flex; align-items: center; padding: 8px 16px; border-radius: 999px; color: #351345; background: linear-gradient(135deg, #FFFFFF, #F3E9FA); box-shadow: 0 10px 20px -12px rgba(20, 4, 30, .9), inset 0 0 0 1.5px rgba(245, 199, 106, .85); font: 700 17px/1.15 'Poppins', 'Roboto', sans-serif; white-space: nowrap; }

/* ---------- Description + highlights ---------- */
.hero .hero__lede { max-width: 640px; margin: 0 0 24px; color: rgba(255, 255, 255, .9); font-size: 16px; line-height: 1.6; }
.hero .hero__benefits { display: flex; flex-wrap: wrap; gap: 10px; max-width: none; }
.hero .benefit-pill { flex: 0 1 auto; min-height: 0; padding: 11px 18px; border-radius: 999px; font-size: 15px; font-weight: 500; white-space: nowrap; }

/* ---------- Video CTA ---------- */
.hero .button--fest-claim { gap: 12px; padding-right: 12px; text-transform: none; letter-spacing: .01em; }
.hero .hero__cta-play { position: relative; flex: 0 0 auto; width: 30px; height: 30px; }
.hero .hero__cta-play circle { fill: #54216F; }
.hero .hero__cta-play path { fill: #FFE5A3; }
/* pulse ring centred on the play icon: right = padding-right - (34 - icon) / 2 */
.hero .button--fest-claim::before { position: absolute; top: 50%; right: 10px; width: 34px; height: 34px; margin-top: -17px; content: ''; border: 2px solid rgba(84, 33, 111, .55); border-radius: 50%; pointer-events: none; animation: hc-ring 2.4s ease-out infinite; }
.hero .button--fest-claim:focus-visible { outline: 3px solid #FFE5A3; outline-offset: 4px; }

/* ---------- Hero form text ---------- */
.hero .lead-form__intro h2 { position: relative; color: #54216F; background: linear-gradient(100deg, #54216F, #8B48B5 60%, #54216F); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; letter-spacing: -.01em; }
.hero .lead-form__intro h2::after { display: block; width: 64px; height: 3px; margin: 10px auto 0; content: ''; border-radius: 3px; background: var(--x-grad-gold); }

/* ---------- Entrance (extends the hero sequence in christmas.css) ---------- */
.js-enabled .hero:not(.is-visible) :is(.hero__campaign, .hero__offer) { opacity: 0; }
.js-enabled .hero.is-visible :is(.hero__campaign, .hero__offer) { animation: x-rise 900ms var(--x-ease) backwards; }
.js-enabled .hero.is-visible .hero__campaign { animation-delay: 60ms; }
.js-enabled .hero.is-visible .hero__offer { animation-delay: 230ms; }
.js-enabled .hero.is-visible .hero__lede { animation-delay: 320ms; }

/* ==========================================================================
   Desktop: one 1440 canvas unit (--f) from festival.css
   ========================================================================== */
@media (min-width: 1024px) {
  .hero .hero__inner { padding-top: calc(96 * var(--f)); padding-bottom: calc(76 * var(--f)); }
  .hero .hero__copy { padding-top: calc(6 * var(--f)); }
  .hero .hero__campaign { margin-bottom: calc(18 * var(--f)); padding: calc(8 * var(--f)) calc(20 * var(--f)) calc(8 * var(--f)) calc(16 * var(--f)); font-size: calc(16 * var(--f)); }
  .hero .hero__campaign::before { width: calc(16 * var(--f)); height: calc(16 * var(--f)); }
  .hero .hero__title { font-size: calc(44 * var(--f)); line-height: 1.12; }
  .hero .hero__offer { margin: calc(22 * var(--f)) 0 calc(20 * var(--f)); padding: calc(12 * var(--f)) calc(22 * var(--f)) calc(12 * var(--f)) calc(20 * var(--f)); gap: calc(14 * var(--f)); border-radius: calc(18 * var(--f)); }
  .hero .hero__offer-main { font-size: calc(46 * var(--f)); }
  .hero .hero__offer-plus { width: calc(32 * var(--f)); height: calc(32 * var(--f)); font-size: calc(21 * var(--f)); }
  .hero .hero__offer-extra { padding: calc(9 * var(--f)) calc(18 * var(--f)); font-size: calc(19 * var(--f)); }
  .hero .hero__lede { max-width: calc(600 * var(--f)); margin: 0 0 calc(26 * var(--f)); font-size: calc(18 * var(--f)); }
  .hero .hero__benefits { gap: calc(12 * var(--f)); max-width: none; }
  .hero .benefit-pill { min-height: 0; padding: calc(12 * var(--f)) calc(20 * var(--f)); border-radius: 999px; font-size: calc(16 * var(--f)); }
  .hero .hero__actions { margin-top: calc(32 * var(--f)); }
  .hero .button--fest-claim { padding-right: calc(14 * var(--f)); font-size: calc(16 * var(--f)); letter-spacing: .01em; }
  .hero .hero__cta-play { width: calc(34 * var(--f)); height: calc(34 * var(--f)); }
  .hero .button--fest-claim::before { right: calc(14 * var(--f)); width: calc(34 * var(--f)); height: calc(34 * var(--f)); margin-top: calc(-17 * var(--f)); }
  .hero .lead-form__intro h2 { font-size: calc(23 * var(--f)); }
}

/* ==========================================================================
   Tablet
   ========================================================================== */
@media (min-width: 601px) and (max-width: 1023px) {
  .hero .hero__campaign { font-size: 13px; padding: 7px 14px 7px 12px; }
  .hero .hero__title { font-size: clamp(26px, 3.8vw, 34px); }
  .hero .hero__offer { padding: 10px 14px; gap: 8px 10px; }
  .hero .hero__offer-main { font-size: clamp(28px, 4.2vw, 36px); }
  .hero .hero__offer-extra { padding: 7px 12px; font-size: 14px; }
  .hero .hero__offer-plus { width: 26px; height: 26px; font-size: 17px; }
  .hero .hero__lede { font-size: 15px; }
  .hero .benefit-pill { padding: 9px 13px; font-size: 13px; white-space: normal; }
  .hero__actions .button--fest-claim { font-size: 14px; }
}

/* ==========================================================================
   Phones
   ========================================================================== */
@media (max-width: 600px) {
  .hero .hero__campaign { gap: 8px; margin-bottom: 14px; padding: 7px 14px 7px 11px; font-size: 12.5px; letter-spacing: .04em; }
  .hero .hero__campaign::before { width: 13px; height: 13px; }
  .hero .hero__title { font-size: clamp(23px, 7vw, 29px); }
  .hero .hero__offer { display: flex; margin: 16px 0 14px; padding: 12px 14px; gap: 8px 10px; }
  .hero .hero__offer-main { font-size: clamp(30px, 9.4vw, 38px); }
  .hero .hero__offer-plus { width: 26px; height: 26px; font-size: 17px; }
  .hero .hero__offer-extra { padding: 7px 13px; font-size: clamp(13px, 4vw, 15px); }
  .hero .hero__lede { margin-bottom: 18px; font-size: 14.5px; line-height: 1.55; }
  .hero .hero__benefits { gap: 8px; }
  .hero .benefit-pill { flex-direction: row; gap: 6px; padding: 8px 12px; font-size: 12.5px; }
  .hero .benefit-pill::before { width: 12px; height: 12px; }
  .hero__actions .button--fest-claim { justify-content: space-between; padding-left: 22px; font-size: 14px; }
  .hero .lead-form__intro h2 { font-size: 21px; }
}
@media (max-width: 359px) {
  .hero .hero__offer-extra { white-space: normal; }
  .hero__actions .button--fest-claim { padding-left: 16px; font-size: 12.5px; letter-spacing: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .hero .hero__campaign::before, .hero .hero__offer-main, .hero .button--fest-claim::before { animation: none !important; }
  .js-enabled .hero:not(.is-visible) :is(.hero__campaign, .hero__offer) { opacity: 1; }
}
