/* =====================================================
   Twinby Story Promo — стили
   ===================================================== */

:root {
  /* Core brand */
  --tw-gamze-blue: #8746ff;
  --tw-fresh-kiwi: #82dd00;
  --tw-kiwi-dark: #5fa600;

  /* Neutral */
  --tw-neutral-05: #f9f8fd;
  --tw-neutral-10: #f2eff8;
  --tw-neutral-15: #e6e1ef;
  --tw-neutral-20: #d5cede;
  --tw-neutral-30: #bab4c5;
  --tw-neutral-40: #9993a4;
  --tw-neutral-50: #75707d;
  --tw-neutral-60: #615d6d;
  --tw-neutral-70: #3e3a45;
  --tw-neutral-80: #333039;
  --tw-neutral-90: #2a2730;
  --tw-neutral-100: #1c1a20;

  /* Active */
  --tw-active-05: #f1eefc;
  --tw-active-10: #dfd5f5;
  --tw-active-20: #c0b2e1;
  --tw-active-40: #8778a9;
  --tw-active-60: #645682;
  --tw-active-80: #43385c;
  --tw-active-90: #352b4b;
  --tw-active-100: #1d172a;

  /* Extra accents */
  --tw-pink: #ffc7f2;
  --tw-pink-vivid: #f2a7ff;
  --tw-blue-sky: #b7e6ff;
  --tw-amber: #ffb547;

  /* Tokens */
  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 28px;
  --radius-xl: 36px;
  --radius-pill: 999px;

  --shadow-card: 0 24px 64px rgba(29, 23, 42, 0.12);
  --shadow-dark: 0 32px 80px rgba(29, 23, 42, 0.5);
  --shadow-float: 0 18px 48px rgba(135, 70, 255, 0.35);

  --font-base: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-heading: "Unbounded", "Manrope", sans-serif;
  --font-display: "Playfair Display", "Times New Roman", serif;

  --ease-out-expo: cubic-bezier(0.19, 1, 0.22, 1);
  --ease-out-back: cubic-bezier(0.34, 1.56, 0.64, 1);

  --container-max: 1240px;
  --container-pad: clamp(20px, 4vw, 56px);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  margin: 0;
  font-family: var(--font-base);
  font-weight: 400;
  color: var(--tw-neutral-100);
  background: var(--tw-neutral-05);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.55;
  overflow-x: hidden;
}

img,
svg {
  display: block;
  max-width: 100%;
}

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

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
  color: inherit;
}

input,
textarea {
  font: inherit;
  color: inherit;
}

.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding-inline: var(--container-pad);
}

.skip-link {
  position: absolute;
  top: -60px;
  left: 16px;
  background: var(--tw-neutral-100);
  color: #fff;
  padding: 12px 18px;
  border-radius: 999px;
  z-index: 1000;
  transition: top 0.2s;
}
.skip-link:focus {
  top: 16px;
}

:focus-visible {
  outline: 3px solid var(--tw-fresh-kiwi);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ===================== Typography helpers ===================== */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-base);
  font-weight: 600;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--tw-active-60);
  margin: 0 0 22px;
}
.eyebrow--on-dark {
  color: rgba(255, 255, 255, 0.7);
}
.eyebrow__dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--tw-fresh-kiwi);
  box-shadow: 0 0 0 4px rgba(130, 221, 0, 0.18);
}

.section-head {
  max-width: 760px;
  margin-bottom: clamp(40px, 6vw, 72px);
}
.section-title {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: clamp(38px, 5.2vw, 72px);
  line-height: 0.96;
  letter-spacing: -0.025em;
  margin: 0 0 18px;
  color: var(--tw-neutral-100);
}
.section-lede {
  font-size: clamp(17px, 1.4vw, 20px);
  color: var(--tw-neutral-60);
  margin: 0;
  max-width: 620px;
  line-height: 1.5;
}

.h1-italic,
.h2-italic {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 900;
  letter-spacing: -0.02em;
}
.h2-italic--light {
  color: var(--tw-fresh-kiwi);
}

/* ===================== Buttons ===================== */
.btn {
  --btn-bg: var(--tw-neutral-100);
  --btn-fg: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 22px;
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-weight: 700;
  font-size: 15px;
  border-radius: var(--radius-pill);
  transition: transform 0.2s var(--ease-out-back), background 0.2s, box-shadow 0.25s;
  will-change: transform;
  line-height: 1;
}
.btn:hover {
  transform: translateY(-2px);
}
.btn:active {
  transform: translateY(0);
}
.btn svg {
  width: 18px;
  height: 18px;
  transition: transform 0.25s var(--ease-out-expo);
}
.btn:hover svg {
  transform: translateX(3px);
}

.btn--sm {
  padding: 11px 18px;
  font-size: 14px;
}
.btn--lg {
  padding: 18px 30px;
  font-size: 16px;
}
.btn--lg svg {
  width: 20px;
  height: 20px;
}
.btn--xl {
  padding: 22px 38px;
  font-size: 18px;
  border-radius: 999px;
}
.btn--full {
  width: 100%;
}

.btn--kiwi {
  --btn-bg: var(--tw-fresh-kiwi);
  --btn-fg: var(--tw-neutral-100);
  box-shadow: 0 14px 28px rgba(130, 221, 0, 0.35);
}
.btn--kiwi:hover {
  --btn-bg: #94f20c;
  box-shadow: 0 20px 38px rgba(130, 221, 0, 0.5);
}
.btn--primary {
  --btn-bg: var(--tw-neutral-100);
  --btn-fg: #fff;
}
.btn--primary:hover {
  --btn-bg: var(--tw-active-100);
}
.btn--dark {
  --btn-bg: var(--tw-neutral-100);
  --btn-fg: #fff;
}
.btn--ghost {
  --btn-bg: transparent;
  --btn-fg: #fff;
  box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(8px);
}
.btn--ghost:hover {
  --btn-bg: rgba(255, 255, 255, 0.1);
  box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.6);
}
.btn--ghost-dark {
  --btn-bg: transparent;
  --btn-fg: var(--tw-neutral-100);
  box-shadow: inset 0 0 0 1.5px var(--tw-neutral-20);
}
.btn--ghost-dark:hover {
  --btn-bg: var(--tw-neutral-10);
}

/* ===================== Header ===================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 18px 0;
  background: rgba(135, 70, 255, 0.9);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  color: #fff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.site-header__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-weight: 800;
}
.logo__svg {
  width: auto;
  height: 24px;
  color: currentColor;
  flex-shrink: 0;
}
.logo__chip {
  position: relative;
  display: inline-flex;
  align-items: center;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 18px;
  letter-spacing: -0.01em;
  color: rgba(255, 255, 255, 0.55);
  padding-left: 14px;
  margin-left: 4px;
  text-transform: lowercase;
  line-height: 1;
}
.logo__chip::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%) rotate(20deg);
  width: 2px;
  height: 18px;
  background: rgba(255, 255, 255, 0.25);
  border-radius: 2px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 32px;
  color: rgba(255, 255, 255, 0.85);
  font-weight: 500;
  font-size: 15px;
}
.site-nav a {
  position: relative;
  padding: 6px 0;
  transition: color 0.2s;
}
.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: var(--tw-fresh-kiwi);
  transition: width 0.25s var(--ease-out-expo);
}
.site-nav a:hover {
  color: #fff;
}
.site-nav a:hover::after {
  width: 100%;
}

/* ===================== Hero ===================== */
.hero {
  position: relative;
  overflow: hidden;
  color: #fff;
  background: var(--tw-gamze-blue);
  padding: 0;
  isolation: isolate;
  display: flex;
  flex-direction: column;
}
@media (min-width: 641px) {
  .hero {
    min-height: 100vh;
    min-height: 100svh;
  }
  .hero__grid {
    flex: 1;
    align-content: center;
  }
}
.logo--hero {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  margin-bottom: clamp(24px, 3vw, 44px);
}
.logo--hero .logo__svg {
  height: 28px;
}
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}
.hero__grid-lines {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.7;
}
.hero__blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.55;
}
.hero__blob--1 {
  width: 520px;
  height: 520px;
  background: radial-gradient(circle, #c19bff 0%, transparent 60%);
  top: -200px;
  left: -120px;
}
.hero__blob--2 {
  width: 420px;
  height: 420px;
  background: radial-gradient(circle, var(--tw-fresh-kiwi) 0%, transparent 60%);
  bottom: -160px;
  right: -100px;
  opacity: 0.35;
}

.hero__grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(24px, 3vw, 48px);
  align-items: center;
  padding-top: clamp(48px, 7vw, 96px);
  padding-bottom: clamp(48px, 7vw, 96px);
}

.hero__left {
  position: relative;
  z-index: 5;
}
.hero__title {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: clamp(44px, 7.2vw, 108px);
  line-height: 0.9;
  letter-spacing: -0.035em;
  margin: 0 0 22px;
  color: #fff;
}
.h1-italic {
  color: var(--tw-fresh-kiwi);
}

.hero__subtitle {
  font-size: clamp(17px, 1.4vw, 21px);
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.85);
  margin: 0 0 36px;
  max-width: 540px;
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 36px;
}

.hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.75);
}
.hero__meta li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.hero__meta li::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--tw-fresh-kiwi);
}

/* -- Stage / phone mock -- */
.hero__right {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  align-self: stretch;
  min-height: 520px;
}
.stage {
  position: relative;
  width: 100%;
  height: 100%;
  max-width: none;
  display: flex;
  align-items: center;
  justify-content: center;
}
.couple-cluster {
  position: relative;
  width: 100%;
  max-width: 620px;
  max-height: 100%;
  aspect-ratio: 1090 / 1402;
  margin: 0 auto;
}

.float {
  position: absolute;
  filter: drop-shadow(0 18px 30px rgba(0, 0, 0, 0.25));
  animation: floaty 6s ease-in-out infinite;
  z-index: 3;
}
.float--heart {
  width: 77px;
  top: -4%;
  left: -20%;
  animation-delay: 0.2s;
  z-index: 1;
}
.float--sparkle {
  width: 55px;
  top: 6%;
  right: -6%;
  animation-delay: 1.4s;
}
.float--w {
  display: none;
  width: 320%;
  aspect-ratio: 43 / 26;
  top: -30%;
  left: -110%;
  right: auto;
  bottom: auto;
  animation: none;
  z-index: 0;
  opacity: 0.08;
  filter: none;
}
.butterfly-wing {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  animation: wing-flap 14s ease-in-out infinite;
  transform-origin: 50% 50%;
  will-change: transform;
}
.butterfly-wing--left {
  clip-path: inset(0 50% 0 0);
}
.butterfly-wing--right {
  clip-path: inset(0 0 0 50%);
  animation-delay: 0.15s;
}
@keyframes wing-flap {
  0%, 100% {
    transform: scaleX(1);
  }
  45%, 55% {
    transform: scaleX(0.22);
  }
}
.float--ring {
  width: 110px;
  bottom: -16%;
  right: -16%;
  animation: heart-sway 8s ease-in-out infinite;
  animation-delay: 2s;
  z-index: 1;
}
@keyframes heart-sway {
  0%, 100% {
    transform: translate3d(0, 0, 0) rotate(-7deg);
  }
  50% {
    transform: translate3d(0, -6px, 0) rotate(7deg);
  }
}

/* Tiny scattered hearts overlaying the whole scene */
.mini-heart {
  position: absolute;
  z-index: 4;
  pointer-events: none;
  opacity: 0.55;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.18));
  animation: mini-float 5s ease-in-out infinite;
}
.mini-heart--1 {
  width: 17px;
  top: 16%;
  left: 18%;
  animation-delay: 0s;
}
.mini-heart--2 {
  width: 12px;
  top: 8%;
  right: 26%;
  animation-delay: 1.2s;
}
.mini-heart--3 {
  width: 14px;
  top: 42%;
  right: 8%;
  animation-delay: 2.4s;
}
.mini-heart--4 {
  width: 10px;
  top: 62%;
  left: 8%;
  animation-delay: 0.8s;
}
.mini-heart--5 {
  width: 13px;
  bottom: 24%;
  right: 22%;
  animation-delay: 3s;
}
.mini-heart--6 {
  width: 11px;
  top: 32%;
  left: 42%;
  animation-delay: 1.8s;
  opacity: 0.45;
}
@keyframes mini-float {
  0%,
  100% {
    transform: translate3d(0, 0, 0) rotate(-6deg);
  }
  50% {
    transform: translate3d(0, -6px, 0) rotate(6deg);
  }
}

/* Twinkling sparkles — front layer over the couple scene */
.twinkle {
  position: absolute;
  z-index: 4;
  pointer-events: none;
  filter: drop-shadow(0 2px 6px rgba(255, 255, 255, 0.35));
  animation: twinkle 3.4s ease-in-out infinite;
  transform-origin: center center;
}
.twinkle--1 { width: 16px; top: 10%; left: 12%; animation-delay: 0s; }
.twinkle--2 { width: 10px; top: 4%; right: 22%; animation-delay: 0.6s; }
.twinkle--3 { width: 12px; top: 30%; right: -6%; animation-delay: 1.1s; }
.twinkle--4 { width: 8px; top: 48%; left: 8%; animation-delay: 1.7s; }
.twinkle--5 { width: 14px; top: 64%; right: 14%; animation-delay: 0.3s; }
.twinkle--6 { width: 20px; bottom: 28%; left: 34%; animation-delay: 2.1s; }
.twinkle--7 { width: 9px; bottom: 8%; right: 34%; animation-delay: 2.7s; }
.twinkle--8 { width: 11px; top: 22%; left: 44%; animation-delay: 1.4s; }
.twinkle--elbow { width: 42px; bottom: 6%; left: 4%; animation-delay: 1s; animation-duration: 4.2s; }

@keyframes twinkle {
  0%, 100% {
    opacity: 0.2;
    transform: scale(0.7) rotate(0deg);
  }
  50% {
    opacity: 1;
    transform: scale(1.1) rotate(25deg);
  }
}

@keyframes floaty {
  0%,
  100% {
    transform: translate3d(0, 0, 0) rotate(-3deg);
  }
  50% {
    transform: translate3d(0, -14px, 0) rotate(3deg);
  }
}
@keyframes spin-soft {
  from {
    transform: rotate(0);
  }
  to {
    transform: rotate(360deg);
  }
}

.hero-illus {
  position: absolute;
  inset: -10% -10% -10% -10%;
  display: flex;
  align-items: center;
  justify-content: center;
  filter: drop-shadow(0 40px 60px rgba(29, 23, 42, 0.35));
  z-index: 2;
}
.hero-illus img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  transform: scale(1.8);
  transform-origin: center center;
  animation: floaty-soft 7s ease-in-out infinite;
}
@keyframes floaty-soft {
  0%,
  100% {
    transform: scale(1.8) translate3d(0, 0, 0);
  }
  50% {
    transform: scale(1.8) translate3d(0, -8px, 0);
  }
}

.phone {
  position: absolute;
  inset: 4% 6% 4% 6%;
  perspective: 1000px;
}
.phone__frame {
  position: relative;
  width: 100%;
  height: 100%;
  background: #1c1a20;
  border-radius: 44px;
  padding: 16px;
  box-shadow: var(--shadow-dark), inset 0 0 0 2px rgba(255, 255, 255, 0.05);
  transform: rotate(-3deg) translateZ(0);
}
.phone__notch {
  position: absolute;
  top: 22px;
  left: 50%;
  transform: translateX(-50%);
  width: 90px;
  height: 22px;
  background: #0a090c;
  border-radius: 999px;
  z-index: 2;
}
.phone__screen {
  position: relative;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, #f9f8fd 0%, #eee7fb 100%);
  border-radius: 32px;
  padding: 58px 20px 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  overflow: hidden;
}
.phone__status {
  position: absolute;
  top: 22px;
  left: 22px;
  right: 22px;
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  font-weight: 700;
  color: var(--tw-neutral-80);
  letter-spacing: 0.02em;
}
.phone__status-dots {
  display: inline-flex;
  gap: 3px;
  align-items: center;
}
.phone__status-dots i {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--tw-neutral-80);
}

.accepted-card {
  background: #fff;
  border-radius: 22px;
  padding: 20px 18px;
  box-shadow: 0 16px 40px rgba(29, 23, 42, 0.1);
  position: relative;
}
.accepted-card__icon {
  position: absolute;
  top: -18px;
  left: 18px;
  width: 36px;
  height: 36px;
  background: var(--tw-fresh-kiwi);
  border-radius: 50%;
  display: grid;
  place-items: center;
  box-shadow: 0 10px 24px rgba(130, 221, 0, 0.4);
}
.accepted-card__icon svg {
  width: 20px;
  height: 20px;
}
.accepted-card__kicker {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--tw-neutral-50);
  margin: 0 0 6px;
}
.accepted-card__title {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 22px;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--tw-neutral-100);
  margin: 0 0 6px;
}
.accepted-card__text {
  font-size: 13px;
  color: var(--tw-neutral-60);
  margin: 0 0 14px;
  line-height: 1.4;
}

.promo-chip {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 14px 22px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--tw-neutral-100) 0%, #3e3752 100%);
  color: #fff;
  text-align: center;
  align-items: center;
}
.promo-chip::before,
.promo-chip::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 14px;
  height: 14px;
  background: #fff;
  border-radius: 50%;
  transform: translateY(-50%);
}
.promo-chip::before {
  left: -7px;
}
.promo-chip::after {
  right: -7px;
}
.promo-chip__label {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: rgba(255, 255, 255, 0.55);
}
.promo-chip__code {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 20px;
  letter-spacing: 0.02em;
  color: var(--tw-fresh-kiwi);
  line-height: 1.05;
  max-width: 100%;
  white-space: nowrap;
}
.promo-chip__meta {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.55);
}

.accepted-card__cta {
  margin-top: 14px;
  width: 100%;
  padding: 12px;
  background: var(--tw-neutral-100);
  color: #fff;
  border-radius: 999px;
  font-weight: 700;
  font-size: 13px;
  transition: transform 0.2s;
}
.accepted-card__cta:hover {
  transform: translateY(-1px);
}

.phone__row {
  display: flex;
  gap: 8px;
  margin-top: auto;
}
.phone__pill {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  padding: 10px 14px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  color: var(--tw-neutral-80);
  box-shadow: 0 6px 14px rgba(29, 23, 42, 0.06);
}
.phone__pill-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--tw-fresh-kiwi);
}
.phone__pill--alt {
  flex: 0 0 auto;
  background: var(--tw-fresh-kiwi);
  color: var(--tw-neutral-100);
  font-weight: 800;
}

.phone__shadow {
  position: absolute;
  inset: 94% 8% auto;
  height: 50px;
  background: radial-gradient(ellipse at center, rgba(0, 0, 0, 0.35), transparent 70%);
  z-index: -1;
  filter: blur(12px);
}

/* -- Stats strip (dark band, заменяет бегущую строку) -- */
.stats-strip {
  background: var(--tw-neutral-100);
  color: #fff;
  padding: clamp(36px, 4.5vw, 56px) 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}
.stats-strip__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(16px, 4vw, 56px);
  align-items: center;
}
.stats-strip__item {
  position: relative;
}
.stats-strip__item + .stats-strip__item::before {
  content: "";
  position: absolute;
  top: 6px;
  bottom: 6px;
  left: calc(clamp(16px, 4vw, 56px) / -2);
  width: 1px;
  background: rgba(255, 255, 255, 0.12);
}
.stats-strip__num {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: clamp(30px, 3.8vw, 52px);
  letter-spacing: -0.02em;
  line-height: 1;
  color: var(--tw-fresh-kiwi);
  margin: 0 0 8px;
  font-variant-numeric: tabular-nums;
}

/* Animated last-digit counter */
.flip-digit {
  display: inline-block;
  height: 1em;
  line-height: 1;
  overflow: hidden;
  vertical-align: top;
}
.flip-digit__reel {
  display: flex;
  flex-direction: column;
  animation: digit-roll 28s steps(10, end) infinite;
  will-change: transform;
}
.flip-digit__reel--slow {
  animation-duration: 280s;
}
.flip-digit__reel > span {
  display: block;
  height: 1em;
  line-height: 1;
}
@keyframes digit-roll {
  from { transform: translateY(0); }
  to   { transform: translateY(-10em); }
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
@media (prefers-reduced-motion: reduce) {
  .flip-digit__reel {
    animation: none;
  }
}
.stats-strip__label {
  font-size: 14px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.35;
  margin: 0;
}
@media (max-width: 640px) {
  .stats-strip__grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .stats-strip__item + .stats-strip__item::before {
    display: none;
  }
}

/* -- Marquee -- */
.marquee {
  width: 100%;
  overflow: hidden;
  background: var(--tw-neutral-100);
  color: var(--tw-fresh-kiwi);
  font-family: var(--font-heading);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  font-size: clamp(18px, 2.2vw, 32px);
  padding: 22px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.marquee__track {
  display: inline-flex;
  gap: 36px;
  white-space: nowrap;
  animation: scroll-left 40s linear infinite;
  padding-left: 36px;
}
.marquee__dot {
  color: #fff;
}
@keyframes scroll-left {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

/* ===================== How it works ===================== */
.how {
  padding: clamp(80px, 10vw, 140px) 0;
  background: var(--tw-neutral-05);
}

.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.step {
  background: #fff;
  border-radius: var(--radius-xl);
  padding: 36px 32px 32px;
  position: relative;
  border: 1px solid var(--tw-neutral-15);
  transition: transform 0.35s var(--ease-out-expo), box-shadow 0.35s;
  min-height: 260px;
  display: flex;
  flex-direction: column;
}
.step:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-card);
}
.step--accent {
  background: var(--tw-neutral-100);
  color: #fff;
  border-color: var(--tw-neutral-100);
}
.step--accent .step__num {
  color: var(--tw-fresh-kiwi);
  border-color: rgba(130, 221, 0, 0.3);
}
.step--accent p {
  color: rgba(255, 255, 255, 0.7);
}

.step--two {
  background: var(--tw-gamze-blue);
  color: #fff;
  border-color: var(--tw-gamze-blue);
}
.step--two .step__num {
  color: var(--tw-fresh-kiwi);
  border-color: rgba(255, 255, 255, 0.25);
}
.step--two .step__body p {
  color: #ffffff;
  font-weight: 500;
}

.step__num {
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 700;
  color: var(--tw-active-60);
  letter-spacing: 0.1em;
  padding: 6px 14px;
  border: 1.5px solid var(--tw-neutral-15);
  border-radius: 999px;
  align-self: flex-start;
  margin-bottom: auto;
}

.step__body h3 {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: clamp(22px, 2vw, 28px);
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin: 24px 0 10px;
}
.step__body p {
  font-size: 15px;
  line-height: 1.55;
  color: var(--tw-neutral-60);
  margin: 0;
}

.step__icon {
  position: absolute;
  top: 22px;
  right: 22px;
  width: 86px;
  height: 86px;
  display: grid;
  place-items: center;
}
.step__icon svg,
.step__icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.step--two .step__icon svg path,
.step--two .step__icon svg rect {
  fill: #fff;
}
.step--accent .step__icon svg rect {
  fill: var(--tw-fresh-kiwi);
}

/* ===================== Form ===================== */
.form-section {
  padding: clamp(80px, 10vw, 140px) 0;
  background: var(--tw-neutral-100);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.form-section::before {
  content: "";
  position: absolute;
  top: -200px;
  right: -200px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(135, 70, 255, 0.4), transparent 60%);
  filter: blur(100px);
}
.form-section::after {
  content: "";
  position: absolute;
  bottom: -200px;
  left: -200px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(130, 221, 0, 0.15), transparent 60%);
  filter: blur(100px);
}

.form-grid {
  position: relative;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(40px, 6vw, 72px);
  align-items: center;
}

.form-intro {
  align-self: center;
}
.form-intro__title {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: clamp(36px, 4.5vw, 64px);
  line-height: 0.96;
  letter-spacing: -0.03em;
  margin: 0 0 20px;
}
.form-intro__text {
  color: rgba(255, 255, 255, 0.72);
  font-size: 17px;
  line-height: 1.55;
  margin: 0 0 28px;
}

.form-intro__tips {
  list-style: none;
  padding: 0;
  margin: 0 0 32px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.form-intro__tips li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  color: rgba(255, 255, 255, 0.82);
  font-size: 15px;
  line-height: 1.45;
}
.form-intro__bullet {
  flex-shrink: 0;
  color: var(--tw-fresh-kiwi);
  font-size: 16px;
  padding-top: 1px;
}

.form-intro__card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  padding: 20px 22px;
  backdrop-filter: blur(10px);
}
.form-intro__card-head {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 10px;
}
.form-intro__card-head svg {
  width: 16px;
  height: 16px;
}
.form-intro__card p {
  margin: 0;
  font-style: italic;
  color: rgba(255, 255, 255, 0.85);
  font-size: 14px;
  line-height: 1.55;
}

.story-form {
  background: #fff;
  color: var(--tw-neutral-100);
  border-radius: var(--radius-xl);
  padding: clamp(28px, 3.5vw, 44px);
  box-shadow: var(--shadow-dark);
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: relative;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.field__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.field label {
  font-weight: 600;
  font-size: 14px;
  color: var(--tw-neutral-80);
}
.field label span {
  color: var(--tw-gamze-blue);
}
.field__counter {
  font-size: 12px;
  font-weight: 600;
  color: var(--tw-neutral-50);
  font-variant-numeric: tabular-nums;
}

.field input,
.field textarea {
  width: 100%;
  background: var(--tw-neutral-05);
  border: 2px solid var(--tw-neutral-15);
  border-radius: 18px;
  padding: 14px 18px;
  font-size: 16px;
  line-height: 1.5;
  color: var(--tw-neutral-100);
  transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
}
.field textarea {
  resize: vertical;
  min-height: 200px;
  font-family: inherit;
}
.field input::placeholder,
.field textarea::placeholder {
  color: var(--tw-neutral-40);
}
.field input:hover,
.field textarea:hover {
  border-color: var(--tw-neutral-20);
}
.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--tw-gamze-blue);
  background: #fff;
  box-shadow: 0 0 0 5px rgba(135, 70, 255, 0.12);
}

.field__hint {
  font-size: 13px;
  color: var(--tw-neutral-50);
  margin: 0;
}

.field-row {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 16px;
}

/* checkbox */
.checkbox {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 12px;
  align-items: flex-start;
  cursor: pointer;
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--tw-neutral-60);
  padding: 4px 0;
}
.checkbox input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.checkbox__box {
  width: 22px;
  height: 22px;
  border-radius: 7px;
  border: 2px solid var(--tw-neutral-20);
  display: grid;
  place-items: center;
  transition: background 0.2s, border-color 0.2s;
  color: transparent;
  flex-shrink: 0;
  margin-top: 1px;
}
.checkbox__box svg {
  width: 14px;
  height: 14px;
  transition: transform 0.25s var(--ease-out-back);
  transform: scale(0.2);
  opacity: 0;
}
.checkbox input:checked + .checkbox__box {
  background: var(--tw-fresh-kiwi);
  border-color: var(--tw-fresh-kiwi);
  color: var(--tw-neutral-100);
}
.checkbox input:checked + .checkbox__box svg {
  transform: scale(1);
  opacity: 1;
}
.checkbox input:focus-visible + .checkbox__box {
  outline: 3px solid rgba(135, 70, 255, 0.4);
  outline-offset: 2px;
}
.checkbox__text a {
  color: var(--tw-gamze-blue);
  text-decoration: underline;
  text-underline-offset: 2px;
  text-decoration-thickness: 1.5px;
}
.checkbox__text a:hover {
  color: var(--tw-active-80);
}

.form-foot {
  font-size: 12px;
  color: var(--tw-neutral-50);
  margin: -4px 0 0;
  text-align: center;
  line-height: 1.5;
}

#submitBtn {
  margin-top: 4px;
}
#submitBtn.is-loading {
  pointer-events: none;
  opacity: 0.85;
  cursor: progress;
}
#submitBtn.is-loading .btn__arrow {
  display: none;
}
#submitBtn.is-loading::before {
  content: "";
  display: inline-block;
  width: 18px;
  height: 18px;
  margin-right: 12px;
  border: 2.5px solid currentColor;
  border-right-color: transparent;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}
@keyframes spin {
  to { transform: rotate(360deg); }
}
@keyframes dots {
  0% {
    content: "";
  }
  25% {
    content: ".";
  }
  50% {
    content: "..";
  }
  75% {
    content: "...";
  }
}

.field.has-error input,
.field.has-error textarea {
  border-color: #e1495f;
  background: #fff4f6;
}
.field.has-error .field__hint {
  color: #e1495f;
  font-weight: 600;
}
.checkbox.has-error .checkbox__box {
  border-color: #e1495f;
  background: #fff4f6;
}

/* ===================== Kinds ===================== */
.kinds {
  padding: clamp(80px, 10vw, 140px) 0;
  background: var(--tw-neutral-10);
}
.kinds__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.kind {
  position: relative;
  border-radius: var(--radius-xl);
  padding: 32px 28px 32px;
  display: flex;
  flex-direction: column;
  color: #fff;
  overflow: hidden;
  transition: transform 0.35s var(--ease-out-expo);
}
.kind:hover {
  transform: translateY(-6px) rotate(-0.5deg);
}
.kind__art {
  width: 96px;
  height: 96px;
  margin-bottom: 28px;
  display: grid;
  place-items: center;
}
.kind__art svg,
.kind__art img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
}
.kind h3 {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: clamp(20px, 1.6vw, 25px);
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin: 0 0 14px;
}
.kind p {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
  opacity: 0.88;
}

.kind--purple {
  background: var(--tw-gamze-blue);
}
.kind--kiwi {
  background: var(--tw-fresh-kiwi);
  color: var(--tw-neutral-100);
}
.kind--pink {
  background: var(--tw-pink);
  color: var(--tw-neutral-100);
}
.kind--blue {
  background: var(--tw-neutral-100);
  color: #fff;
}

/* ===================== Bonus ===================== */
.bonus {
  padding: clamp(80px, 10vw, 140px) 0;
  background: var(--tw-neutral-05);
}
.bonus__inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(40px, 6vw, 72px);
  align-items: center;
}
.bonus__badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  border-radius: 999px;
  background: var(--tw-neutral-100);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 24px;
}
.bonus__badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--tw-fresh-kiwi);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.4);
    opacity: 0.6;
  }
}

.bonus__title {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: clamp(36px, 4.8vw, 64px);
  line-height: 0.97;
  letter-spacing: -0.03em;
  margin: 0 0 20px;
  color: var(--tw-neutral-100);
}
.bonus__text {
  font-size: 17px;
  line-height: 1.55;
  color: var(--tw-neutral-60);
  margin: 0 0 32px;
  max-width: 480px;
}

.bonus-stack {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.bonus-ticket {
  position: relative;
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 22px 26px;
  box-shadow: var(--shadow-card);
  border: 1px solid var(--tw-neutral-15);
}
.bonus-ticket::before,
.bonus-ticket::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 20px;
  height: 20px;
  background: var(--tw-neutral-05);
  border-radius: 50%;
  transform: translateY(-50%);
}
.bonus-ticket::before {
  left: -10px;
}
.bonus-ticket::after {
  right: -10px;
}
.bonus-ticket__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--tw-neutral-50);
  margin-bottom: 10px;
}
.bonus-ticket__num {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 800;
  letter-spacing: 0;
  color: var(--tw-neutral-100);
}
.bonus-ticket__code {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: clamp(28px, 3.4vw, 44px);
  letter-spacing: 0.04em;
  color: var(--tw-neutral-100);
  margin: 6px 0 8px;
}
.bonus-ticket__foot {
  font-size: 13px;
  color: var(--tw-neutral-60);
}

.bonus-ticket--plus {
  background: var(--tw-gamze-blue);
  color: #fff;
  transform: rotate(1.2deg) translateX(16px);
  border-color: transparent;
  box-shadow: 0 28px 60px rgba(135, 70, 255, 0.35);
}
.bonus-ticket--plus::before,
.bonus-ticket--plus::after {
  background: var(--tw-neutral-05);
}
.bonus-ticket--plus .bonus-ticket__head {
  color: rgba(255, 255, 255, 0.65);
}
.bonus-ticket--plus .bonus-ticket__num {
  color: var(--tw-fresh-kiwi);
}
.bonus-ticket--plus .bonus-ticket__code {
  color: #fff;
}
.bonus-ticket--plus .bonus-ticket__foot {
  color: rgba(255, 255, 255, 0.72);
}
.bonus-ticket--base {
  transform: rotate(-1.6deg);
}

/* ===================== Conditions ===================== */
.conditions {
  padding: clamp(80px, 10vw, 140px) 0;
  background: var(--tw-active-05);
}
.cond-grid {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.cond {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 26px 24px;
  border: 1px solid var(--tw-active-10);
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 220px;
  transition: transform 0.3s var(--ease-out-expo), box-shadow 0.3s;
}
.cond:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 44px rgba(135, 70, 255, 0.15);
}
.cond__num {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 14px;
  letter-spacing: 0.1em;
  color: var(--tw-gamze-blue);
}
.cond h3 {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 17px;
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--tw-neutral-100);
  margin: 0;
}
.cond p {
  font-size: 14px;
  line-height: 1.5;
  color: var(--tw-neutral-60);
  margin: 0;
}

/* ===================== FAQ ===================== */
.faq {
  padding: clamp(80px, 10vw, 140px) 0;
  background: var(--tw-neutral-05);
}
.faq__grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: clamp(32px, 6vw, 80px);
  align-items: start;
}
.faq__aside {
  position: sticky;
  top: 120px;
}
.faq__lede {
  font-size: 17px;
  color: var(--tw-neutral-60);
  margin: 16px 0 32px;
  line-height: 1.55;
}
.faq__lede a {
  color: var(--tw-gamze-blue);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.faq__shape {
  max-width: 180px;
  margin-top: 16px;
}
.faq__shape img {
  width: 100%;
  height: auto;
  display: block;
}

.faq__list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.faq-item {
  background: #fff;
  border-radius: var(--radius-md);
  border: 1px solid var(--tw-neutral-15);
  overflow: hidden;
  transition: border-color 0.25s, box-shadow 0.25s;
}
.faq-item[open] {
  border-color: var(--tw-gamze-blue);
  box-shadow: 0 16px 36px rgba(135, 70, 255, 0.12);
}
.faq-item summary {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 22px 26px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: clamp(16px, 1.5vw, 19px);
  letter-spacing: -0.01em;
  color: var(--tw-neutral-100);
  cursor: pointer;
  list-style: none;
  transition: color 0.2s;
}
.faq-item summary::-webkit-details-marker {
  display: none;
}
.faq-item summary:hover {
  color: var(--tw-gamze-blue);
}
.faq-item__sign {
  position: relative;
  width: 26px;
  height: 26px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--tw-neutral-10);
  transition: background 0.2s, transform 0.25s var(--ease-out-back);
}
.faq-item__sign::before,
.faq-item__sign::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 12px;
  height: 2px;
  background: var(--tw-neutral-100);
  border-radius: 2px;
  transform: translate(-50%, -50%);
  transition: transform 0.25s var(--ease-out-back), background 0.2s;
}
.faq-item__sign::after {
  transform: translate(-50%, -50%) rotate(90deg);
}
.faq-item[open] .faq-item__sign {
  background: var(--tw-fresh-kiwi);
  transform: rotate(180deg);
}
.faq-item[open] .faq-item__sign::after {
  transform: translate(-50%, -50%) rotate(0deg);
}
.faq-item__body {
  padding: 0 26px 24px;
  color: var(--tw-neutral-60);
  font-size: 15.5px;
  line-height: 1.6;
  max-width: 640px;
  animation: faq-reveal 0.35s var(--ease-out-expo);
}
.faq-item__body p {
  margin: 0;
}
@keyframes faq-reveal {
  from {
    opacity: 0;
    transform: translateY(-4px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ===================== Final CTA ===================== */
.final-cta {
  padding: clamp(80px, 10vw, 140px) 0;
  background: var(--tw-gamze-blue);
  color: #fff;
  overflow: hidden;
  position: relative;
}
.final-cta__inner {
  text-align: center;
  position: relative;
  z-index: 2;
}
.final-cta__title {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: clamp(44px, 7vw, 104px);
  line-height: 0.92;
  letter-spacing: -0.035em;
  margin: 0 0 24px;
}
.final-cta__text {
  font-size: clamp(17px, 1.4vw, 21px);
  color: rgba(255, 255, 255, 0.8);
  margin: 0 auto 40px;
  max-width: 560px;
  line-height: 1.55;
}
.final-cta__shapes {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
}
.final-cta__shape {
  position: absolute;
  filter: drop-shadow(0 16px 30px rgba(0, 0, 0, 0.2));
}
.final-cta__shape--1 {
  width: 140px;
  aspect-ratio: 43 / 26;
  top: 15%;
  left: 8%;
  animation: floaty 7s ease-in-out infinite;
}
.final-cta__shape--2 {
  width: 80px;
  top: 20%;
  right: 12%;
  animation: spin-soft 18s linear infinite;
  filter: none;
}
.final-cta__shape--3 {
  width: 90px;
  bottom: 12%;
  right: 8%;
  animation: floaty 6s ease-in-out infinite;
  animation-delay: 1s;
}

/* ===================== Footer ===================== */
.site-footer {
  background: var(--tw-neutral-100);
  color: #fff;
  padding: 60px 0 40px;
}
.site-footer__row {
  display: grid;
  grid-template-columns: 1.2fr 1fr auto;
  gap: 32px;
  align-items: start;
}
.site-footer__brand p {
  margin: 14px 0 0;
  color: rgba(255, 255, 255, 0.55);
  font-size: 13.5px;
  line-height: 1.55;
  max-width: 420px;
}
.logo--footer {
  color: #fff;
}
.logo--footer .logo__chip {
  background: rgba(255, 255, 255, 0.1);
}
.site-footer__links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 14px;
}
.site-footer__links a {
  color: rgba(255, 255, 255, 0.72);
  transition: color 0.2s;
}
.site-footer__links a:hover {
  color: var(--tw-fresh-kiwi);
}
.site-footer__copy {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.45);
  margin: 0;
  font-variant-numeric: tabular-nums;
}

/* ===================== Modal ===================== */
.modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: none;
  padding: 20px;
  align-items: center;
  justify-content: center;
}
.modal.is-open {
  display: flex;
  animation: fade-in 0.25s ease;
}
.modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(29, 23, 42, 0.6);
  backdrop-filter: blur(4px);
}
.modal__panel {
  position: relative;
  width: 100%;
  max-width: 460px;
  background: #fff;
  border-radius: var(--radius-xl);
  padding: 44px 32px 32px;
  box-shadow: 0 40px 80px rgba(29, 23, 42, 0.4);
  text-align: center;
  animation: modal-in 0.4s var(--ease-out-back);
}
.modal__close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--tw-neutral-10);
  display: grid;
  place-items: center;
  color: var(--tw-neutral-80);
  transition: background 0.2s, transform 0.2s;
}
.modal__close:hover {
  background: var(--tw-neutral-15);
  transform: rotate(90deg);
}
.modal__close svg {
  width: 18px;
  height: 18px;
}
.modal__icon {
  width: 64px;
  height: 64px;
  background: var(--tw-fresh-kiwi);
  border-radius: 50%;
  display: grid;
  place-items: center;
  margin: 0 auto 18px;
  box-shadow: 0 14px 30px rgba(130, 221, 0, 0.35);
  animation: pop-in 0.45s var(--ease-out-back);
}
.modal__icon svg {
  width: 32px;
  height: 32px;
}
.modal__kicker {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--tw-neutral-50);
  margin: 0 0 6px;
}
.modal__title {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 32px;
  letter-spacing: -0.02em;
  line-height: 1.05;
  margin: 0 0 10px;
}
.modal__text {
  color: var(--tw-neutral-60);
  font-size: 15px;
  line-height: 1.5;
  margin: 0 auto 22px;
  max-width: 360px;
}
.modal__promo {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 20px;
  border-radius: var(--radius-md);
  background: var(--tw-neutral-100);
  color: #fff;
  margin-bottom: 22px;
  overflow: hidden;
}
.modal__promo::before,
.modal__promo::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 20px;
  height: 20px;
  background: #fff;
  border-radius: 50%;
  transform: translateY(-50%);
}
.modal__promo::before {
  left: -10px;
}
.modal__promo::after {
  right: -10px;
}
.modal__promo-label {
  font-size: 10.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: rgba(255, 255, 255, 0.55);
}
.modal__promo-code {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 36px;
  letter-spacing: 0.04em;
  color: var(--tw-fresh-kiwi);
  line-height: 1;
  margin: 4px 0;
}
.modal__copy {
  margin-top: 10px;
  align-self: center;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font-size: 12.5px;
  font-weight: 600;
  transition: background 0.2s;
}
.modal__copy:hover {
  background: rgba(255, 255, 255, 0.22);
}
.modal__copy svg {
  width: 14px;
  height: 14px;
}
.modal__copy.is-copied {
  background: var(--tw-fresh-kiwi);
  color: var(--tw-neutral-100);
  animation: copy-pulse 0.45s var(--ease-out-expo);
}
.modal__copy.is-copied svg {
  display: none;
}
@keyframes copy-pulse {
  0% {
    transform: scale(1);
  }
  40% {
    transform: scale(1.08);
  }
  100% {
    transform: scale(1);
  }
}

.modal__plus {
  margin-top: 18px;
  padding: 18px;
  background: var(--tw-active-05);
  border-radius: var(--radius-md);
  text-align: left;
}
.modal__plus-kicker {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--tw-gamze-blue);
  margin: 0 0 6px;
}
.modal__plus-text {
  color: var(--tw-neutral-70);
  font-size: 13.5px;
  line-height: 1.5;
  margin: 0 0 14px;
}
.modal__plus-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

@keyframes fade-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@keyframes modal-in {
  from {
    opacity: 0;
    transform: scale(0.9) translateY(20px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}
@keyframes pop-in {
  0% {
    transform: scale(0);
  }
  60% {
    transform: scale(1.15);
  }
  100% {
    transform: scale(1);
  }
}

/* ===================== Reveal on scroll ===================== */
.reveal {
  transition: opacity 0.7s var(--ease-out-expo), transform 0.7s var(--ease-out-expo);
}
.js-ready .reveal {
  opacity: 0;
  transform: translateY(24px);
}
.js-ready .reveal.is-visible {
  opacity: 1;
  transform: none;
}
.reveal--delay-1.is-visible {
  transition-delay: 0.1s;
}
.reveal--delay-2.is-visible {
  transition-delay: 0.2s;
}
.reveal--delay-3.is-visible {
  transition-delay: 0.3s;
}

/* ===================== Responsive ===================== */
@media (max-width: 1080px) {
  .hero__grid,
  .form-grid,
  .bonus__inner,
  .faq__grid {
    grid-template-columns: 1fr;
  }
  .form-intro,
  .faq__aside {
    position: static;
  }
  .steps {
    grid-template-columns: 1fr;
  }
  .kinds__grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .cond-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .site-footer__row {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .hero__right {
    min-height: 440px;
    order: 2;
  }
  .stage {
    max-width: 380px;
    margin: 0 auto;
  }
  .site-nav {
    display: none;
  }
}

@media (max-width: 640px) {
  :root {
    --container-pad: 20px;
  }
  .hero {
    padding-top: 0;
  }
  .hero__grid {
    padding-top: 20px;
    padding-bottom: 36px;
  }
  .logo--hero {
    margin-bottom: 20px;
  }
  .hero__title {
    font-size: clamp(40px, 11vw, 64px);
  }
  .hero__subtitle {
    font-size: 16px;
  }
  .hero__cta {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }
  .hero__cta .btn {
    width: 100%;
  }
  .hero__meta {
    display: none;
  }
  .hero__right {
    min-height: 380px;
  }
  .stage {
    max-width: 320px;
  }
  .field-row {
    grid-template-columns: 1fr;
  }
  .kinds__grid {
    grid-template-columns: 1fr;
  }
  .cond-grid {
    grid-template-columns: 1fr;
  }
  .step {
    min-height: 220px;
    padding: 28px 24px;
  }
  .step__icon {
    width: 44px;
    height: 44px;
  }
  .step__icon svg {
    width: 44px;
    height: 44px;
  }
  .section-title {
    font-size: clamp(32px, 9vw, 44px);
  }
  .bonus-ticket--plus {
    transform: rotate(0.6deg);
  }
  .bonus-ticket--base {
    transform: rotate(-0.8deg);
  }
  .final-cta__shapes {
    display: none;
  }
  .story-form {
    padding: 24px 20px;
  }
  .modal__panel {
    padding: 36px 22px 24px;
  }
  .modal__promo-code {
    font-size: 28px;
  }
  .marquee {
    font-size: 18px;
    padding: 16px 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  .reveal {
    opacity: 1;
    transform: none;
  }
  .marquee__track {
    animation: none;
  }
  .float,
  .final-cta__shape {
    animation: none !important;
  }
}
