:root {
  color-scheme: dark;
  --bg: #07070a;
  --panel: #121219;
  --panel-strong: #191923;
  --text: #f7f2f6;
  --muted: #aaa2ad;
  --line: rgba(255, 255, 255, 0.11);
  --pink: #ff3f96;
  --cyan: #34d7ff;
  --amber: #ffb55a;
  --red: #ff4d5e;
  --green: #75f0aa;
  font-family:
    Inter, "PingFang SC", "Microsoft YaHei", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at 10% 5%, rgba(255, 63, 150, 0.28), transparent 26rem),
    radial-gradient(circle at 83% 16%, rgba(52, 215, 255, 0.18), transparent 25rem),
    linear-gradient(180deg, #07070a 0%, #0d0d12 44%, #08080b 100%);
  color: var(--text);
}

a {
  color: inherit;
  text-decoration: none;
}

.age-bar {
  display: flex;
  justify-content: center;
  gap: 18px;
  padding: 8px 18px;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 77, 94, 0.12);
  color: #ffe6ea;
  font-size: 13px;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 18px 0;
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 20px;
  font-weight: 800;
}

.brand-mark {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  background: linear-gradient(135deg, var(--pink), #7d4dff 55%, var(--cyan));
  box-shadow: 0 0 30px rgba(255, 63, 150, 0.32);
}

.nav {
  display: flex;
  align-items: center;
  gap: 28px;
  color: var(--muted);
  font-size: 14px;
}

.nav a:hover {
  color: var(--text);
}

.ghost-button,
.primary-button,
.secondary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 20px;
  border-radius: 8px;
  font-weight: 800;
  white-space: nowrap;
}

.ghost-button {
  border: 1px solid var(--line);
  color: #fff;
}

.primary-button {
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: linear-gradient(135deg, var(--pink), #7e55ff);
  box-shadow: 0 18px 40px rgba(255, 63, 150, 0.25);
}

.secondary-button {
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.08);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.96fr) minmax(360px, 0.8fr);
  align-items: center;
  gap: 52px;
  width: min(1180px, calc(100% - 32px));
  min-height: calc(100vh - 96px);
  margin: 0 auto;
  padding: 42px 0 74px;
}

.hero-copy {
  position: relative;
  z-index: 1;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--cyan);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 760px;
  margin-bottom: 22px;
  font-size: clamp(42px, 7vw, 82px);
  line-height: 0.96;
  letter-spacing: 0;
}

.lead {
  max-width: 650px;
  margin-bottom: 28px;
  color: #d6ccd6;
  font-size: 20px;
  line-height: 1.7;
}

.hero-actions,
.store-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.trust-row span {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 12px;
  background: rgba(255, 255, 255, 0.05);
  color: #ddd5df;
  font-size: 13px;
}

.phone-stage {
  position: relative;
  display: grid;
  min-height: 620px;
  place-items: center;
}

.ambient {
  position: absolute;
  border-radius: 999px;
  filter: blur(6px);
  opacity: 0.65;
}

.ambient-one {
  width: 310px;
  height: 310px;
  background: rgba(255, 63, 150, 0.22);
  transform: translate(-96px, -80px);
}

.ambient-two {
  width: 260px;
  height: 260px;
  background: rgba(52, 215, 255, 0.18);
  transform: translate(120px, 106px);
}

.phone {
  position: relative;
  width: min(360px, 100%);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 34px;
  padding: 22px;
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.13), transparent 36%),
    #101018;
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.55);
}

.phone-speaker {
  width: 78px;
  height: 5px;
  margin: 0 auto 22px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.22);
}

.app-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
  font-weight: 900;
}

.app-head button {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
}

.app-head svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.featured-card,
.poster,
.mini-thumb {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background-size: cover;
}

.featured-card {
  display: flex;
  align-items: end;
  min-height: 220px;
  border-radius: 12px;
  padding: 18px;
  background: #111118;
}

.featured-card img,
.mini-thumb img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.featured-card::before,
.mini-thumb::before {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.04), rgba(0, 0, 0, 0.82));
  content: "";
  z-index: 1;
}

.play-dot {
  position: absolute;
  top: 18px;
  left: 18px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #fff;
  z-index: 2;
}

.play-dot::after {
  position: absolute;
  top: 12px;
  left: 16px;
  width: 0;
  height: 0;
  border-top: 9px solid transparent;
  border-bottom: 9px solid transparent;
  border-left: 13px solid #111;
  content: "";
}

.featured-card span {
  position: relative;
  font-size: 22px;
  font-weight: 900;
  z-index: 2;
}

.mini-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 12px;
}

.mini-thumb {
  min-height: 112px;
  border-radius: 10px;
  background: #111118;
}

.tone-a {
  background: radial-gradient(circle at 62% 28%, #ffb55a, transparent 32%), linear-gradient(135deg, #27213a, #11131f);
}

.tone-b {
  background: radial-gradient(circle at 40% 36%, #34d7ff, transparent 30%), linear-gradient(135deg, #23142a, #11131f);
}

.tone-c {
  background: radial-gradient(circle at 55% 26%, #ff3f96, transparent 34%), linear-gradient(135deg, #252525, #18121c);
}

.tone-d {
  background: radial-gradient(circle at 50% 32%, #75f0aa, transparent 27%), linear-gradient(135deg, #231c28, #12161d);
}

.app-tabs {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 18px;
}

.app-tabs span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.22);
}

.app-tabs .active {
  width: 24px;
  border-radius: 99px;
  background: var(--pink);
}

.metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  border-block: 1px solid var(--line);
}

.metrics div {
  padding: 28px 16px;
  border-right: 1px solid var(--line);
}

.metrics div:last-child {
  border-right: 0;
}

.metrics strong {
  display: block;
  margin-bottom: 8px;
  font-size: 30px;
}

.metrics span {
  color: var(--muted);
}

.section {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 90px 0 0;
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: flex-start;
  gap: 24px;
  margin-bottom: 18px;
}

.section h2,
.download-panel h2 {
  margin-bottom: 0;
  font-size: clamp(30px, 4vw, 46px);
  letter-spacing: 0;
}

.video-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.channel-card,
.video-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.055);
}

.channel-card {
  min-height: 210px;
  padding: 22px;
}

.channel-icon {
  display: inline-flex;
  margin-bottom: 34px;
  color: var(--amber);
  font-weight: 900;
}

.channel-card h3,
.video-card h3 {
  margin-bottom: 10px;
  font-size: 21px;
}

.channel-card p,
.video-card p,
.download-panel p {
  color: var(--muted);
  line-height: 1.65;
}

.video-card {
  overflow: hidden;
}

.category-nav {
  display: grid;
  grid-template-columns: repeat(9, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 34px;
}

.category-nav button {
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 16px;
  background: rgba(255, 255, 255, 0.055);
  color: #d9d0dc;
  font: inherit;
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
  white-space: nowrap;
  transition:
    border-color 160ms ease,
    background 160ms ease,
    color 160ms ease,
    transform 160ms ease;
}

.category-nav button:hover,
.category-nav button.active {
  border-color: rgba(255, 181, 90, 0.55);
  background: rgba(255, 181, 90, 0.14);
  color: #fff;
}

.category-nav button.active {
  box-shadow: 0 14px 34px rgba(255, 181, 90, 0.12);
}

.category-stack {
  display: grid;
  gap: 34px;
}

.category-block {
  padding-bottom: 10px;
}

.category-title {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 16px;
}

.category-title > span {
  display: grid;
  min-width: 46px;
  height: 46px;
  place-items: center;
  border: 1px solid rgba(255, 181, 90, 0.35);
  border-radius: 8px;
  color: var(--amber);
  background: rgba(255, 181, 90, 0.08);
  font-weight: 900;
}

.category-title h3 {
  margin-bottom: 6px;
  font-size: 24px;
}

.category-title p {
  max-width: 680px;
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.7;
}

.preview-card {
  display: block;
  min-width: 0;
  transition:
    border-color 160ms ease,
    transform 160ms ease,
    background 160ms ease;
}

.preview-card:hover {
  border-color: rgba(255, 63, 150, 0.5);
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-2px);
}

.poster {
  min-height: 230px;
  border-width: 0 0 1px;
  background: #09090d;
}

.poster::before {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, transparent 40%, rgba(0, 0, 0, 0.82)),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.04) 0 1px, transparent 1px 10px);
  content: "";
  pointer-events: none;
  z-index: 1;
}

.poster span {
  position: absolute;
  right: 12px;
  bottom: 12px;
  border-radius: 6px;
  padding: 5px 8px;
  background: rgba(0, 0, 0, 0.72);
  font-size: 12px;
  font-weight: 900;
  z-index: 2;
}

.poster-one {
  background: radial-gradient(circle at 58% 30%, #ffb55a, transparent 28%), linear-gradient(135deg, #21172b, #10131b);
}

.poster-two {
  background: radial-gradient(circle at 45% 28%, #34d7ff, transparent 30%), linear-gradient(135deg, #161f2e, #21101d);
}

.poster-three {
  background: radial-gradient(circle at 62% 34%, #ff3f96, transparent 32%), linear-gradient(135deg, #2a1b1f, #12121a);
}

.poster-four {
  background: radial-gradient(circle at 48% 24%, #75f0aa, transparent 25%), linear-gradient(135deg, #171e26, #201322);
}

.preview-card .poster {
  aspect-ratio: 16 / 10;
  min-height: 0;
}

.poster video {
  display: block;
  width: 100%;
  height: 100%;
  background: #09090d;
  object-fit: cover;
}

.tone-noir.poster-variant-1 .poster {
  background: radial-gradient(circle at 35% 24%, rgba(255, 63, 150, 0.68), transparent 26%), linear-gradient(135deg, #121119, #050507);
}

.tone-noir.poster-variant-2 .poster {
  background: radial-gradient(circle at 72% 30%, rgba(52, 215, 255, 0.45), transparent 24%), linear-gradient(135deg, #19131f, #07070a);
}

.tone-noir.poster-variant-3 .poster {
  background: radial-gradient(circle at 48% 36%, rgba(255, 181, 90, 0.58), transparent 28%), linear-gradient(135deg, #171016, #090a10);
}

.tone-noir.poster-variant-4 .poster {
  background: radial-gradient(circle at 58% 18%, rgba(117, 240, 170, 0.42), transparent 22%), linear-gradient(135deg, #111820, #07070a);
}

.tone-noir.poster-variant-5 .poster {
  background: radial-gradient(circle at 62% 34%, rgba(255, 77, 94, 0.58), transparent 30%), linear-gradient(135deg, #20151b, #08080c);
}

.tone-china.poster-variant-1 .poster,
.tone-japan.poster-variant-3 .poster {
  background: radial-gradient(circle at 58% 28%, rgba(255, 181, 90, 0.78), transparent 28%), linear-gradient(135deg, #2a1830, #10131b);
}

.tone-china.poster-variant-2 .poster,
.tone-korea.poster-variant-4 .poster {
  background: radial-gradient(circle at 45% 24%, rgba(255, 63, 150, 0.72), transparent 30%), linear-gradient(135deg, #24131f, #10131b);
}

.tone-china.poster-variant-3 .poster,
.tone-euro.poster-variant-2 .poster {
  background: radial-gradient(circle at 66% 34%, rgba(52, 215, 255, 0.62), transparent 30%), linear-gradient(135deg, #171e2c, #131018);
}

.tone-china.poster-variant-4 .poster,
.tone-japan.poster-variant-1 .poster {
  background: radial-gradient(circle at 48% 22%, rgba(255, 212, 236, 0.68), transparent 26%), linear-gradient(135deg, #2b1d28, #11131c);
}

.tone-china.poster-variant-5 .poster,
.tone-korea.poster-variant-2 .poster {
  background: radial-gradient(circle at 70% 28%, rgba(126, 85, 255, 0.7), transparent 28%), linear-gradient(135deg, #21172b, #10131b);
}

.tone-japan.poster-variant-2 .poster,
.tone-euro.poster-variant-4 .poster {
  background: radial-gradient(circle at 42% 32%, rgba(255, 118, 180, 0.74), transparent 28%), linear-gradient(135deg, #271829, #11141c);
}

.tone-japan.poster-variant-4 .poster,
.tone-korea.poster-variant-1 .poster {
  background: radial-gradient(circle at 60% 26%, rgba(52, 215, 255, 0.62), transparent 26%), linear-gradient(135deg, #131e2c, #21101d);
}

.tone-japan.poster-variant-5 .poster,
.tone-euro.poster-variant-3 .poster {
  background: radial-gradient(circle at 50% 30%, rgba(117, 240, 170, 0.58), transparent 25%), linear-gradient(135deg, #171f22, #201322);
}

.tone-korea.poster-variant-3 .poster,
.tone-euro.poster-variant-1 .poster {
  background: radial-gradient(circle at 64% 25%, rgba(255, 181, 90, 0.72), transparent 26%), linear-gradient(135deg, #291820, #11131f);
}

.tone-korea.poster-variant-5 .poster,
.tone-euro.poster-variant-5 .poster {
  background: radial-gradient(circle at 46% 24%, rgba(255, 63, 150, 0.75), transparent 30%), linear-gradient(135deg, #2a1b1f, #12121a);
}

.video-card h3,
.video-card p {
  padding-inline: 18px;
}

.video-card h3 {
  padding-top: 18px;
}

.video-card p {
  padding-bottom: 18px;
}

.video-meta {
  display: grid;
  gap: 9px;
  padding: 16px 18px 18px;
}

.video-card .video-meta h3,
.video-card .video-meta p {
  padding: 0;
}

.video-card .video-meta h3 {
  margin-bottom: 0;
}

.video-card .video-meta p {
  min-height: 54px;
  margin-bottom: 0;
  padding-bottom: 0;
  font-size: 14px;
}

.rating-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 11px;
  color: #d6ccd6;
  font-size: 13px;
}

.rating-row span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.rating-row strong {
  color: var(--amber);
  white-space: nowrap;
}

.load-more-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  margin-top: 4px;
  border: 1px solid rgba(255, 181, 90, 0.45);
  border-radius: 8px;
  background: rgba(255, 181, 90, 0.12);
  color: #fff;
  font-size: 14px;
  font-weight: 900;
}

.download-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  width: min(1180px, calc(100% - 32px));
  margin: 90px auto 0;
  padding: 36px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 63, 150, 0.18), rgba(52, 215, 255, 0.08)),
    rgba(255, 255, 255, 0.055);
}

.download-panel p {
  max-width: 670px;
  margin: 14px 0 0;
}

footer {
  display: flex;
  justify-content: space-between;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 42px 0;
  color: var(--muted);
  font-size: 14px;
}

.download-modal {
  position: fixed;
  inset: 0;
  z-index: 30;
  display: grid;
  place-items: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms ease;
}

.download-modal.show {
  opacity: 1;
  pointer-events: auto;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(12px);
}

.modal-card {
  position: relative;
  z-index: 1;
  width: min(460px, 100%);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  padding: 32px;
  background:
    linear-gradient(135deg, rgba(255, 63, 150, 0.22), rgba(52, 215, 255, 0.08)),
    #15151d;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.58);
}

.modal-card h2 {
  margin-bottom: 14px;
  font-size: clamp(30px, 6vw, 46px);
  line-height: 1.05;
}

.modal-card p:not(.eyebrow) {
  margin-bottom: 22px;
  color: #d6ccd6;
  line-height: 1.7;
}

.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}

body.guide-active {
  background:
    radial-gradient(circle at 12% 2%, rgba(255, 63, 150, 0.18), transparent 26rem),
    radial-gradient(circle at 88% 8%, rgba(52, 215, 255, 0.14), transparent 24rem),
    linear-gradient(180deg, #0a0a10 0%, #11111a 48%, #08080b 100%);
}

body.guide-active > .age-bar,
body.guide-active > .topbar,
body.guide-active > main,
body.guide-active > footer,
body.guide-active > .download-modal {
  display: none;
}

.install-guide-page {
  min-height: 100vh;
  padding: 28px 16px 64px;
}

.guide-shell {
  width: min(1180px, 100%);
  margin: 0 auto;
}

.guide-nav-card,
.guide-apk-card,
.guide-section-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.035)),
    rgba(18, 18, 25, 0.94);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.34);
}

.guide-nav-card {
  margin-bottom: 24px;
  padding: 18px 22px;
}

.guide-back-button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 0;
  background: transparent;
  color: #dce7ff;
  font: inherit;
  font-size: 18px;
  font-weight: 900;
  cursor: pointer;
}

.guide-back-button svg,
.guide-download-button svg,
.guide-note svg,
.guide-apk-icon svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.guide-apk-card {
  padding: 46px 44px;
  background:
    linear-gradient(135deg, rgba(255, 63, 150, 0.16), rgba(52, 215, 255, 0.08)),
    #121219;
}

.guide-apk-head {
  display: grid;
  grid-template-columns: 82px 1fr auto;
  align-items: center;
  gap: 24px;
  margin-bottom: 38px;
}

.guide-apk-icon {
  display: grid;
  width: 76px;
  height: 76px;
  place-items: center;
  border: 1px solid rgba(255, 63, 150, 0.34);
  border-radius: 8px;
  background: rgba(255, 63, 150, 0.12);
  color: #ff8bbd;
}

.guide-apk-head h2 {
  margin: 0;
  font-size: clamp(34px, 5vw, 52px);
  line-height: 1.05;
}

.guide-apk-head p {
  margin: 8px 0 0;
  color: #b9d9ff;
}

.guide-apk-head span {
  display: inline-block;
  margin-top: 18px;
  padding: 10px 14px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.07);
  color: #ddd5df;
}

.guide-apk-head > strong {
  align-self: center;
  padding: 10px 16px;
  border: 1px solid rgba(117, 240, 170, 0.42);
  border-radius: 999px;
  background: rgba(117, 240, 170, 0.12);
  color: var(--green);
  white-space: nowrap;
}

.guide-file-grid,
.install-steps,
.brand-tabs,
.accessibility-grid,
.guide-bottom-cards {
  display: grid;
  gap: 16px;
}

.guide-file-grid {
  grid-template-columns: repeat(3, 1fr);
}

.guide-file-grid > div,
.guide-step-card,
.guide-info-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.045);
}

.guide-file-grid > div {
  padding: 20px;
}

.guide-file-grid span {
  display: block;
  margin-bottom: 12px;
  color: var(--muted);
}

.guide-file-grid strong {
  color: #fff;
  font-size: 18px;
}

.guide-section-card {
  margin-top: 24px;
  padding: 34px;
}

.guide-section-card h3 {
  margin: 0 0 18px;
  font-size: 28px;
}

.guide-subtle {
  margin-bottom: 20px;
  color: #d6ccd6;
  font-size: 18px;
  line-height: 1.6;
}

.install-steps {
  grid-template-columns: repeat(3, 1fr);
}

.guide-step-card {
  padding: 20px;
}

.guide-step-card h4,
.guide-info-card h4 {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 12px;
  color: #ff8bbd;
  font-size: 18px;
}

.guide-step-card h4 span,
.access-step > span {
  display: inline-grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border-radius: 999px;
  background: rgba(255, 63, 150, 0.16);
  color: #ff8bbd;
  font-weight: 900;
}

.guide-step-card p,
.guide-info-card p,
.access-step p,
.guide-download-card p {
  margin: 0;
  color: #d6ccd6;
  line-height: 1.55;
}

.brand-tabs {
  grid-template-columns: repeat(5, 1fr);
  margin: 20px 0 28px;
}

.brand-tab {
  min-height: 78px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.045);
  color: #d6ccd6;
  text-align: left;
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}

.brand-tab small {
  color: var(--muted);
}

.brand-tab.active {
  border-color: rgba(255, 63, 150, 0.48);
  background: rgba(255, 63, 150, 0.12);
  color: #ff8bbd;
}

.accessibility-grid {
  grid-template-columns: 1fr 360px;
  align-items: start;
  gap: 28px;
}

.access-step {
  display: grid;
  grid-template-columns: 32px 1fr;
  gap: 14px;
  margin-bottom: 28px;
}

.access-step strong {
  display: block;
  margin-bottom: 8px;
  color: #fff;
  font-size: 18px;
}

.guide-note {
  display: flex;
  gap: 12px;
  margin-top: 18px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.045);
  color: #d6ccd6;
  line-height: 1.55;
}

.guide-note svg {
  flex: 0 0 auto;
  color: #ff8bbd;
}

.phone-guide {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
}

.phone-guide > p {
  margin: 0 0 12px;
  color: #fff;
  font-family: Consolas, "Courier New", monospace;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 1px;
  text-align: center;
}

.phone-guide-screen {
  display: grid;
  gap: 12px;
  padding: 22px 14px 14px;
  border: 4px solid #2c3449;
  border-radius: 28px;
  background:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    #121625;
  background-size: 8px 8px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.04), 0 18px 34px rgba(0, 0, 0, 0.2);
  color: #c7d5f1;
}

.phone-notch {
  width: 64px;
  height: 5px;
  margin: 0 auto 12px;
  border-radius: 99px;
  background: #2b344d;
}

.phone-guide-screen > p {
  margin: 0;
  color: #8fa3c7;
  font-family: Consolas, "Courier New", monospace;
  font-size: 13px;
}

.phone-guide-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 46px;
  padding: 0 12px;
  border: 1px solid #222a3e;
  border-radius: 8px;
  background: #171c2d;
  color: #c7d5f1;
  font-size: 13px;
  font-weight: 900;
}

.phone-guide-row span:first-child {
  display: inline-flex;
  align-items: center;
  gap: 9px;
}

.phone-guide-row span:first-child::before {
  content: attr(data-icon);
  display: inline-grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border-radius: 8px;
  background: linear-gradient(145deg, #26324a, #171f31);
  color: #ff8bbd;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.07);
  font-size: 12px;
}

.phone-guide-row.active {
  border-color: rgba(255, 63, 150, 0.48);
  background: rgba(255, 63, 150, 0.18);
  color: #ff8bbd;
}

.toggle-dot {
  position: relative;
  width: 42px;
  height: 24px;
  border-radius: 999px;
  background: var(--green);
}

.toggle-dot::after {
  content: "";
  position: absolute;
  top: 3px;
  right: 3px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #fff;
}

.guide-download-card {
  margin-top: 18px;
  padding: 18px;
  border: 1px solid rgba(117, 240, 170, 0.28);
  border-radius: 8px;
  background: rgba(117, 240, 170, 0.07);
  text-align: center;
}

.guide-download-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  min-height: 48px;
  margin-top: 16px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: linear-gradient(135deg, var(--pink), #7e55ff);
  color: #fff;
  font: inherit;
  font-weight: 900;
  cursor: pointer;
  box-shadow: 0 18px 40px rgba(255, 63, 150, 0.25);
}

.guide-bottom-cards {
  grid-template-columns: repeat(2, 1fr);
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.guide-info-card {
  padding: 20px;
}

.guide-info-card.privacy {
  border-color: rgba(117, 240, 170, 0.28);
  background: rgba(117, 240, 170, 0.07);
}

@media (max-width: 860px) {
  .age-bar,
  .topbar,
  .download-panel,
  footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .nav {
    display: none;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 24px;
  }

  .phone-stage {
    min-height: 520px;
  }

  .metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .video-grid {
    grid-template-columns: 1fr;
  }

  .metrics div {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .metrics div:last-child {
    border-bottom: 0;
  }

  .poster {
    min-height: 200px;
  }

  .guide-apk-head,
  .guide-file-grid,
  .install-steps,
  .accessibility-grid,
  .guide-bottom-cards {
    grid-template-columns: 1fr;
  }

  .guide-apk-head {
    align-items: start;
  }

  .guide-apk-head > strong {
    width: fit-content;
  }

  .brand-tabs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 520px) {
  .topbar {
    width: min(100% - 24px, 1180px);
  }

  .ghost-button {
    width: 100%;
  }

  h1 {
    font-size: 40px;
  }

  .lead {
    font-size: 17px;
  }

  .hero-actions,
  .store-buttons,
  .primary-button,
  .secondary-button {
    width: 100%;
  }

  .phone {
    border-radius: 24px;
    padding: 16px;
  }

  .download-panel {
    padding: 24px;
  }

  .modal-card {
    padding: 26px 22px;
  }

  .video-grid {
    grid-template-columns: 1fr;
  }

  .category-nav {
    display: flex;
    overflow-x: auto;
    margin-inline: -12px;
    padding-inline: 12px;
    padding-bottom: 6px;
    scrollbar-width: none;
  }

  .category-nav::-webkit-scrollbar {
    display: none;
  }

  .category-nav button {
    min-width: max-content;
    padding-inline: 18px;
  }

  .category-title {
    flex-direction: column;
  }

  .preview-card .poster {
    min-height: 190px;
  }

  .install-guide-page {
    padding: 14px 10px 34px;
  }

  .guide-nav-card,
  .guide-apk-card,
  .guide-section-card {
    padding: 20px 16px;
  }

  .guide-back-button {
    font-size: 16px;
  }

  .guide-apk-head {
    grid-template-columns: 56px 1fr;
    gap: 14px;
  }

  .guide-apk-icon {
    width: 56px;
    height: 56px;
  }

  .guide-apk-head > strong {
    grid-column: 1 / -1;
  }

  .guide-section-card h3 {
    font-size: 24px;
  }

  .brand-tabs {
    grid-template-columns: 1fr;
  }

  .phone-guide {
    padding: 16px;
  }
}
