:root {
  --bg: #0a0804;
  --card: #16110a;
  --line: rgba(228, 180, 58, 0.28);
  --ink: #FFF8E8;
  --muted: #C9B48A;
  --gold: #E4B43A;
  --gold-2: #C49216;
  --tg: #2AABEE;
  --tg-2: #1B8FCD;
  --go: #22c55e;
  --go-2: #16a34a;
  --accent: #E4B43A;
  --radius: 18px;
}

* { box-sizing: border-box; }
html, body { margin: 0; }
html {
  scroll-behavior: smooth;
  background: #070501;
}
body.app {
  position: relative;
  font-family: "Segoe UI", system-ui, sans-serif;
  width: 100%;
  max-width: 430px;
  margin: 0 auto;
  background: #070501;
  color: var(--ink);
  line-height: 1.5;
  min-height: 100vh;
  padding-bottom: 84px;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2 { line-height: 1.15; margin: 0 0 .55rem; }
p { margin: 0 0 .8rem; }

.wrap { width: min(430px, calc(100% - 24px)); margin: 0 auto; }

.top {
  position: sticky;
  top: 0;
  z-index: 30;
  display: grid;
  grid-template-columns: 42px 1fr 42px;
  align-items: center;
  min-height: 64px;
  padding: 8px 12px;
  background: rgba(6, 17, 31, 0.96);
  border-bottom: 1px solid rgba(59, 182, 245, 0.18);
  backdrop-filter: blur(12px);
}
.brand {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
}
.crown { display: none; }
.brand-copy { display: grid; gap: 1px; justify-items: center; min-width: 0; }
.wordmark {
  width: min(168px, 52vw);
  height: auto;
  display: block;
}
.brand-copy small {
  color: var(--accent);
  font-size: .58rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  font-weight: 700;
}
.desk-nav { display: none; }
.top-spacer { display: block; width: 42px; height: 42px; }
.menu-btn {
  width: 42px;
  height: 42px;
  border: 0;
  background: transparent;
  display: grid;
  gap: 5px;
  align-content: center;
  justify-items: center;
  padding: 10px;
}
.menu-btn span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
}
.drawer {
  position: sticky;
  top: 64px;
  z-index: 29;
  background: #0a1830;
  border-bottom: 1px solid var(--line);
  display: grid;
  padding: 8px 14px 12px;
}
.drawer[hidden] { display: none; }
.drawer a {
  padding: 10px 8px;
  border-bottom: 1px solid rgba(255,255,255,.06);
  font-weight: 700;
  color: var(--accent);
}

.hero {
  position: relative;
  width: 100%;
  overflow: hidden;
  background: #070501;
  min-height: min(54vh, 480px);
  height: min(58vh, 520px);
}
.hero-bg--pc { display: none; }
.hero-bg--mob {
  display: block;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}
.hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 42%;
  background: linear-gradient(180deg, transparent 0%, rgba(4, 11, 22, .45) 40%, rgba(4, 11, 22, .92) 100%);
  pointer-events: none;
  z-index: 1;
}
.hero-stage {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: 16px;
  z-index: 2;
  width: min(406px, calc(100% - 24px));
}
.hero-hits { position: relative; z-index: 2; }
.app.is-home .top {
  position: sticky;
  background: rgba(6, 17, 31, 0.96);
}

.page-head { padding: 18px 0 8px; }
.page-head h1 { font-size: 1.55rem; }
.eyebrow {
  color: var(--accent);
  letter-spacing: .14em;
  text-transform: uppercase;
  font-size: .68rem;
  font-weight: 800;
  margin-bottom: .45rem;
}
.lead { color: var(--muted); }
.crumbs { font-size: .82rem; color: var(--muted); display: flex; gap: 8px; margin-bottom: 10px; }
.crumbs a { color: var(--accent); font-weight: 700; }

.hits-wrap { padding: 14px 0 8px; }
.cta-pair { display: grid; gap: 10px; }
.hit {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 58px;
  padding: 9px 12px;
  border-radius: 18px;
  font-weight: 800;
  box-shadow: 0 10px 28px rgba(0,0,0,.35);
}
.hit-arr { font-size: 1.6rem; line-height: 1; opacity: .9; }
.hit-ico {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(255,255,255,.12);
  flex: 0 0 auto;
}
.hit-txt { display: grid; gap: 2px; flex: 1; }
.hit-txt b { font-size: .95rem; text-transform: uppercase; letter-spacing: .02em; }
.hit-txt small { font-weight: 600; font-size: .72rem; opacity: .9; }
.cta-home { max-width: 420px; }
.cta-home .hit-go { min-height: 64px; }
.hit-tg { background: linear-gradient(180deg, #3BB6F5, var(--tg-2)); color: #fff; }
.tab-crown {
  width: 44px;
  height: 44px;
  margin-top: -10px;
  border-radius: 50%;
  background: #120d06;
  border: 1px solid rgba(245, 166, 35, .45);
  display: grid !important;
  place-items: center;
  padding: 0 !important;
}
.tab-crown img { width: 28px; height: 28px; object-fit: contain; }
.incele-css {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border-radius: 16px;
  background: linear-gradient(90deg, #1a1408, #2a210f);
  border: 1px solid var(--line);
  color: #fff;
  margin: 0 0 18px;
}
.incele-css b { color: var(--gold); font-size: 1.05rem; }
.incele-css span { flex: 1; font-size: .82rem; color: var(--muted); }
.incele-css em { font-style: normal; font-weight: 800; color: #120d06; background: var(--gold); border-radius: 999px; padding: 6px 12px; }
.promo-tg { background: linear-gradient(180deg, #3BB6F5, var(--tg-2)) !important; }
.promo-win {
  order: 2;
  display: grid;
  gap: 14px;
  padding: 18px 16px;
  margin: 8px auto;
  background: linear-gradient(180deg, #10243f, #0c1c33);
  border: 1px solid var(--line);
  border-radius: 18px;
}
.promo-win h2 { font-size: 1.35rem; }
.promo-go {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 10px 18px;
  border-radius: 999px;
  font-weight: 800;
  background: linear-gradient(180deg, #34d399, var(--go-2));
  color: #fff;
  width: fit-content;
}
.hit-go { background: linear-gradient(180deg, #34d399, var(--go-2)); color: #fff; }
.hit.muted { opacity: .5; }

.home-flow {
  display: flex;
  flex-direction: column;
  width: 100%;
}
.cats-mob { order: 1; }
.split { order: 2; }
.feats { order: 3; }
.cats-desk { order: 4; }
.app-band { order: 5; }
.cats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  padding: 16px 0 8px;
}
.cats-desk { display: none; }
.cat {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  min-height: 86px;
  padding: 10px 6px;
  display: grid;
  justify-items: center;
  align-content: center;
  gap: 6px;
  text-align: center;
  font-size: .72rem;
}
.cat-ico {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: rgba(59, 182, 245, .12);
  font-size: 1.05rem;
}

.split { padding: 8px 0 16px; }
.split-copy h2 { font-size: 1.2rem; }
.split-copy p { color: var(--muted); }
.show-card {
  position: relative;
  display: block;
  border-radius: 18px;
  overflow: hidden;
  min-height: 168px;
  background: #081426;
  box-shadow: 0 12px 28px rgba(0,0,0,.32);
}
.show-card img, .show-card amp-img { width: 100%; height: 168px; object-fit: cover; }
.show-play {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #3BB6F5;
  color: #041018;
  display: grid;
  place-items: center;
  font-size: 1.1rem;
  z-index: 2;
}
.show-txt {
  position: absolute;
  left: 76px;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  display: grid;
  gap: 4px;
}
.show-txt b { font-size: .95rem; }
.show-txt small { color: #9BB3D1; font-size: .78rem; }
.show-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(6,17,31,.88), rgba(6,17,31,.35) 70%, rgba(6,17,31,.2));
}

.feats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  padding: 8px 0 18px;
}
.feat {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 14px 12px;
  display: grid;
  gap: 4px;
}
.feat span { font-size: 1.1rem; }
.feat b { font-size: .88rem; }
.feat small { color: var(--muted); font-size: .72rem; }

.app-band {
  background: linear-gradient(90deg, #0a1a33, #10284a);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 16px;
  margin-bottom: 22px;
  display: grid;
  gap: 12px;
}
.app-mark { width: 168px; height: auto; }
.app-copy b { display: block; letter-spacing: .08em; text-transform: uppercase; font-size: .82rem; margin: 6px 0; }
.app-copy p { margin: 0; color: var(--muted); font-size: .85rem; }
.app-btns { display: grid; gap: 8px; }
.store {
  display: grid;
  place-items: center;
  min-height: 44px;
  border-radius: 12px;
  background: #111827;
  border: 1px solid rgba(255,255,255,.12);
  font-weight: 800;
  font-size: .78rem;
}
.store-and { background: #14532d; }

.incele {
  display: block;
  margin: 0 0 18px;
  border-radius: 14px;
  overflow: hidden;
  line-height: 0;
  box-shadow: 0 10px 24px rgba(0,0,0,.28);
}
.incele img { width: 100%; height: auto; display: block; }
.incele-foot { padding: 0 0 8px; }

.seo-wrap { padding: 4px 0 28px; }
.seo-article {
  background: var(--card);
  border: 1px solid rgba(255,255,255,.06);
  border-radius: 20px;
  padding: 18px 16px 12px;
}
.seo-article h1 { font-size: 1.4rem; }
.seo-article h2 { font-size: 1.05rem; margin: 16px 0 8px; color: var(--accent); }
.seo-article p, .seo-article li { color: var(--muted); }
.seo-article a { color: var(--accent); font-weight: 700; }
.seo-toc { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 12px; }
.seo-toc a {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: .22rem .7rem;
  font-size: .78rem;
  color: var(--ink);
}
.steps { list-style: none; margin: 0; padding: 0; }
.steps li { display: flex; gap: 10px; margin-bottom: 10px; }
.steps span {
  flex: 0 0 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--gold-2);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: .75rem;
  font-weight: 800;
}
details { border-top: 1px solid rgba(255,255,255,.08); padding: 10px 0; }
summary { cursor: pointer; font-weight: 700; }
.related { margin-top: 18px; }
.related h2 { font-size: 1.05rem; color: var(--accent); }
.seo-dir { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 10px 0 0; }
.seo-dir a, .seo-dir span {
  display: inline-block;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: .28rem .7rem;
  font-size: .8rem;
  font-weight: 700;
}
.seo-dir span { color: var(--muted); font-weight: 600; }
.seo-tags h2 { font-size: 1.05rem; margin: 16px 0 8px; color: var(--accent); }
.foot-dir { justify-content: center; margin: 12px 0 0; }

.foot {
  text-align: center;
  padding: 18px 0 24px;
  color: var(--muted);
  font-size: .82rem;
  border-top: 1px solid rgba(255,255,255,.06);
}
.foot-mark { width: 210px; height: auto; margin: 0 auto 6px; }
.foot-brand small {
  display: block;
  color: var(--accent);
  letter-spacing: .14em;
  text-transform: uppercase;
  font-weight: 800;
  font-size: .62rem;
  margin-bottom: 10px;
}

.tabbar {
  position: fixed;
  left: 50%;
  transform: translateX(-50%);
  bottom: 0;
  width: min(430px, 100%);
  z-index: 40;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  background: #120d06;
  border-top: 1px solid rgba(59, 182, 245, 0.2);
  padding: 6px 4px calc(6px + env(safe-area-inset-bottom));
}
.tabbar a, .tabbar .tab-menu {
  display: grid;
  justify-items: center;
  gap: 3px;
  color: #6e87a6;
  font-size: .62rem;
  font-weight: 700;
  padding: 6px 2px;
  background: transparent;
  border: 0;
  font-family: inherit;
  cursor: pointer;
}
.tabbar a.is-on { color: var(--accent); }

.empty-page { text-align: center; padding: 48px 0; }
.empty-page .hit { justify-content: center; }

@media (min-width: 900px) {
  body.app {
    max-width: none;
    padding-bottom: 0;
  }
  .wrap { width: min(1180px, calc(100% - 48px)); }
  .tabbar { display: none; }
  .menu-btn, .top-spacer { display: none; }
  .drawer { display: none !important; }
  .top {
    display: flex;
    grid-template-columns: none;
    padding: 10px 28px;
    min-height: 72px;
    background: #120d06;
  }
  .brand { justify-content: flex-start; }
  .brand-copy { justify-items: start; }
  .desk-nav {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-left: auto;
    font-size: .88rem;
    font-weight: 700;
  }
  .desk-nav a { color: #d5e6f7; opacity: .9; }
  .desk-nav a:hover { color: #fff; }
  .nav-lang {
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: 6px 10px;
    font-size: .75rem;
    letter-spacing: .08em;
  }
  .wordmark { width: 196px; }
  .hero {
    min-height: 620px;
    height: min(78vh, 760px);
  }
  .hero-bg--mob { display: none; }
  .hero-bg--pc {
    display: block;
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
  }
  .hero::after {
    height: 36%;
    background: linear-gradient(180deg, transparent 0%, rgba(4, 11, 22, .55) 48%, rgba(4, 11, 22, .92) 100%);
  }
  .hero-stage {
    position: absolute;
    left: 50%;
    bottom: 36px;
    transform: translateX(-50%);
    width: min(1180px, calc(100% - 64px));
    margin: 0;
  }
  .nav-go {
    background: linear-gradient(180deg, #22c55e, #16a34a);
    color: #fff !important;
    border-radius: 999px;
    padding: 8px 16px;
    font-weight: 800;
    opacity: 1 !important;
  }
  .cta-pair {
    grid-template-columns: 320px 320px;
    gap: 14px;
    max-width: 680px;
  }
  .cta-home {
    grid-template-columns: 1fr;
    max-width: 420px;
  }
  .hit {
    min-height: 70px;
    padding: 12px 16px;
    border-radius: 18px;
  }
  .hits-wrap .cta-pair { max-width: 680px; }
  .cats-mob { display: none; }
  .feats { order: 1; }
  .promo-win { order: 2; }
  .split { order: 3; }
  .cats-desk { order: 4; }
  .app-band { order: 5; }
  .cats-desk {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    padding: 8px 0 22px;
  }
  .promo-win {
    grid-template-columns: 1fr auto;
    align-items: center;
    padding: 22px 28px;
  }
  .feats {
    grid-template-columns: repeat(4, 1fr);
    padding: 22px 0;
  }
  .split {
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    gap: 28px;
    align-items: center;
    padding: 8px 0 28px;
  }
  .split-copy h2 { font-size: 1.7rem; }
  .show-card { min-height: 220px; }
  .show-card img, .show-card amp-img { height: 220px; }
  .app-band {
    grid-template-columns: 1fr auto;
    align-items: center;
    padding: 22px 28px;
  }
  .app-btns { grid-template-columns: 1fr 1fr; min-width: 420px; }
}
