:root {
  --green-950: #041f18;
  --green-900: #073225;
  --green-800: #0d4a36;
  --accent: #ffc247;
  --accent-strong: #ff8c20;
  --white: #fff;
  --header-h: 72px;
  --hero-max: 1920px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  min-width: 0;
  overflow-x: hidden;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 0;
  overflow-x: hidden;
  color: var(--white);
  background: var(--green-950);
  font-family: Arial, "Noto Sans TC", "Microsoft JhengHei", sans-serif;
}

body.is-menu-open,
body.is-intro-playing {
  overflow: hidden;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a,
button {
  -webkit-tap-highlight-color: transparent;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: var(--header-h);
  padding: 14px clamp(20px, 4vw, 72px);
  background: linear-gradient(180deg, rgba(4, 31, 24, .86), rgba(4, 31, 24, .32));
  backdrop-filter: blur(8px);
  opacity: 0;
  transform: translateY(-16px);
  animation: navIn .55s ease forwards .2s;
  transition: background .25s ease, box-shadow .25s ease, min-height .25s ease;
}

.site-header.is-scrolled,
body.is-menu-open .site-header {
  background: rgba(4, 31, 24, .92);
  box-shadow: 0 10px 28px rgba(0, 0, 0, .22);
}

.brand-link {
  display: inline-flex;
  align-items: center;
  width: clamp(108px, 9vw, 156px);
  min-height: 40px;
}

.brand-link img {
  width: 100%;
}

.desktop-nav {
  display: none;
  align-items: center;
  gap: clamp(18px, 2vw, 32px);
}

.desktop-nav a {
  position: relative;
  color: var(--white);
  font-size: 1rem;
  font-weight: 700;
  text-decoration: none;
  text-shadow: 0 2px 8px rgba(0, 0, 0, .28);
}

.desktop-nav a::after {
  position: absolute;
  right: 0;
  bottom: -8px;
  left: 0;
  height: 3px;
  background: var(--accent);
  border-radius: 999px;
  content: "";
  opacity: 0;
  transform: scaleX(.35);
  transition: opacity .2s ease, transform .2s ease;
}

.desktop-nav a:hover::after,
.desktop-nav a:focus-visible::after,
.desktop-nav a.is-active::after {
  opacity: 1;
  transform: scaleX(1);
}

.menu-toggle {
  position: relative;
  z-index: 61;
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, .38);
  border-radius: 8px;
  color: var(--white);
  background: rgba(4, 31, 24, .42);
  cursor: pointer;
}

.menu-toggle span {
  position: absolute;
  width: 20px;
  height: 2px;
  background: currentColor;
  border-radius: 999px;
  transition: transform .28s ease, opacity .2s ease;
}

.menu-toggle span:nth-child(1) {
  transform: translateY(-7px);
}

.menu-toggle span:nth-child(3) {
  transform: translateY(7px);
}

.menu-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: rotate(-45deg);
}

.mobile-menu-backdrop {
  position: fixed;
  inset: 0;
  z-index: 59;
  display: block;
  padding: 0;
  border: 0;
  background: rgba(0, 0, 0, .48);
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s ease;
}

body.is-menu-open .mobile-menu-backdrop {
  opacity: 1;
  pointer-events: auto;
}

.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 60;
  width: min(82vw, 340px);
  height: 100dvh;
  padding: 96px 24px 28px;
  background: rgba(4, 31, 24, .96);
  box-shadow: -18px 0 42px rgba(0, 0, 0, .35);
  transform: translateX(104%);
  transition: transform .3s ease;
}

.mobile-menu.is-open {
  transform: translateX(0);
}

.mobile-menu nav {
  display: grid;
  gap: 6px;
}

.mobile-menu nav a {
  display: flex;
  align-items: center;
  min-height: 48px;
  border-bottom: 1px solid rgba(255, 255, 255, .12);
  color: var(--white);
  font-size: 1rem;
  font-weight: 800;
  text-decoration: none;
}

.mobile-menu nav a:hover,
.mobile-menu nav a:focus-visible {
  color: var(--accent);
}

.social-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 28px;
}

.social-row a {
  display: inline-grid;
  place-items: center;
  width: 44px;
  min-width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, .28);
  border-radius: 8px;
  color: var(--white);
  font-size: 1.25rem;
  font-weight: 900;
  text-decoration: none;
  text-transform: uppercase;
  transition: color .18s ease, border-color .18s ease, background .18s ease, transform .18s ease;
}

.social-row a:hover,
.social-row a:focus-visible {
  border-color: var(--accent);
  color: var(--accent);
  background: rgba(255, 194, 71, .1);
}

.social-row a:active {
  transform: scale(.95);
}

.hero-section {
  position: relative;
  isolation: isolate;
  height: calc(100vw * 1326 / 1920);
  max-height: 1326px;
  overflow: clip;
  background: var(--green-950);
}

.hero-bg,
.hero-tiger-bg,
.hero-bottom,
.hero-stage,
.hero-title-sweep {
  will-change: transform, opacity;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -3;
  background-image: url("../public/assets/bg/bg-hero-green02-desktop.webp");
  background-position: center top;
  background-size: 100% auto;
  background-repeat: no-repeat;
  transform: scale(1.04);
}

.hero-tiger-bg {
  position: absolute;
  z-index: -2;
  top: 0;
  left: 0;
  width: 100%;
  height: auto;
  opacity: .95;
  pointer-events: none;
}

.hero-stage {
    position: relative;
    width: min(100%, var(--hero-max));
    height: 100%;
    margin: 0 auto;
    padding-top: var(--header-h);
    --hero-h: min(calc(100vw * 1311 / 1920), 1325px);
    --hero-banner-h: calc(77vw * 267 / 1920);
    --hero-title-w: clamp(335px, 44.95vw, 822px);
    --hero-title-h: calc(var(--hero-title-w) * 0.546683);
    --hero-title-bottom-edge: max(calc(var(--hero-h) - clamp(65px, 41.5vw, 771px)), calc(88px + var(--hero-title-h)));
    --hero-products-available-h: calc(var(--hero-h) - var(--hero-banner-h) - var(--hero-title-bottom-edge) - -42px);
    --hero-products-target-w: 800px;
}

.hero-title {
  position: absolute;
  z-index: 4;
  /* Never let the title's top edge sit closer than 88px (header height + margin)
     from the section top, without changing its already-correct size/position
     wherever the original bottom offset already clears the header on its own. */
  bottom: min(
    clamp(65px, 41.5vw, 771px),
    calc(var(--hero-h) - 60px - var(--hero-title-h))
  );
  right: clamp(42px, 10vw, 264px);
  width: var(--hero-title-w);
  filter: drop-shadow(0 20px 24px rgba(0, 0, 0, .28));
}

.hero-title-sweep {
  position: absolute;
  z-index: 5;
  top: clamp(63px, 8.5vw, 164px);
  right: clamp(107px, 14vw, 270px);
  width: clamp(336px, 43.95vw, 844px);
  mix-blend-mode: screen;
  pointer-events: none;
}

.hero-player {
  position: absolute;
  z-index: 3;
  /* Same header-clearance guard as .hero-title: keep at least 88px above the
     section top without changing the already-correct size/position wherever
     the original bottom offset already clears the header on its own. */
  bottom: min(
    clamp(84px, 10.9vw, 210px),
    calc(min(calc(100vw * 1326 / 1920), 1326px) - 88px - clamp(415px, 52.18vw, 1040px))
  );
  left: clamp(54px, -0.2vw, 353px);
  width: auto;
  height: clamp(415px, 52.18vw, 1040px);
  filter: drop-shadow(0 24px 26px rgba(0, 0, 0, .34));
}

.hero-products {
  position: absolute;
  left: clamp(77px, 49.5vw, 987px);
  /* Keep clear of the bottom banner: never sit closer than banner height + 16px. */
  bottom: max(clamp(99px, 12.9vw, 289px), calc(var(--hero-banner-h) + 16px));
  z-index: 5;
  display: flex;
  align-items: flex-end;
  gap: 3%;
  /* Target 700px, but shrink below that whenever needed so it never overlaps
     the title or gets covered by the bottom banner. */
  width: min(var(--hero-products-target-w), calc(var(--hero-products-available-h) * 1.224));
}

.product-bundle {
  position: relative;
  object-fit: contain;
}

.product-bundle {
  z-index: 1;
  flex: 0 0 100%;
  width: 100%;
}

.mobile-bundle {
  display: none;
}

.hero-bottom {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 6;
}

.hero-bottom img {
  width: 100%;
  height: auto;
}

[data-hero-layer] {
  opacity: 0;
}

.hero-ready [data-hero-layer] {
  animation-fill-mode: forwards;
  animation-timing-function: cubic-bezier(.2, .8, .2, 1);
}

.hero-ready .hero-bg {
  animation-name: heroBgIn;
  animation-duration: .9s;
}

.hero-ready .hero-tiger-bg {
  animation: heroTigerIn .85s cubic-bezier(.2, .8, .2, 1) .05s forwards;
}

.hero-ready .hero-title {
  animation: titlePop .8s cubic-bezier(.16, 1, .3, 1) .18s forwards;
}

.hero-ready .hero-title-sweep {
  animation: sweepFlash .7s ease .92s forwards;
}

.hero-ready .hero-player {
  animation: playerIn .85s cubic-bezier(.2, .8, .2, 1) .08s forwards, idleFloat 4s ease-in-out 1.1s infinite;
}

.hero-ready .hero-products {
  animation: productIn .8s cubic-bezier(.2, .8, .2, 1) .35s forwards;
}

.hero-ready .mobile-bundle {
  animation: productIn .75s cubic-bezier(.2, .8, .2, 1) .3s forwards;
}

.hero-ready .hero-bottom {
  animation: bottomIn .65s cubic-bezier(.2, .8, .2, 1) .48s forwards;
}

.intro-overlay {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 24px;
  /* Reserve space for .intro-logo (an absolute, out-of-flow child) so the
     centered title/tiger stack below never grows tall enough on short
     viewports to climb back up underneath it. */
  padding-top: clamp(128px, 18vh, 190px);
  overflow: hidden;
  background: var(--green-950);
  pointer-events: auto;
}

.intro-bg {
  position: absolute;
  inset: 0;
  background: var(--green-950) url("../public/assets/bg/bg-hero-green02-desktop.webp") center / cover no-repeat;
  opacity: 0;
  transform: scale(1.04);
  animation: introBg .3s ease forwards;
}

.intro-logo {
  position: absolute;
  top: clamp(56px, 10vh, 108px);
  left: 50%;
  z-index: 4;
  width: clamp(122px, 10vw, 180px);
  opacity: 0;
  transform: translate(-50%, 8px) scale(.95);
  animation: introLogo .5s ease .2s forwards;
}

.intro-tiger-wrap {
  order: 2;
}

.intro-tiger {
  position: relative;
  z-index: 3;
  display: block;
  width: min(48vw, 820px);
  opacity: 0;
  transform: translateX(80px) scale(1.04);
  animation: introSlide .7s cubic-bezier(.16, 1, .3, 1) .45s forwards;
}

.intro-title-wrap {
  position: relative;
  order: 1;
}

.intro-title {
  position: relative;
  z-index: 5;
  display: block;
  width: min(48vw, 760px);
  opacity: 0;
  transform: translateY(30px) scale(.92);
  animation: introTitle .7s cubic-bezier(.16, 1, .3, 1) .75s forwards;
}

.intro-sweep {
  position: absolute;
  z-index: 6;
  top: 50%;
  left: 50%;
  width: min(54vw, 840px);
  /* Wider than .intro-title-wrap, whose auto width shrinks to the title
     image; override the global `img { max-width: 100% }` reset so this
     doesn't get clamped back down to the wrap's (i.e. the title's) width. */
  max-width: none;
  opacity: 0;
  mix-blend-mode: screen;
  pointer-events: none;
  transform: translate(-50%, -50%) translateX(-36px);
  animation: introSweep .48s ease 1.22s forwards;
}

@media (min-width: 768px) and (max-height: 900px) {
  .intro-overlay {
    gap: 18px;
    padding-top: clamp(124px, 16vh, 150px);
  }

  .intro-title {
    width: min(44vw, 640px);
  }

  .intro-tiger {
    width: min(45vw, 700px);
  }

  .intro-sweep {
    width: min(50vw, 720px);
  }
}

.intro-overlay.is-ending {
  animation: introExit .55s ease forwards;
}

.intro-overlay.is-hidden {
  display: none;
}

@keyframes navIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes heroBgIn {
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes heroTigerIn {
  from {
    opacity: 0;
    transform: translateX(-24px) scale(1.02);
  }
  to {
    opacity: .95;
    transform: translateX(0) scale(1);
  }
}

@keyframes titlePop {
  from {
    opacity: 0;
    transform: scale(.9) rotate(-1deg);
  }
  to {
    opacity: 1;
    transform: scale(1) rotate(0deg);
  }
}

@keyframes playerIn {
  from {
    opacity: 0;
    transform: translateY(36px) scale(.96);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes productIn {
  from {
    opacity: 0;
    transform: translate(36px, 20px) scale(.96);
  }
  to {
    opacity: 1;
    transform: translate(0, 0) scale(1);
  }
}

@keyframes sweepFlash {
  0% {
    opacity: 0;
    transform: translateX(-42px) scale(.98);
  }
  35% {
    opacity: .72;
  }
  100% {
    opacity: 0;
    transform: translateX(68px) scale(1.02);
  }
}

@keyframes badgeSweep {
  0%,
  60% {
    opacity: 0;
    transform: translateX(-60%) scale(1.1);
  }
  75% {
    opacity: .85;
  }
  90%,
  100% {
    opacity: 0;
    transform: translateX(60%) scale(1.1);
  }
}

@keyframes bottomIn {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes idleFloat {
  0%,
  100% {
    transform: translateY(0) scale(1);
  }
  50% {
    transform: translateY(-6px) scale(1);
  }
}

@keyframes introBg {
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes introLogo {
  to {
    opacity: 1;
    transform: translate(-50%, 0) scale(1);
  }
}

@keyframes introSlide {
  to {
    opacity: 1;
    transform: translateX(0) scale(1);
  }
}

@keyframes introTitle {
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes introSweep {
  0% {
    opacity: 0;
    transform: translate(-50%, -50%) translateX(-42px) scale(.98);
  }
  35% {
    opacity: .72;
  }
  100% {
    opacity: 0;
    transform: translate(-50%, -50%) translateX(62px) scale(1.02);
  }
}

@keyframes introExit {
  to {
    opacity: 0;
    transform: translateY(-24px) scale(.99);
  }
}

@media (min-width: 768px) {
  .desktop-nav {
    display: flex;
  }

  .menu-toggle,
  .mobile-menu {
    display: none;
  }
}

@media (max-width: 767.98px) {
  :root {
    --header-h: 64px;
  }

  .site-header {
    min-height: var(--header-h);
    padding: 10px 20px;
  }

  .brand-link {
    width: 112px;
  }

  .hero-section {
    height: calc(100vw * 628 / 375);
    /* Floors at the 320px reference (the narrowest width this layout
       supports), not the 375px design reference — flooring at 628px (the
       375px height) stopped the section from shrinking between 320–375px
       while its vw-scaled contents (title, product bundle, banner) kept
       shrinking, opening a growing gap between them that isn't there at
       375px and up. */
    min-height: 536px;
    max-height: none;
  }

  .hero-bg {
    background-image: url("../public/assets/bg/bg-hero-default-mobile.webp");
    background-position: center top;
  }

  .hero-tiger-bg {
    display: none;
  }

  .hero-stage {
    height: 100%;
    padding: var(--header-h) 20px 104px;
    /* bg-hero-bottombanner-mobile.png is a 375x104 asset scaled to full width. */
    --mbanner-h: calc(100vw * 104 / 375);
  }

  .hero-title {
    /* 27.2vw ≈ 102px at the 375px reference. */
    top: 27.2vw;
    left: 50%;
    right: auto;
    width: min(82vw, 480px);
    transform: translateX(-50%);
  }

  .hero-title-sweep {
    top: 27.2vw;
    left: 50%;
    right: auto;
    width: min(82vw, 308px);
    transform: translateX(-50%);
  }

  .hero-player {
    display: none;
  }

  .hero-products {
    display: none;
  }

  .mobile-bundle {
    position: absolute;
    left: 16px;
    right: 16px;
    /* Anchored to the banner's own height (with the reference design's 25px
       tuck-under) so the two always touch, instead of drifting apart at
       widths where a title-relative offset would grow/shrink at a different
       rate than the banner. */
    bottom: calc(var(--mbanner-h) - 25px);
    z-index: 6;
    display: block;
    pointer-events: none;
  }

  .mobile-bundle-image {
    display: block;
    width: 100%;
    height: auto;
  }

  .hero-bottom img {
    height: auto;
  }

  .intro-bg {
    background-image: url("../public/assets/bg/bg-hero-default-mobile.webp");
  }

  .intro-logo {
    top: 58px;
    width: 120px;
  }

  .intro-tiger {
    width: 82vw;
  }

  .intro-title {
    width: min(82vw, 330px);
  }

  .intro-sweep {
    width: min(88vw, 340px);
  }

  @keyframes titlePop {
    from {
      opacity: 0;
      transform: translateX(-50%) scale(.9) rotate(-1deg);
    }
    to {
      opacity: 1;
      transform: translateX(-50%) scale(1) rotate(0deg);
    }
  }

  @keyframes playerIn {
    from {
      opacity: 0;
      transform: translateY(36px) scale(.96);
    }
    to {
      opacity: 1;
      transform: translateY(0) scale(1);
    }
  }

  @keyframes idleFloat {
    0%,
    100% {
      transform: translateY(0) scale(1);
    }
    50% {
      transform: translateY(-5px) scale(1);
    }
  }

  @keyframes sweepFlash {
    0% {
      opacity: 0;
      transform: translateX(-56%) scale(.98);
    }
    35% {
      opacity: .62;
    }
    100% {
      opacity: 0;
      transform: translateX(-42%) scale(1.02);
    }
  }
}

/* ============================================================
   Shared section layout
   ============================================================ */

.wrap {
  max-width: 1240px;
  margin: 0 auto;
  padding-inline: clamp(20px, 5vw, 64px);
}

#register,
#event-info,
#product,
#aquila,
#where-buy,
#notice {
  scroll-margin-top: var(--header-h);
}

.steps-section,
.event-info-section,
.product-section,
.aquila-section,
.notice-section {
  position: relative;
  isolation: isolate;
  overflow: clip;
  background: var(--green-950);
  padding: 96px 0;
}

.wherebuy-section {
  position: relative;
  isolation: isolate;
  overflow: clip;
  background: #fff;
  padding: 96px 0;
}

.scene-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  background-position: center top;
  background-size: cover;
  background-repeat: no-repeat;
}

.steps-bg {
  background-image: url("../public/assets/bg/bg-section-02-desktop.webp");
}

.event-info-bg {
  background-image: url("../public/assets/bg/bg-section-03-desktop.webp");
}

.product-bg {
  background-image: url("../public/assets/bg/bg-section-04-desktop.webp");
}

.aquila-bg {
  background-image: url("../public/assets/bg/bg-section-05-desktop.webp");
}

.notice-bg {
  background-image: url("../public/assets/bg/bg-section-07-desktop.webp");
}

.wherebuy-bg {
  display: none;
}

.section-title {
  margin: -12px 0 48px;
  font-size: clamp(2.25rem, 4.2vw, 3.25rem);
  font-weight: 900;
  text-align: center;
}

.section-title.light {
  color: var(--white);
}

.section-title.dark {
  color: var(--green-900);
}

.section-title .accent {
  position: relative;
  /* baseline-align, then nudge down by the amount needed to optically
     center the larger Latin numeral against the surrounding CJK glyphs
     (whose glyph box sits centered on the em-square, unlike a numeral's).
     This ratio is calibrated for font-size: 2em specifically — the CJK
     reference glyphs don't scale with it, so re-measure if font-size changes. */
  top: 0.196em;
  margin: 0 4px;
  color: var(--accent);
  display: inline-block;
  font-size: 2em;
}

.section-title.is-visible .accent {
  animation: accentPop .6s ease .3s both;
}

.btn-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 10px 32px;
  border: 2px solid var(--accent);
  border-radius: 999px;
  color: var(--accent);
  font-size: 1rem;
  font-weight: 800;
  text-decoration: none;
  background: transparent;
  transition: background .2s ease, color .2s ease, transform .2s ease, box-shadow .2s ease;
}

.btn-pill:hover,
.btn-pill:focus-visible {
  background: var(--accent);
  color: var(--green-950);
  box-shadow: 0 10px 22px rgba(255, 194, 71, .35);
}

.btn-pill:active {
  transform: scale(.97);
}

[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .6s cubic-bezier(.2, .8, .2, 1), transform .6s cubic-bezier(.2, .8, .2, 1);
  transition-delay: calc(var(--reveal-index, 0) * .12s);
}

[data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

@keyframes accentPop {
  0% {
    transform: scale(.8);
  }
  60% {
    transform: scale(1.18);
    text-shadow: 0 0 18px rgba(255, 194, 71, .8);
  }
  100% {
    transform: scale(1);
    text-shadow: none;
  }
}

/* ============================================================
   Section 02 — Register Steps
   ============================================================ */

.steps-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 32px;
}

.step-card {
  display: block;
  width: min(100%, 384px);
  min-width: 0;
  border-radius: 24px;
  overflow: hidden;
  text-decoration: none;
  transition: transform .25s ease, box-shadow .25s ease;
}

.step-card img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 24px;
}

.step-card:hover,
.step-card:focus-visible {
  transform: translateY(-6px);
  box-shadow: 0 18px 30px rgba(0, 0, 0, .3);
}

.step-card:active {
  transform: scale(.98);
}

/* ============================================================
   Section 03 — Event Info
   ============================================================ */

.event-info-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}

.event-info-grid > .section-title {
  grid-column: 1 / -1;
}

.gift-cards {
  display: flex;
  flex-direction: column;
  gap: 64px;
}

.gift-card {
  display: block;
  border-radius: 20px;
  overflow: hidden;
  text-decoration: none;
  transition: transform .25s ease, box-shadow .25s ease;
}

.gift-card img {
  display: block;
  width: 100%;
  height: auto;
}

.gift-card:hover,
.gift-card:focus-visible {
  transform: translateY(-6px);
  box-shadow: 0 16px 28px rgba(0, 0, 0, .28);
}

.gift-card:active {
  transform: scale(.99);
}

.event-info-text {
  color: var(--white);
  line-height: 1.7;
}

.event-info-text h3 {
  margin: 28px 0 10px;
  color: var(--accent);
  font-size: 1.25rem;
}

.event-info-text h3:first-child {
  margin-top: 0;
}

.event-info-text p {
  margin: 0 0 8px;
  font-size: 1rem;
}

.event-info-text .note {
  color: #ffd98a;
  font-size: .9375rem;
  line-height: 1.6;
}

.product-tag-list,
.gift-list {
  display: grid;
  gap: 8px;
  margin: 0 0 8px;
  padding: 0;
  list-style: none;
}

.product-tag-list li {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: .9375rem;
  line-height: 1.6;
}

.gift-list li {
  position: relative;
  padding-left: 20px;
  font-size: .9375rem;
  line-height: 1.6;
}

.gift-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 8px;
  height: 8px;
  background: var(--accent);
}

.mini-tag {
  display: inline-flex;
  min-width: 44px;
  align-items: center;
  justify-content: center;
  padding: 2px 10px;
  border-radius: 999px;
  background: var(--accent);
  color: var(--green-950);
  font-size: .8125rem;
  font-weight: 800;
}

.new-flag {
  color: var(--accent-strong);
  font-size: .8125rem;
  font-weight: 900;
}

/* ============================================================
   Section 04 — Featured Product C36
   ============================================================ */

.product-grid {
  display: grid;
  justify-items: center;
  gap: 40px;
}

.product-grid > .section-title {
  margin-bottom: 8px;
}

.feature-icons {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  max-width: 420px;
}

.feature-icon {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  color: var(--white);
  font-size: .9375rem;
  font-weight: 700;
  text-align: center;
}

.feature-icon img {
  width: 100%;
  max-width: 160px;
  height: auto;
}

.product-showcase {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  text-align: center;
}

.product-image-wrap {
  position: relative;
  animation: idleFloat 4s ease-in-out infinite;
}

.product-photo {
  width: min(100%, 360px);
  height: auto;
}

.new-badge {
  position: absolute;
  top: -8px;
  right: -12px;
  width: 72px;
  height: 72px;
}

.new-badge-sweep {
  position: absolute;
  top: -8px;
  right: -12px;
  z-index: 1;
  width: 72px;
  height: 72px;
  object-fit: cover;
  opacity: 0;
  mix-blend-mode: screen;
  pointer-events: none;
  /* Mask to the badge's own artwork (same box size) instead of an
     approximate circle, so the sweep never spills past the real silhouette. */
  -webkit-mask-image: url("../public/assets/product/badge-c36-new-all.svg");
  -webkit-mask-size: 100% 100%;
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-image: url("../public/assets/product/badge-c36-new-all.svg");
  mask-size: 100% 100%;
  mask-repeat: no-repeat;
  mask-position: center;
  animation: badgeSweep 3s ease-in-out infinite;
}

.product-tag {
  display: inline-block;
  padding: 4px 24px;
  border: 2px solid var(--accent);
  border-radius: 999px;
  background: #679328;
  color: var(--accent);
  font-size: 1.5rem;
  font-weight: 900;
}

.product-desc {
  margin: 0;
  color: var(--white);
  font-size: 1rem;
}

/* ============================================================
   Section 05 — AQUILA PRO AI
   ============================================================ */

.aquila-logo {
  display: block;
  width: min(100%, 620px);
  height: auto;
  margin: 0 auto 40px;
}

.aquila-icons {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  max-width: 1100px;
  margin: 0 auto 56px;
}

.aquila-icon {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--white);
  font-size: .8125rem;
  font-weight: 700;
  text-align: center;
}

.aquila-icon img {
  width: 100%;
  max-width: 88px;
  height: auto;
}

.aquila-products {
  display: flex;
  gap: 20px;
  margin: 0 -20px;
  padding: 4px 20px 12px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.aquila-products::-webkit-scrollbar {
  display: none;
}

.aquila-product-card {
  display: flex;
  flex: 0 0 78%;
  max-width: 300px;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  padding: 20px 16px 24px;
  border-radius: 24px;
  scroll-snap-align: start;
  transition: box-shadow .25s ease;
}

.aquila-product-card:hover,
.aquila-product-card:focus-within {
  box-shadow: 0 0 32px 4px rgba(255, 194, 71, .45);
}

.aquila-product-card img {
  width: 100%;
  max-width: 220px;
  height: auto;
}

.aquila-product-card .btn-pill {
  padding-inline: 20px;
  font-size: .9375rem;
  white-space: nowrap;
}

.aquila-product-card:hover img,
.aquila-product-card:focus-within img {
  transform: scale(1.03);
}

.aquila-product-card img {
  transition: transform .25s ease;
}

/* ============================================================
   Section 06 — Where To Buy
   ============================================================ */

.channel-group {
  margin-bottom: 56px;
}

.channel-group:last-child {
  margin-bottom: 0;
}

.channel-group-label {
  width: fit-content;
  margin: 0 auto 32px;
  padding: 10px 28px;
  border: 2px solid var(--accent);
  border-radius: 999px;
  background: var(--green-950);
  color: var(--accent);
  font-size: 1.0625rem;
  font-weight: 800;
  text-align: center;
}

.channel-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  justify-items: center;
  align-items: center;
  gap: 24px;
  max-width: 960px;
  margin: 0 auto;
}

.channel-row {
  display: contents;
}

.channel-logo {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 12px;
  transition: transform .2s ease;
}

.channel-logo img {
  width: 100%;
  max-width: 160px;
  height: auto;
}

.channel-logo:hover,
.channel-logo:focus-visible {
  z-index: 1;
  transform: scale(1.5);
}

.channel-logo:active {
  transform: scale(.97);
}

/* ============================================================
   Section 07 — Notice And Footer
   ============================================================ */

.notice-title {
  margin: 0 0 28px;
  color: var(--white);
  font-size: 1.5rem;
  font-weight: 800;
}

.notice-list {
  display: grid;
  gap: 16px;
  margin: 0 0 48px;
  padding-left: 1.4em;
  color: var(--white);
  font-size: 1rem;
  line-height: 1.75;
}

.notice-list a {
  color: var(--accent);
}

.site-footer {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, .24);
  color: rgba(255, 255, 255, .82);
  font-size: .875rem;
}

.site-footer img {
  width: 32px;
  height: 30px;
}

.site-footer p {
  margin: 0;
}

@media (min-width: 768px) {
  .steps-grid {
    flex-wrap: nowrap;
    align-items: flex-start;
  }

  .steps-grid .step-card {
    flex: 1 1 0;
  }

  .step-card,
  .step-card img,
  .gift-card {
    border-radius: 21px;
  }

  .event-info-grid {
    grid-template-columns: 1fr 1fr;
    column-gap: 40px;
    row-gap: 0;
  }

  .product-grid {
    grid-template-columns: 1fr 1fr;
    column-gap: 72px;
    align-items: center;
  }

  .product-grid > .section-title {
    grid-column: 1 / -1;
  }

  .aquila-icons {
    grid-template-columns: repeat(8, 1fr);
  }

  .aquila-products {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    margin: 0;
    padding: 0;
    overflow: visible;
  }

  .aquila-product-card {
    max-width: none;
    flex: none;
  }

  .channel-grid-3 {
    grid-template-columns: repeat(3, 1fr);
  }

  .channel-grid-5 {
    grid-template-columns: repeat(5, 1fr);
  }

  .channel-grid-wifi {
    display: flex;
    max-width: 1120px;
    flex-direction: column;
    align-items: center;
    gap: 24px;
  }

  .channel-row {
    display: grid;
    justify-content: center;
    justify-items: center;
    align-items: center;
    gap: 24px;
    width: 100%;
  }

  .channel-row-5 {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    max-width: 960px;
  }

  .channel-row-6 {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }
}

@media (max-width: 767.98px) {
  .steps-section,
  .event-info-section,
  .product-section,
  .aquila-section,
  .notice-section,
  .wherebuy-section {
    padding: 64px 0;
  }

  .steps-bg {
    background-image: url("../public/assets/bg/bg-section-02-mobile.webp");
  }

  .event-info-bg {
    background-image: url("../public/assets/bg/bg-section-03-mobile.webp");
  }

  .product-bg {
    background-image: url("../public/assets/bg/bg-section-04-mobile.webp");
  }

  .aquila-bg {
    background-image: url("../public/assets/bg/bg-section-05-mobile.webp");
  }

  .steps-grid {
    flex-direction: column;
    align-items: center;
  }

  .step-card,
  .step-card img,
  .gift-card,
  .gift-card img {
    border-radius: 24px;
  }

  .step-card,
  .gift-card {
    box-shadow: 0 18px 36px rgba(0, 0, 0, .28);
  }

  .feature-icons {
    max-width: 300px;
    gap: 14px;
  }

  .product-grid {
    gap: 32px;
  }

  .aquila-product-card {
    transition: transform .2s ease;
  }

  .aquila-product-card:hover,
  .aquila-product-card:focus-within {
    box-shadow: none;
  }

  .aquila-product-card:active,
  .aquila-product-card:focus-within {
    transform: scale(1.015);
  }

  .aquila-product-card:hover img,
  .aquila-product-card:focus-within img {
    transform: none;
  }

  .channel-grid {
    gap: 20px;
  }

  .notice-list {
    padding-left: 1.15em;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }

  .intro-overlay {
    animation: introExit .22s ease forwards;
  }

  [data-hero-layer],
  .site-header {
    opacity: 1;
    transform: none;
  }

  .hero-title-sweep,
  .intro-sweep,
  .new-badge-sweep {
    display: none;
  }

  [data-reveal] {
    opacity: 1 !important;
    transform: none !important;
  }

  .step-card:hover,
  .gift-card:hover,
  .channel-logo:hover,
  .aquila-product-card:hover img {
    transform: none;
  }
}
