:root {
  --bg: #0d1f17;
  --bg-alt: #12291f;
  --surface: #173326;
  --border: #24493a;
  --gold: #e6b84f;
  --gold-soft: #f3d88f;
  --text: #f2efe6;
  --muted: #b5c2b9;
  --radius: 16px;
  --max: 1100px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: "Poppins", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 20px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 10;
  background: rgba(13, 31, 23, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; color: var(--text); font-size: 1.1rem; }
.brand:hover { text-decoration: none; }
.brand .mini-icon {
  width: 34px; height: 34px; border-radius: 9px;
  background: linear-gradient(135deg, var(--gold), #b5862a);
  display: grid; place-items: center; color: var(--bg); font-weight: 800; font-size: .8rem;
  overflow: hidden;
}
.brand .mini-icon img { width: 100%; height: 100%; object-fit: cover; }
.nav-links { display: flex; gap: 22px; list-style: none; font-size: .95rem; }
.nav-links a { color: var(--muted); }
.nav-links a:hover { color: var(--gold); text-decoration: none; }

/* ---------- Hero ---------- */
.hero {
  padding: 80px 0 64px;
  background:
    radial-gradient(circle at 80% 10%, rgba(230, 184, 79, 0.12), transparent 45%),
    radial-gradient(circle at 10% 90%, rgba(230, 184, 79, 0.08), transparent 40%);
}
.hero-inner { display: grid; grid-template-columns: auto 1fr; gap: 40px; align-items: center; }

.app-icon {
  width: 180px; height: 180px; border-radius: 40px;
  border: 2px dashed var(--gold);
  background: var(--surface);
  display: grid; place-items: center; text-align: center;
  color: var(--gold-soft); font-size: .85rem; padding: 12px;
  overflow: hidden; box-shadow: 0 20px 50px rgba(0, 0, 0, .35);
}
.app-icon img { width: 100%; height: 100%; object-fit: cover; }
.app-icon:has(img) { border: none; padding: 0; }

.hero h1 { font-size: clamp(2rem, 5vw, 3.2rem); line-height: 1.15; margin-bottom: 8px; }
.hero h1 span { color: var(--gold); }
.hero .dev { color: var(--muted); margin-bottom: 18px; }
.hero .dev strong { color: var(--text); }
.hero p.lead { color: var(--muted); max-width: 560px; font-size: 1.05rem; }

.badges { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.badge {
  border: 1px solid var(--border); background: var(--bg-alt);
  padding: 6px 14px; border-radius: 999px; font-size: .85rem; color: var(--gold-soft);
}
.badge.age { border-color: #a8433a; color: #ffb3a8; }

/* ---------- Sections ---------- */
section { padding: 64px 0; }
section.alt { background: var(--bg-alt); }
.section-title { font-size: clamp(1.5rem, 3vw, 2rem); margin-bottom: 8px; }
.section-sub { color: var(--muted); margin-bottom: 36px; max-width: 640px; }

.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 20px; }
.card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 24px;
}
.card .ico { font-size: 1.6rem; margin-bottom: 10px; }
.card h3 { font-size: 1.1rem; margin-bottom: 6px; }
.card p { color: var(--muted); font-size: .95rem; }

/* Screenshots — 1080 × 2400 (9:20) portrait images */
.screens {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 28px;
}
.shot {
  width: 260px; max-width: calc(50% - 14px);
  aspect-ratio: 9 / 20; border-radius: 24px;
  border: 2px dashed var(--border); background: var(--surface);
  display: grid; place-items: center; text-align: center;
  color: var(--muted); font-size: .9rem; padding: 12px;
  scroll-snap-align: start; overflow: hidden;
}
.shot img { width: 100%; height: 100%; object-fit: cover; }
.shot:has(img) { border: 1px solid var(--border); padding: 0; box-shadow: 0 20px 50px rgba(0, 0, 0, .35); }

.info-table { width: 100%; border-collapse: collapse; background: var(--surface); border-radius: var(--radius); overflow: hidden; }
.info-table th, .info-table td { text-align: left; padding: 14px 20px; border-bottom: 1px solid var(--border); vertical-align: top; }
.info-table tr:last-child th, .info-table tr:last-child td { border-bottom: none; }
.info-table th { width: 38%; color: var(--muted); font-weight: 500; }

.notice {
  border-left: 4px solid var(--gold); background: var(--surface);
  padding: 20px 24px; border-radius: 0 var(--radius) var(--radius) 0; color: var(--muted);
}
.notice strong { color: var(--text); }
.notice p + p { margin-top: 10px; }

/* ---------- Policy page ---------- */
.policy { padding: 56px 0 72px; }
.policy .container { max-width: 820px; }
.policy h1 { font-size: clamp(1.8rem, 4vw, 2.6rem); margin-bottom: 6px; }
.policy .updated { color: var(--muted); margin-bottom: 32px; }
.policy h2 { font-size: 1.3rem; color: var(--gold-soft); margin: 36px 0 12px; }
.policy h3 { font-size: 1.05rem; margin: 20px 0 8px; }
.policy p, .policy li { color: var(--muted); }
.policy p + p { margin-top: 12px; }
.policy ul { padding-left: 22px; margin: 10px 0; }
.policy li { margin-bottom: 6px; }
.policy strong { color: var(--text); }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--border); padding: 32px 0; color: var(--muted); font-size: .9rem; }
.footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; }
.footer-links { display: flex; gap: 18px; flex-wrap: wrap; }

/* ---------- Responsive ---------- */
@media (max-width: 720px) {
  .nav-links { gap: 14px; font-size: .85rem; }
  .nav-links .hide-sm { display: none; }
  .hero { padding: 48px 0 40px; }
  .hero-inner { grid-template-columns: 1fr; text-align: center; justify-items: center; }
  .hero p.lead { margin: 0 auto; }
  .badges { justify-content: center; }
  .app-icon { width: 140px; height: 140px; border-radius: 32px; }
  .info-table th, .info-table td { display: block; width: 100%; padding: 10px 16px; }
  .info-table th { border-bottom: none; padding-bottom: 0; }
  .footer-inner { flex-direction: column; text-align: center; align-items: center; }
}
