:root {
  --bg:        #140F1C;
  --bg-glow:   #2A1D3E;
  --surface:   #1E1830;
  --surface-2: #271F3D;
  --line:      #3A3152;
  --gold:      #E8C784;
  --gold-dim:  #B99B5E;
  --rose:      #E9A0B8;
  --text:      #F3EEF7;
  --muted:     #A79FB8;
  --ok:        #8FD9B0;
  --halo:      rgba(232, 199, 132, 0.30);
  --halo-2:    rgba(233, 160, 184, 0.10);
  --btn-text:  #241A0A;
  --radius:    18px;
  --maxw:      440px;
}

/* ---- Themes: same variables, different palette. Switched via <html data-theme="..."> ---- */
[data-theme="noir"] {
  --bg: #0C0C10; --bg-glow: #1B1B24; --surface: #15151C; --surface-2: #1D1D26;
  --line: #2E2E3A; --gold: #D8DAE2; --gold-dim: #9EA1AD; --rose: #C7CAD4;
  --text: #F2F2F5; --muted: #9A9CA8; --halo: rgba(216, 218, 226, 0.22);
  --halo-2: rgba(216, 218, 226, 0.06); --btn-text: #16161C;
}
[data-theme="rouge"] {
  --bg: #1A0C10; --bg-glow: #33141C; --surface: #241218; --surface-2: #2E1720;
  --line: #4A2530; --gold: #E8C784; --gold-dim: #BE9760; --rose: #EE6E82;
  --text: #F7EFF0; --muted: #B49AA1; --halo: rgba(238, 110, 130, 0.26);
  --halo-2: rgba(232, 199, 132, 0.10); --btn-text: #2B1015;
}
[data-theme="ice"] {
  --bg: #0C121E; --bg-glow: #18263E; --surface: #131C2C; --surface-2: #19253C;
  --line: #2B3A56; --gold: #C4DBF4; --gold-dim: #8CA9CC; --rose: #9FD2EA;
  --text: #EFF4FA; --muted: #93A3BC; --halo: rgba(196, 219, 244, 0.26);
  --halo-2: rgba(159, 210, 234, 0.08); --btn-text: #101B2C;
}
[data-theme="neon"] {
  --bg: #0E0917; --bg-glow: #221238; --surface: #170F26; --surface-2: #1F1533;
  --line: #372A55; --gold: #C77DFF; --gold-dim: #9A5CD4; --rose: #5FEFC4;
  --text: #F4EEFB; --muted: #A493C2; --halo: rgba(199, 125, 255, 0.30);
  --halo-2: rgba(95, 239, 196, 0.10); --btn-text: #1D0F30;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  background:
    radial-gradient(120% 60% at 50% -10%, var(--bg-glow) 0%, var(--bg) 55%) fixed;
  color: var(--text);
  font-family: "Inter", system-ui, -apple-system, sans-serif;
  -webkit-font-smoothing: antialiased;
  min-height: 100dvh;
  display: flex;
  justify-content: center;
}

.wrap {
  width: 100%;
  max-width: var(--maxw);
  padding: 40px 20px 56px;
  display: flex;
  flex-direction: column;
  gap: 26px;
}

/* ---- Halo signature ---- */
.crown { text-align: center; position: relative; padding-top: 22px; }
.halo {
  position: absolute;
  top: 0; left: 50%;
  width: 190px; height: 190px;
  transform: translateX(-50%);
  border-radius: 50%;
  background: radial-gradient(circle, var(--halo) 0%, var(--halo-2) 45%, transparent 70%);
  filter: blur(6px);
  animation: pulse 6s ease-in-out infinite;
  pointer-events: none;
}
@keyframes pulse {
  0%, 100% { opacity: .55; transform: translateX(-50%) scale(1); }
  50%      { opacity: .9;  transform: translateX(-50%) scale(1.06); }
}
.name {
  font-family: "Fraunces", Georgia, serif;
  font-optical-sizing: auto;
  font-weight: 500;
  font-size: 44px;
  letter-spacing: .01em;
  margin: 0;
  position: relative;
}
.tagline { color: var(--muted); margin: 8px 0 0; font-size: 15px; }

/* ---- Card ---- */
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
}
.card h2 {
  font-family: "Fraunces", Georgia, serif;
  font-weight: 500;
  font-size: 19px;
  margin: 0 0 16px;
}
.eyebrow {
  font-size: 11px; letter-spacing: .18em; text-transform: uppercase;
  color: var(--gold-dim); margin: 0 0 14px;
}

/* ---- Amount chips ---- */
.amounts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.chip {
  appearance: none; cursor: pointer;
  background: var(--surface-2);
  border: 1px solid var(--line);
  color: var(--text);
  border-radius: 12px;
  padding: 14px 0;
  font-size: 16px; font-weight: 600;
  transition: border-color .15s, background .15s, transform .05s;
}
.chip:hover { border-color: var(--gold-dim); }
.chip:active { transform: scale(.97); }
.chip[aria-pressed="true"] {
  border-color: var(--gold);
  background: linear-gradient(180deg, rgba(232,199,132,.18), rgba(232,199,132,.06));
  color: var(--gold);
}

.custom { margin-top: 12px; position: relative; }
.custom span { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--muted); }
.custom input {
  width: 100%;
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: 12px;
  color: var(--text);
  padding: 14px 14px 14px 30px;
  font-size: 16px;
}
input:focus-visible, .chip:focus-visible, button:focus-visible {
  outline: 2px solid var(--gold); outline-offset: 2px;
}

.vip { margin-top: 16px; }
.vip label { display: block; color: var(--muted); font-size: 13px; margin-bottom: 8px; }
.vip input {
  width: 100%;
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: 12px;
  color: var(--text);
  padding: 13px 14px;
  font-size: 15px;
}

/* ---- Buttons ---- */
.btn {
  appearance: none; cursor: pointer; width: 100%;
  border: none; border-radius: 14px;
  padding: 16px;
  font-size: 16px; font-weight: 700;
  color: var(--btn-text);
  background: linear-gradient(180deg, var(--gold), var(--gold-dim));
  transition: filter .15s, transform .05s;
}
.btn:hover { filter: brightness(1.06); }
.btn:active { transform: scale(.99); }
.btn[disabled] { opacity: .5; cursor: not-allowed; }

#cash-app-pay { margin-top: 4px; min-height: 52px; }

.step { margin-top: 18px; }
.hidden { display: none !important; }

/* ---- Links (wishlist / contact) ---- */
.links { display: flex; flex-direction: column; gap: 10px; }
.link {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  text-decoration: none; color: var(--text);
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 14px 16px;
  transition: border-color .15s;
}
.link:hover { border-color: var(--rose); }
.link .l-main { font-weight: 600; }
.link .l-note { color: var(--muted); font-size: 12px; margin-top: 2px; }
.link .l-arrow { color: var(--gold-dim); }

/* ---- Disclosure / footer ---- */
.disclose { color: var(--muted); font-size: 12.5px; line-height: 1.6; }
.disclose summary {
  cursor: pointer; color: var(--gold-dim);
  list-style: none; padding: 6px 0;
}
.disclose summary::-webkit-details-marker { display: none; }
.disclose p { margin: 8px 0; }

.status { text-align: center; font-size: 15px; margin-top: 14px; min-height: 22px; }
.status.err { color: var(--rose); }
.status.ok  { color: var(--ok); }

.success {
  text-align: center; padding: 8px 0 4px;
}
.success .halo-check {
  font-family: "Fraunces", serif; font-size: 40px; color: var(--gold);
}

footer { text-align: center; color: var(--muted); font-size: 11px; letter-spacing: .04em; }

@media (prefers-reduced-motion: reduce) {
  .halo { animation: none; }
}
