:root {
  --gold: #f0c75e;
  --gold-hi: #ffe9a8;
  --gold-lo: #c9942e;
  --gold-grad: linear-gradient(180deg, #ffe9a8 0%, #f0c75e 42%, #c9942e 78%, #ffe9a8 100%);
  --ink: #07040a;
  --glass: rgba(12, 6, 16, 0.72);
  --glass-2: rgba(18, 8, 24, 0.82);
  --text: #f7efd8;
  --text-dim: #d5c49a;
  --mute: #a8946e;
  --line: rgba(240, 199, 94, 0.32);
  --line-soft: rgba(240, 199, 94, 0.14);
  --danger: #ff7b7b;
  --tg: #2aabee;
  --purple: #6b2bb8;
  --f-body: "Be Vietnam Pro", system-ui, sans-serif;
  --f-display: "Cormorant Garamond", Georgia, serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --shadow: 0 28px 70px rgba(0, 0, 0, 0.55);
  --glow: 0 0 28px rgba(240, 199, 94, 0.28);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  font-family: var(--f-body);
  color: var(--text);
  background: #050308;
  line-height: 1.55;
}

.stage {
  position: relative;
  min-height: 100dvh;
  overflow-x: hidden;
  isolation: isolate;
}

.stage-bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
}

.stage-photo {
  position: absolute;
  inset: -4%;
  background:
    url("./assets/bg-vip.jpg") center 18% / cover no-repeat;
  transform-origin: 58% 35%;
  animation: kenburns 28s var(--ease) infinite alternate;
  filter: saturate(1.08) contrast(1.05);
}

.stage-veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(5, 2, 8, 0.35) 0%, rgba(5, 2, 8, 0.55) 38%, rgba(5, 2, 8, 0.88) 100%),
    radial-gradient(60% 50% at 70% 30%, rgba(107, 43, 184, 0.18), transparent 70%),
    radial-gradient(50% 45% at 20% 70%, rgba(240, 199, 94, 0.1), transparent 65%);
}

.stage-vignette {
  position: absolute;
  inset: 0;
  box-shadow: inset 0 0 160px 40px rgba(0, 0, 0, 0.65);
  pointer-events: none;
}

.stage-sparkles {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.spark {
  position: absolute;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--gold-hi);
  box-shadow: 0 0 10px rgba(255, 233, 168, 0.9);
  opacity: 0;
  animation: spark-fall linear infinite;
}

.shell {
  width: min(980px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 1rem 0 2.5rem;
}

.top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.6rem 0 1.2rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  color: var(--gold-hi);
  font-family: var(--f-display);
  font-size: 1.45rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.55);
}

.brand img {
  width: 40px;
  height: 40px;
  object-fit: contain;
  filter: drop-shadow(0 0 12px rgba(240, 199, 94, 0.45));
}

.tg-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  min-height: 44px;
  padding: 0 1rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--text);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  background: rgba(10, 5, 14, 0.55);
  backdrop-filter: blur(10px);
  transition: border-color 0.2s var(--ease), background 0.2s var(--ease), transform 0.2s var(--ease);
}

.tg-chip svg {
  color: #5bbcff;
}

.tg-chip:hover {
  border-color: var(--gold);
  background: rgba(20, 10, 28, 0.75);
  transform: translateY(-1px);
}

.hero {
  text-align: center;
  margin-bottom: 1.4rem;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  margin: 0 0 0.65rem;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}

.eyebrow::before,
.eyebrow::after {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--gold);
  opacity: 0.7;
}

.hero h1 {
  margin: 0;
  font-family: var(--f-display);
  font-size: clamp(2.4rem, 1.4rem + 4vw, 4rem);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  background: var(--gold-grad);
  color: transparent;
  -webkit-background-clip: text;
  background-clip: text;
  filter: drop-shadow(0 4px 18px rgba(0, 0, 0, 0.55));
  line-height: 1.05;
}

.sub {
  margin: 0.7rem 0 1.15rem;
  color: var(--text-dim);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 0.78rem;
  font-weight: 600;
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.7rem;
}

.stat {
  padding: 0.85rem 0.75rem;
  border: 1px solid var(--line-soft);
  border-radius: 14px;
  background: rgba(8, 4, 12, 0.45);
  backdrop-filter: blur(8px);
  text-align: left;
}

.stat strong {
  display: block;
  color: var(--gold-hi);
  font-size: 0.95rem;
  margin-bottom: 0.15rem;
}

.stat span {
  color: var(--mute);
  font-size: 0.78rem;
}

.glass {
  position: relative;
  border-radius: 20px;
  background: var(--glass);
  backdrop-filter: blur(14px) saturate(1.15);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.glass::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, rgba(255, 233, 168, 0.75), rgba(240, 199, 94, 0.12) 28%, rgba(240, 199, 94, 0.12) 72%, rgba(255, 233, 168, 0.65));
  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.form {
  padding: 1.35rem 1.35rem 1.5rem;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.field label,
.tiers-wrap legend {
  display: block;
  margin-bottom: 0.45rem;
  color: var(--gold-hi);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.input-wrap {
  position: relative;
}

.input-wrap > svg {
  position: absolute;
  left: 0.95rem;
  top: 50%;
  translate: 0 -50%;
  color: var(--mute);
  pointer-events: none;
}

.input-wrap input {
  width: 100%;
  min-height: 52px;
  padding: 0 1rem 0 2.7rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(5, 2, 8, 0.72);
  color: var(--text);
  font: 500 0.98rem/1 var(--f-body);
  outline: none;
  transition: border-color 0.16s var(--ease), box-shadow 0.16s var(--ease);
}

.input-wrap input::placeholder {
  color: rgba(168, 148, 110, 0.75);
}

.input-wrap input:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(240, 199, 94, 0.18), var(--glow);
}

.hint {
  margin: 0.45rem 0 0;
  color: var(--mute);
  font-size: 0.78rem;
}

.error {
  margin: 0.45rem 0 0;
  color: var(--danger);
  font-size: 0.82rem;
}

.bm-field {
  position: relative;
}

.listbox {
  position: absolute;
  z-index: 30;
  left: 0;
  right: 0;
  top: calc(100% - 1.3rem);
  max-height: 260px;
  overflow: auto;
  margin: 0;
  padding: 0.35rem;
  list-style: none;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #160b1c;
  box-shadow: var(--shadow);
}

.option {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  min-height: 44px;
  padding: 0 0.7rem;
  border-radius: 8px;
  cursor: pointer;
  color: var(--text);
}

.option:hover,
.option[aria-selected="true"] {
  background: rgba(107, 43, 184, 0.35);
}

.option-logo {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--gold-grad);
  color: #2a1805;
  font-size: 0.75rem;
  font-weight: 700;
}

.option-empty {
  padding: 0.85rem;
  color: var(--mute);
  font-size: 0.9rem;
}

.tiers-wrap {
  margin: 1.2rem 0 0;
  padding: 0;
  border: 0;
}

.tiers {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.tier {
  position: relative;
}

.tier input {
  position: absolute;
  inset: 0;
  opacity: 0;
  margin: 0;
  cursor: pointer;
}

.tier span {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  min-height: 42px;
  padding: 0 0.9rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(5, 2, 8, 0.7);
  color: var(--text-dim);
  font-size: 0.86rem;
  font-weight: 600;
  transition: all 0.16s var(--ease);
}

.tier span::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--tier, var(--gold));
  box-shadow: 0 0 8px var(--tier, var(--gold));
}

.tier input:hover + span {
  border-color: var(--gold);
  color: var(--text);
}

.tier input:checked + span {
  color: #2a1805;
  border-color: var(--gold-hi);
  background: var(--gold-grad);
  box-shadow: var(--glow);
}

.tier input:checked + span::before {
  background: #2a1805;
  box-shadow: none;
}

.actions {
  display: flex;
  justify-content: center;
  margin-top: 1.35rem;
}

.cta {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: min(100%, 320px);
  min-height: 56px;
  padding: 0 1.6rem;
  border: 1px solid var(--gold-hi);
  border-radius: 12px;
  background: var(--gold-grad);
  color: #2a1805;
  font: 700 1rem/1 var(--f-body);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  box-shadow: 0 12px 30px rgba(240, 199, 94, 0.28);
  transition: transform 0.2s var(--ease), filter 0.2s var(--ease);
}

.cta:hover {
  transform: translateY(-2px);
  filter: brightness(1.05);
}

.cta:disabled {
  opacity: 0.72;
  cursor: wait;
  transform: none;
}

.cta-shine {
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 30%, rgba(255, 255, 255, 0.55) 48%, transparent 66%);
  transform: translateX(-130%);
  animation: shine 2.8s var(--ease) infinite;
}

.cta-label {
  position: relative;
  z-index: 1;
}

.result {
  margin-top: 1.15rem;
}

.result-head {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--line-soft);
  background: linear-gradient(90deg, rgba(107, 43, 184, 0.35), rgba(18, 8, 24, 0.2) 70%, transparent);
}

.result-head svg {
  color: var(--gold);
}

.result-head h2 {
  margin: 0;
  font-family: var(--f-display);
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gold-hi);
}

.result-body {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 1.4rem;
  align-items: center;
  padding: 1.4rem 1.25rem 0.4rem;
}

.vip-seal {
  position: relative;
  width: 170px;
  margin: 0 auto;
}

.vip-seal img {
  width: 100%;
  filter: drop-shadow(0 12px 28px rgba(240, 199, 94, 0.35));
  animation: floaty 4s var(--ease) infinite;
}

.vip-seal-text {
  position: absolute;
  inset: 42% 0 auto;
  display: grid;
  place-items: center;
  color: #2a1805;
  font-family: var(--f-display);
  line-height: 1;
}

.vip-seal-text strong {
  font-size: 2.4rem;
  font-weight: 700;
}

.vip-seal-text span {
  font-size: 0.85rem;
  letter-spacing: 0.22em;
  font-weight: 700;
}

.facts {
  display: grid;
  gap: 0.65rem;
}

.facts div {
  padding: 0.8rem 0.95rem;
  border: 1px solid var(--line-soft);
  border-radius: 12px;
  background: rgba(5, 2, 8, 0.55);
}

.facts small {
  display: block;
  margin-bottom: 0.2rem;
  color: var(--mute);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.facts strong {
  color: var(--text);
  font-size: 1rem;
}

.facts .vip-name {
  color: var(--gold-hi);
}

.price-block {
  text-align: center;
  padding: 0.4rem 1.25rem 1.2rem;
}

.price-label {
  margin: 0;
  color: var(--text-dim);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.price {
  margin: 0.35rem 0 0;
  font-family: var(--f-display);
  font-size: clamp(2.4rem, 1.4rem + 4vw, 4rem);
  font-weight: 700;
  line-height: 1.05;
  background: var(--gold-grad);
  color: transparent;
  -webkit-background-clip: text;
  background-clip: text;
  filter: drop-shadow(0 4px 18px rgba(240, 199, 94, 0.28));
}

.price small {
  margin-left: 0.35rem;
  font-family: var(--f-body);
  font-size: 0.32em;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--mute);
  -webkit-text-fill-color: var(--mute);
}

.meter {
  width: min(360px, 100%);
  height: 7px;
  margin: 0.85rem auto 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.meter i {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: var(--gold-grad);
  transition: width 1s var(--ease);
}

.score {
  margin: 0.55rem 0 0;
  color: var(--mute);
  font-size: 0.9rem;
}

.contact {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1.05rem 1.25rem;
  border-top: 1px solid var(--line-soft);
  background: rgba(5, 2, 8, 0.55);
}

.contact p {
  margin: 0;
  color: var(--text-dim);
  font-size: 0.9rem;
}

.contact b {
  color: var(--text);
}

.tg-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 48px;
  padding: 0 1.2rem;
  border-radius: 12px;
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  white-space: nowrap;
  background: linear-gradient(180deg, #4eb8f0, var(--tg));
  box-shadow: 0 10px 24px rgba(42, 171, 238, 0.28);
  transition: filter 0.2s var(--ease), transform 0.2s var(--ease);
}

.tg-btn:hover {
  filter: brightness(1.08);
  transform: translateY(-1px);
}

.notes {
  list-style: none;
  margin: 1.25rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.55rem;
  color: var(--text-dim);
  font-size: 0.88rem;
}

.notes li {
  padding-left: 1rem;
  position: relative;
}

.notes li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 8px rgba(240, 199, 94, 0.7);
}

.foot {
  margin-top: 1.6rem;
  text-align: center;
  color: var(--mute);
  font-size: 0.8rem;
}

.reveal {
  animation: rise 0.75s var(--ease) both;
}

.reveal:nth-child(3) {
  animation-delay: 0.06s;
}

.reveal:nth-child(4) {
  animation-delay: 0.12s;
}

@keyframes kenburns {
  from {
    transform: scale(1) translate3d(0, 0, 0);
  }
  to {
    transform: scale(1.08) translate3d(-1.5%, 1%, 0);
  }
}

@keyframes shine {
  0%,
  35% {
    transform: translateX(-130%);
  }
  65%,
  100% {
    transform: translateX(130%);
  }
}

@keyframes floaty {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes spark-fall {
  0% {
    opacity: 0;
    transform: translateY(0) scale(0.6);
  }
  15% {
    opacity: 0.9;
  }
  100% {
    opacity: 0;
    transform: translateY(110vh) scale(1);
  }
}

@media (max-width: 860px) {
  .form-grid,
  .result-body,
  .stats {
    grid-template-columns: 1fr;
  }

  .contact {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
  }

  .tg-chip span {
    display: none;
  }

  .tg-chip {
    width: 44px;
    padding: 0;
    justify-content: center;
  }

  .stage-photo {
    background-position: 35% 20%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .stage-photo,
  .cta-shine,
  .vip-seal img,
  .spark,
  .reveal {
    animation: none !important;
  }
}
