:root {
  color-scheme: dark;
  --ink: #fff9ff;
  --muted: #c2b6c9;
  --dim: #8d8095;
  --bg: #0b080d;
  --panel: #17111c;
  --line: rgba(255,255,255,.12);
  --hot: #ff4f91;
  --warm: #ffae68;
}

* { box-sizing: border-box; }
html { min-height: 100%; background: var(--bg); }
body {
  min-height: 100vh;
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 12% 18%, rgba(255,79,145,.16), transparent 36rem),
    radial-gradient(circle at 90% 84%, rgba(255,174,104,.12), transparent 30rem),
    var(--bg);
  font-family: ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

a { color: inherit; }
.shell { width: min(1080px, 100%); min-height: 100vh; margin: auto; padding: 24px; display: grid; place-items: center; }
.card { width: 100%; display: grid; grid-template-columns: minmax(280px, .9fr) minmax(340px, 1.1fr); overflow: hidden; border: 1px solid var(--line); border-radius: 32px; background: rgba(23,17,28,.88); box-shadow: 0 30px 90px rgba(0,0,0,.42); backdrop-filter: blur(20px); }
.photo-wrap { min-height: 640px; position: relative; overflow: hidden; background: #211627; }
.photo { width: 100%; height: 100%; position: absolute; inset: 0; object-fit: cover; filter: saturate(.86) contrast(1.04); }
.photo-wrap::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(11,8,13,.8)); }
.status { position: absolute; z-index: 1; left: 24px; bottom: 24px; padding: 9px 13px; border: 1px solid rgba(255,255,255,.24); border-radius: 999px; background: rgba(12,8,14,.62); font-size: .85rem; letter-spacing: .04em; backdrop-filter: blur(14px); }
.content { padding: clamp(34px, 6vw, 72px); align-self: center; }
.eyebrow { margin: 0 0 18px; color: var(--warm); font-weight: 800; font-size: .78rem; letter-spacing: .16em; }
h1 { margin: 0; max-width: 12ch; font-family: Georgia, "Times New Roman", serif; font-size: clamp(2.55rem, 5.2vw, 5rem); font-weight: 500; line-height: .98; letter-spacing: -.045em; }
.intro { max-width: 33rem; margin: 28px 0 22px; color: var(--muted); font-size: 1.08rem; line-height: 1.65; }
.list { display: grid; gap: 9px; margin: 0 0 30px; padding: 0; list-style: none; color: #e8dfea; }
.list li::before { content: "✦"; margin-right: 10px; color: var(--hot); }
.form label[for="email"] { display: block; margin-bottom: 10px; font-weight: 700; }
.input-row { display: grid; grid-template-columns: 1fr auto; gap: 10px; }
input[type="email"] { min-width: 0; border: 1px solid var(--line); border-radius: 14px; padding: 15px 16px; background: rgba(255,255,255,.06); color: white; font: inherit; font-size: 1rem; outline: none; }
input[type="email"]:focus { border-color: var(--hot); box-shadow: 0 0 0 4px rgba(255,79,145,.14); }
button, .button-link { border: 0; border-radius: 14px; padding: 15px 19px; color: #160a12; background: linear-gradient(135deg, var(--warm), var(--hot)); font: inherit; font-weight: 850; text-decoration: none; cursor: pointer; transition: transform .18s ease, filter .18s ease; }
button:hover, .button-link:hover { transform: translateY(-1px); filter: brightness(1.06); }
.consent { display: grid; grid-template-columns: 18px 1fr; gap: 10px; margin-top: 14px; color: var(--muted); font-size: .84rem; line-height: 1.45; }
.consent input { margin: 2px 0 0; accent-color: var(--hot); }
.fine { margin: 18px 0 0; color: var(--dim); font-size: .78rem; }
.fine a, .text-link { text-underline-offset: 3px; }
.error { margin: 12px 0 0; color: #ff99aa; font-weight: 700; }
.trap { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }

.compact { width: min(720px, 100%); }
.message-card { width: 100%; padding: clamp(36px, 8vw, 80px); border: 1px solid var(--line); border-radius: 30px; background: rgba(23,17,28,.9); }
.message-card h1 { margin-bottom: 24px; }
.message-card p:not(.eyebrow) { color: var(--muted); font-size: 1.08rem; line-height: 1.65; }
.message-card .button-link { display: inline-block; margin-top: 18px; }
.spark { display: block; margin-bottom: 28px; color: var(--hot); font-size: 2.5rem; }
.legal h1 { font-size: clamp(2.4rem, 8vw, 4.5rem); }

.admin-shell { width: min(1180px, 100%); margin: auto; padding: 48px 24px; }
.admin-head { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 30px; }
.admin-head h1 { max-width: none; font-size: clamp(2rem, 5vw, 3.5rem); }
.admin-shell h2 { margin: 34px 0 14px; font-family: Georgia, "Times New Roman", serif; font-size: 1.8rem; font-weight: 500; }
.metrics { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
.metrics div { padding: 18px; border: 1px solid var(--line); border-radius: 16px; background: rgba(23,17,28,.9); }
.metrics span { display: block; color: var(--dim); font-size: .76rem; text-transform: uppercase; letter-spacing: .06em; }
.metrics strong { display: block; margin-top: 8px; font-family: Georgia, "Times New Roman", serif; font-size: 2rem; font-weight: 500; }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 18px; }
table { width: 100%; border-collapse: collapse; background: rgba(23,17,28,.9); }
th, td { padding: 15px 18px; border-bottom: 1px solid var(--line); text-align: left; white-space: nowrap; }
th { color: var(--warm); font-size: .76rem; letter-spacing: .08em; text-transform: uppercase; }
td { color: var(--muted); }

@media (max-width: 760px) {
  .shell { padding: 12px; align-items: start; }
  .card { grid-template-columns: 1fr; border-radius: 24px; }
  .photo-wrap { min-height: 42vh; }
  .content { padding: 30px 22px 34px; }
  h1 { font-size: clamp(2.7rem, 13vw, 4rem); }
  .input-row { grid-template-columns: 1fr; }
  button { width: 100%; }
  .admin-head { align-items: start; flex-direction: column; }
  .metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; transition: none !important; }
}
