:root {
  color-scheme: dark;
  --bg: #050403;
  --text: #fff6df;
  --muted: #cbb883;
  --gold: #d6a443;
  --gold-soft: #f3d891;
  --line: rgba(232, 190, 92, .32);
  --danger: #ffb3a7;
  --whatsapp: #25d366;
  --shadow: rgba(0, 0, 0, .54);
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: var(--bg);
}

body {
  min-height: 100%;
  margin: 0;
  font-family: "Manrope", "Segoe UI", sans-serif;
  letter-spacing: 0;
  color: var(--text);
  background:
    radial-gradient(ellipse at 50% 105%, rgba(214, 164, 67, .28), transparent 24rem),
    radial-gradient(ellipse at 50% -10%, rgba(255, 230, 166, .08), transparent 19rem),
    linear-gradient(180deg, #15110b 0%, #080706 44%, #040403 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: .26;
  background-image:
    linear-gradient(rgba(255, 255, 255, .025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .018) 1px, transparent 1px);
  background-size: 26px 26px;
  mask-image: linear-gradient(180deg, transparent, #000 18%, #000 78%, transparent);
}

button,
input {
  font: inherit;
}

.shell {
  min-height: 100svh;
  display: grid;
  place-items: stretch;
  padding: max(10px, env(safe-area-inset-top)) 10px max(12px, env(safe-area-inset-bottom));
}

.hero {
  width: min(100%, 460px);
  min-height: calc(100svh - 22px);
  margin: 0 auto;
  display: grid;
  align-content: start;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(230, 190, 91, .18);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(17, 13, 8, .96), rgba(6, 5, 4, .98)),
    #090807;
  box-shadow:
    0 22px 76px var(--shadow),
    inset 0 1px 0 rgba(255, 235, 179, .13);
  isolation: isolate;
}

.hero::before {
  content: "";
  position: absolute;
  inset: -1px;
  z-index: 0;
  pointer-events: none;
  border-radius: inherit;
  background:
    linear-gradient(110deg, transparent 0 24%, rgba(255, 226, 150, .16) 38%, transparent 52% 100%);
  transform: translateX(-42%);
  animation: heroSheen 7.5s ease-in-out infinite;
}

.gold-trail {
  position: absolute;
  inset: -16% -34% 40% -34%;
  z-index: 0;
  pointer-events: none;
  opacity: .9;
  background:
    conic-gradient(from 210deg at 48% 52%, transparent 0deg, rgba(230, 183, 83, .04) 82deg, rgba(255, 229, 157, .42) 108deg, rgba(199, 132, 24, .18) 122deg, transparent 152deg 360deg);
  filter: blur(14px) saturate(1.2);
  transform-origin: 50% 52%;
  animation: goldTrail 9s cubic-bezier(.45, 0, .2, 1) infinite;
}

.media {
  position: relative;
  z-index: 1;
  min-height: min(31svh, 244px);
  background: #070604;
}

.media::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: .42;
  background:
    repeating-linear-gradient(135deg, transparent 0 18px, rgba(255, 231, 165, .11) 18px 19px, transparent 19px 42px),
    radial-gradient(circle at 76% 26%, rgba(255, 244, 205, .16), transparent 9rem);
  mix-blend-mode: screen;
  animation: discoGlint 6.8s ease-in-out infinite;
}

.media::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, .04), rgba(0, 0, 0, .26) 48%, rgba(0, 0, 0, .88) 100%),
    linear-gradient(90deg, rgba(0, 0, 0, .24), transparent 30%, transparent 70%, rgba(0, 0, 0, .24));
}

.brand {
  width: 100%;
  height: min(31svh, 244px);
  object-fit: cover;
  object-position: center 45%;
  display: block;
  filter: saturate(1.08) contrast(1.06) brightness(.98);
}

.content {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 11px;
  margin-top: -18px;
  padding: 0 16px 16px;
  animation: contentRise .72s ease-out both;
}

.headline {
  display: grid;
  gap: 5px;
}

.eyebrow {
  margin: 0;
  color: var(--muted);
  font-size: .74rem;
  font-weight: 800;
  letter-spacing: .16em;
  line-height: 1.25;
  text-transform: uppercase;
}

h1 {
  margin: -6px 0 0;
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(2.7rem, 14vw, 4.4rem);
  font-weight: 800;
  line-height: .92;
  letter-spacing: 0;
  color: #ffe7a3;
  text-shadow:
    0 2px 0 rgba(79, 51, 8, .35),
    0 18px 34px rgba(218, 164, 50, .22);
}

.lead {
  max-width: 30ch;
  margin: 0;
  color: rgba(255, 246, 223, .78);
  font-size: .95rem;
  line-height: 1.35;
}

.counter {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px 12px;
  align-items: end;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(43, 31, 12, .86), rgba(9, 8, 7, .72)),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, .025) 0 1px, transparent 1px 12px);
  box-shadow:
    inset 0 1px 0 rgba(255, 238, 190, .12),
    0 14px 38px rgba(0, 0, 0, .28);
  backdrop-filter: blur(18px);
}

.counter span {
  display: block;
  font-size: clamp(3.9rem, 24vw, 6.4rem);
  font-weight: 900;
  line-height: .8;
  color: #fff3cf;
  font-variant-numeric: tabular-nums;
}

.counter small {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: .92rem;
  font-weight: 700;
}

.counter-meta {
  display: grid;
  gap: 4px;
  justify-items: end;
  padding-bottom: 8px;
  text-align: right;
}

.counter-meta strong,
.counter-meta em,
.counter-meta b {
  display: block;
  font-style: normal;
  white-space: nowrap;
}

.counter-meta strong {
  color: #fff4d2;
  font-size: .9rem;
}

.counter-meta em {
  color: var(--gold-soft);
  font-size: .88rem;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.counter-meta b {
  color: rgba(203, 184, 131, .82);
  font-size: .76rem;
  font-weight: 800;
}

.meter {
  grid-column: 1 / -1;
  height: 6px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, .08);
}

.meter i {
  display: block;
  width: 0%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #8f681d, #f0d28a 70%, #fff0ba);
  box-shadow: 0 0 18px rgba(240, 210, 138, .38);
  transition: width .28s ease;
}

.form {
  display: grid;
  gap: 10px;
}

.name-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 10px;
}

#company {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
}

label {
  display: grid;
  gap: 6px;
}

label span {
  color: #ead8a5;
  font-size: .82rem;
  font-weight: 700;
}

input {
  width: 100%;
  min-height: 48px;
  border: 1px solid rgba(224, 187, 91, .28);
  border-radius: 8px;
  padding: 0 14px;
  color: var(--text);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .075), rgba(255, 255, 255, .045));
  outline: none;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .045);
}

input::placeholder {
  color: rgba(255, 246, 223, .38);
}

input:focus {
  border-color: rgba(240, 210, 138, .72);
  box-shadow: 0 0 0 3px rgba(217, 168, 58, .16);
}

.captcha-wrap {
  min-height: 76px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.buy {
  min-height: 54px;
  border: 0;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 16px;
  color: #03140a;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .24), transparent 38%),
    var(--whatsapp);
  font-weight: 900;
  cursor: pointer;
  box-shadow:
    0 14px 34px rgba(37, 211, 102, .24),
    0 0 0 1px rgba(255, 246, 223, .08) inset;
  transition: transform .16s ease, filter .16s ease, opacity .16s ease;
}

.buy svg {
  width: 25px;
  height: 25px;
  flex: 0 0 auto;
}

.buy:active {
  transform: translateY(1px);
}

.buy:not(:disabled):hover {
  filter: brightness(1.04);
}

.buy:disabled {
  cursor: wait;
  opacity: .72;
}

.message {
  min-height: 20px;
  margin: 0;
  color: var(--danger);
  font-size: .86rem;
  line-height: 1.35;
}

.message.ok {
  color: #b9f4c7;
}

.microcopy {
  margin: -2px 0 0;
  color: rgba(255, 246, 223, .68);
  font-size: .76rem;
  line-height: 1.35;
}

.soldout {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 12px;
  align-items: start;
  padding: 14px;
  border: 1px solid rgba(243, 216, 145, .34);
  border-radius: 8px;
  background:
    radial-gradient(circle at 12% 0%, rgba(255, 235, 170, .18), transparent 8rem),
    linear-gradient(180deg, rgba(41, 30, 12, .92), rgba(9, 8, 7, .82));
  box-shadow:
    inset 0 1px 0 rgba(255, 238, 190, .14),
    0 16px 42px rgba(0, 0, 0, .3);
  animation: contentRise .48s ease-out both;
}

.soldout[hidden] {
  display: none;
}

.soldout-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #3a2605;
  background:
    radial-gradient(circle at 32% 24%, #fff4c6, #f0c35a 48%, #8f6217 100%);
  font-size: 1.3rem;
  font-weight: 900;
  box-shadow: 0 0 28px rgba(240, 195, 90, .3);
}

.soldout strong {
  display: block;
  color: #ffe7a3;
  font-size: 1rem;
  font-weight: 900;
  line-height: 1.15;
}

.soldout p {
  margin: 6px 0 0;
  color: rgba(255, 246, 223, .76);
  font-size: .86rem;
  line-height: 1.42;
}

.soldout a {
  color: #ffe7a3;
  font-weight: 900;
  text-decoration-color: rgba(255, 231, 163, .42);
  text-underline-offset: 3px;
}

@keyframes goldTrail {
  0% {
    transform: rotate(-11deg) scale(.96) translateY(0);
    opacity: .52;
  }

  45% {
    transform: rotate(8deg) scale(1.05) translateY(16px);
    opacity: .88;
  }

  100% {
    transform: rotate(-11deg) scale(.96) translateY(0);
    opacity: .52;
  }
}

@keyframes heroSheen {
  0%, 42% {
    transform: translateX(-56%);
    opacity: 0;
  }

  58% {
    opacity: 1;
  }

  100% {
    transform: translateX(54%);
    opacity: 0;
  }
}

@keyframes discoGlint {
  0%, 100% {
    opacity: .24;
    transform: translateX(-8px);
  }

  50% {
    opacity: .52;
    transform: translateX(8px);
  }
}

@keyframes contentRise {
  from {
    opacity: 0;
    transform: translateY(12px);
  }

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

@media (max-width: 360px) {
  .shell {
    padding-inline: 8px;
  }

  .content {
    padding-inline: 12px;
  }

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

  .counter-meta {
    justify-items: start;
    text-align: left;
    padding-bottom: 0;
  }

  .captcha-wrap {
    transform: scale(.92);
    transform-origin: left center;
    width: 304px;
  }
}

@media (min-height: 780px) {
  .brand,
  .media {
    height: min(34svh, 282px);
  }
}

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