:root {
  --bg: #090d15;
  --bg-elev: #101826;
  --text: #e8efff;
  --muted: #9fb0d6;
  --line: rgba(136, 168, 222, 0.22);
  --color-border: rgba(136, 168, 222, 0.22);
  --card: rgba(16, 25, 40, 0.78);
  --accent: #46d7ff;
  --accent-2: #4d7dff;
  --focus: #7ce4ff;
  --shadow: 0 12px 28px rgba(0, 0, 0, 0.28);
  --shadow-soft: 0 10px 22px rgba(0, 0, 0, 0.24);
  --r-sm: 10px;
  --r-md: 14px;
  --r-lg: 18px;
  --radius-xl: 18px;
  --s-1: 0.5rem;
  --s-2: 0.75rem;
  --s-3: 1rem;
  --s-4: 1.5rem;
  --s-5: 2rem;
  --s-6: 2.8rem;
  --max: 1120px;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: radial-gradient(circle at 95% 0%, rgba(70, 215, 255, 0.12), transparent 38%),
    radial-gradient(circle at 8% -10%, rgba(86, 126, 255, 0.16), transparent 44%),
    var(--bg);
  line-height: 1.6;
}
a { color: var(--accent); text-decoration: none; }
a:hover { color: #86eaff; }
.container { width: min(100% - 1.5rem, var(--max)); margin-inline: auto; }
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(4, 10, 24, 0.88);
  border-bottom: 1px solid rgba(120, 160, 255, 0.12);
  backdrop-filter: blur(10px);
}
.container.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  min-height: 72px;
  padding: 0.85rem 0;
  flex-wrap: nowrap;
}
.site-header .brand {
  flex: 0 1 auto;
  min-width: 0;
  max-width: 42%;
  color: #f5f7ff;
  font-weight: 800;
  font-size: 1.05rem;
  line-height: 1.1;
  text-decoration: none;
  letter-spacing: -0.02em;
}
.site-header .brand:hover,
.site-header .brand:focus-visible {
  color: #f5f7ff;
}
.brand span { color: var(--accent); }
.site-header__actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.45rem;
  flex: 1 0 auto;
  min-width: 0;
}
.header-action {
  appearance: none;
  box-sizing: border-box;
  border: 1px solid rgba(130, 170, 255, 0.2);
  border-radius: 0.9rem;
  height: 40px;
  padding: 0 0.78rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  white-space: nowrap;
  text-decoration: none;
  font-family: inherit;
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.01em;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
  transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease, filter 0.2s ease;
  cursor: pointer;
  flex-shrink: 0;
}
.header-action:hover,
.header-action:focus-visible {
  transform: translateY(-1px);
}
.header-action--apk {
  color: #ecfeff;
  background: linear-gradient(135deg, rgba(18, 193, 232, 0.92), rgba(34, 211, 238, 0.78));
  border-color: rgba(103, 232, 249, 0.35);
}
.header-action--apk:hover,
.header-action--apk:focus-visible {
  color: #ecfeff;
  filter: brightness(1.05);
}
.header-action--bonus {
  color: #f8fbff;
  background: linear-gradient(135deg, rgba(67, 97, 238, 0.95), rgba(92, 124, 250, 0.82));
  border-color: rgba(146, 166, 255, 0.34);
}
.header-action--bonus:hover,
.header-action--bonus:focus-visible {
  color: #f8fbff;
  filter: brightness(1.05);
}
.header-action--menu {
  color: #f5f7ff;
  background: rgba(18, 27, 49, 0.72);
  border-color: rgba(130, 170, 255, 0.2);
}
.header-action--menu:hover,
.header-action--menu:focus-visible {
  color: #f5f7ff;
  background: rgba(22, 34, 58, 0.85);
  border-color: rgba(150, 180, 255, 0.28);
}
.menu-toggle {
  font: inherit;
}
.site-header__nav {
  width: min(100% - 1.5rem, var(--max));
  margin-inline: auto;
}
.site-header__nav .nav {
  display: none;
  width: 100%;
  margin: 0;
  padding: 0;
  border: none;
  background: transparent;
}
.site-header__nav .nav.open {
  display: block;
  margin-top: 0.75rem;
  margin-bottom: 0.65rem;
  padding: 0.65rem 0.75rem;
  border: 1px solid rgba(120, 160, 255, 0.14);
  border-radius: 0.9rem;
  background: rgba(6, 12, 26, 0.86);
  backdrop-filter: blur(10px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.22);
}
.nav ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 0.35rem; }
.nav a {
  display: block; padding: 0.48rem 0.6rem; border-radius: var(--r-sm); color: var(--text);
  text-decoration: none;
}
.nav a:hover { color: var(--text); }
.nav a.active, .nav a:hover { background: rgba(77, 125, 255, 0.2); }
@media (max-width: 820px) {
  .container.header-inner {
    min-height: 68px;
    gap: 0.65rem;
  }
  .site-header .brand {
    max-width: 32%;
    font-size: 0.93rem;
    letter-spacing: -0.025em;
  }
  .site-header__actions {
    gap: 0.42rem;
  }
  .header-action {
    height: 38px;
    padding: 0 0.68rem;
    font-size: 0.74rem;
    border-radius: 0.82rem;
  }
}
@media (max-width: 640px) {
  .container.header-inner {
    gap: 0.55rem;
  }
  .site-header .brand {
    max-width: 32%;
    font-size: 0.87rem;
  }
  .header-action {
    height: 36px;
    padding: 0 0.58rem;
    font-size: 0.7rem;
    border-radius: 0.78rem;
  }
  .site-header__actions {
    gap: 0.38rem;
  }
}
@media (max-width: 420px) {
  .container.header-inner {
    gap: 0.5rem;
  }
  .site-header .brand {
    max-width: 32%;
    font-size: 0.82rem;
    line-height: 1.08;
  }
  .header-action {
    min-width: auto;
    height: 34px;
    padding: 0 0.5rem;
    font-size: 0.66rem;
    border-radius: 0.72rem;
  }
  .site-header__actions {
    gap: 0.34rem;
  }
}
main { padding: var(--s-5) 0 var(--s-6); }
h1, h2, h3 { margin-top: 0; line-height: 1.22; }
h1 { font-size: clamp(1.7rem, 3.8vw, 2.35rem); margin-bottom: 0.8rem; }
h2 { font-size: clamp(1.2rem, 2.5vw, 1.65rem); margin-bottom: 0.65rem; }
p { margin-top: 0; color: var(--muted); }
.hero, .card, .cta, .apk-strip {
  border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--card);
  box-shadow: var(--shadow);
}
.hero { padding: var(--s-5); background: linear-gradient(160deg, rgba(19, 31, 51, 0.9), rgba(11, 17, 30, 0.9)); }
.split-section {
  display: grid;
  gap: 1.25rem;
  align-items: center;
}
.hero-media,
.section-media {
  margin: 0;
}
.hero-media img,
.section-media img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--radius-xl);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-soft);
}
.hero-media {
  max-width: 420px;
  justify-self: center;
}
.section-media {
  max-width: 560px;
}
.section-media--wide {
  max-width: 760px;
}
.badge {
  display: inline-block; margin-bottom: var(--s-2); border: 1px solid rgba(70, 215, 255, 0.35);
  border-radius: 999px; padding: 0.24rem 0.64rem; color: #b7f3ff; font-size: 0.78rem;
}
.section { margin-top: var(--s-5); }
.card-grid { display: grid; gap: var(--s-3); }
.card { padding: var(--s-4); border-radius: var(--r-md); }
.compare-table {
  width: 100%; border-collapse: collapse; border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden;
}
.compare-table th, .compare-table td {
  padding: 0.7rem; text-align: left; border-bottom: 1px solid var(--line); font-size: 0.95rem;
}
.compare-table th { background: rgba(77, 125, 255, 0.14); }
.cta, .apk-strip { padding: var(--s-4); }
.cta { background: linear-gradient(150deg, rgba(16, 35, 60, 0.84), rgba(12, 20, 35, 0.9)); }
.apk-strip { background: linear-gradient(145deg, rgba(11, 28, 46, 0.9), rgba(10, 18, 32, 0.9)); }
.btn {
  display: inline-flex; margin-top: var(--s-2); align-items: center; justify-content: center;
  border-radius: 999px; padding: 0.64rem 0.98rem; color: #fff; font-weight: 650;
  border: 1px solid rgba(77, 125, 255, 0.5); background: linear-gradient(120deg, var(--accent-2), #2f5ce0);
}
.btn.download {
  border-color: rgba(70, 215, 255, 0.56); background: linear-gradient(120deg, #12b2d4, #1086a8);
}
.read-next ul, .quick-links {
  margin: var(--s-2) 0 0; padding: 0; list-style: none; display: grid; gap: 0.45rem;
}
.read-next a, .quick-links a {
  display: block; border: 1px solid var(--line); border-radius: var(--r-sm);
  padding: 0.56rem 0.7rem; color: var(--text); background: rgba(15, 22, 36, 0.62);
}
.faq-item { border: 1px solid var(--line); border-radius: var(--r-sm); margin-bottom: 0.6rem; background: rgba(14, 22, 36, 0.8); }
.faq-question { margin: 0; }
.faq-button {
  width: 100%; text-align: left; background: transparent; border: 0; color: var(--text);
  padding: 0.75rem; font: inherit; cursor: pointer;
}
.faq-answer { display: none; padding: 0 0.75rem 0.8rem; }
.faq-item.open .faq-answer { display: block; }
.site-footer { border-top: 1px solid var(--line); padding: 1.25rem 0 1.8rem; margin-top: var(--s-5); }
.muted-note { color: #8ea2cc; font-size: 0.91rem; }
button:focus-visible,
a:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 2px;
}
button.header-action:focus-visible,
a.header-action:focus-visible {
  outline: 2px solid rgba(125, 211, 252, 0.85);
  outline-offset: 2px;
}
@media (min-width: 768px) {
  .container.header-inner {
    min-height: 64px;
    padding: 0.75rem 0;
  }
  .site-header__nav .nav {
    display: block;
    margin-top: 0;
    margin-bottom: 0;
    padding: 0.5rem 0 var(--s-2);
    border: none;
    border-radius: 0;
    border-top: 1px solid rgba(120, 160, 255, 0.1);
    background: transparent;
    box-shadow: none;
    backdrop-filter: none;
  }
  .site-header__nav .nav.open {
    margin-top: 0;
    margin-bottom: 0;
    padding: 0.5rem 0 var(--s-2);
    border: none;
    border-top: 1px solid rgba(120, 160, 255, 0.1);
    border-radius: 0;
    background: transparent;
    box-shadow: none;
  }
  .nav ul { display: flex; flex-wrap: wrap; gap: 0.2rem; align-items: center; }
  .card-grid.cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .card-grid.cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .quick-links { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (min-width: 821px) {
  .container.header-inner {
    gap: 0.75rem;
  }
  .site-header .brand {
    flex: 1 1 auto;
  }
  .site-header__actions {
    flex: 0 0 auto;
  }
}
@media (min-width: 900px) {
  .split-section {
    grid-template-columns: 1.15fr 0.85fr;
  }
  .split-section--wide {
    grid-template-columns: 1fr;
  }
}
