/* AI Rap Video — product UI on top of the V5 editorial system.
   Dark ground, lime accent, acid orange for beat energy. Mobile first. */
:root {
  --bg: #08090b;
  --panel: #121418;
  --panel-2: #181b20;
  --line: #ffffff1f;
  --line-strong: #ffffff38;
  --text: #f6f6f2;
  --muted: #9aa0a8;
  --dim: #6d727a;
  --lime: #d9ff64;
  --orange: #ff7a2f;
  --ink: #11140b;
  --radius: 16px;
  --maxw: 1200px;
  --hdr: 68px;
  --shadow: 0 24px 70px #0009;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  font-size: 16px; line-height: 1.55;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
body::before {
  content: ''; position: fixed; inset: 0; pointer-events: none; z-index: -1;
  background: radial-gradient(ellipse 60% 38% at 50% -12%, #d9ff6414, transparent 70%),
              radial-gradient(ellipse 40% 30% at 92% 8%, #ff7a2f12, transparent 70%);
}
img, video { max-width: 100%; display: block; }
a { color: inherit; }
button { font: inherit; }
h1, h2, h3 { font-family: 'Anton', 'Space Grotesk', sans-serif; font-weight: 400; letter-spacing: -.02em; margin: 0; line-height: .95; text-transform: uppercase; }
p { margin: 0; }
.wrap { width: min(calc(100% - 36px), var(--maxw)); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 0; background: var(--lime); color: var(--ink); padding: 10px 16px; z-index: 100; }
.skip:focus { left: 8px; top: 8px; }
.sr { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); border: 0; }
:focus-visible { outline: 2px solid var(--lime); outline-offset: 3px; border-radius: 6px; }

/* ---------- nav ---------- */
.hdr { position: sticky; top: 0; z-index: 50; background: #0a0b0ee6; backdrop-filter: blur(14px); border-bottom: 1px solid #ffffff12; }
.hdr-in { min-height: var(--hdr); display: flex; align-items: center; gap: 22px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; letter-spacing: -.04em; text-decoration: none; font-size: 18px; }
.brand i { width: 22px; height: 22px; border-radius: 6px; background: linear-gradient(135deg, var(--lime), #8fbf26); transform: rotate(-14deg); display: inline-block; }
.nav { display: none; gap: 26px; margin-left: 12px; }
.nav a { text-decoration: none; color: #c9ccd2; font-size: 14px; font-weight: 600; padding: 6px 0; }
.nav a[aria-current] { color: var(--lime); }
.nav a:hover { color: #fff; }
.hdr-right { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.credits-pill { display: inline-flex; align-items: center; gap: 6px; border: 1px solid var(--line); border-radius: 99px; padding: 8px 13px; font-size: 12px; font-weight: 700; color: var(--lime); text-decoration: none; min-height: 38px; }
.credits-pill b { font-size: 14px; }
.burger { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 10px; border: 1px solid var(--line); background: transparent; color: var(--text); cursor: pointer; font-size: 17px; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 18px; border-radius: 10px; border: 1px solid var(--line-strong); background: #17191e; color: var(--text); text-decoration: none; font-weight: 700; font-size: 14px; cursor: pointer; transition: transform .15s, background .15s, border-color .15s; min-height: 44px; }
.btn:hover { transform: translateY(-1px); border-color: #fff6; }
.btn:disabled { opacity: .45; cursor: not-allowed; transform: none; }
.btn-hot { background: var(--lime); color: var(--ink); border-color: var(--lime); box-shadow: 0 10px 34px #d9ff6426; }
.btn-hot:hover { background: #e7ff94; }
.btn-orange { background: var(--orange); border-color: var(--orange); color: #1b0d04; }
.btn-ghost { background: transparent; }
.btn-sm { padding: 8px 13px; min-height: 36px; font-size: 13px; }
.btn-lg { padding: 16px 24px; font-size: 16px; min-height: 52px; }
.btn-block { width: 100%; }
.btn[aria-pressed='true'] { border-color: var(--lime); background: #d9ff6414; }

/* ---------- hero ---------- */
.hero { padding: 42px 0 54px; }
.hero-grid { display: grid; gap: 34px; align-items: center; }
.overline { display: inline-flex; align-items: center; gap: 9px; font-size: 11px; letter-spacing: .16em; font-weight: 800; color: var(--lime); text-transform: uppercase; }
.overline::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 5px #d9ff6420; }
.hero h1 { font-size: clamp(3.5rem, 13vw, 6.2rem); margin: 20px 0 18px; letter-spacing: -.02em; }
.hero h1 em { font-style: normal; color: var(--lime); }
.lead { color: #c3c7cd; font-size: 17px; max-width: 520px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 20px; color: var(--dim); font-size: 12.5px; font-weight: 600; }
.hero-meta span { display: inline-flex; gap: 6px; align-items: center; }
.hero-meta i { color: var(--lime); font-style: normal; }

/* poster: the visual promise of a scene, rendered in CSS */
.poster { position: relative; border-radius: 22px; overflow: hidden; aspect-ratio: 9/13; border: 1px solid #ffffff1e; box-shadow: var(--shadow); background: #1a1512; isolation: isolate; }
.poster-rail { display: flex; gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 2px 2px 8px; scrollbar-width: none; }
.poster-rail::-webkit-scrollbar { display: none; }
.poster-rail .poster { flex: 0 0 72%; scroll-snap-align: center; }
.poster-art { position: absolute; inset: 0; }
.poster[data-mood='orange'] .poster-art { background: radial-gradient(circle at 50% 34%, #ffb36b, #d2691f 48%, #4a1c0b 100%); }
.poster[data-mood='violet'] .poster-art { background: radial-gradient(circle at 50% 28%, #b088ff, #5c37a3 55%, #1a1030 100%); }
.poster[data-mood='blue'] .poster-art { background: radial-gradient(circle at 50% 30%, #73b8dd, #215174 55%, #0a1721 100%); }
.poster[data-mood='red'] .poster-art { background: radial-gradient(circle at 50% 26%, #ff7c6b, #8f1f2c 55%, #1e0b10 100%); }
.poster::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, #000b 4%, #0000 46%); z-index: 1; pointer-events: none; }
.poster-people { position: absolute; left: 0; right: 0; bottom: 0; top: 26%; display: flex; align-items: flex-end; justify-content: center; gap: 6%; z-index: 2; }
.poster-person { position: relative; width: 30%; height: 52%; border-radius: 40% 40% 6% 6% / 34% 34% 6% 6%; background: linear-gradient(100deg, #101214, #3a3b40 46%, #16171a); box-shadow: inset 0 0 20px #0008; }
.poster-person::before { content: ''; position: absolute; left: 50%; top: -30%; width: 66%; aspect-ratio: 1; transform: translateX(-50%); border-radius: 46%; background: linear-gradient(110deg, #6f4a37, #c99370 62%, #6b4636); }
.poster-person::after { content: ''; position: absolute; left: 50%; top: -36%; width: 34%; height: 16%; transform: translateX(-50%) rotate(-8deg); border-radius: 8px 8px 0 0; background: #111; }
.poster-person:nth-child(2) { height: 49%; transform: rotate(3deg); }
.poster-person.solo { width: 38%; height: 58%; }
.poster-mic { position: absolute; left: 50%; top: 0; width: 3px; height: 44%; background: #221c16; z-index: 1; }
.poster-mic::after { content: ''; position: absolute; bottom: -14px; left: -9px; width: 21px; height: 30px; border-radius: 11px; background: linear-gradient(90deg, #0d0d0d, #e6ddcd, #1a1a1a); }
.poster-floor { position: absolute; left: -10%; right: -10%; bottom: 0; height: 22%; background: linear-gradient(180deg, #0000, #0008); z-index: 1; }
.poster-eq { position: absolute; left: 8%; right: 8%; bottom: 9%; height: 26%; display: flex; align-items: flex-end; gap: 3px; z-index: 3; opacity: .85; }
.poster-eq b { flex: 1; background: #ffffffd9; border-radius: 2px 2px 0 0; animation: eq 1.3s ease-in-out infinite; }
.poster[data-mood='orange'] .poster-eq b { background: #ffe6b3; }
@keyframes eq { 0%, 100% { height: 22%; } 50% { height: 100%; } }
.poster-label { position: absolute; left: 14px; top: 14px; z-index: 4; font-size: 9.5px; letter-spacing: .14em; font-weight: 900; background: #0b0c0fe0; border: 1px solid #ffffff30; padding: 6px 9px; border-radius: 99px; }
.poster-label.live { background: var(--lime); color: var(--ink); border-color: var(--lime); }
.poster-caption { position: absolute; left: 16px; right: 16px; bottom: 14px; z-index: 4; display: flex; justify-content: space-between; align-items: flex-end; gap: 10px; }
.poster-caption h3 { font-size: 26px; color: #fff; text-shadow: 0 2px 18px #0009; }
.poster-caption small { display: block; font-size: 9.5px; letter-spacing: .14em; color: #ffffffb0; font-weight: 800; margin-bottom: 4px; }
.poster-caption span { flex: 0 0 auto; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: #0b0c0fb8; border: 1px solid #ffffff45; font-size: 15px; }

/* ---------- sections ---------- */
.sec { padding: 60px 0; }
.sec-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 14px; margin-bottom: 26px; }
.sec-head h2 { font-size: clamp(2.3rem, 6.5vw, 3.8rem); }
.sec-head p { color: var(--muted); max-width: 420px; font-size: 14.5px; }
.kicker { display: block; color: var(--lime); font-size: 10.5px; letter-spacing: .2em; font-weight: 900; margin-bottom: 10px; }
.sec-head h2 em { font-style: normal; color: var(--lime); }

.filters { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 16px; scrollbar-width: none; }
.filters::-webkit-scrollbar { display: none; }
.chip { flex: 0 0 auto; border: 1px solid var(--line); background: #14161b; color: #c3c6cc; border-radius: 99px; padding: 9px 16px; font-size: 13px; font-weight: 700; cursor: pointer; min-height: 40px; }
.chip.active { background: var(--lime); color: var(--ink); border-color: var(--lime); }

.steps { display: grid; gap: 12px; }
.step { border: 1px solid var(--line); background: var(--panel); border-radius: var(--radius); padding: 22px; }
.step .n { font-family: 'Anton', sans-serif; font-size: 13px; letter-spacing: .1em; color: var(--lime); margin-bottom: 26px; display: inline-block; border: 1px solid var(--line-strong); border-radius: 8px; padding: 4px 9px; }
.step h3 { font-size: 24px; margin-bottom: 8px; }
.step p { color: var(--muted); font-size: 14px; }

.samples { display: grid; gap: 12px; }
.sample { border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel); padding: 18px; display: grid; gap: 12px; }
.sample-top { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.sample-top b { font-size: 14px; }
.sample-top small { color: var(--dim); font-size: 11px; letter-spacing: .1em; font-weight: 800; }
.wave { display: flex; align-items: center; gap: 2.5px; height: 44px; }
.wave i { flex: 1; background: linear-gradient(180deg, var(--lime), #7f9d2a); border-radius: 2px; opacity: .85; }
.lyric { font-size: 13px; color: #d6d9de; border-left: 2px solid var(--lime); padding-left: 12px; font-style: italic; }

.banner { border: 1px solid #ffffff22; background: linear-gradient(120deg, #d9ff64, #b8e04a); color: var(--ink); border-radius: 22px; padding: 34px 24px; display: grid; gap: 14px; }
.banner h2 { font-size: clamp(2.3rem, 8vw, 4.2rem); }
.banner p { font-weight: 600; max-width: 520px; }
.banner .btn-orange { justify-self: start; }

.faq { display: grid; gap: 8px; }
.faq details { border: 1px solid var(--line); border-radius: 12px; background: var(--panel); overflow: hidden; }
.faq summary { padding: 16px 18px; cursor: pointer; font-weight: 700; font-size: 14.5px; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; color: var(--lime); font-size: 18px; line-height: 1; }
.faq details[open] summary::after { content: '–'; }
.faq details p { padding: 0 18px 16px; color: var(--muted); font-size: 14px; }

.trust { display: grid; gap: 10px; }
.trust > div { border: 1px solid var(--line); border-radius: 12px; padding: 15px 16px; background: #101216; display: grid; gap: 4px; }
.trust b { font-size: 13.5px; }
.trust b::before { content: '✓ '; color: var(--lime); }
.trust span { color: var(--dim); font-size: 12.5px; }

/* ---------- create ---------- */
.page-head { padding: 34px 0 8px; }
.page-head h1 { font-size: clamp(2.6rem, 9vw, 4rem); margin: 12px 0 10px; }
.page-head p { color: var(--muted); max-width: 560px; }
.create-grid { display: grid; gap: 18px; padding-bottom: 96px; }
.create-grid > * { min-width: 0; }
.opt-scroll, .drops, .scene-pick, .toggle-row { min-width: 0; }
.card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.card + .card { margin-top: 14px; }
.card-step { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.card-step .n { width: 26px; height: 26px; border-radius: 8px; display: grid; place-items: center; background: #d9ff641a; color: var(--lime); font-size: 12px; font-weight: 900; border: 1px solid #d9ff6436; flex: 0 0 auto; }
.card-step h2 { font-family: 'Inter', sans-serif; font-size: 15px; letter-spacing: 0; text-transform: none; font-weight: 800; }
.card-step small { color: var(--dim); font-size: 12px; margin-left: auto; font-weight: 600; }

.scene-pick { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }
.scene-opt { position: relative; border: 1px solid var(--line); background: #0f1115; border-radius: 13px; padding: 0; overflow: hidden; cursor: pointer; text-align: left; color: inherit; transition: border-color .15s, transform .15s; }
.scene-opt:hover { border-color: #ffffff45; }
.scene-opt[aria-pressed='true'] { border-color: var(--lime); box-shadow: 0 0 0 1px var(--lime) inset; }
.scene-opt .mini { aspect-ratio: 4/3; position: relative; overflow: hidden; }
.scene-opt .mini .poster { border: 0; border-radius: 0; box-shadow: none; aspect-ratio: auto; height: 100%; }
.scene-opt .mini .poster-caption, .scene-opt .mini .poster-eq, .scene-opt .mini .poster-label { display: none; }
.scene-opt .mini .poster-people { top: 34%; }
.scene-opt .meta { padding: 10px 11px 12px; }
.scene-opt .meta b { display: block; font-size: 12.5px; line-height: 1.25; }
.scene-opt .meta small { color: var(--dim); font-size: 10.5px; font-weight: 700; letter-spacing: .06em; }
.scene-opt .tick { position: absolute; top: 8px; right: 8px; width: 20px; height: 20px; border-radius: 50%; background: var(--lime); color: var(--ink); display: none; place-items: center; font-size: 11px; font-weight: 900; z-index: 5; }
.scene-opt[aria-pressed='true'] .tick { display: grid; }

.drops { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; }
.drops.one { grid-template-columns: minmax(0, 1fr); }
.drop { position: relative; border: 1.5px dashed #ffffff38; border-radius: 13px; background: #0f1115; aspect-ratio: 1; display: grid; place-items: center; cursor: pointer; overflow: hidden; text-align: center; padding: 12px; transition: border-color .15s, background .15s; }
.drop.over { border-color: var(--lime); background: #d9ff640f; }
.drop.filled { border-style: solid; border-color: var(--line-strong); padding: 0; }
.drop input[type='file'] { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.drop img { width: 100%; height: 100%; object-fit: cover; }
.drop .ph-i { display: grid; gap: 6px; justify-items: center; color: var(--muted); pointer-events: none; }
.drop .plus { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line-strong); font-size: 20px; color: var(--lime); }
.drop strong { font-size: 12.5px; color: #dfe2e6; }
.drop small { font-size: 10.5px; color: var(--dim); }
.drop .rm { position: absolute; top: 7px; right: 7px; width: 27px; height: 27px; border-radius: 50%; border: 0; background: #000b; color: #fff; cursor: pointer; z-index: 3; font-size: 15px; display: grid; place-items: center; }
.drop .role { position: absolute; left: 7px; bottom: 7px; background: #000b; border-radius: 6px; padding: 3px 7px; font-size: 9.5px; letter-spacing: .08em; font-weight: 800; z-index: 3; }
.hint { color: var(--dim); font-size: 12px; margin-top: 10px; }

.opt-scroll { display: flex; gap: 7px; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
.opt-scroll::-webkit-scrollbar { display: none; }
.opt { flex: 0 0 auto; border: 1px solid var(--line); background: #0f1115; color: #c9ccd1; border-radius: 10px; padding: 9px 13px; font-size: 12.5px; font-weight: 700; cursor: pointer; min-height: 38px; }
.opt[aria-pressed='true'] { background: #d9ff6414; border-color: var(--lime); color: var(--lime); }
.field { margin-top: 16px; }
.field:first-of-type { margin-top: 0; }
.field > label, .field > .flabel { display: block; font-size: 11px; letter-spacing: .12em; font-weight: 800; color: #b7bbc1; text-transform: uppercase; margin-bottom: 8px; }
.field input[type='text'] { width: 100%; background: #0f1115; border: 1px solid var(--line); border-radius: 10px; padding: 11px 13px; color: var(--text); font-size: 14px; min-height: 44px; }
.field input[type='text']:focus { outline: none; border-color: var(--lime); }
.field .help { display: block; color: var(--dim); font-size: 11.5px; margin-top: 6px; }
.toggle-row { display: grid; grid-template-columns: 1fr 1fr; gap: 7px; }

.consent { display: flex; gap: 12px; align-items: flex-start; font-size: 12.5px; color: #b9bdc4; line-height: 1.55; cursor: pointer; }
.consent input { width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--lime); flex: 0 0 auto; }
.consent a { color: var(--lime); }

.side { display: grid; gap: 12px; align-content: start; }
.summary { position: sticky; top: calc(var(--hdr) + 14px); }
.sum-row { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; font-size: 13px; color: var(--muted); border-bottom: 1px dashed #ffffff12; }
.sum-row b { color: var(--text); font-weight: 700; text-align: right; }
.tot { display: flex; justify-content: space-between; align-items: center; padding: 14px 0 4px; font-size: 13px; color: var(--muted); }
.tot b { font-family: 'Anton', sans-serif; font-size: 30px; color: var(--lime); letter-spacing: .01em; }
.pack-note { font-size: 12px; color: var(--dim); display: block; text-align: center; margin-top: 8px; line-height: 1.5; }
.hero-sample { position: relative; border-radius: 22px; overflow: hidden; border: 1px solid #ffffff1e; box-shadow: var(--shadow); background: #000; }
.hero-sample video { width: 100%; aspect-ratio: 9/16; object-fit: cover; display: block; }
.hero-sample .tag { position: absolute; left: 14px; top: 14px; background: var(--lime); color: var(--ink); font-size: 9.5px; letter-spacing: .12em; font-weight: 900; padding: 6px 9px; border-radius: 99px; z-index: 2; }
.hero-sample figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 16px 14px; background: linear-gradient(0deg, #000c, transparent); font-size: 11.5px; color: #e7e9ec; z-index: 2; }
.pack-note a { color: var(--lime); text-decoration: none; font-weight: 700; }
.status { font-size: 13px; color: #d3d7dd; min-height: 20px; margin-top: 10px; }
.status.err { color: #ff8d7a; }
.status.ok { color: var(--lime); }
.guarantee { display: flex; gap: 8px; align-items: center; font-size: 11.5px; color: var(--dim); margin-top: 12px; }
.guarantee::before { content: '↺'; color: var(--lime); font-size: 15px; }
.preview-phone { aspect-ratio: 9/16; max-width: 240px; margin: 0 auto; border-radius: 24px; border: 1px solid #ffffff26; overflow: hidden; box-shadow: var(--shadow); position: relative; background: #0d0f12; }
.preview-phone > #pv { position: absolute; inset: 0; }
.preview-phone .poster { position: absolute; inset: 0; height: 100%; aspect-ratio: auto; border-radius: 0; border: 0; }
.preview-phone .poster { height: 100%; aspect-ratio: auto; border-radius: 0; border: 0; }
.preview-phone .poster-person img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border-radius: inherit; }
.preview-phone .ph-tag { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); z-index: 6; background: #0b0c0fcc; border: 1px solid var(--line-strong); border-radius: 99px; padding: 6px 11px; font-size: 10px; letter-spacing: .1em; font-weight: 800; color: #dfe2e6; white-space: nowrap; }

/* ---------- result ---------- */
.result-grid { display: grid; gap: 22px; padding-bottom: 90px; }
.player { border-radius: 20px; overflow: hidden; border: 1px solid var(--line); background: #0c0d10; position: relative; aspect-ratio: 9/16; max-width: 340px; margin: 0 auto; width: 100%; }
.player video { width: 100%; height: 100%; object-fit: cover; background: #000; }
.player .poster { height: 100%; aspect-ratio: auto; border: 0; border-radius: 0; box-shadow: none; }
.status-timeline { display: grid; gap: 0; margin: 20px 0 6px; }
.step-line { display: grid; grid-template-columns: 26px 1fr; gap: 12px; align-items: start; }
.step-line .dot { width: 26px; height: 26px; border-radius: 50%; border: 1.5px solid #ffffff2c; display: grid; place-items: center; font-size: 11px; color: var(--dim); font-weight: 800; background: #0f1115; margin-bottom: 4px; }
.step-line .bar { position: absolute; }
.step-line.done .dot { background: var(--lime); border-color: var(--lime); color: var(--ink); }
.step-line.active .dot { border-color: var(--lime); color: var(--lime); animation: pulse 1.6s infinite; }
.step-line:not(:last-child) .dot-wrap::after { content: ''; display: block; width: 1.5px; height: 22px; background: #ffffff1a; margin: 0 auto; }
.step-line.done:not(:last-child) .dot-wrap::after { background: #d9ff6466; }
.dot-wrap { display: grid; justify-items: center; height: 100%; }
.step-line .t { padding: 3px 0 14px; }
.step-line .t b { font-size: 13.5px; display: block; }
.step-line .t small { color: var(--dim); font-size: 11.5px; }
.step-line.done .t b { color: #e9ecef; }
.step-line.active .t b { color: var(--lime); }
@keyframes pulse { 50% { box-shadow: 0 0 0 6px #d9ff6417; } }
.eta { display: inline-flex; gap: 7px; align-items: center; font-size: 12px; color: var(--dim); background: #101216; border: 1px solid var(--line); border-radius: 99px; padding: 6px 11px; }
.eta i { width: 6px; height: 6px; border-radius: 50%; background: var(--lime); animation: blink 1.2s infinite; display: inline-block; }
@keyframes blink { 50% { opacity: .25; } }
.result-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.meta-list { display: grid; gap: 7px; margin-top: 16px; }
.meta-list div { display: flex; justify-content: space-between; gap: 12px; border-bottom: 1px dashed #ffffff10; padding-bottom: 7px; font-size: 12.5px; color: var(--dim); }
.meta-list b { color: #dfe2e6; font-weight: 600; text-align: right; }
.bar-lyrics { background: #101216; border: 1px solid var(--line); border-radius: 12px; padding: 14px; margin-top: 14px; font-size: 13px; color: #cdd1d7; line-height: 1.7; white-space: pre-line; }

/* ---------- videos ---------- */
.vgrid { display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
.vcard { border: 1px solid var(--line); background: var(--panel); border-radius: 14px; overflow: hidden; display: flex; flex-direction: column; }
.vcard .thumb { aspect-ratio: 9/16; position: relative; background: #0d0f12; }
.vcard .thumb .poster { height: 100%; aspect-ratio: auto; border: 0; border-radius: 0; box-shadow: none; }
.vcard .thumb .poster-eq { display: none; }
.vcard .vb { padding: 11px 12px 12px; display: grid; gap: 7px; }
.vcard .vb b { font-size: 13px; }
.vcard .vb small { color: var(--dim); font-size: 11px; }
.vcard .vrow { display: flex; gap: 6px; }
.vcard .vrow .btn { flex: 1; }
.st { font-size: 10px; font-weight: 900; letter-spacing: .08em; padding: 3px 8px; border-radius: 99px; display: inline-block; width: fit-content; background: #ffffff12; color: #c9ccd1; }
.st.succeeded { background: #d9ff6420; color: var(--lime); }
.st.failed, .st.refunded, .st.expired { background: #ff7a2f20; color: #ffab7a; }
.st.paid, .st.submitting, .st.generating { background: #7fb3ff1a; color: #9cc6ff; }
.empty { border: 1px dashed var(--line-strong); border-radius: 16px; padding: 44px 22px; text-align: center; display: grid; gap: 8px; justify-items: center; }
.empty h2 { font-size: 30px; }
.empty p { color: var(--muted); font-size: 14px; max-width: 420px; }
.balance { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.balance b { font-family: 'Anton', sans-serif; font-size: 36px; color: var(--lime); }

/* ---------- pricing ---------- */
.pgrid { display: grid; gap: 12px; margin-bottom: 22px; }
.plan { position: relative; border: 1px solid var(--line); background: var(--panel); border-radius: 18px; padding: 22px; display: grid; gap: 12px; align-content: start; }
.plan.featured { border-color: #d9ff6475; background: linear-gradient(180deg, #1a2010, #121418 65%); }
.plan .flag { position: absolute; top: -11px; left: 18px; background: var(--lime); color: var(--ink); font-size: 9.5px; letter-spacing: .12em; font-weight: 900; padding: 5px 9px; border-radius: 99px; }
.plan h3 { font-family: 'Inter', sans-serif; font-size: 14px; text-transform: none; letter-spacing: 0; font-weight: 800; color: #dfe2e6; }
.plan .pr { font-family: 'Anton', sans-serif; font-size: 52px; line-height: .9; color: var(--text); }
.plan .pr small { font-family: 'Inter', sans-serif; font-size: 12px; color: var(--dim); font-weight: 600; margin-left: 6px; }
.plan .cr { font-size: 12.5px; color: var(--lime); font-weight: 700; }
.plan ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 7px; }
.plan li { font-size: 12.5px; color: var(--muted); display: flex; gap: 7px; }
.plan li::before { content: '✓'; color: var(--lime); }
.ptable { width: 100%; border-collapse: collapse; font-size: 13.5px; margin-bottom: 30px; }
.ptable th, .ptable td { text-align: left; padding: 12px 10px; border-bottom: 1px solid var(--line); }
.ptable th { font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--dim); font-weight: 800; }
.ptable td { color: #c9ccd1; }
.opt-sub { display: block; font-size: 10.5px; font-weight: 600; opacity: .7; margin-top: 2px; }
.section-h { font-family: 'Inter', sans-serif; font-size: 16px; text-transform: none; letter-spacing: 0; font-weight: 800; margin: 26px 0 12px; }

.legal { max-width: 760px; padding-bottom: 90px; }
.legal h2 { font-family: 'Inter', sans-serif; font-size: 20px; text-transform: none; letter-spacing: -.02em; font-weight: 800; margin: 30px 0 10px; }
.legal p, .legal li { color: #b4b8bf; font-size: 14px; }
.legal ul { padding-left: 20px; display: grid; gap: 7px; }
.todo { border: 1px solid #ff7a2f66; background: #ff7a2f12; color: #ffc0a0; border-radius: 10px; padding: 12px 14px; font-size: 12.5px; }

/* ---------- footer + mobile nav ---------- */
.ftr { border-top: 1px solid #ffffff14; padding: 36px 0 calc(84px + env(safe-area-inset-bottom)); margin-top: 30px; }
.ftr-grid { display: grid; gap: 22px; }
.ftr-grid > div { display: grid; gap: 7px; align-content: start; }
.ftr-grid strong { font-size: 11px; letter-spacing: .12em; color: var(--dim); text-transform: uppercase; }
.ftr-grid a { color: #c2c6cc; text-decoration: none; font-size: 13px; }
.ftr-grid a:hover { color: var(--lime); }
.ftr p.desc { color: var(--dim); font-size: 12.5px; max-width: 280px; margin-top: 8px; }
.fine { color: #6f747c; font-size: 11px; margin-top: 26px; }
.mnav { position: fixed; left: 0; right: 0; bottom: 0; z-index: 45; display: flex; background: #0b0c0fe8; backdrop-filter: blur(16px); border-top: 1px solid #ffffff16; padding-bottom: env(safe-area-inset-bottom); }
.mnav a { flex: 1; display: grid; place-items: center; gap: 2px; padding: 8px 0 10px; text-decoration: none; color: #9aa0a8; font-size: 10.5px; font-weight: 700; min-height: 56px; }
.mnav a span { font-size: 16px; line-height: 1; }
.mnav a[aria-current] { color: var(--lime); }
.toast { position: fixed; left: 50%; bottom: calc(76px + env(safe-area-inset-bottom)); transform: translateX(-50%) translateY(14px); background: #f2ffe0; color: var(--ink); padding: 11px 16px; border-radius: 10px; font-size: 13px; font-weight: 700; opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s; z-index: 80; max-width: calc(100% - 32px); text-align: center; box-shadow: var(--shadow); }
.toast.on { opacity: 1; transform: translateX(-50%) translateY(0); }
dialog { border: 1px solid var(--line-strong); background: #121418; color: var(--text); border-radius: 16px; padding: 22px; width: min(440px, calc(100% - 28px)); }
dialog::backdrop { background: #000a; backdrop-filter: blur(3px); }
dialog h2 { font-size: 30px; margin-bottom: 8px; }
dialog p { color: var(--muted); font-size: 14px; }
dialog .row { display: grid; gap: 8px; margin-top: 18px; }

/* ---------- desktop ---------- */
@media (min-width: 760px) {
  .wrap { width: min(calc(100% - 64px), var(--maxw)); }
  .nav { display: flex; }
  .burger { display: none; }
  .hero { padding: 64px 0 70px; }
  .hero-grid { grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 54px; }
  .poster-rail { display: grid; grid-template-columns: repeat(2, 1fr); }
  .poster-rail .poster { flex: auto; }
  .steps { grid-template-columns: repeat(3, 1fr); }
  .samples { grid-template-columns: repeat(3, 1fr); }
  .trust { grid-template-columns: repeat(3, 1fr); }
  .create-grid { grid-template-columns: minmax(0, 1.55fr) minmax(300px, .45fr); align-items: start; }
  .scene-pick { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .drops { grid-template-columns: 1fr 1fr; }
  .banner { grid-template-columns: 1.4fr .6fr; align-items: center; padding: 44px; }
  .banner .btn-orange { justify-self: end; }
  .result-grid { grid-template-columns: minmax(0, 340px) minmax(0, 1fr); gap: 40px; }
  .player { margin: 0; }
  .pgrid { grid-template-columns: repeat(3, 1fr); }
  .ftr-grid { grid-template-columns: 1.6fr repeat(3, 1fr); }
  .mnav { display: none; }
  .ftr { padding-bottom: 40px; }
  .vgrid { grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); }
  .toast { bottom: 26px; }
}
@media (min-width: 1100px) {
  .hero-grid { gap: 70px; }
  .poster-rail { grid-template-columns: 1fr 1fr; gap: 14px; }
  .sec { padding: 78px 0; }
  .samples { gap: 16px; }
  .scene-pick .meta b { font-size: 13.5px; }
}
@media (max-width: 380px) {
  .hero h1 { font-size: clamp(3rem, 12.5vw, 3.6rem); }
  .poster-caption h3 { font-size: 22px; }
  .scene-pick { grid-template-columns: 1fr 1fr; }
  .card { padding: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
}

/* mobile checkout bar */
@media (max-width: 759px) {
  .create-grid { padding-bottom: 168px; }
  .side { position: fixed; left: 0; right: 0; bottom: calc(56px + env(safe-area-inset-bottom)); z-index: 44; padding: 0 10px; }
  .summary { padding: 10px 12px 12px; background: #121418f7; backdrop-filter: blur(18px); border: 1px solid #ffffff2e; box-shadow: 0 -14px 40px #0008; border-radius: 16px; }
  .summary .preview-phone, .summary .sum-row, .summary .guarantee, .summary .pack-note { display: none; }
  .summary .tot { padding: 0 0 6px; }
  .summary .tot b { font-size: 22px; }
  .summary .tot span { font-size: 11.5px; }
  .summary .hint { display: none; }
  .summary .status { margin: 6px 0 0; font-size: 12px; }
  .summary #go { min-height: 48px; }
}

/* before → after proof */
.hero-sample .beforeafter { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; background: #0b0c0f; }
.hero-sample .ba-pane { position: relative; aspect-ratio: 9/16; overflow: hidden; background: #0d0f12; }
.hero-sample .ba-pane img, .hero-sample .ba-pane video { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero-sample .ba-label { position: absolute; left: 8px; bottom: 8px; background: #000c; border: 1px solid #ffffff33; border-radius: 99px; padding: 4px 9px; font-size: 9.5px; letter-spacing: .1em; font-weight: 900; color: #e9ecf0; z-index: 2; }
.hero-sample .ba-arrow { width: 34px; display: grid; place-items: center; color: var(--lime); font-size: 19px; background: #0b0c0f; align-self: stretch; }
.hero-sample .ba-controls { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; padding: 10px 12px; background: #121418; border-top: 1px solid #ffffff1a; font-size: 11px; color: #c7cbd1; }
.hero-sample .ba-controls span { color: #8d929a; }
.hero-sample .tag { top: 10px; left: 10px; }
@media (max-width: 759px) {
  .hero-sample .beforeafter { grid-template-columns: 1fr auto 1.15fr; }
  .hero-sample .ba-controls span { display: none; }
  .hero-sample figcaption { display: none; }
}

/* advanced options disclosure */
.adv { padding: 0; overflow: hidden; }
.adv > summary { list-style: none; cursor: pointer; padding: 18px 20px; display: flex; align-items: center; gap: 12px; }
.adv > summary::-webkit-details-marker { display: none; }
.adv > summary .card-step { flex: 1; min-width: 0; }
.adv > summary .card-step small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.adv-toggle { width: 30px; height: 30px; flex: 0 0 auto; border-radius: 50%; border: 1px solid var(--line-strong); display: grid; place-items: center; color: var(--lime); position: relative; }
.adv-toggle::before { content: '+'; font-size: 16px; line-height: 1; }
.adv[open] .adv-toggle::before { content: '–'; }
.adv-body { padding: 0 20px 20px; }
.adv-group + .adv-group { margin-top: 18px; border-top: 1px dashed #ffffff14; padding-top: 18px; }
.adv-group .card-step small { color: var(--dim); font-size: 11px; }
/* price teaser above the fold on create */
.price-line { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px; margin: 10px 0 0; font-size: 14px; color: var(--muted); }
.price-line b { font-family: 'Anton', sans-serif; font-size: 26px; color: var(--lime); letter-spacing: .01em; }

/* hero layout: copy → proof → CTA on mobile; copy left, proof right on desktop */
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 22px; }
.hero-grid .hero-top, .hero-grid .hero-bottom { display: grid; gap: 16px; align-content: start; }
.hero-top h1 { margin: 16px 0 0; font-size: clamp(2.9rem, 11.5vw, 5.2rem); }
.hero-grid .hero-sample { width: 100%; max-width: 520px; margin-inline: auto; }
.hero-grid .hero-meta { margin-top: 4px; }
@media (min-width: 900px) {
  .hero-grid { grid-template-columns: minmax(0, 1.02fr) minmax(0, .92fr); grid-template-areas: "top art" "bottom art"; column-gap: 56px; row-gap: 22px; align-items: start; }
  .hero-grid .hero-top { grid-area: top; }
  .hero-grid .hero-sample { grid-area: art; align-self: center; }
  .hero-grid .hero-bottom { grid-area: bottom; }
  .hero-top h1 { font-size: clamp(3.4rem, 5.1vw, 5.4rem); }
}
@media (max-width: 759px) {
  .hdr-right .btn-hot { display: none; }
  .brand { font-size: 16px; white-space: nowrap; }
  .card-step small { display: none; }
  .scene-opt .meta { padding: 9px 10px 10px; }
  .scene-opt .meta b { font-size: 12px; }
  .adv > summary .card-step small { display: block; }
}

/* photo guidance */
.photo-guide { display: grid; gap: 8px; margin-top: 12px; }
.pg { border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; display: grid; gap: 3px; background: #0f1115; }
.pg b { font-size: 12.5px; }
.pg.good b { color: var(--lime); }
.pg.bad b { color: #ff9b85; }
.pg span { font-size: 12px; color: var(--muted); line-height: 1.5; }
@media (min-width: 600px) { .photo-guide { grid-template-columns: 1fr 1fr; } }
/* confirmation */
.confirm-list { display: grid; gap: 0; margin: 14px 0 12px; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.confirm-list div { display: flex; justify-content: space-between; gap: 12px; padding: 10px 14px; font-size: 13px; color: var(--muted); border-bottom: 1px solid #ffffff10; background: #0f1115; }
.confirm-list div:last-child { border-bottom: 0; }
.confirm-list b { color: var(--text); text-align: right; }
.confirm-list .total { background: #d9ff6412; }
.confirm-list .total b { color: var(--lime); font-family: 'Anton', sans-serif; font-size: 22px; }
.confirm-note { font-size: 12px; color: var(--dim); line-height: 1.55; }
.drop .check { position: absolute; left: 7px; top: 7px; z-index: 3; background: #000c; border-radius: 6px; padding: 3px 7px; font-size: 9.5px; letter-spacing: .06em; font-weight: 800; color: var(--lime); }

.player-wrap { display: grid; gap: 10px; }
.player-bar { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; }
.player-err { position: absolute; inset: 0; display: grid; place-items: center; gap: 8px; background: #000c; color: #fff; text-align: center; padding: 20px; }
/* scene cards on home */
.scene-card { display: flex; flex-direction: column; border: 1px solid var(--line); background: var(--panel); border-radius: 17px; overflow: hidden; }
.scene-card[hidden] { display: none; }
.scene-thumb { position: relative; display: block; }
.scene-thumb .poster { border: 0; border-radius: 0; box-shadow: none; aspect-ratio: 4/5; }
.scene-thumb .poster-caption { display: none; }
.scene-play { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 46px; height: 46px; border-radius: 50%; background: #0b0c0fcc; border: 1px solid #ffffff55; display: grid; place-items: center; color: #fff; font-size: 16px; z-index: 4; }
.scene-body { padding: 14px 15px 16px; display: grid; gap: 7px; flex: 1; align-content: start; }
.scene-body small { color: var(--dim); font-size: 10px; letter-spacing: .12em; font-weight: 800; }
.scene-body h3 { font-size: 22px; letter-spacing: -.02em; }
.scene-body p { color: var(--muted); font-size: 13px; line-height: 1.5; }
.scene-facts { display: flex; flex-wrap: wrap; gap: 6px; margin: 2px 0 6px; }
.scene-facts span { font-size: 11px; font-weight: 700; color: #d6d9de; background: #ffffff10; border: 1px solid var(--line); border-radius: 99px; padding: 4px 9px; }
.scene-body .btn { margin-top: auto; }
.filters a.chip { text-decoration: none; }
@media (max-width: 379px) {
  .hdr-right .btn-ghost { display: none; }
  .hdr-in { gap: 10px; }
  .credits-pill { padding: 6px 9px; font-size: 11px; }
  .filters .chip { padding: 8px 11px; font-size: 12px; }
}
