:root {
  --bg: #0b0b0b;
  --bg-elevated: #141210;
  --gold: #c1975b;
  --gold-soft: #d4af7a;
  --gold-deep: #a67c42;
  --text: #ffffff;
  --text-muted: rgba(255, 255, 255, 0.88);
  --line: rgba(193, 151, 91, 0.35);
  --font-sans: "Montserrat", sans-serif;
  --font-script: "Allura", cursive;
  --max: 1100px;
  --radius: 16px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  line-height: 1.6;
}

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

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

ul {
  list-style: none;
}

.gold {
  color: var(--gold);
  font-weight: 500;
}

.back-link {
  position: fixed;
  top: 1rem;
  left: 1rem;
  z-index: 30;
  padding: 0.5rem 0.85rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.55);
  color: var(--gold-soft);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  backdrop-filter: blur(8px);
}

.back-link:hover {
  border-color: var(--gold);
  color: #fff;
}

.icon-heart {
  width: 1.15rem;
  height: 1.15rem;
  color: var(--gold);
  flex-shrink: 0;
  display: block;
  aspect-ratio: 1;
  overflow: visible;
}

.hero-intro-heart {
  width: 1.65rem;
  height: 1.65rem;
  min-width: 1.65rem;
  min-height: 1.65rem;
}

.icon-heart-sm {
  width: 0.95rem;
  height: 0.95rem;
  color: var(--gold);
  flex-shrink: 0;
}

.section-title {
  font-size: clamp(0.82rem, 1.5vw, 0.95rem);
  font-weight: 600;
  letter-spacing: 0.18em;
  text-align: center;
  color: var(--gold);
  text-transform: uppercase;
}

.title-underline {
  display: block;
  width: 52px;
  height: 2px;
  margin: 0.7rem auto 0;
  background: var(--gold);
  border-radius: 2px;
}

.section-rule {
  width: min(var(--max), calc(100% - 2.5rem));
  height: 1px;
  margin: 2.75rem auto 0;
  background: rgba(193, 151, 91, 0.22);
}

/* ========== HERO ========== */
.hero {
  padding: 4.5rem 1.25rem 2.5rem;
}

.hero-inner {
  width: min(720px, 100%);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  text-align: center;
}

.hero-intro {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.55rem;
}

.hero-eyebrow {
  font-family: var(--font-script);
  font-size: clamp(2.6rem, 6vw, 3.6rem);
  font-weight: 400;
  line-height: 1;
  color: var(--gold);
  letter-spacing: 0.02em;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  max-width: 38rem;
}

.hero-kicker {
  display: block;
  font-size: clamp(1.05rem, 2.2vw, 1.35rem);
  font-weight: 500;
  letter-spacing: 0.12em;
  color: var(--text);
  text-transform: uppercase;
}

.hero-script {
  display: block;
  margin-top: 0.1rem;
  margin-left: auto;
  margin-right: auto;
  font-family: var(--font-script);
  font-size: clamp(3.2rem, 7vw, 4.8rem);
  font-weight: 400;
  font-style: normal;
  line-height: 1;
  letter-spacing: 0.02em;
  color: var(--gold);
  border-bottom: 1px solid var(--gold);
  padding-bottom: 0.15rem;
  width: fit-content;
}

.hero-text {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  margin-top: 0.35rem;
}

.hero-text p {
  font-size: clamp(0.9rem, 1.35vw, 1.02rem);
  font-weight: 300;
  line-height: 1.75;
  color: var(--text-muted);
  text-align: center;
}

.hero-photo-wrap {
  width: min(320px, 64vw);
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(193, 151, 91, 0.28);
  aspect-ratio: 4 / 5;
  background: #000;
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.4);
}

.hero-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 32%;
  transform: scale(1.35) translateY(-6%);
  transform-origin: center center;
}

/* ========== MESSAGE ========== */
.message {
  padding: 1.5rem 1.25rem 0;
}

.message-inner {
  width: min(var(--max), 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2.25rem;
  align-items: center;
}

.video-frame {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(193, 151, 91, 0.45);
  background: #000;
  aspect-ratio: 16 / 10;
}

.video-poster {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  filter: brightness(0.82);
}

.video-controls {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.45rem 0.65rem;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.75));
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.62rem;
  pointer-events: none;
}

.vc-play,
.vc-vol,
.vc-full {
  width: 0.7rem;
  height: 0.7rem;
  border-style: solid;
  border-color: transparent transparent transparent #fff;
  border-width: 0.28rem 0 0.28rem 0.45rem;
  flex-shrink: 0;
}

.vc-vol,
.vc-full {
  border: 1px solid rgba(255, 255, 255, 0.75);
  border-radius: 1px;
  width: 0.7rem;
  height: 0.55rem;
}

.vc-time {
  opacity: 0.85;
  white-space: nowrap;
}

.vc-bar {
  flex: 1;
  height: 3px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.25);
  overflow: hidden;
}

.vc-bar i {
  display: block;
  width: 8%;
  height: 100%;
  background: #fff;
}

.video-play {
  position: absolute;
  inset: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  display: grid;
  place-items: center;
  z-index: 2;
}

.video-play-circle {
  width: 3.4rem;
  height: 3.4rem;
  border-radius: 999px;
  border: 2px solid rgba(255, 255, 255, 0.92);
  display: grid;
  place-items: center;
  color: #fff;
  background: rgba(0, 0, 0, 0.25);
  transition: transform 0.25s ease, background 0.25s ease;
}

.video-play:hover .video-play-circle {
  transform: scale(1.06);
  background: rgba(0, 0, 0, 0.4);
}

.video-play-circle svg {
  width: 1.35rem;
  height: 1.35rem;
  margin-left: 2px;
}

.message-copy {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.message-heading {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.message-heading h2 {
  font-size: clamp(0.78rem, 1.3vw, 0.9rem);
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--gold);
}

.message-copy p {
  font-size: clamp(0.88rem, 1.2vw, 0.98rem);
  font-weight: 300;
  line-height: 1.65;
  color: var(--text);
}

.accent-line {
  display: block;
  width: 42px;
  height: 3px;
  margin-top: 0.35rem;
  background: var(--gold);
  border-radius: 2px;
}

/* ========== HELP ========== */
.help {
  padding: 3.5rem 1.25rem 1.5rem;
  width: min(var(--max), 100%);
  margin: 0 auto;
}

.help .section-title {
  font-size: clamp(1.08rem, 2vw, 1.28rem);
  letter-spacing: 0.14em;
  font-weight: 700;
}

.help .title-underline {
  width: 64px;
  height: 2px;
  margin: 0.8rem auto 2.1rem;
}

.help-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
}

.help-grid li {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.55rem;
  padding: 0.35rem 0.85rem;
  position: relative;
}

.help-grid li:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 12%;
  right: 0;
  bottom: 12%;
  width: 1px;
  background: rgba(193, 151, 91, 0.28);
}

.help-grid svg {
  width: 2.35rem;
  height: 2.35rem;
  color: var(--gold);
  margin-bottom: 0.3rem;
}

.help-grid h3 {
  font-size: clamp(0.92rem, 1.5vw, 1.02rem);
  font-weight: 600;
  color: var(--gold);
  line-height: 1.35;
}

.help-grid p {
  font-size: clamp(0.84rem, 1.3vw, 0.92rem);
  font-weight: 300;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.85);
  max-width: 13.5rem;
}

/* ========== PIX ========== */
.pix {
  padding: 2.5rem 1.25rem 1.5rem;
}

.pix-box {
  width: min(var(--max), 100%);
  margin: 0 auto;
  padding: 2rem 1.75rem 1.5rem;
  border: 1px solid rgba(193, 151, 91, 0.4);
  border-radius: 20px;
  background: rgba(16, 14, 12, 0.9);
}

.pix-box .title-underline {
  margin-bottom: 1.75rem;
}

.pix-content {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 2rem;
  align-items: center;
}

.pix-qr {
  width: fit-content;
  padding: 0.85rem;
  background: #fff;
  border-radius: 14px;
}

.pix-qr img#pix-qr {
  width: min(230px, 58vw);
  height: auto;
  display: block;
}

.pix-side {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  min-width: 0;
}

.pix-card {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  padding: 1.25rem 1.2rem;
  border: 1px solid rgba(193, 151, 91, 0.35);
  border-radius: 14px;
  background: rgba(0, 0, 0, 0.35);
}

.pix-row {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
}

.pix-row > svg {
  width: 1.25rem;
  height: 1.25rem;
  color: var(--gold);
  margin-top: 0.15rem;
  flex-shrink: 0;
}

.pix-label {
  display: block;
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  color: var(--gold);
  margin-bottom: 0.15rem;
}

.pix-value {
  display: block;
  font-family: var(--font-sans);
  font-size: clamp(0.95rem, 1.5vw, 1.08rem);
  font-weight: 600;
  font-style: normal;
  color: var(--text);
  word-break: break-word;
  letter-spacing: 0.01em;
}

.pix-name {
  font-weight: 600;
  letter-spacing: 0.02em;
}

.pix-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  width: 100%;
  min-height: 48px;
  padding: 0.75rem 1rem;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  background: var(--gold);
  color: #fff;
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  transition: filter 0.25s ease, transform 0.25s ease;
}

.pix-btn svg {
  width: 1.05rem;
  height: 1.05rem;
}

.pix-btn:hover {
  filter: brightness(1.08);
  transform: translateY(-1px);
}

.pix-btn.is-copied {
  filter: brightness(1.12);
}

.pix-note {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  flex-wrap: wrap;
  font-size: 0.78rem;
  font-weight: 300;
  color: var(--text-muted);
  line-height: 1.45;
}

/* ========== THANKS ========== */
.thanks {
  padding: 3.5rem 1.25rem 2rem;
}

.thanks-inner {
  width: min(var(--max), 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2.5rem;
  align-items: center;
}

.thanks-copy {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  max-width: 34rem;
}

.thanks-title {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--font-script);
  font-size: clamp(3.4rem, 7.2vw, 5rem);
  font-weight: 400;
  font-style: normal;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 0.35rem;
}

.thanks-title .icon-heart {
  width: 1.4rem;
  height: 1.4rem;
  margin-top: 0.55rem;
}

.thanks-copy > p {
  font-size: clamp(0.86rem, 1.2vw, 0.96rem);
  font-weight: 300;
  line-height: 1.75;
  color: var(--text-muted);
}

.thanks-closing {
  margin-top: 0.4rem;
}

.thanks-sign {
  font-family: var(--font-script) !important;
  font-size: clamp(2rem, 3.8vw, 2.6rem) !important;
  font-weight: 400 !important;
  font-style: normal !important;
  color: var(--gold) !important;
  line-height: 1.1 !important;
  letter-spacing: 0.02em;
}

.thanks-visual {
  position: relative;
  min-height: 300px;
  border-radius: 18px;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 70% 40%, rgba(193, 151, 91, 0.12), transparent 55%),
    linear-gradient(145deg, #1a1612 0%, #0a0908 100%);
  border: 1px solid rgba(193, 151, 91, 0.2);
  display: grid;
  place-items: center;
  padding: 1.5rem;
}

.thanks-visual::before {
  content: "";
  position: absolute;
  right: -8%;
  bottom: -18%;
  width: 55%;
  height: 75%;
  border-radius: 50% 50% 40% 40%;
  background:
    radial-gradient(circle at 40% 30%, rgba(230, 210, 180, 0.35), transparent 45%),
    radial-gradient(circle at 60% 50%, rgba(200, 180, 150, 0.2), transparent 50%);
  filter: blur(1px);
  opacity: 0.7;
  pointer-events: none;
}

.thanks-card {
  position: relative;
  z-index: 1;
  width: min(260px, 100%);
  padding: 1.75rem 1.35rem;
  border-radius: 14px;
  background: #0e0c0a;
  border: 1px solid rgba(193, 151, 91, 0.45);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.5);
  text-align: center;
}

.thanks-card p {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  line-height: 1.55;
  color: var(--gold);
}

.thanks-card .title-underline {
  margin: 0.85rem auto;
}

.thanks-card-script {
  display: block;
  font-family: var(--font-script);
  font-size: 2.6rem;
  font-weight: 400;
  font-style: normal;
  color: var(--gold);
  line-height: 1;
}

/* ========== FOOTER ========== */
.footer {
  width: min(var(--max), calc(100% - 2.5rem));
  margin: 0 auto 2.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
  padding-top: 0.5rem;
}

.footer-banner {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.05rem 1.25rem;
  border: 1px solid rgba(193, 151, 91, 0.32);
  border-radius: 14px;
  background: rgba(0, 0, 0, 0.25);
}

.footer-banner p {
  flex: 1;
  text-align: center;
  font-size: 0.76rem;
  font-weight: 300;
  line-height: 1.55;
  color: var(--text-muted);
}

.icon-heart-circle,
.icon-notes {
  width: 1.45rem;
  height: 1.45rem;
  color: var(--gold);
  flex-shrink: 0;
}

.footer-tagline {
  font-size: clamp(0.72rem, 1.2vw, 0.82rem);
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.78);
  text-align: center;
}

.footer-copy {
  font-size: 0.68rem;
  color: rgba(255, 255, 255, 0.45);
  text-align: center;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 980px) {
  .help-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem 0;
  }

  .help-grid li:nth-child(3)::after {
    display: none;
  }

  .help-grid li:nth-child(n + 4) {
    margin-top: 0.5rem;
  }
}

@media (max-width: 860px) {
  .message-inner,
  .thanks-inner,
  .pix-content {
    grid-template-columns: 1fr;
  }

  .hero-photo-wrap {
    width: min(270px, 66vw);
  }

  .message-copy {
    order: -1;
    align-items: center;
    text-align: center;
  }

  .message-heading {
    justify-content: center;
  }

  .accent-line {
    margin-left: auto;
    margin-right: auto;
  }

  .pix-content {
    justify-items: center;
  }

  .pix-side {
    width: 100%;
  }

  .thanks-copy {
    align-items: center;
    text-align: center;
    max-width: none;
  }

  .thanks-title {
    justify-content: center;
  }
}

@media (max-width: 640px) {
  .hero {
    padding-top: 3.75rem;
    gap: 0;
  }

  .hero-inner {
    gap: 1.25rem;
  }

  .hero-photo-wrap {
    width: min(240px, 62vw);
  }

  .help-grid {
    grid-template-columns: 1fr;
    gap: 1.65rem;
  }

  .help .section-title {
    font-size: 1.12rem;
  }

  .help-grid li {
    padding: 0.5rem 0.75rem;
    gap: 0.65rem;
  }

  .help-grid li::after {
    display: none !important;
  }

  .help-grid h3 {
    font-size: 1rem;
  }

  .help-grid p {
    font-size: 0.9rem;
    max-width: 19rem;
  }

  .help-grid svg {
    width: 2.5rem;
    height: 2.5rem;
  }

  .pix-box {
    padding: 1.5rem 1rem 1.25rem;
  }

  .footer {
    width: min(100% - 1.5rem, var(--max));
  }

  .footer-banner {
    flex-direction: column;
    gap: 0.65rem;
    text-align: center;
  }
}

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

  .pix-btn,
  .video-play-circle {
    transition: none;
  }
}
