:root {
  --bg: #f4efe5;
  --surface: rgba(255, 255, 255, 0.78);
  --surface-strong: #ffffff;
  --text: #132218;
  --muted: #5b6a5f;
  --line: rgba(19, 34, 24, 0.1);
  --lime: #cce56d;
  --lime-strong: #b6dd2f;
  --olive: #23422e;
  --sand: #edd7b2;
  --shadow: 0 24px 80px rgba(35, 66, 46, 0.14);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Manrope", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 78% 12%, rgba(204, 229, 109, 0.18), transparent 18%),
    radial-gradient(circle at 50% 100%, rgba(186, 120, 84, 0.18), transparent 16%),
    linear-gradient(180deg, #040404 0%, #0a0908 220px, var(--bg) 221px, var(--bg) 100%);
  overflow-x: hidden;
}

.games-page-body {
  background:
    radial-gradient(circle at 50% 22%, rgba(204, 229, 109, 0.12), transparent 24%),
    radial-gradient(circle at 15% 18%, rgba(91, 122, 45, 0.08), transparent 26%),
    linear-gradient(180deg, #050505 0%, #0a0908 260px, var(--bg) 261px, var(--bg) 100%);
}

.games-page-body .page-shell {
  background:
    linear-gradient(180deg, #050505 0px, #0a0908 184px, transparent 185px);
}

.blog-page-body {
  background:
    radial-gradient(circle at 82% 16%, rgba(204, 229, 109, 0.14), transparent 22%),
    radial-gradient(circle at 14% 24%, rgba(237, 215, 178, 0.2), transparent 26%),
    linear-gradient(180deg, #050505 0%, #0a0908 260px, var(--bg) 261px, var(--bg) 100%);
}

.blog-page-body .page-shell {
  background:
    linear-gradient(180deg, #050505 0px, #0a0908 188px, transparent 189px);
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
}

.page-shell {
  min-height: 100vh;
  position: relative;
  overflow-x: clip;
}

.site-header,
.site-footer {
  width: min(calc(100% - 32px), var(--container));
  margin-inline: auto;
}

.section-shell {
  width: min(calc(100% - 48px), var(--container));
  margin-inline: auto;
}

.section-shell,
.hero-shell,
.hero-copy,
.hero-visual,
.hero-stats,
.feature-grid,
.rewards-grid,
.split-shell,
.timeline-card,
.cta-panel,
.site-header {
  min-width: 0;
}

.site-header {
  position: sticky;
  top: 16px;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 16px;
  padding: 14px 18px;
  background: linear-gradient(
    135deg,
    rgba(24, 30, 24, 0.52),
    rgba(42, 52, 39, 0.34)
  );
  backdrop-filter: blur(24px) saturate(1.35);
  -webkit-backdrop-filter: blur(24px) saturate(1.35);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  box-shadow:
    0 12px 40px rgba(5, 10, 8, 0.24),
    inset 0 1px 0 rgba(255, 255, 255, 0.24);
  animation: slideDown 0.8s ease-out both;
}


.site-header::before {
  content: "";
  position: absolute;
  inset: 1px;
  border-radius: inherit;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.14),
    rgba(255, 255, 255, 0.03)
  );
  pointer-events: none;
}

.brand,
.brand-mark {
  display: inline-flex;
  align-items: center;
}

.brand {
  position: relative;
  z-index: 1;
  overflow: visible;
}

.brand-mark {
  width: auto;
  height: 38px;
  object-fit: contain;
  background: transparent;
  box-shadow: none;
  border-radius: 0;
  transform: scale(2);
  transform-origin: left center;
  transition: opacity 0.2s ease;
}

.brand-mark.small {
  width: 32px;
  height: 32px;
  border-radius: 12px;
}

.brand-text,
.site-nav a,
.button,
summary {
  font-family: "Space Grotesk", sans-serif;
}

.site-nav {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 24px;
}

.site-nav-group,
.nav-pill,
.nav-cta {
  min-height: 54px;
  border-radius: 999px;
  box-sizing: border-box;
}

.site-nav-group {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 6px;
  background: linear-gradient(135deg, rgba(255, 248, 235, 0.08), rgba(204, 229, 109, 0.08));
  border: 1px solid rgba(255, 248, 235, 0.14);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(14px);
  isolation: isolate;
  overflow: hidden;
}

.site-nav a {
  font-size: 0.95rem;
  color: rgba(255, 248, 235, 0.9);
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.22);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 18px;
  position: relative;
  z-index: 1;
  transition: color 0.3s ease, transform 0.3s ease;
}

.brand-text {
  color: rgba(255, 250, 241, 0.92);
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.22);
}

.nav-cta {
  padding: 0 22px;
  background: var(--olive);
  color: #f9f7f2 !important;
  border: 1px solid rgba(204, 229, 109, 0.16);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 12px 24px rgba(47, 77, 33, 0.18);
}

.nav-pill {
  padding: 0 22px;
  border: 1px solid rgba(255, 248, 235, 0.28);
  background: transparent;
  color: #fff7ea !important;
  backdrop-filter: blur(14px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.nav-pill.is-active {
  background: linear-gradient(135deg, rgba(255, 248, 235, 0.28), rgba(204, 229, 109, 0.34));
  border-color: rgba(230, 240, 182, 0.46);
  color: #ffffff !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.22),
    inset 0 0 0 1px rgba(217, 232, 145, 0.12),
    0 12px 24px rgba(7, 10, 8, 0.18);
}

.site-nav-highlight {
  position: absolute;
  top: 6px;
  left: 6px;
  width: var(--nav-highlight-width, 0px);
  height: calc(100% - 12px);
  border-radius: 999px;
  background:
    radial-gradient(circle at 22% 20%, rgba(255, 255, 255, 0.42), transparent 38%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0.08)),
    linear-gradient(135deg, rgba(244, 252, 212, 0.28), rgba(255, 248, 235, 0.08));
  border: 1px solid rgba(255, 255, 255, 0.28);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.5),
    inset 0 -14px 24px rgba(255, 255, 255, 0.05),
    0 8px 18px rgba(7, 10, 8, 0.12),
    0 0 0 1px rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(22px) saturate(1.45);
  -webkit-backdrop-filter: blur(22px) saturate(1.45);
  pointer-events: none;
  opacity: 0;
  transform: translate3d(var(--nav-highlight-x, 0px), 0, 0);
  transition:
    transform 0.56s cubic-bezier(0.16, 1, 0.3, 1),
    width 0.56s cubic-bezier(0.16, 1, 0.3, 1),
    opacity 0.24s ease;
  will-change: transform, width;
}

.site-nav-highlight::before,
.site-nav-highlight::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
}

.site-nav-highlight::before {
  inset: 1px 1px auto 1px;
  height: 46%;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.34), rgba(255, 255, 255, 0));
  opacity: 0.95;
}

.site-nav-highlight::after {
  inset: auto 14% 8px 14%;
  height: 10px;
  background: radial-gradient(circle, rgba(232, 242, 191, 0.28), transparent 72%);
  filter: blur(5px);
  opacity: 0.9;
}

.site-nav-group.has-active-highlight .site-nav-highlight {
  opacity: 1;
}

.site-nav-group a.is-current {
  color: #fffef9;
  text-shadow:
    0 1px 10px rgba(0, 0, 0, 0.18),
    0 0 18px rgba(255, 255, 255, 0.12);
}

.menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  padding: 10px 14px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 500;
  color: #111111;
  background: rgba(255, 255, 255, 0.58);
  backdrop-filter: blur(16px);
}

.section {
  position: relative;
  width: 100%;
  margin-top: 0;
  padding: 96px 0;
  background: transparent;
  overflow: clip;
}

.section[id] {
  scroll-margin-top: 132px;
}

.hero-shell {
  display: grid;
  gap: 44px;
  justify-items: center;
  align-content: start;
}

.hero {
  min-height: 100vh;
  padding-top: 0;
  padding-bottom: 72px;
  background:
    radial-gradient(circle at 50% 42%, rgba(217, 132, 85, 0.28), transparent 20%),
    radial-gradient(circle at 50% 100%, rgba(186, 120, 84, 0.2), transparent 18%),
    linear-gradient(180deg, #040404 0%, #080808 100%);
  overflow: hidden;
  z-index: 1;
}

.hero-loader {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 24px;
  background:
    radial-gradient(circle at top, rgba(194, 218, 111, 0.12), transparent 34%),
    rgba(9, 13, 11, 0.48);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  opacity: 1;
  visibility: visible;
  transition: opacity 0.2s ease, visibility 0.2s ease;
}

.hero.is-ready .hero-loader {
  opacity: 0;
  visibility: hidden;
}

.hero-loader::before {
  content: "";
  width: 54px;
  height: 54px;
  border-radius: 999px;
  background: rgba(8, 11, 9, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow:
    0 14px 30px rgba(0, 0, 0, 0.26),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  grid-area: 1 / 1;
}

.hero-loader-spinner {
  grid-area: 1 / 1;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 3px solid rgba(255, 255, 255, 0.16);
  border-top-color: #d8f26d;
  border-right-color: rgba(216, 242, 109, 0.74);
  animation: pageLoaderSpin 0.8s linear infinite;
}

.hero-loader-copy {
  grid-area: 1 / 1;
  position: relative;
  width: min(90vw, 720px);
  min-height: 72px;
  text-align: center;
  margin-bottom: 132px;
  align-self: center;
}

.hero-loader-line {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-shadow: 0 10px 30px rgba(0, 0, 0, 0.32);
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(1.3rem, 2.6vw, 2.4rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.07s ease, transform 0.07s ease;
}

.hero-loader-line.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.hero-marquee {
  position: relative;
  left: auto;
  transform: none;
  width: var(--marquee-board-width, auto);
  max-width: min(calc(100% - 20px), 1720px);
  height: var(--marquee-board-height, 96px);
  min-height: var(--marquee-board-height, 96px);
  margin: 0 auto 18px;
  padding: 0;
  display: flex;
  gap: var(--marquee-slot-gap, 0px);
  justify-content: center;
  align-items: center;
  pointer-events: none;
  z-index: 1;
  background: transparent;
  box-shadow: none;
  border: 0;
}

.hero-marquee-inline {
  width: min(100%, 760px);
  max-width: 100%;
  margin: 0 auto 18px;
  min-width: 0;
}

.hero-marquee-fallback {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: var(--marquee-board-height, 44px);
  padding: 0 10px;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(1.1rem, 2vw, 1.9rem);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.88);
  white-space: nowrap;
}

.marquee-slot {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: var(--marquee-slot-width, 40px);
  height: var(--marquee-slot-height, 60px);
  flex: 0 0 auto;
  overflow: visible;
  background: transparent;
  border: 0;
  box-shadow: none;
  outline: 0;
}

.marquee-char {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  flex: 0 0 auto;
  font-family:
    -apple-system,
    BlinkMacSystemFont,
    "SF Pro Display",
    "Manrope",
    sans-serif;
  font-size: var(--marquee-font-size, 64px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.04em;
  color: transparent;
  background: radial-gradient(
    circle at 50% 50%,
    rgba(214, 216, 218, 0.94) 0%,
    rgba(194, 197, 200, 0.9) 24%,
    rgba(154, 158, 162, 0.8) 44%,
    rgba(108, 111, 116, 0.78) 60%,
    rgba(62, 64, 68, 0.84) 78%,
    rgba(20, 20, 22, 0.96) 90%,
    rgba(0, 0, 0, 1) 100%
  );
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow:
    0 0 6px rgba(255, 255, 255, 0.025),
    0 0 12px rgba(150, 155, 160, 0.018);
  transform: translateY(-0.01em);
}

.marquee-slot.is-empty {
  background: transparent;
}

.marquee-slot.is-empty .marquee-char {
  opacity: 0;
}

.marquee-slot.is-space {
  background: transparent;
}

.section::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at top right, rgba(204, 229, 109, 0.14), transparent 28%),
    radial-gradient(circle at bottom left, rgba(237, 215, 178, 0.22), transparent 30%);
  opacity: 0.8;
  pointer-events: none;
}

.section-shell {
  position: relative;
  z-index: 1;
}


.intro-grid,
.rewards-section,
.faq-section,
.cta-section {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(247, 241, 231, 0.95));
}

.split-section {
  background:
    linear-gradient(180deg, #f5eedf 0%, #eee2cb 100%);
}

.hero-copy > * {
  opacity: 1;
  transform: none;
  animation: none;
  max-width: 100%;
  min-width: 0;
}

.hero-copy {
  width: min(100%, 1240px);
  display: grid;
  justify-items: center;
  text-align: center;
  margin-top: 0;
  padding-top: 22px;
  position: relative;
  z-index: 2;
}

.hero-copy .hero-marquee-inline {
  opacity: 1;
  transform: none;
  animation: none;
  margin-bottom: 10px;
}

.hero .eyebrow,
.hero h1,
.hero p,
.hero-stats span,
.hero-stats strong {
  color: #fff;
}

.hero .eyebrow {
  color: rgba(204, 229, 109, 0.92);
}

.hero .hero-text {
  color: rgba(255, 255, 255, 0.68);
  max-width: 56ch;
  font-size: clamp(1.1rem, 1.4vw, 1.35rem);
}

.hero h1 {
  max-width: none;
  font-size: clamp(2.4rem, 4.8vw, 4.2rem);
  white-space: nowrap;
}

.eyebrow {
  margin: 0 0 14px;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #5f7c2a;
}

h1,
h2,
h3 {
  margin: 0;
  letter-spacing: -0.05em;
}

h1,
h2 {
  font-family: "Space Grotesk", sans-serif;
  line-height: 0.98;
}

h1 {
  font-size: clamp(3.2rem, 6vw, 6.4rem);
  max-width: 12ch;
}

h2 {
  font-size: clamp(2.2rem, 4vw, 4rem);
}

h3 {
  font-size: 1.5rem;
  margin-bottom: 10px;
}

p {
  margin: 0;
  line-height: 1.7;
  color: var(--muted);
}

.hero-text {
  max-width: 60ch;
  margin-top: 24px;
  font-size: 1.05rem;
}

.hero-actions,
.store-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

.hero-actions {
  justify-content: center;
  position: relative;
  z-index: 1;
}

.hero-scroll-hint {
  margin-top: 14px;
  display: grid;
  justify-items: center;
  gap: 3px;
  text-align: center;
  font-size: 0.92rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.62);
}

.hero-scroll-hint-main {
  margin: 0;
}

.hero-scroll-hint-sub,
.hero-scroll-hint-arrow {
  opacity: 0;
  display: block;
  transform: translateY(-4px);
  transition:
    opacity 0.28s ease,
    transform 0.28s ease;
}

.hero-scroll-hint-sub {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.54);
}

.hero-scroll-hint-arrow {
  font-size: 1rem;
  line-height: 1;
  margin-top: 2px;
  color: rgba(255, 255, 255, 0.7);
}

.hero-scroll-hint.is-expanded .hero-scroll-hint-sub,
.hero-scroll-hint.is-expanded .hero-scroll-hint-arrow {
  opacity: 1;
  transform: translateY(0);
}

.hero-scroll-hint.is-emphasized {
  animation: heroScrollHintPulse 0.7s ease-out;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
  border-radius: 999px;
  font-weight: 700;
  transition:
    transform 0.35s ease,
    box-shadow 0.35s ease,
    background-color 0.35s ease,
    border-color 0.35s ease;
}

.button-primary {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(214, 239, 136, 0.18);
  background: var(--olive);
  color: #f9f7f2;
  box-shadow: 0 12px 30px rgba(35, 66, 46, 0.22);
}

.button-primary::before,
.button-primary::after {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  border: 1px solid rgba(255, 244, 188, 0.9);
  box-shadow: 0 0 0 0 rgba(255, 237, 153, 0);
  opacity: 0;
  pointer-events: none;
}

.button-secondary {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.68);
}

.hero .button-secondary {
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 0;
  width: min(100%, 980px);
}

.hero-stats div,
.feature-card,
.reward-card,
.timeline-card,
.faq-list details,
.cta-panel {
  border: 1px solid rgba(19, 34, 24, 0.07);
  background: var(--surface);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow);
}

.hero-stats div {
  padding: 18px;
  border-radius: 20px;
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.1);
  box-shadow: none;
}

.hero-stats strong {
  display: block;
  margin-bottom: 6px;
  font-size: 1.2rem;
  font-family: "Space Grotesk", sans-serif;
}

.hero-visual {
  position: relative;
  width: min(100%, 1280px);
  min-height: 340px;
  perspective: 1200px;
  overflow-x: clip;
  overflow-y: visible;
  z-index: 4;
  transition: opacity 0.2s ease;
}

.gift-scene {
  position: absolute;
  left: 50%;
  bottom: 102px;
  width: 248px;
  height: 248px;
  --inbox-left-start-x: -62px;
  --inbox-left-start-y: -68px;
  --inbox-left-start-rotate: -12deg;
  --inbox-left-target-x: -12px;
  --inbox-left-target-y: -238px;
  --inbox-left-target-rotate: -18deg;
  --inbox-right-start-x: 64px;
  --inbox-right-start-y: -64px;
  --inbox-right-start-rotate: 10deg;
  --inbox-right-target-x: -12px;
  --inbox-right-target-y: -238px;
  --inbox-right-target-rotate: 14deg;
  transform: translateX(-50%);
  z-index: 3;
  pointer-events: none;
}

.gift-phone {
  position: absolute;
  left: -208%;
  bottom: -196px;
  width: 304%;
  height: auto;
  z-index: 2;
  user-select: none;
  -webkit-user-drag: none;
  filter: drop-shadow(0 26px 42px rgba(0, 0, 0, 0.24));
}

.gift-phone-right {
  left: auto;
  right: -208%;
}

.gift-box {
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 100%;
  height: 100%;
  transform: translateX(-50%);
  z-index: 3;
}

.gift-box::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 4%;
  width: 56%;
  height: 68%;
  transform: translateX(-50%);
  background: linear-gradient(
    115deg,
    transparent 0%,
    rgba(255, 255, 255, 0.02) 36%,
    rgba(255, 255, 255, 0.22) 48%,
    rgba(255, 255, 255, 0.04) 58%,
    transparent 74%
  );
  mix-blend-mode: screen;
  opacity: 0.7;
  z-index: 5;
  pointer-events: none;
}

.gift-box-base,
.gift-box-lid {
  position: absolute;
  display: block;
  width: 100%;
  height: auto;
  user-select: none;
  -webkit-user-drag: none;
}

.gift-box-base {
  left: 50%;
  bottom: 0;
  width: 82%;
  transform: translateX(-50%);
  filter: drop-shadow(0 26px 34px rgba(0, 0, 0, 0.24));
  z-index: 3;
}

.gift-box-lid {
  position: absolute;
  left: 50%;
  top: 16.2%;
  width: 84%;
  transform-origin: 14% 86%;
  transform:
    translateX(-50%)
    translateY(calc(var(--gift-progress, 0) * -18px))
    translateX(calc(var(--gift-progress, 0) * -56px))
    rotate(calc(var(--gift-progress, 0) * -108deg));
  transition: transform 0.28s ease-out;
  z-index: 4;
  filter: drop-shadow(0 12px 18px rgba(0, 0, 0, 0.18));
}

.hero.gift-open .gift-box {
  animation-play-state: paused;
}

.hero.gift-open .gift-box::before {
  opacity: 0.35;
}

.gift-burst {
  position: absolute;
  inset: 0;
  z-index: 2;
}

.burst-item {
  position: absolute;
  left: 50%;
  bottom: 52px;
  opacity: 0;
  transform-origin: 50% 100%;
  transform: translate3d(-50%, 10px, 0) scale(0.35) rotate(0deg);
}

.burst-inbox {
  width: 82px;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 16px 30px rgba(0, 0, 0, 0.2));
}

.hero .burst-inbox-left {
  transform:
    translate3d(
      calc(-50% + var(--gift-progress, 0) * var(--inbox-left-start-x)),
      calc(var(--gift-progress, 0) * var(--inbox-left-start-y)),
      0
    )
    rotate(calc(var(--gift-progress, 0) * var(--inbox-left-start-rotate)))
    scale(calc(0.35 + var(--gift-progress, 0) * 1.65));
}

.hero .burst-inbox-right {
  transform:
    translate3d(
      calc(-50% + var(--gift-progress, 0) * var(--inbox-right-start-x)),
      calc(var(--gift-progress, 0) * var(--inbox-right-start-y)),
      0
    )
    rotate(calc(var(--gift-progress, 0) * var(--inbox-right-start-rotate)))
    scale(calc(0.35 + var(--gift-progress, 0) * 1.65));
}

.gift-scene::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 10px;
  width: 72%;
  height: 26px;
  transform: translateX(-50%);
  background: radial-gradient(circle, rgba(0, 0, 0, 0.3), transparent 68%);
  z-index: 1;
  pointer-events: none;
}

.card-label,
.feature-index,
.timeline-step span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-family: "Space Grotesk", sans-serif;
}

.section-heading {
  display: grid;
  gap: 16px;
  max-width: 900px;
}

.section-heading.narrow {
  max-width: 760px;
}

.blog-hero-section {
  padding-top: 56px;
}

.blog-hero-shell {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  gap: 28px;
  align-items: stretch;
}

.blog-hero-copy,
.blog-featured-card,
.blog-card {
  background: rgba(255, 248, 235, 0.72);
  border: 1px solid rgba(19, 34, 24, 0.09);
  box-shadow: var(--shadow);
}

.blog-hero-copy {
  border-radius: var(--radius-xl);
  padding: clamp(28px, 4vw, 48px);
}

.blog-hero-copy h1 {
  max-width: 12ch;
  margin: 14px 0 0;
  font-size: clamp(2.7rem, 5vw, 4.6rem);
  line-height: 0.96;
  letter-spacing: -0.05em;
}

.blog-hero-text {
  max-width: 56ch;
  margin-top: 18px;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.7;
}

.blog-featured-card {
  border-radius: var(--radius-xl);
  padding: clamp(24px, 3.2vw, 34px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  background:
    radial-gradient(circle at top right, rgba(204, 229, 109, 0.26), transparent 36%),
    rgba(35, 66, 46, 0.96);
  color: #f8f4ea;
  border-color: rgba(255, 255, 255, 0.08);
}

.blog-featured-card h2 {
  margin: 18px 0 12px;
  font-size: clamp(1.9rem, 3vw, 2.8rem);
  line-height: 1.02;
  letter-spacing: -0.04em;
}

.blog-featured-card p:not(.blog-meta) {
  color: rgba(248, 244, 234, 0.82);
}

.blog-meta {
  margin: 18px 0 0;
  color: rgba(248, 244, 234, 0.68);
  font-size: 0.9rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.blog-card .blog-meta {
  color: var(--muted);
}

.blog-inline-link {
  margin-top: 22px;
  display: inline-flex;
  width: fit-content;
  font-family: "Space Grotesk", sans-serif;
  color: var(--lime);
}

.blog-grid {
  margin-top: 32px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.blog-card {
  border-radius: var(--radius-lg);
  padding: 24px;
}

.blog-card h3 {
  margin: 16px 0 10px;
  font-size: 1.5rem;
  line-height: 1.12;
  letter-spacing: -0.03em;
}

.blog-card p:not(.blog-meta) {
  color: var(--muted);
}

.blog-tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.blog-tag {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(204, 229, 109, 0.22);
  color: var(--olive);
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
}

.blog-cta-panel {
  background:
    radial-gradient(circle at top right, rgba(204, 229, 109, 0.24), transparent 30%),
    linear-gradient(135deg, rgba(255, 252, 245, 0.92), rgba(245, 237, 220, 0.88));
}

.blog-empty-state,
.blog-article-card {
  padding: clamp(24px, 4vw, 40px);
  border-radius: var(--radius-xl);
  background: rgba(255, 248, 235, 0.78);
  border: 1px solid rgba(19, 34, 24, 0.09);
  box-shadow: var(--shadow);
}

.blog-empty-state {
  margin-top: 28px;
}

.blog-empty-state h3,
.blog-article-card h1 {
  margin: 0 0 14px;
}

.blog-article-section {
  padding-top: 56px;
}

.blog-article-card {
  max-width: 860px;
}

.blog-article-meta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  color: var(--muted);
  font-family: "Space Grotesk", sans-serif;
}

.blog-article-cover {
  width: 100%;
  max-height: 420px;
  object-fit: cover;
  margin: 24px 0;
  border-radius: var(--radius-lg);
  background: rgba(204, 229, 109, 0.16);
}

.blog-article-excerpt {
  font-size: 1.1rem;
  line-height: 1.7;
  color: var(--muted);
}

.blog-article-content {
  display: grid;
  gap: 18px;
  margin-top: 28px;
}

.blog-article-content p {
  margin: 0;
  color: var(--text);
  line-height: 1.85;
}

.intro-grid {
  padding-top: 72px;
  z-index: 4;
}

.feature-grid,
.rewards-grid {
  display: grid;
  gap: 18px;
  margin-top: 32px;
}

.feature-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.feature-card,
.reward-card {
  position: relative;
  padding: 28px;
  border-radius: var(--radius-xl);
  overflow: hidden;
  transition:
    transform 0.4s ease,
    box-shadow 0.4s ease,
    border-color 0.4s ease;
}

.feature-card::after,
.reward-card::after,
.cta-panel::after {
  content: "";
  position: absolute;
  inset: auto -20% -60% auto;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.55), transparent 70%);
  opacity: 0;
  transform: scale(0.7);
  transition: opacity 0.4s ease, transform 0.4s ease;
  pointer-events: none;
}

.feature-index {
  width: 48px;
  height: 48px;
  margin-bottom: 22px;
  background: rgba(204, 229, 109, 0.4);
  color: #2d4b15;
}

.accent-card,
.reward-card.accent {
  background: linear-gradient(180deg, rgba(204, 229, 109, 0.72), rgba(255, 255, 255, 0.76));
}

.split-section {
  padding-block: 112px;
}

.split-shell {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 32px;
  align-items: start;
}

.timeline-card {
  padding: 18px;
  border-radius: 36px;
}

.timeline-step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 18px;
  padding: 18px;
  border-radius: 24px;
  transition: transform 0.35s ease, background-color 0.35s ease;
}

.timeline-step + .timeline-step {
  margin-top: 12px;
  border-top: 1px solid rgba(19, 34, 24, 0.08);
}

.timeline-step span {
  width: 56px;
  height: 56px;
  background: rgba(19, 34, 24, 0.08);
  font-weight: 700;
}

.rewards-grid {
  grid-template-columns: 1.1fr 1fr 1fr;
}

.reward-card.large {
  min-height: 300px;
  background:
    radial-gradient(circle at top right, rgba(204, 229, 109, 0.26), transparent 34%),
    rgba(255, 255, 255, 0.8);
}

.card-label {
  margin-bottom: 18px;
  padding: 8px 12px;
  background: rgba(19, 34, 24, 0.06);
  color: #29431d;
}

.faq-list {
  display: grid;
  gap: 14px;
  margin-top: 28px;
}

.faq-list details {
  padding: 22px 24px;
  border-radius: 22px;
  transition:
    transform 0.35s ease,
    box-shadow 0.35s ease,
    background-color 0.35s ease;
}

summary {
  cursor: pointer;
  font-size: 1.08rem;
  font-weight: 700;
  list-style: none;
}

summary::-webkit-details-marker {
  display: none;
}

.faq-list p {
  margin-top: 14px;
  max-width: 70ch;
}

.cta-panel {
  display: grid;
  grid-template-columns: 1.15fr auto;
  gap: 24px;
  align-items: center;
  padding: 32px;
  border-radius: 34px;
  background:
    radial-gradient(circle at left center, rgba(204, 229, 109, 0.35), transparent 32%),
    rgba(255, 255, 255, 0.78);
  position: relative;
  overflow: hidden;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 24px 0 40px;
}

.games-page {
  min-height: calc(100vh - 160px);
  padding-top: 0;
  padding-bottom: 96px;
  background: linear-gradient(180deg, #f6f1e8 0%, #f2ecdf 100%);
  margin-top: -6vh;
  position: relative;
  z-index: 3;
}

.games-intro-section {
  --games-intro-progress: 0;
  --intro-viewport-height: 100svh;
  min-height: clamp(360px, calc(var(--intro-viewport-height) * (1 - (var(--games-intro-progress) * 0.62))), var(--intro-viewport-height));
  padding: 0;
  background: linear-gradient(180deg, #f6f1e8 0%, #f2ecdf 100%);
  overflow: clip;
}

.games-intro-stage {
  position: sticky;
  top: 0;
  min-height: inherit;
  height: inherit;
  display: grid;
  align-items: start;
  position: sticky;
  overflow: hidden;
  position: relative;
}

.games-intro-frame {
  position: relative;
  z-index: 2;
  width: calc(100vw - (var(--games-intro-progress) * 48px));
  min-height: clamp(320px, calc(var(--intro-viewport-height) * (1 - (var(--games-intro-progress) * 0.72))), var(--intro-viewport-height));
  margin-inline: auto;
  padding-top: 96px;
  padding-bottom: calc(20px + (var(--games-intro-progress) * 24px));
  border-radius: calc(var(--games-intro-progress) * 36px);
  background: linear-gradient(180deg, #050505 0%, #0a0908 100%);
  box-shadow: 0 24px 80px rgba(0, 0, 0, calc(var(--games-intro-progress) * 0.18));
  overflow: hidden;
  isolation: isolate;
  will-change: width, min-height, border-radius;
}

.games-intro-frame::before,
.games-intro-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.games-intro-frame::before {
  background:
    radial-gradient(circle at 50% 22%, rgba(204, 229, 109, 0.16), transparent 22%),
    radial-gradient(circle at 15% 18%, rgba(91, 122, 45, 0.12), transparent 24%),
    radial-gradient(circle at 85% 24%, rgba(232, 218, 181, 0.08), transparent 22%);
  opacity: calc(1 - (var(--games-intro-progress) * 0.18));
  z-index: -2;
}

.games-intro-frame::after {
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.018) 1px, transparent 1px);
  background-size: 28px 28px;
  mix-blend-mode: soft-light;
  opacity: 0.22;
  z-index: -1;
}

.games-intro {
  position: relative;
  z-index: 3;
  display: grid;
  justify-items: center;
  text-align: center;
  gap: 20px;
  transform: translateY(calc(var(--games-intro-progress) * 10px));
  will-change: transform;
}

.games-intro-phone {
  position: absolute;
  left: 50%;
  top: 140px;
  z-index: 1;
  width: min(100%, 500px);
  height: auto;
  transform: translateX(-50%);
  -webkit-mask-image: linear-gradient(to top, #000 0%, #000 48%, rgba(0, 0, 0, 0.52) 70%, transparent 100%);
  mask-image: linear-gradient(to top, #000 0%, #000 48%, rgba(0, 0, 0, 0.52) 70%, transparent 100%);
  pointer-events: none;
  user-select: none;
  -webkit-user-drag: none;
}

.games-intro-logo {
  display: block;
  width: min(100%, 360px);
  height: auto;
  filter:
    drop-shadow(0 0 28px rgba(204, 229, 109, 0.12))
    drop-shadow(0 24px 60px rgba(0, 0, 0, 0.28));
}

.games-intro p {
  max-width: 30ch;
  font-size: 1.12rem;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.92);
  text-shadow: 0 8px 24px rgba(0, 0, 0, 0.45);
}

.games-intro-scroll {
  margin-top: 16px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: rgba(255, 255, 255, 0.84);
  text-shadow: 0 8px 24px rgba(0, 0, 0, 0.42);
}

.games-intro-scroll::after {
  content: "";
  width: 34px;
  height: 1px;
  background: rgba(255, 255, 255, 0.52);
}

.games-stack {
  display: grid;
  gap: 0;
}

.game-showcase {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(300px, 500px);
  align-items: start;
  gap: 64px;
  width: 100%;
  padding: 40px 8px 72px;
  border-top: 1px solid rgba(19, 34, 24, 0.08);
}

.game-showcase-reverse {
  grid-template-columns: minmax(300px, 500px) minmax(0, 1.2fr);
}

.game-showcase:last-child {
  border-bottom: 1px solid rgba(19, 34, 24, 0.08);
}

.game-showcase-reverse .game-showcase-copy {
  order: 2;
}

.game-showcase-reverse .game-showcase-media {
  order: 1;
}

.game-showcase-copy {
  max-width: 760px;
}

.game-showcase-copy h2 {
  margin-bottom: 20px;
  font-size: clamp(2.9rem, 4.6vw, 4.8rem);
  line-height: 0.98;
}

.game-showcase-copy p:not(.eyebrow) {
  max-width: 46ch;
  font-size: 1.15rem;
  line-height: 1.8;
}

.game-feature-list {
  max-width: 46ch;
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 14px;
}

.game-feature-list li {
  font-size: 1.02rem;
  line-height: 1.7;
  color: var(--text);
}

.game-feature-list li::before {
  content: "•";
  margin-right: 10px;
  color: var(--olive);
}

.game-feature-list strong {
  margin-right: 6px;
  font-family: "Space Grotesk", sans-serif;
}

.game-showcase-media {
  display: flex;
  justify-content: center;
  align-self: center;
}

.game-cover-frame {
  width: min(100%, 520px);
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(24px, 4vw, 40px);
  border-radius: 40px;
  border: 1px dashed rgba(19, 34, 24, 0.12);
  background:
    radial-gradient(circle at 50% 100%, rgba(204, 229, 109, 0.18), transparent 42%),
    linear-gradient(180deg, #ffffff 0%, #efe7d7 100%);
}

.game-cover-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.site-footer > div:first-child {
  display: flex;
  align-items: center;
  gap: 14px;
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 18px;
  color: var(--muted);
}

[data-reveal] {
  opacity: 0;
  transform: translateY(42px) scale(0.98);
  transition:
    opacity 0.46s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.46s cubic-bezier(0.22, 1, 0.36, 1),
    filter 0.46s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--reveal-delay, 0ms);
  filter: blur(8px);
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  filter: blur(0);
}

[data-reveal="left"] {
  transform: translateX(-48px);
}

[data-reveal="right"] {
  transform: translateX(48px);
}

[data-reveal="left"].is-visible,
[data-reveal="right"].is-visible {
  transform: translateX(0);
}

[data-panel] {
  opacity: 0;
  transform: translateY(60px) scale(0.985);
  filter: blur(12px);
  transition:
    opacity 0.52s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.52s cubic-bezier(0.22, 1, 0.36, 1),
    filter 0.52s cubic-bezier(0.22, 1, 0.36, 1);
}

[data-panel].is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  filter: blur(0);
}

[data-text-reveal] {
  opacity: 0;
  transform: translateY(24px);
  filter: blur(10px);
  transition:
    opacity 0.38s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.38s cubic-bezier(0.22, 1, 0.36, 1),
    filter 0.38s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--text-delay, 0ms);
}

[data-text-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}

.button:hover,
.button:focus-visible {
  transform: translateY(-4px);
}

.button-primary:hover,
.button-primary:focus-visible {
  box-shadow: 0 20px 44px rgba(35, 66, 46, 0.28);
}

.button-secondary:hover,
.button-secondary:focus-visible {
  border-color: rgba(35, 66, 46, 0.2);
}

.hero-stats div:hover,
.feature-card:hover,
.reward-card:hover,
.faq-list details:hover {
  transform: translateY(-8px);
  box-shadow: 0 28px 80px rgba(35, 66, 46, 0.18);
  border-color: rgba(35, 66, 46, 0.14);
}

.feature-card:hover::after,
.reward-card:hover::after,
.cta-panel:hover::after {
  opacity: 1;
  transform: scale(1);
}

.timeline-step:hover {
  transform: translateX(8px);
  background: rgba(255, 255, 255, 0.34);
}

details[open] summary {
  margin-bottom: 6px;
}

@keyframes revealUp {
  from {
    opacity: 0;
    transform: translateY(26px);
  }

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

@keyframes boardTick {
  0% {
    opacity: 1;
    transform: translateY(0);
  }

  50% {
    opacity: 0.78;
    transform: translateY(-0.06em);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-18px);
  }

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

@keyframes drift {
  0%,
  100% {
    transform: translate3d(0, 0, 0) scale(1);
  }

  50% {
    transform: translate3d(0, -18px, 0) scale(1.04);
  }
}

@keyframes giftSway {
  0%,
  100% {
    transform: translateX(-50%) rotate(-1.8deg) translateY(0) scale(1);
  }

  22% {
    transform: translateX(-50%) rotate(-0.8deg) translateY(-4px) scale(1.01);
  }

  48% {
    transform: translateX(-50%) rotate(1.8deg) translateY(-10px) scale(1.025);
  }

  62% {
    transform: translateX(-50%) rotate(1deg) translateY(-6px) scale(1.012);
  }

  78% {
    transform: translateX(-50%) rotate(-1.1deg) translateY(-2px) scale(1.004);
  }
}

@keyframes sceneGlowPulse {
  0%,
  100% {
    transform: translateX(-50%) scaleX(1) scaleY(1);
    opacity: 0.42;
  }

  50% {
    transform: translateX(-50%) scaleX(1.08) scaleY(1.16);
    opacity: 0.6;
  }
}

@keyframes giftShimmer {
  0%,
  100% {
    transform: translateX(-68%) skewX(-16deg);
    opacity: 0.22;
  }

  45% {
    opacity: 0.16;
  }

  50% {
    transform: translateX(-50%) skewX(-16deg);
    opacity: 0.58;
  }

  60% {
    opacity: 0.2;
  }

  100% {
    transform: translateX(-28%) skewX(-16deg);
  }
}

@keyframes heroScrollHintPulse {
  0% {
    transform: scale(1);
  }

  42% {
    transform: scale(1.08);
  }

  100% {
    transform: scale(1);
  }
}

@keyframes pageLoaderSpin {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

@keyframes pageLoaderSweep {
  0% {
    transform: translateX(-130%);
  }

  100% {
    transform: translateX(250%);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

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

@media (max-width: 1080px) {
  .blog-hero-shell {
    grid-template-columns: 1fr;
  }

  .blog-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .games-stack {
    gap: 24px;
  }

  .game-showcase,
  .game-showcase-reverse {
    grid-template-columns: 1fr;
  }

  .game-showcase {
    gap: 32px;
    padding: 56px 0;
  }

  .game-showcase-reverse .game-showcase-copy,
  .game-showcase-reverse .game-showcase-media {
    order: initial;
  }

  .split-shell {
    grid-template-columns: 1fr;
  }

  .hero-shell {
    gap: 34px;
  }

  .feature-grid,
  .rewards-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-visual {
    min-height: 320px;
  }

  .gift-scene {
    width: 214px;
    height: 214px;
    bottom: 88px;
  }

  .gift-phone {
    left: -176%;
    bottom: -126px;
    width: 284%;
  }

  .gift-phone-right {
    left: auto;
    right: -176%;
  }
}

@media (max-width: 760px) {
  .blog-page-body .page-shell {
    background:
      linear-gradient(180deg, #050505 0px, #0a0908 168px, transparent 169px);
  }

  .games-page-body .page-shell {
    background:
      linear-gradient(180deg, #050505 0px, #0a0908 168px, transparent 169px);
  }

  .games-intro-section {
    min-height: clamp(280px, calc(var(--intro-viewport-height) * (1 - (var(--games-intro-progress) * 0.66))), var(--intro-viewport-height));
  }

  .games-intro {
    gap: 14px;
  }

  .games-intro-frame {
    width: calc(100vw - (var(--games-intro-progress) * 20px));
    min-height: clamp(260px, calc(var(--intro-viewport-height) * (1 - (var(--games-intro-progress) * 0.78))), var(--intro-viewport-height));
    padding-top: 88px;
    padding-bottom: calc(12px + (var(--games-intro-progress) * 14px));
    border-radius: calc(var(--games-intro-progress) * 24px);
  }

  .games-intro p {
    max-width: none;
    font-size: 1rem;
  }

  .games-intro-logo {
    width: min(100%, 280px);
  }

  .games-intro-phone {
    width: min(100%, 320px);
    top: 150px;
  }

  .games-page {
    padding-top: 0;
    padding-bottom: 72px;
    margin-top: -3vh;
  }

  .game-showcase {
    padding: 24px 0 44px;
    gap: 24px;
  }

  .game-showcase-copy h2 {
    font-size: clamp(2.2rem, 10vw, 3.2rem);
    margin-bottom: 14px;
  }

  .game-showcase-copy p:not(.eyebrow) {
    max-width: none;
    font-size: 1rem;
  }

  .game-cover-frame {
    border-radius: 28px;
  }

  .site-header {
    position: fixed;
    top: 12px;
    left: 10px;
    right: 10px;
    width: auto;
    max-width: none;
    margin-inline: 0;
    transform: none;
    margin-top: 0;
    border-radius: 28px;
    align-items: flex-start;
    flex-wrap: wrap;
    padding: 12px 14px;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .site-nav {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    padding-top: 8px;
  }

  .site-nav-group {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    border-radius: 24px;
  }

  .site-nav-highlight {
    display: none;
  }

  .site-nav.is-open {
    display: flex;
  }

  .hero {
    min-height: auto;
    padding-top: 72px;
    padding-bottom: 40px;
  }

  .hero-shell {
    gap: 30px;
  }

  .hero-copy {
    width: 100%;
    margin-top: 0;
  }

  .section {
    padding: 72px 0;
  }

  .section[id] {
    scroll-margin-top: 96px;
  }

  .section-shell {
    width: min(calc(100% - 24px), var(--container));
    max-width: none;
    margin-inline: auto;
  }

  .hero-marquee {
    margin-bottom: 20px;
    font-size: clamp(2rem, 10.4vw, 4.4rem);
  }

  .blog-grid {
    grid-template-columns: 1fr;
  }

  .blog-hero-copy h1 {
    max-width: 10ch;
    font-size: clamp(2.4rem, 10vw, 3.3rem);
  }

  .feature-grid,
  .rewards-grid {
    grid-template-columns: 1fr;
  }

  .intro-grid .feature-grid {
    margin-top: 24px;
  }

  .intro-grid .feature-card {
    padding: 22px 18px;
  }

  .hero-visual {
    width: 100%;
    min-height: 220px;
  }

  .gift-scene {
    width: 148px;
    height: 148px;
    bottom: 44px;
  }

  .gift-phone {
    left: -146%;
    bottom: -84px;
    width: 244%;
  }

  .gift-phone-right {
    left: auto;
    right: -146%;
  }

  .gift-box {
    animation-duration: 8.6s;
  }

  .gift-box::before {
    width: 52%;
    height: 62%;
    opacity: 0.48;
  }

  .hero h1 {
    font-size: clamp(2.2rem, 9vw, 3.4rem);
    max-width: 13ch;
    white-space: normal;
  }

  .hero .hero-text {
    width: 100%;
    max-width: none;
    font-size: 1rem;
  }

  .hero-actions {
    gap: 10px;
    margin-top: 24px;
  }

  .button {
    min-height: 46px;
    padding: 0 16px;
    font-size: 0.95rem;
  }

  .hero-stats {
    grid-template-columns: 1fr;
    gap: 10px;
    margin-top: 28px;
    width: 100%;
  }

  .hero-stats div {
    padding: 10px 9px;
    border-radius: 14px;
  }

  .hero-stats strong {
    margin-bottom: 4px;
    font-size: 0.88rem;
  }

  .hero-stats span {
    font-size: 0.7rem;
    line-height: 1.35;
  }

  .timeline-step {
    grid-template-columns: 1fr;
  }

  .cta-panel,
  .site-footer,
  .footer-links {
    display: grid;
  }
}

@media (max-width: 520px) {
  .site-header {
    left: 8px;
    right: 8px;
  }

  .hero {
    min-height: auto;
  }

  .hero-visual {
    min-height: 180px;
  }

  .hero-copy {
    margin-top: 0;
  }

  .gift-scene {
    width: 122px;
    height: 122px;
    bottom: 34px;
    --inbox-left-start-x: -34px;
    --inbox-left-start-y: -38px;
    --inbox-left-start-rotate: -10deg;
    --inbox-left-target-x: -12px;
    --inbox-left-target-y: -176px;
    --inbox-left-target-rotate: -16deg;
    --inbox-right-start-x: 36px;
    --inbox-right-start-y: -36px;
    --inbox-right-start-rotate: 8deg;
    --inbox-right-target-x: -12px;
    --inbox-right-target-y: -176px;
    --inbox-right-target-rotate: 12deg;
  }

  .gift-phone {
    left: -128%;
    bottom: -68px;
    width: 228%;
  }

  .gift-phone-right {
    left: auto;
    right: -128%;
  }

  .burst-item {
    bottom: 28px;
  }

  .burst-inbox {
    width: 61px;
  }

  .hero .burst-inbox-left {
    transform:
      translate3d(
        calc(-50% + var(--gift-progress, 0) * var(--inbox-left-start-x)),
        calc(var(--gift-progress, 0) * var(--inbox-left-start-y)),
        0
      )
      rotate(calc(var(--gift-progress, 0) * var(--inbox-left-start-rotate)))
      scale(calc(0.35 + var(--gift-progress, 0) * 1.65));
  }

  .hero .burst-inbox-right {
    transform:
      translate3d(
        calc(-50% + var(--gift-progress, 0) * var(--inbox-right-start-x)),
        calc(var(--gift-progress, 0) * var(--inbox-right-start-y)),
        0
      )
      rotate(calc(var(--gift-progress, 0) * var(--inbox-right-start-rotate)))
      scale(calc(0.35 + var(--gift-progress, 0) * 1.65));
  }

  .hero h1 {
    font-size: clamp(2rem, 8.4vw, 2.9rem);
    max-width: 13ch;
    white-space: normal;
  }

  .hero .hero-text {
    font-size: 0.95rem;
    width: 100%;
    max-width: none;
  }

  .hero-stats {
    gap: 8px;
    width: 100%;
    max-width: 100%;
  }

  .hero-stats div {
    padding: 9px 8px;
  }

  .hero-stats strong {
    font-size: 0.82rem;
  }

  .hero-stats span {
    font-size: 0.66rem;
  }

  .button {
    min-height: 42px;
    padding: 0 14px;
    font-size: 0.9rem;
  }
}
