:root {
  --bg: #263040;
  --bg-2: #1c2636;
  --card: #1c2636;
  --line: rgba(253, 152, 0, 0.28);
  --gold: #fd9800;
  --gold-2: #e08700;
  --text: #ffffff;
  --muted: #a7b7d7;
  --danger: #ff6b7a;
  --ok: #2fa33f;
  --ink: #1a090c;
  --shadow: 0 18px 50px rgba(0, 0, 0, 0.35);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Be Vietnam Pro", "Montserrat", system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}
img { max-width: 100%; height: auto; }
a { color: var(--gold); text-decoration: none; }
a:hover { color: #ffc56a; }
.wrap { width: min(1120px, calc(100% - 32px)); margin: 0 auto; }

.topbar {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(14px);
  background: rgba(38, 48, 64, 0.92);
  border-bottom: 1px solid var(--line);
}
.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  gap: 16px;
}
.brand img { height: 48px; width: auto; display: block; }
.nav { display: flex; gap: 18px; align-items: center; }
.nav a { color: var(--text); font-weight: 600; font-size: 14px; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 12px;
  padding: 12px 18px;
  font-weight: 700;
  cursor: pointer;
  font-size: 15px;
}
.btn-gold {
  background: linear-gradient(180deg, #ffb24d, var(--gold));
  color: var(--ink);
  box-shadow: 0 8px 24px rgba(253, 152, 0, 0.32);
}
.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--line);
}
.btn[disabled] { opacity: .65; cursor: wait; }

.hero {
  position: relative;
  padding: 36px 0 28px;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(38, 48, 64, .35), rgba(38, 48, 64, .94)),
    url("/images/bg.jpg") center/cover no-repeat;
}
.hero-single { max-width: 760px; }
.kicker {
  display: inline-block;
  color: var(--gold);
  letter-spacing: .12em;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.hero h1 {
  margin: 0 0 12px;
  font-size: clamp(28px, 5vw, 46px);
  line-height: 1.15;
}
.hero p.lead { color: var(--muted); margin: 0 0 18px; font-size: 17px; }
.hero-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 18px; }
.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chip {
  border: 1px solid var(--line);
  background: rgba(28, 38, 54, .78);
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 13px;
  color: var(--muted);
}
.section { padding: 42px 0; }
.section h2 { margin: 0 0 8px; font-size: 28px; }
.section .intro { color: var(--muted); margin: 0 0 22px; }
.grid-4, .grid-3 { display: grid; gap: 16px; }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 18px;
}
.card h3 { margin: 0 0 8px; font-size: 18px; }
.card p { margin: 0; color: var(--muted); }
.download {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 20px;
  align-items: center;
}
.store-btns { display: flex; gap: 12px; flex-wrap: wrap; }
.btn-store {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 168px;
  min-height: 52px;
  padding: 12px 18px;
  border-radius: 14px;
  font-weight: 800;
  font-size: 15px;
  text-decoration: none;
  border: 1px solid var(--line);
}
.btn-store-web {
  background: linear-gradient(180deg, #ffb24d, var(--gold));
  color: var(--ink);
  box-shadow: 0 8px 24px rgba(253, 152, 0, 0.32);
}
.btn-store-web:hover { color: var(--ink); }
.btn-store-android {
  background: #1a3a24;
  color: #c8f3d0;
  border-color: rgba(47, 163, 63, .4);
}
.btn-store-android:hover { color: #e9fff0; }
.btn-store-ios {
  background: #1c2636;
  color: #d7e4ff;
  border-color: rgba(167, 183, 215, .28);
}
.btn-store-ios:hover { color: #fff; }
.steps li { margin-bottom: 8px; }

.seo {
  background: var(--bg-2);
  border-top: 1px solid var(--line);
}
.seo h2, .seo h3 { color: var(--gold); }
.seo p, .seo li { color: #d7e0ee; }
.faq details {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px 16px;
  margin-bottom: 10px;
}
.faq summary { cursor: pointer; font-weight: 700; }

.footer {
  border-top: 1px solid var(--line);
  padding: 28px 0 88px;
  background: #1a222e;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 20px;
  align-items: start;
}
.ft-logo img { height: 48px; }
.copy { text-align: center; color: #8ea0b8; font-size: 13px; margin-top: 22px; }

.float-bar {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 50;
  display: none;
  gap: 8px;
  padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
  background: rgba(26, 34, 46, .96);
  border-top: 1px solid var(--line);
}
.float-bar .btn { flex: 1; }

#ios-instructions {
  display: none;
  position: fixed;
  bottom: 0; left: 0; width: 100%;
  background: rgba(0,0,0,.92);
  color: #fff;
  padding: 20px;
  z-index: 80;
  text-align: center;
  border-top: 2px solid var(--gold-2);
}
#ios-instructions .share-icon {
  width: 24px; height: 24px; vertical-align: middle; margin: 0 5px;
  background: #fff; border-radius: 4px;
}
#ios-instructions .close-btn {
  background: var(--gold-2); color: #000; border: 0; padding: 8px 20px;
  border-radius: 6px; font-weight: 700; cursor: pointer;
}

@media (max-width: 900px) {
  .nav { display: none; }
  .hero {
    background-image:
      linear-gradient(180deg, rgba(38, 48, 64, .45), rgba(38, 48, 64, .96)),
      url("/images/bg-mobile.jpg");
  }
  .download, .footer-grid, .grid-4, .grid-3 { grid-template-columns: 1fr; }
  .float-bar { display: flex; }
  .btn-store { flex: 1 1 100%; }
}
