:root {
  --bg: #0d0b08;
  --panel: #18140e;
  --line: #3a2f1c;
  --gold: #f2b632;
  --gold-2: #ffd56b;
  --ink: #f7efe0;
  --muted: #b9aa8c;
  --sky: #5fc8ff;
  --grass: #6bd16b;
  --red: #ff5a4e;
  --radius: 14px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: "Rubik", system-ui, sans-serif; font-size: 17px; line-height: 1.65;
  direction: rtl; text-align: right;
}
a { color: var(--gold-2); }
img, video { max-width: 100%; display: block; }
.wrap { width: min(1080px, 100%); margin: 0 auto; padding: 0 16px; }
.narrow { width: min(720px, 100%); padding-top: 40px; padding-bottom: 60px; }
.back { display: inline-block; margin-bottom: 16px; text-decoration: none; color: var(--muted); }

/* --- hero --- */
.hero {
  position: relative; overflow: hidden; padding: 56px 0 48px;
  background:
    linear-gradient(180deg, rgba(13,11,8,0) 55%, var(--bg) 100%),
    repeating-linear-gradient(90deg, rgba(255,255,255,.035) 0 2px, transparent 2px 6px),
    radial-gradient(1200px 500px at 70% 0%, #3b2a0a 0%, transparent 60%),
    var(--bg);
  border-bottom: 2px solid var(--line);
}
.hero .wrap { display: grid; grid-template-columns: 1.1fr .9fr; gap: 32px; align-items: center; }
.kicker { color: var(--gold); font-weight: 700; letter-spacing: .02em; margin: 0 0 6px; }
.hero h1 { font-size: clamp(38px, 7vw, 68px); line-height: 1.05; margin: 0 0 14px; font-weight: 900; }
.hero h1 span { color: var(--gold); text-shadow: 3px 3px 0 #7a4b00; }
.hero p.lead { font-size: 19px; color: var(--muted); margin: 0 0 22px; max-width: 34ch; }
.hero-art {
  aspect-ratio: 4/3; border: 3px solid var(--gold); border-radius: 6px;
  box-shadow: 8px 8px 0 #7a4b00; background: #1d2a1d; image-rendering: pixelated;
  display: grid; place-items: center; color: var(--muted); font-size: 14px; overflow: hidden;
}
.hero-art img { width: 100%; height: 100%; object-fit: cover; image-rendering: pixelated; }

.cta-row { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  background: var(--gold); color: #1a1205; font-weight: 900; font-size: 19px; text-decoration: none;
  padding: 14px 26px; border: 0; border-radius: 8px; cursor: pointer;
  box-shadow: 0 5px 0 #8a5a00; transition: transform .08s, box-shadow .08s; font-family: inherit;
}
.btn:hover { background: var(--gold-2); }
.btn:active { transform: translateY(4px); box-shadow: 0 1px 0 #8a5a00; }
.btn[disabled] { opacity: .6; cursor: wait; }
.price-tag { font-weight: 900; font-size: 22px; }
.price-tag small { font-weight: 400; color: var(--muted); font-size: 14px; }
.badges { display: flex; gap: 8px; margin-top: 16px; flex-wrap: wrap; }
.badge { border: 1px solid var(--line); border-radius: 999px; padding: 4px 12px; font-size: 14px; color: var(--muted); }

/* --- sections --- */
section { padding: 56px 0; border-bottom: 1px solid var(--line); }
section h2 { font-size: clamp(26px, 4vw, 36px); margin: 0 0 20px; font-weight: 900; }
section h2::before { content: "▶ "; color: var(--gold); font-size: .7em; vertical-align: middle; }

.trailer { border: 3px solid var(--gold); border-radius: 6px; overflow: hidden; background: #000; aspect-ratio: 16/9; }
.trailer video { width: 100%; height: 100%; object-fit: cover; }

.features { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.feature { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.feature .ico { font-size: 30px; line-height: 1; margin-bottom: 8px; }
.feature h3 { margin: 0 0 6px; font-size: 20px; }
.feature p { margin: 0; color: var(--muted); }

.shots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.shots figure { margin: 0; aspect-ratio: 4/3; background: var(--panel); border: 2px solid var(--line); border-radius: 6px; overflow: hidden; display: grid; place-items: center; color: var(--muted); font-size: 13px; }
.shots img { width: 100%; height: 100%; object-fit: cover; image-rendering: pixelated; }

/* --- buy --- */
.buy-box { background: var(--panel); border: 2px solid var(--gold); border-radius: var(--radius); padding: 24px; display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.buy-box ul { margin: 0; padding: 0 20px 0 0; color: var(--muted); }
.big-price { font-size: 52px; font-weight: 900; color: var(--gold); line-height: 1; margin: 6px 0; }
form label { display: block; font-size: 15px; margin: 12px 0 4px; color: var(--muted); }
form input[type=text], form input[type=email], form input[type=tel] {
  width: 100%; padding: 12px 14px; border-radius: 8px; border: 1px solid var(--line);
  background: #0f0c08; color: var(--ink); font: inherit; direction: rtl;
}
form input[type=email], form input[type=tel] { direction: ltr; text-align: right; }
form input:focus { outline: 2px solid var(--gold); border-color: transparent; }
.check { display: flex; gap: 8px; align-items: flex-start; font-size: 14px; color: var(--muted); margin-top: 12px; }
.check input { margin-top: 5px; accent-color: var(--gold); }
.form-error { color: var(--red); min-height: 1.4em; margin: 10px 0 0; font-size: 15px; }
.secure { font-size: 13px; color: var(--muted); margin-top: 10px; }

.notice { background: #13202a; border: 1px solid #22445a; color: #cfeaff; border-radius: 10px; padding: 12px 16px; margin-bottom: 18px; font-size: 15px; }
.mobile-only { display: none; }
@media (max-width: 820px), (pointer: coarse) { .mobile-only { display: block; } }

/* --- specs / faq --- */
table.specs { width: 100%; border-collapse: collapse; }
table.specs th, table.specs td { padding: 10px 12px; border-bottom: 1px solid var(--line); text-align: right; vertical-align: top; }
table.specs th { color: var(--gold); font-weight: 700; }
details { background: var(--panel); border: 1px solid var(--line); border-radius: 10px; padding: 14px 16px; margin-bottom: 10px; }
summary { cursor: pointer; font-weight: 700; }
details p { color: var(--muted); margin: 8px 0 0; }

.lost { display: flex; gap: 10px; flex-wrap: wrap; }
.lost input { flex: 1 1 240px; }
.lost .btn { font-size: 16px; padding: 12px 20px; }

footer { padding: 32px 0 48px; color: var(--muted); font-size: 14px; }
footer nav { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 10px; }

/* --- download page --- */
.dl { display: flex; gap: 12px; flex-wrap: wrap; margin: 20px 0; }
.note { color: var(--muted); font-size: 15px; }

/* --- legal --- */
.legal h2 { margin-top: 40px; }
.legal h3 { margin: 24px 0 6px; color: var(--gold); font-size: 19px; }
.legal table { width: 100%; border-collapse: collapse; margin: 12px 0; font-size: 15px; }
.legal td, .legal th { border: 1px solid var(--line); padding: 8px 10px; text-align: right; vertical-align: top; }
.legal th { background: var(--panel); }

@media (max-width: 820px) {
  .hero .wrap, .buy-box { grid-template-columns: 1fr; }
  .hero { padding-top: 32px; }
  .features { grid-template-columns: 1fr; }
  .shots { grid-template-columns: 1fr 1fr; }
  section { padding: 40px 0; }
}

/* --- accessibility --- */
.skip { position: absolute; right: 16px; top: -60px; z-index: 100; background: var(--gold); color: #1a1205; font-weight: 700; padding: 10px 16px; border-radius: 8px; text-decoration: none; }
.skip:focus { top: 12px; }
.sr { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
:focus-visible { outline: 3px solid var(--gold-2); outline-offset: 3px; }
.btn.full { width: 100%; }
.form-error.ok { color: var(--gold-2); }
.ts { margin-top: 12px; min-height: 0; }
main:focus { outline: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; animation: none !important; }
}
