:root {
  --bg: #0b0b0d;
  --panel: #16161a;
  --panel-2: #1e1e24;
  --line: #2a2a31;
  --text: #f5f2ea;
  --muted: #a5a199;
  --hot: #ff3d2e;
  --hot-2: #ff6a4d;
  --gold: #f2c14e;
  --ok: #58d68d;
  --radius: 18px;
  --display: 'Anton', 'Impact', 'Arial Narrow Bold', sans-serif;
  --body: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 400 16px/1.5 var(--body); -webkit-font-smoothing: antialiased;
  min-height: 100dvh; display: flex; flex-direction: column;
}
a { color: inherit; }
img, video { display: block; max-width: 100%; }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3 { margin: 0; font-family: var(--display); font-weight: 400; text-transform: uppercase; letter-spacing: .01em; line-height: 1; }
p { margin: 0; }
main { flex: 1; width: 100%; max-width: 1080px; margin: 0 auto; padding: 0 16px 56px; outline: none; }
.loading { padding: 80px 0; text-align: center; color: var(--muted); }

/* banner + header */
#banner { background: var(--gold); color: #1a1400; font-weight: 600; font-size: 13px; text-align: center; padding: 8px 14px; }
.top { display: flex; align-items: center; justify-content: space-between; width: 100%; max-width: 1080px; margin: 0 auto; padding: 14px 16px; }
.top nav { display: flex; align-items: center; gap: 16px; font-size: 14px; font-weight: 600; }
.top nav a { text-decoration: none; color: var(--muted); }
.top nav a:hover { color: var(--text); }
.top nav .pill { color: var(--text); border: 1px solid var(--line); padding: 7px 14px; border-radius: 999px; }
.logo { display: inline-flex; gap: 5px; text-decoration: none; font-family: var(--display); font-size: 24px; letter-spacing: .02em; line-height: 1; }
.logo span:nth-child(2) { color: var(--hot); }
.logo.small { font-size: 18px; }

/* buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  background: var(--hot); color: #fff; border: 0; border-radius: 14px;
  padding: 15px 22px; font-weight: 700; font-size: 16px; text-decoration: none;
  transition: transform .12s ease, background .12s ease, opacity .12s ease;
}
.btn:hover { background: var(--hot-2); }
.btn:active { transform: scale(.98); }
.btn[disabled] { opacity: .45; cursor: not-allowed; }
.btn.big { width: 100%; font-size: 18px; padding: 18px 22px; }
.btn.ghost { background: transparent; border: 1px solid var(--line); color: var(--text); }
.btn.ghost:hover { background: var(--panel); }

/* hero */
.hero { display: grid; gap: 28px; align-items: center; padding: 18px 0 8px; }
.kicker { color: var(--gold); font-weight: 600; font-size: 14px; margin-bottom: 12px; }
.kicker a { color: inherit; }
.hero h1 { font-size: clamp(46px, 13vw, 92px); }
.hero h1 em { font-style: normal; color: var(--hot); }
.lede { color: var(--muted); font-size: 18px; margin: 16px 0 22px; max-width: 30em; }
.proof { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 18px 0 0; }
.proof li { font-size: 13px; font-weight: 600; color: var(--text); background: var(--panel); border: 1px solid var(--line); border-radius: 999px; padding: 6px 12px; }
.hero-reel { position: relative; width: min(100%, 320px); margin: 0 auto; aspect-ratio: 9 / 16; border-radius: 28px; overflow: hidden; background: var(--panel); border: 1px solid var(--line); box-shadow: 0 30px 80px -30px rgba(255, 61, 46, .45); }
.hero-reel video, .hero-reel img { width: 100%; height: 100%; object-fit: cover; }
.hero-reel .tag { position: absolute; left: 12px; bottom: 12px; background: rgba(0,0,0,.65); backdrop-filter: blur(6px); padding: 6px 10px; border-radius: 999px; font-size: 12px; font-weight: 600; }

/* sections */
section { padding-top: 44px; scroll-margin-top: 12px; }
.sec-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.sec-head h2 { font-size: 34px; }
.sec-head p { color: var(--muted); font-size: 14px; }

/* grid */
.grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.card { position: relative; display: block; text-decoration: none; border-radius: var(--radius); overflow: hidden; background: var(--panel); aspect-ratio: 9 / 16; border: 1px solid var(--line); }
.card video, .card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.card::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0) 45%, rgba(0,0,0,.85) 100%); }
.card.wide { grid-column: span 2; }
.grid { grid-auto-flow: dense; }
.card .info { position: absolute; left: 12px; right: 12px; bottom: 12px; z-index: 1; }
.card h3 { font-size: 22px; }
.card .price { display: inline-block; margin-top: 6px; font-weight: 700; font-size: 14px; }
.card .stat { position: absolute; top: 10px; left: 10px; z-index: 1; background: var(--gold); color: #1a1400; font-size: 11px; font-weight: 700; padding: 4px 8px; border-radius: 999px; }
.card:hover { border-color: var(--hot); }
.card.ask { grid-column: 1 / -1; aspect-ratio: auto; background: transparent; border: 2px dashed var(--line); padding: 18px; }
.card.ask::after { display: none; }
.card.ask .info { position: static; display: block; }
.card.ask .price { color: var(--muted); font-weight: 500; }

/* how + faq */
.steps { display: grid; gap: 12px; counter-reset: step; padding: 0; margin: 0; list-style: none; }
.steps li { counter-increment: step; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 18px 18px 66px; position: relative; }
.steps li::before { content: counter(step); position: absolute; left: 18px; top: 16px; font-family: var(--display); font-size: 34px; color: var(--hot); line-height: 1; }
.steps b { display: block; font-size: 17px; }
.steps span { color: var(--muted); font-size: 15px; }
.faq details { border-bottom: 1px solid var(--line); padding: 16px 0; }
.faq summary { cursor: pointer; font-weight: 600; font-size: 17px; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; color: var(--hot); font-weight: 700; }
.faq details[open] summary::after { content: '–'; }
.faq p { color: var(--muted); margin-top: 8px; }
.mine a { display: flex; align-items: center; gap: 12px; padding: 10px; border: 1px solid var(--line); border-radius: 14px; text-decoration: none; background: var(--panel); margin-bottom: 8px; }
.mine img { width: 40px; height: 56px; object-fit: cover; border-radius: 8px; }
.mine small { color: var(--muted); display: block; }

/* template page */
.back { display: inline-block; margin: 6px 0 14px; color: var(--muted); text-decoration: none; font-weight: 600; font-size: 14px; }
.tpl { display: grid; gap: 22px; }
.tpl-video { position: relative; width: min(100%, 340px); margin: 0 auto; aspect-ratio: 9 / 16; border-radius: 24px; overflow: hidden; background: var(--panel); border: 1px solid var(--line); }
.tpl-video video { width: 100%; height: 100%; object-fit: cover; }
.tpl.wide .tpl-video { width: 100%; max-width: 560px; }
.sound { position: absolute; right: 10px; bottom: 10px; background: rgba(0,0,0,.65); border: 0; border-radius: 999px; padding: 8px 12px; font-size: 13px; font-weight: 600; backdrop-filter: blur(6px); }
.tpl-form h1 { font-size: clamp(38px, 10vw, 56px); }
.hook { color: var(--muted); font-size: 17px; margin-top: 8px; }
.meta { color: var(--gold); font-size: 13px; font-weight: 600; margin-top: 8px; }
.step { margin-top: 24px; }
.step h3 { font-family: var(--body); text-transform: none; font-weight: 700; font-size: 17px; display: flex; align-items: center; gap: 10px; margin-bottom: 12px; letter-spacing: 0; }
.step h3 i { font-style: normal; display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--hot); font-size: 14px; }
.drop { display: flex; align-items: center; gap: 14px; width: 100%; text-align: left; border: 2px dashed var(--line); background: var(--panel); border-radius: var(--radius); padding: 16px; cursor: pointer; }
.drop:hover, .drop.over { border-color: var(--hot); }
.drop .thumb { flex: none; width: 72px; height: 96px; border-radius: 12px; background: var(--panel-2) center / cover no-repeat; display: grid; place-items: center; font-size: 28px; color: var(--muted); }
.drop b { display: block; font-size: 16px; }
.drop span { color: var(--muted); font-size: 14px; }
.tips { list-style: none; padding: 0; margin: 12px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 6px 12px; font-size: 13px; color: var(--muted); }
.tips li::before { content: '✓ '; color: var(--ok); font-weight: 700; }
.tiers { display: grid; gap: 10px; }
.tier { display: flex; align-items: center; gap: 12px; border: 2px solid var(--line); background: var(--panel); border-radius: var(--radius); padding: 14px 16px; cursor: pointer; }
.tier input { accent-color: var(--hot); width: 20px; height: 20px; flex: none; }
.tier:has(input:checked) { border-color: var(--hot); background: #1f1413; }
.tier .t-main { flex: 1; }
.tier b { font-size: 16px; }
.tier b em { font-style: normal; color: var(--muted); font-weight: 600; font-size: 13px; margin-left: 2px; }
.tier .pop { display: inline-block; margin-left: 8px; background: var(--gold); color: #1a1400; font-size: 10.5px; font-weight: 700; padding: 2px 7px; border-radius: 999px; vertical-align: 2px; white-space: nowrap; }
.tier small { display: block; color: var(--muted); font-size: 13px; }
.tier .t-price { font-family: var(--display); font-size: 26px; }
.ai-note { margin-top: 22px; border: 1px solid #4a3d16; background: #1d1809; color: #e9dcae; border-radius: 14px; padding: 12px 14px; font-size: 14px; }
.ai-note b { color: var(--gold); }
.warn { margin-top: 10px; color: var(--gold); font-size: 13.5px; font-weight: 500; }
.consent { display: flex; gap: 10px; align-items: flex-start; margin: 16px 0 16px; font-size: 14px; color: var(--muted); cursor: pointer; }
.consent input { accent-color: var(--hot); width: 20px; height: 20px; flex: none; margin-top: 1px; }
.fine { color: var(--muted); font-size: 12.5px; margin-top: 10px; }
.error { color: #ff8b80; font-weight: 600; font-size: 14px; margin-top: 12px; }
.adminline { margin-top: 14px; font-size: 13px; color: var(--gold); display: flex; gap: 8px; align-items: center; }

/* order page */
.order { max-width: 520px; margin: 0 auto; text-align: center; padding-top: 12px; }
.order h1 { font-size: clamp(38px, 11vw, 60px); }
.order .sub { color: var(--muted); margin-top: 10px; font-size: 17px; }
.order .frame { position: relative; width: min(100%, 320px); aspect-ratio: 9 / 16; margin: 22px auto; border-radius: 24px; overflow: hidden; background: var(--panel); border: 1px solid var(--line); }
.order .frame.wide { width: 100%; max-width: 520px; }
.order .frame img, .order .frame video { width: 100%; height: 100%; object-fit: cover; }
.order .frame.busy img { filter: blur(14px) brightness(.55); transform: scale(1.1); }
.order .pulse { position: absolute; inset: 0; display: grid; place-items: center; align-content: center; gap: 12px; font-weight: 700; }
.spinner { width: 46px; height: 46px; border-radius: 50%; border: 4px solid rgba(255,255,255,.2); border-top-color: var(--hot); animation: spin 1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.bar { height: 6px; border-radius: 99px; background: var(--panel-2); overflow: hidden; margin: 6px auto 0; max-width: 320px; }
.bar i { display: block; height: 100%; width: 8%; background: var(--hot); border-radius: 99px; transition: width 1s linear; }
.actions { display: grid; gap: 10px; max-width: 320px; margin: 0 auto; }
.note { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px; margin: 18px auto 0; max-width: 420px; font-size: 14px; color: var(--muted); text-align: left; }
.note b { color: var(--text); }

/* text pages + admin */
.doc { max-width: 680px; margin: 0 auto; }
.doc h1 { font-size: 44px; margin: 10px 0 18px; }
.doc h2 { font-family: var(--body); text-transform: none; font-weight: 700; font-size: 18px; margin: 22px 0 6px; letter-spacing: 0; }
.doc p, .doc li { color: var(--muted); }
.admin input { background: var(--panel); border: 1px solid var(--line); color: var(--text); border-radius: 12px; padding: 12px 14px; font: inherit; width: min(100%, 320px); }
.kpis { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin: 18px 0; }
.kpi { background: var(--panel); border: 1px solid var(--line); border-radius: 14px; padding: 14px; }
.kpi b { font-family: var(--display); font-size: 30px; display: block; }
.kpi span { color: var(--muted); font-size: 13px; }
.tablewrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 14px; }
table { border-collapse: collapse; width: 100%; font-size: 13px; }
th, td { text-align: left; padding: 9px 12px; border-bottom: 1px solid var(--line); white-space: nowrap; }
th { color: var(--muted); font-weight: 600; }
td.wrap { white-space: normal; min-width: 220px; color: var(--muted); }
.s-done { color: var(--ok); } .s-failed { color: #ff8b80; } .s-released { color: var(--muted); } .s-generating, .s-paid, .s-starting, .s-finalizing { color: var(--gold); }

/* footer */
.foot { border-top: 1px solid var(--line); padding: 22px 16px 34px; width: 100%; max-width: 1080px; margin: 0 auto; }
.foot-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.foot nav { display: flex; gap: 16px; font-size: 14px; }
.foot nav a { color: var(--muted); text-decoration: none; }

@media (min-width: 760px) {
  main { padding: 0 24px 80px; }
  .hero { grid-template-columns: 1.25fr .75fr; padding-top: 34px; gap: 40px; }
  .grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
  .steps { grid-template-columns: repeat(3, 1fr); }
  .tpl { grid-template-columns: 340px 1fr; gap: 44px; align-items: start; }
  .tpl.wide { grid-template-columns: minmax(0, 1.1fr) 1fr; }
  .tpl-video { position: sticky; top: 20px; margin: 0; }
  .kpis { grid-template-columns: repeat(4, 1fr); }
  .sec-head h2 { font-size: 44px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .spinner { animation-duration: 3s; }
  .btn { transition: none; }
}
