:root {
  --ypo-bg: #050506;
  --ypo-bg-2: #0d0b0b;
  --ypo-card: rgba(19, 17, 17, 0.76);
  --ypo-card-strong: rgba(31, 27, 24, 0.88);
  --ypo-card-soft: rgba(255, 255, 255, 0.055);
  --ypo-text: #f6f0e7;
  --ypo-muted: rgba(246, 240, 231, 0.72);
  --ypo-muted-2: rgba(246, 240, 231, 0.56);
  --ypo-gold: #d8b36a;
  --ypo-gold-2: #f0cf85;
  --ypo-gold-3: #9d7437;
  --ypo-green: #25d366;
  --ypo-green-2: #78f0a1;
  --ypo-green-3: #128c46;
  --ypo-border: rgba(216, 179, 106, 0.22);
  --ypo-border-soft: rgba(255, 255, 255, 0.09);
  --ypo-shadow: 0 30px 90px rgba(0, 0, 0, 0.56);
  --ypo-radius-xl: 34px;
  --ypo-radius-lg: 24px;
  --ypo-radius-md: 16px;
  --ypo-container: min(1120px, calc(100vw - 48px));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

html,
body.ypo-body {
  margin: 0 !important;
  padding: 0 !important;
  min-height: 100%;
  background: var(--ypo-bg) !important;
}

body.ypo-body {
  overflow-x: hidden;
  color: var(--ypo-text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

@keyframes ypo-green-button-pulse {
  0%, 100% {
    box-shadow: 0 18px 50px rgba(37, 211, 102, 0.28), 0 0 0 0 rgba(37, 211, 102, 0.32), inset 0 1px 0 rgba(255, 255, 255, 0.38);
    filter: brightness(1);
  }
  50% {
    box-shadow: 0 22px 66px rgba(37, 211, 102, 0.46), 0 0 0 9px rgba(37, 211, 102, 0.06), inset 0 1px 0 rgba(255, 255, 255, 0.48);
    filter: brightness(1.12);
  }
}

body.ypo-body::before,
body.ypo-body::after {
  display: none !important;
}

.ypo-page {
  position: relative;
  width: 100%;
  min-height: 100vh;
  overflow: hidden;
  background:
    radial-gradient(circle at 16% 10%, rgba(216, 179, 106, 0.13), transparent 27%),
    radial-gradient(circle at 88% 24%, rgba(157, 116, 55, 0.12), transparent 30%),
    linear-gradient(135deg, #050506 0%, #0d0a0a 47%, #15100d 100%);
}

.ypo-page::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.026) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 74px 74px;
  mask-image: radial-gradient(circle at center, rgba(0, 0, 0, 0.84), transparent 76%);
  opacity: 0.28;
}

.ypo-page::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.38), transparent 18%, transparent 70%, rgba(0, 0, 0, 0.52)),
    radial-gradient(circle at center, transparent 0, rgba(0, 0, 0, 0.42) 78%);
}

.ypo-thankyou {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  padding: 22px 0 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.ypo-container {
  width: var(--ypo-container);
  margin: 0 auto;
}

.ypo-bg-orb {
  position: absolute;
  border-radius: 999px;
  pointer-events: none;
  filter: blur(8px);
  opacity: 0.68;
}

.ypo-bg-orb-one {
  width: 520px;
  height: 520px;
  left: -230px;
  top: -130px;
  background: radial-gradient(circle, rgba(216, 179, 106, 0.2), transparent 68%);
}

.ypo-bg-orb-two {
  width: 650px;
  height: 650px;
  right: -260px;
  bottom: -250px;
  background: radial-gradient(circle, rgba(126, 69, 36, 0.25), transparent 70%);
}

.ypo-watermark {
  position: absolute;
  width: clamp(520px, 62vw, 980px);
  max-width: none;
  right: -180px;
  top: 50%;
  transform: translateY(-48%) rotate(-6deg);
  opacity: 0.035;
  pointer-events: none;
  filter: saturate(0.75);
}

.ypo-countdown-bar {
  width: fit-content;
  max-width: calc(100vw - 32px);
  margin: 0 auto clamp(22px, 4vh, 44px);
  padding: 1px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, rgba(216, 179, 106, 0.42), transparent);
  box-shadow: 0 16px 50px rgba(0, 0, 0, 0.28);
}

.ypo-countdown-bar-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  width: fit-content;
  padding: 9px 18px;
  border-radius: 999px;
  border: 1px solid rgba(216, 179, 106, 0.18);
  background: rgba(10, 9, 9, 0.78);
  backdrop-filter: blur(20px);
  color: var(--ypo-muted);
}

.ypo-countdown-intro {
  font-size: 0.76rem;
  font-weight: 750;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(246, 240, 231, 0.76);
  white-space: nowrap;
}

.ypo-countdown-mini {
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(246, 240, 231, 0.68);
  font-size: 0.74rem;
  font-weight: 650;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  white-space: nowrap;
}

.ypo-countdown-mini span {
  display: inline-flex;
  align-items: baseline;
  gap: 4px;
}

.ypo-countdown-mini strong {
  color: var(--ypo-gold-2);
  font-size: 0.98rem;
  letter-spacing: 0.02em;
}

.ypo-main-card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(310px, 0.66fr);
  gap: clamp(20px, 3vw, 34px);
  align-items: stretch;
  padding: clamp(24px, 4vw, 48px);
  border: 1px solid var(--ypo-border);
  border-radius: var(--ypo-radius-xl);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.025)),
    radial-gradient(circle at 16% 20%, rgba(216, 179, 106, 0.12), transparent 34%),
    rgba(9, 8, 8, 0.72);
  box-shadow: var(--ypo-shadow);
  backdrop-filter: blur(22px);
  overflow: hidden;
}

.ypo-main-card::before {
  content: "";
  position: absolute;
  inset: 1px;
  border-radius: calc(var(--ypo-radius-xl) - 1px);
  pointer-events: none;
  background: linear-gradient(135deg, rgba(216, 179, 106, 0.14), transparent 36%, rgba(255, 255, 255, 0.04));
  opacity: 0.8;
}

.ypo-main-card::after {
  content: "";
  position: absolute;
  width: 220px;
  height: 1px;
  left: clamp(28px, 5vw, 70px);
  top: 0;
  background: linear-gradient(90deg, transparent, var(--ypo-gold-2), transparent);
  opacity: 0.78;
}

.ypo-copy,
.ypo-side-card {
  position: relative;
  z-index: 1;
}

.ypo-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: clamp(440px, 54vh, 600px);
}

.ypo-check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  margin-bottom: 18px;
  border-radius: 999px;
  color: #100d08;
  font-size: 2rem;
  font-weight: 900;
  background: linear-gradient(135deg, #f5da9d, #c49142 68%, #9a6a2f);
  box-shadow: 0 14px 46px rgba(216, 179, 106, 0.24);
}

.ypo-eyebrow,
.ypo-side-kicker {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 8px;
  margin: 0 0 14px;
  color: var(--ypo-gold-2);
  font-size: 0.77rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.ypo-eyebrow::before,
.ypo-side-kicker::before {
  content: "";
  width: 28px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--ypo-gold-2));
}

.ypo-copy h1 {
  margin: 0;
  max-width: 760px;
  color: var(--ypo-text);
  font-size: clamp(2.55rem, 5vw, 5.6rem);
  line-height: 0.95;
  letter-spacing: -0.07em;
  text-wrap: balance;
}

.ypo-copy h2 {
  margin: clamp(14px, 2vw, 22px) 0 0;
  max-width: 700px;
  color: var(--ypo-gold-2);
  font-size: clamp(1.34rem, 2.4vw, 2.18rem);
  line-height: 1.08;
  letter-spacing: -0.042em;
  text-wrap: balance;
}

.ypo-lead {
  margin: clamp(18px, 3vw, 28px) 0 0;
  max-width: 670px;
  color: var(--ypo-text);
  font-size: clamp(1.08rem, 1.6vw, 1.34rem);
  line-height: 1.45;
  font-weight: 720;
}

.ypo-copy p:not(.ypo-eyebrow):not(.ypo-lead):not(.ypo-empty-link-note) {
  margin: 14px 0 0;
  max-width: 720px;
  color: var(--ypo-muted);
  font-size: clamp(1rem, 1.2vw, 1.1rem);
  line-height: 1.72;
}

.ypo-actions {
  margin-top: clamp(24px, 3vw, 34px);
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-start;
}

.ypo-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 58px;
  padding: 16px 28px;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  text-decoration: none !important;
  font-size: 0.92rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  line-height: 1;
  text-transform: uppercase;
  transition: transform 160ms ease, box-shadow 160ms ease, filter 160ms ease;
}

.ypo-button-primary {
  color: #061108 !important;
  background: linear-gradient(135deg, var(--ypo-green-2) 0%, var(--ypo-green) 48%, var(--ypo-green-3) 100%);
  box-shadow: 0 18px 50px rgba(37, 211, 102, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.38);
  animation: ypo-green-button-pulse 1.45s ease-in-out infinite;
}

.ypo-button-primary:hover,
.ypo-button-primary:focus-visible {
  transform: translateY(-2px);
  filter: brightness(1.05);
  box-shadow: 0 24px 72px rgba(37, 211, 102, 0.48), inset 0 1px 0 rgba(255, 255, 255, 0.52);
}

.ypo-button-disabled {
  pointer-events: none;
  opacity: 0.72;
}

.ypo-empty-link-note {
  margin: 0;
  color: rgba(246, 240, 231, 0.62);
  font-size: 0.9rem;
}

.ypo-side-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 16px;
  min-height: 100%;
  padding: clamp(22px, 3vw, 34px);
  border: 1px solid rgba(216, 179, 106, 0.2);
  border-radius: var(--ypo-radius-lg);
  background:
    linear-gradient(160deg, rgba(216, 179, 106, 0.14), rgba(255, 255, 255, 0.04) 44%, rgba(255, 255, 255, 0.02)),
    rgba(18, 14, 12, 0.72);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 22px 60px rgba(0, 0, 0, 0.24);
  overflow: hidden;
}

.ypo-side-card::before {
  content: "";
  position: absolute;
  width: 260px;
  height: 260px;
  right: -120px;
  top: -120px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(216, 179, 106, 0.24), transparent 68%);
  opacity: 0.72;
}

.ypo-side-card::after {
  content: "";
  position: absolute;
  inset: auto 18px 18px auto;
  width: 82px;
  height: 82px;
  border: 1px solid rgba(216, 179, 106, 0.16);
  border-radius: 999px;
  opacity: 0.48;
}

.ypo-side-kicker {
  margin-bottom: 2px;
}

.ypo-side-card h3 {
  position: relative;
  z-index: 1;
  margin: 0;
  color: var(--ypo-text);
  font-size: clamp(1.35rem, 2.2vw, 2.1rem);
  line-height: 1.08;
  letter-spacing: -0.05em;
  text-wrap: balance;
}

.ypo-side-card p {
  position: relative;
  z-index: 1;
  margin: 0;
  color: var(--ypo-muted);
  font-size: 1rem;
  line-height: 1.68;
}

.ypo-event-pill {
  position: relative;
  z-index: 1;
  width: fit-content;
  max-width: 100%;
  padding: 12px 14px;
  border: 1px solid rgba(216, 179, 106, 0.22);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.055);
  color: rgba(246, 240, 231, 0.88);
  font-size: 0.86rem;
  font-weight: 760;
  letter-spacing: 0.01em;
}

.ypo-side-card strong {
  position: relative;
  z-index: 1;
  color: var(--ypo-gold-2);
  font-size: 1.06rem;
}

@media (max-height: 760px) and (min-width: 900px) {
  .ypo-thankyou {
    justify-content: flex-start;
    padding-top: 18px;
  }

  .ypo-copy {
    min-height: 460px;
  }

  .ypo-copy h1 {
    font-size: clamp(2.4rem, 4.6vw, 4.8rem);
  }
}

@media (max-width: 980px) {
  :root {
    --ypo-container: min(720px, calc(100vw - 36px));
  }

  .ypo-thankyou {
    justify-content: flex-start;
    padding: 18px 0 34px;
  }

  .ypo-main-card {
    grid-template-columns: 1fr;
  }

  .ypo-copy {
    min-height: auto;
  }

  .ypo-watermark {
    width: 780px;
    right: -340px;
    top: 43%;
    opacity: 0.034;
  }

  .ypo-side-card {
    min-height: auto;
  }
}

@media (max-width: 640px) {
  :root {
    --ypo-container: min(100%, calc(100vw - 24px));
  }

  .ypo-page {
    min-height: 100svh;
  }

  .ypo-thankyou {
    min-height: 100svh;
    padding: 12px 0 22px;
  }

  .ypo-countdown-bar {
    margin-bottom: 14px;
  }

  .ypo-countdown-bar-inner {
    flex-direction: column;
    gap: 5px;
    padding: 9px 14px;
  }

  .ypo-countdown-intro {
    font-size: 0.66rem;
  }

  .ypo-countdown-mini {
    gap: 7px;
    font-size: 0.64rem;
    letter-spacing: 0.06em;
  }

  .ypo-countdown-mini strong {
    font-size: 0.86rem;
  }

  .ypo-main-card {
    padding: 22px 18px 18px;
    border-radius: 26px;
    gap: 18px;
  }

  .ypo-main-card::after {
    width: 160px;
    left: 34px;
  }

  .ypo-check {
    width: 48px;
    height: 48px;
    margin-bottom: 14px;
    font-size: 1.62rem;
  }

  .ypo-eyebrow,
  .ypo-side-kicker {
    font-size: 0.66rem;
    letter-spacing: 0.13em;
  }

  .ypo-eyebrow::before,
  .ypo-side-kicker::before {
    width: 20px;
  }

  .ypo-copy h1 {
    font-size: clamp(2.16rem, 12vw, 3.35rem);
    line-height: 0.98;
    letter-spacing: -0.06em;
  }

  .ypo-copy h2 {
    font-size: clamp(1.16rem, 6vw, 1.5rem);
  }

  .ypo-lead {
    font-size: 1rem;
  }

  .ypo-copy p:not(.ypo-eyebrow):not(.ypo-lead):not(.ypo-empty-link-note),
  .ypo-side-card p {
    font-size: 0.95rem;
    line-height: 1.62;
  }

  .ypo-button {
    width: 100%;
    min-height: 56px;
    padding: 15px 18px;
    font-size: 0.78rem;
    letter-spacing: 0.055em;
  }

  .ypo-side-card {
    padding: 20px 16px;
    border-radius: 22px;
  }

  .ypo-side-card h3 {
    font-size: 1.35rem;
  }

  .ypo-event-pill {
    border-radius: 18px;
    font-size: 0.78rem;
    line-height: 1.45;
  }

  .ypo-watermark {
    width: 570px;
    right: -305px;
    top: 44%;
    opacity: 0.032;
  }
}

@media (max-width: 380px) {
  .ypo-main-card {
    padding: 20px 14px 16px;
  }

  .ypo-copy h1 {
    font-size: 2.06rem;
  }

  .ypo-copy h2 {
    font-size: 1.1rem;
  }

  .ypo-button {
    font-size: 0.72rem;
  }
}
