/* Mary Kayla — official preview site (v1 review build)
   Brand: near-black background, white text, pink accent #ff5da2,
   elegant serif display type for the wordmark. */

:root {
  --bg: #0a0a0c;
  --bg-soft: #121216;
  --card: #16161c;
  --line: #26262e;
  --text: #f5f2f4;
  --muted: #b9b3ba;
  --pink: #ff5da2;
  --pink-dark: #d63d7f;
  --serif: "Playfair Display", "Didot", "Bodoni MT", "Times New Roman", serif;
  --sans: "Helvetica Neue", Arial, system-ui, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  line-height: 1.55;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

a { color: var(--pink); text-decoration: none; }
a:hover { text-decoration: underline; }

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

/* ---------- Header ---------- */
.site-header {
  text-align: center;
  padding: 2.4rem 1rem 1.4rem;
  border-bottom: 1px solid var(--line);
  background: radial-gradient(ellipse at top, #1c1119 0%, var(--bg) 65%);
}

.wordmark {
  font-family: var(--serif);
  font-size: clamp(2.6rem, 8vw, 4.2rem);
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--text);
  line-height: 1.05;
}
.wordmark .accent { color: var(--pink); }
a.wordmark-link:hover { text-decoration: none; }

.tagline {
  margin-top: 0.4rem;
  font-style: italic;
  font-family: var(--serif);
  color: var(--muted);
  font-size: clamp(1rem, 3vw, 1.25rem);
}

.member-state {
  display: inline-block;
  margin-top: 0.7rem;
  padding: 0.15rem 0.8rem;
  border: 1px solid var(--pink);
  border-radius: 999px;
  color: var(--pink);
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.main-nav {
  margin-top: 1.3rem;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.4rem 2rem;
}
.main-nav a {
  color: var(--text);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.82rem;
  padding: 0.3rem 0.1rem;
}
.main-nav a:hover { color: var(--pink); text-decoration: none; }
.main-nav a.active { color: var(--pink); border-bottom: 2px solid var(--pink); }

/* ---------- Layout ---------- */
main { flex: 1; width: 100%; max-width: 1240px; margin: 0 auto; padding: 2rem 1rem 3rem; }

.section { margin-bottom: 3.2rem; }
.section-head { text-align: center; margin-bottom: 1.5rem; }
.section-head h2 {
  font-family: var(--serif);
  font-size: clamp(1.7rem, 5vw, 2.4rem);
  font-weight: 600;
}
.section-head h2 .accent { color: var(--pink); }
.section-head p { color: var(--muted); margin-top: 0.35rem; }

/* ---------- Preview grid ---------- */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1.1rem;
}
@media (max-width: 560px) {
  .grid { grid-template-columns: repeat(2, 1fr); gap: 0.7rem; }
}

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.card .thumb { position: relative; aspect-ratio: 9 / 16; background: #000; overflow: hidden; }
.card .thumb video {
  width: 100%; height: 100%; object-fit: cover;
}
.card .badge {
  position: absolute; top: 0.5rem; left: 0.5rem;
  background: rgba(10, 10, 12, 0.78);
  color: var(--pink);
  border: 1px solid var(--pink);
  font-size: 0.68rem; letter-spacing: 0.12em; text-transform: uppercase;
  padding: 0.15rem 0.55rem; border-radius: 999px;
  pointer-events: none;
}
.card .card-body { padding: 0.8rem 0.9rem 1rem; display: flex; flex-direction: column; gap: 0.6rem; flex: 1; }
.card h3 { font-size: 0.95rem; font-weight: 600; line-height: 1.35; flex: 1; }

.btn {
  display: inline-block;
  text-align: center;
  background: var(--pink);
  color: #fff;
  border: none;
  border-radius: 999px;
  padding: 0.6rem 1.4rem;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  cursor: pointer;
  font-family: var(--sans);
}
.btn:hover { background: var(--pink-dark); text-decoration: none; }
.btn.ghost {
  background: transparent;
  color: var(--pink);
  border: 1px solid var(--pink);
}
.btn.ghost:hover { background: rgba(255, 93, 162, 0.12); }
.card .btn { width: 100%; }

/* ---------- Before / After showcase ---------- */
.pairs { display: flex; flex-direction: column; gap: 1.4rem; }
.pair {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: stretch;
  gap: 0.8rem;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.9rem;
}
.pair .side { position: relative; }
.pair .side .thumb { position: relative; aspect-ratio: 9 / 16; max-height: 420px; margin: 0 auto; background: #000; border-radius: 8px; overflow: hidden; }
.pair .side video { width: 100%; height: 100%; object-fit: cover; }
.pair .label {
  position: absolute; top: 0.5rem; left: 0.5rem; z-index: 2;
  background: rgba(10, 10, 12, 0.8);
  padding: 0.2rem 0.7rem; border-radius: 999px;
  font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase;
}
.pair .label.before { color: var(--text); border: 1px solid var(--line); }
.pair .label.after { color: var(--pink); border: 1px solid var(--pink); }
.pair .side h4 { text-align: center; font-size: 0.85rem; margin-top: 0.55rem; color: var(--muted); font-weight: 500; }
.pair .arrow {
  align-self: center;
  font-size: 1.8rem;
  color: var(--pink);
  font-family: var(--serif);
}
@media (max-width: 560px) {
  .pair { gap: 0.45rem; padding: 0.6rem; }
  .pair .arrow { font-size: 1.2rem; }
}

/* ---------- Unlock page ---------- */
.unlock-wrap { max-width: 680px; margin: 0 auto; }
.panel {
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 1.8rem;
  margin-bottom: 1.6rem;
}
.panel h2 { font-family: var(--serif); font-size: 1.7rem; margin-bottom: 0.6rem; }
.panel h2 .accent { color: var(--pink); }
.price-line { font-size: 1.15rem; margin: 0.8rem 0; }
.price-line .price { color: var(--pink); font-weight: 700; font-size: 1.5rem; }
.venmo-handle {
  display: inline-block;
  background: #000;
  border: 1px dashed var(--pink);
  border-radius: 8px;
  padding: 0.35rem 0.9rem;
  font-weight: 700;
  color: var(--pink);
  letter-spacing: 0.03em;
}
ol.steps { margin: 0.8rem 0 0.8rem 1.3rem; color: var(--muted); }
ol.steps li { margin-bottom: 0.55rem; }
ol.steps strong, .note-code { color: var(--text); }
.note-code {
  background: #000; border: 1px solid var(--line); border-radius: 6px;
  padding: 0.05rem 0.5rem; font-family: monospace; color: var(--pink);
}

/* ---------- Store: packages, prices, member states ---------- */
.pack-card .card-body { gap: 0.7rem; }
.card .badge.static { position: static; align-self: flex-start; }
.pack-blurb { color: var(--muted); font-size: 0.9rem; flex: 1; }
.pack-meta { color: var(--muted); font-size: 0.8rem; letter-spacing: 0.04em; }
.btn.disabled { opacity: 0.55; cursor: default; pointer-events: none; }
.price-tag { color: var(--pink); font-size: 0.82rem; letter-spacing: 0.05em; }
.sel-name { font-family: var(--serif); font-size: 1.25rem; margin-top: 0.2rem; }
button.btn:disabled { opacity: 0.5; cursor: not-allowed; }

form .field { margin-bottom: 1rem; }
form label { display: block; font-size: 0.85rem; color: var(--muted); margin-bottom: 0.35rem; letter-spacing: 0.04em; }
form input[type="email"], form input[type="text"], form input[type="password"] {
  width: 100%;
  background: #000;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--text);
  padding: 0.7rem 0.9rem;
  font-size: 1rem;
  font-family: var(--sans);
}
form input:focus { outline: 2px solid var(--pink); outline-offset: 1px; }
.form-msg { margin-top: 1rem; padding: 0.9rem 1rem; border-radius: 8px; display: none; }
.form-msg.show { display: block; }
.form-msg.ok { background: rgba(255, 93, 162, 0.12); border: 1px solid var(--pink); }
.form-msg.err { background: rgba(200, 40, 60, 0.15); border: 1px solid #c8283c; }

/* ---------- Age gate ---------- */
.age-gate {
  position: fixed; inset: 0; z-index: 100;
  background: rgba(5, 5, 7, 0.97);
  display: flex; align-items: center; justify-content: center;
  padding: 1rem;
}
.age-gate.hidden { display: none; }
.age-card {
  max-width: 460px; text-align: center;
  background: var(--bg-soft);
  border: 1px solid var(--pink);
  border-radius: 16px;
  padding: 2.4rem 2rem;
}
.age-card .wordmark { font-size: 2.4rem; }
.age-card h2 { font-family: var(--serif); margin: 1rem 0 0.5rem; font-size: 1.5rem; }
.age-card p { color: var(--muted); font-size: 0.92rem; margin-bottom: 1.4rem; }
.age-actions { display: flex; gap: 0.8rem; justify-content: center; flex-wrap: wrap; }

/* ---------- Modal player ---------- */
.modal {
  position: fixed; inset: 0; z-index: 90;
  background: rgba(0, 0, 0, 0.92);
  display: none; align-items: center; justify-content: center;
  padding: 1rem;
}
.modal.open { display: flex; }
.modal-inner { max-width: 420px; width: 100%; text-align: center; }
.modal video { width: 100%; max-height: 78vh; border-radius: 12px; background: #000; }
.modal h3 { font-family: var(--serif); margin: 0.9rem 0; font-weight: 600; }
.modal .close-row { margin-top: 0.6rem; }

/* ---------- Legal / text pages ---------- */
.legal h2 { font-family: var(--serif); font-size: 1.6rem; margin: 2rem 0 0.7rem; }
.legal h2:first-child { margin-top: 0; }
.legal p { color: var(--muted); margin-bottom: 0.8rem; max-width: 820px; }
.template-note {
  border: 1px dashed var(--pink); border-radius: 8px;
  padding: 0.7rem 1rem; color: var(--pink); margin-bottom: 1.6rem; max-width: 820px;
}

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 2.2rem 1rem 2.4rem;
  text-align: center;
  background: var(--bg-soft);
}
.site-footer .wordmark { font-size: 1.9rem; }
.site-footer .copy { color: var(--muted); font-size: 0.85rem; margin: 0.5rem 0 1.1rem; }
.footer-links { display: flex; justify-content: center; flex-wrap: wrap; gap: 0.5rem 1.6rem; }
.footer-links a { color: var(--text); font-size: 0.9rem; }
.footer-links a:hover { color: var(--pink); text-decoration: none; }
