/* ===== Lucky Radar — shared styles ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --dark:    #04070A;
  --card:    #0F172A;
  --surface: #1E293B;
  --blue:    #38BDF8;
  --cyan:    #06B6D4;
  --white:   #FFFFFF;
  --gray:    #94A3B8;
  --green:   #4ade80;
  --red:     #f87171;
  --neutral: #CBD5E1;
}

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--dark);
  color: var(--white);
  line-height: 1.7;
}

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

/* ── NAV ── */
nav {
  position: fixed; top: 0; width: 100%; z-index: 100;
  background: rgba(4,7,10,0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(56,189,248,0.15);
  padding: 14px 24px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 14px;
}
.logo {
  font-size: 1.2rem; font-weight: 900;
  color: var(--blue); letter-spacing: 1px;
  display: flex; align-items: center; gap: 8px;
}
.logo img { height: 36px; border-radius: 8px; }
.nav-links {
  display: flex; align-items: center; justify-content: center; gap: 2px;
  flex: 1;
  min-width: 0;
}
.nav-links a {
  font-size: .78rem; font-weight: 600; color: var(--gray);
  padding: 6px 9px; border-radius: 6px;
  transition: color .2s, background .2s;
  white-space: nowrap;
}
.nav-links a:hover { color: var(--white); background: rgba(255,255,255,0.06); }
.nav-links a.active { color: var(--blue); }
.nav-cta {
  background: var(--blue); color: #000;
  font-weight: 700; padding: 8px 20px;
  border-radius: 8px; font-size: .9rem;
  transition: opacity .2s; white-space: nowrap;
  flex-shrink: 0;
}
.nav-cta:hover { opacity: .85; }
@media (max-width: 700px) {
  .nav-links { display: none; }
}

/* ── BREADCRUMB ── */
.breadcrumb {
  margin-top: 64px;
  padding: 12px 24px;
  font-size: .82rem; color: var(--gray);
}
.breadcrumb a { color: var(--blue); }
.breadcrumb a:hover { text-decoration: underline; }

/* ── UPDATED DATE ── */
.updated-block {
  font-size: .73rem; color: var(--gray);
  opacity: .7; letter-spacing: .04em;
  padding: 0 24px 4px;
}

/* breadcrumb + updated before footer */
.page-meta {
  max-width: 900px; margin: 0 auto; padding: 28px 24px 12px;
  display: flex; flex-direction: column; gap: 6px;
}
.page-meta .breadcrumb,
.page-meta .updated-block {
  position: static; margin: 0; padding: 0; text-align: left;
}

/* ── HERO ── */
.hero {
  min-height: 92vh;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  text-align: center;
  padding: 120px 24px 80px;
  position: relative; overflow: hidden;
}
.hero--short { min-height: 90vh; padding: 140px 24px 80px; justify-content: flex-start; }
.hero::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse 60% 50% at 50% 40%, rgba(56,189,248,0.12) 0%, transparent 70%);
  pointer-events: none;
}
.badge {
  display: inline-block;
  background: rgba(56,189,248,0.12);
  border: 1px solid rgba(56,189,248,0.35);
  color: var(--blue); font-size: .8rem; font-weight: 700;
  padding: 6px 16px; border-radius: 999px;
  margin-bottom: 28px; letter-spacing: .5px;
}
.hero h1 {
  font-size: clamp(2rem, 5vw, 3.4rem);
  font-weight: 900; line-height: 1.15;
  max-width: 820px; margin-bottom: 24px;
}
.hero h1 span { color: var(--blue); }
.hero > p, .hero-desc {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--gray); max-width: 620px;
  margin-bottom: 44px;
}
.app-screenshots {
  display: flex;
  gap: 24px;
  justify-content: center;
  margin: 32px 0 0;
  flex-wrap: nowrap;
}
.app-screen {
  width: 210px;
  flex-shrink: 0;
  border-radius: 28px;
  box-shadow: 0 6px 24px rgba(0,0,0,0.5);
  object-fit: cover;
  cursor: zoom-in;
  transition: transform .2s;
}
.app-screen:hover { transform: scale(1.03); }

/* Lightbox */
.lb-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.85);
  z-index: 9999;
  align-items: center;
  justify-content: center;
  cursor: zoom-out;
}
.lb-overlay.open { display: flex; }
.lb-overlay img {
  max-height: 90vh;
  max-width: 90vw;
  border-radius: 20px;
  box-shadow: 0 12px 60px rgba(0,0,0,.8);
}

@media (max-width: 600px) {
  .app-screenshots { gap: 8px; margin: 32px 0 0; }
  .app-screen { width: 30vw; min-width: 90px; border-radius: 18px; }
}

.hero-stats {
  display: flex; gap: 40px;
  margin-top: 60px; flex-wrap: wrap;
  justify-content: center;
}
.stat { text-align: center; }
.stat-num { font-size: 1.8rem; font-weight: 900; color: var(--blue); }
.stat-label { font-size: .8rem; color: var(--gray); margin-top: 4px; }

/* ── BUTTONS ── */
.cta-group { display: flex; gap: 16px; flex-wrap: wrap; justify-content: center; margin-top: 40px; }
.btn-primary {
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  color: #000; font-weight: 800; font-size: 1.05rem;
  padding: 16px 36px; border-radius: 14px;
  display: inline-flex; align-items: center; gap: 10px;
  transition: transform .2s, box-shadow .2s;
  box-shadow: 0 0 30px rgba(56,189,248,0.3);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 0 45px rgba(56,189,248,0.5); }
.btn-secondary {
  background: rgba(56,189,248,0.08);
  border: 1px solid rgba(56,189,248,0.3);
  color: var(--blue); font-weight: 700; font-size: 1rem;
  padding: 16px 32px; border-radius: 14px;
  display: inline-flex; align-items: center;
  transition: background .2s;
}
.btn-secondary:hover { background: rgba(56,189,248,0.15); }

/* ── SECTIONS ── */
section { padding: 80px 24px; }
section.s-dark    { background: var(--card); }
section.s-compact { padding: 48px 24px; }     /* related / secondary sections */
section.s-download { padding: 60px 24px; }    /* download CTA sections */

.container { max-width: 1080px; margin: 0 auto; }
.container--narrow { max-width: 860px; margin: 0 auto; }

.section-label {
  color: var(--blue); font-size: .78rem; font-weight: 700;
  letter-spacing: 2px; text-transform: uppercase; margin-bottom: 14px;
}
.section-label-lg { margin-bottom: 20px; }

h2 { font-size: clamp(1.6rem, 4vw, 2.4rem); font-weight: 900; margin-bottom: 16px; }
h2.spaced { margin-bottom: 24px; }
h3 { font-size: 1.05rem; font-weight: 800; margin-bottom: 10px; }

.subtitle {
  color: var(--gray); font-size: 1.05rem;
  max-width: 620px; margin-bottom: 48px;
}
p { color: var(--gray); font-size: .95rem; margin-bottom: 14px; }
p:last-child { margin-bottom: 0; }
.note-sm { margin-top: 18px; font-size: .8rem; color: var(--gray); text-align: center; }

/* ── CARDS ── */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
}
.card {
  background: var(--card);
  border: 1px solid rgba(56,189,248,0.12);
  border-radius: 16px; padding: 32px 24px;
  position: relative; overflow: hidden;
  transition: transform .2s, border-color .2s;
}
.card:hover { transform: translateY(-4px); border-color: rgba(56,189,248,0.35); }
.card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, var(--blue), var(--cyan));
  opacity: 0; transition: opacity .2s;
}
.card:hover::before { opacity: 1; }
.card-icon { font-size: 2.2rem; margin-bottom: 18px; }
.card h3 { font-size: 1.05rem; font-weight: 800; margin-bottom: 10px; }

.card--surface {
  background: var(--surface);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 16px; padding: 32px 20px; text-align: center;
}
.card--surface:hover { border-color: rgba(56,189,248,0.3); }

/* ── HOME: PROBLEM CARDS ── */
.prb-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
}
.prb-card {
  background: var(--surface);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 16px; padding: 28px 24px;
  transition: border-color .2s;
}
.prb-card:hover { border-color: rgba(56,189,248,0.3); }
.prb-icon { font-size: 2rem; margin-bottom: 16px; }
.prb-card h3 { font-size: 1rem; font-weight: 700; margin-bottom: 10px; color: var(--white); }

/* ── HOME: STEPS LIST ── */
.steps-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 32px;
}
.step-home {
  text-align: center; padding: 32px 20px;
  background: var(--surface); border-radius: 16px;
  border: 1px solid rgba(255,255,255,0.06);
}
.step-home h3 { font-size: 1.05rem; font-weight: 800; margin-bottom: 10px; }

/* ── HOME: CLUSTER LINKS ── */
.cluster-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}
.cluster-link {
  display: block; background: var(--surface);
  border: 1px solid rgba(56,189,248,0.2);
  border-radius: 14px; padding: 24px;
  transition: border-color .2s;
}
.cluster-link:hover { border-color: rgba(56,189,248,0.45); }
.cluster-icon { font-size: 1.5rem; margin-bottom: 10px; }
.cluster-title { font-weight: 800; color: var(--blue); margin-bottom: 6px; }
.cluster-desc { font-size: .85rem; color: var(--gray); }

/* ── HOME: CASINOS SUBSECTION ── */
.casinos-sub { margin-top: 64px; }

/* ── INFO BLOCK ── */
.info-block {
  background: var(--card);
  border: 1px solid rgba(56,189,248,0.12);
  border-radius: 20px; padding: 40px;
  margin-bottom: 24px;
}
.info-block h3 { font-size: 1.15rem; margin-bottom: 14px; color: var(--white); }

/* ── HIGHLIGHT ── */
.highlight {
  background: rgba(56,189,248,0.07);
  border-left: 3px solid var(--blue);
  border-radius: 0 10px 10px 0;
  padding: 16px 20px; margin: 32px 0 20px;
  font-size: .92rem; color: var(--gray);
}
.highlight strong { color: var(--blue); }

/* ── STEP NUMBER ── */
.step-num {
  width: 52px; height: 52px; border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  color: #000; font-size: 1.4rem; font-weight: 900;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 20px;
  flex-shrink: 0;
}

/* ── PROBLEM CARDS (vpn page) ── */
.problem-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px; margin-top: 24px;
}
.problem-card {
  background: var(--card);
  border: 1px solid rgba(248,113,113,0.2);
  border-radius: 16px; padding: 28px 24px;
}
.problem-card .icon { font-size: 1.8rem; margin-bottom: 14px; }
.problem-card h3 { color: var(--red); margin-bottom: 10px; }

/* ── COMPARISON TABLE ── */
.table-wrap { overflow-x: auto; margin-top: 24px; }
.compare-table {
  width: 100%; border-collapse: collapse; font-size: .9rem;
}
.compare-table th {
  background: var(--surface); color: var(--blue);
  padding: 14px 20px; text-align: left; font-weight: 700;
  border-bottom: 2px solid rgba(56,189,248,0.2);
}
.compare-table td {
  padding: 14px 20px;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  color: var(--gray);
}
.compare-table tr:last-child td { border-bottom: none; }
.good { color: var(--green); font-weight: 700; }
.bad  { color: var(--red);   font-weight: 700; }
.neutral { color: var(--neutral); font-weight: 700; }

/* ── COMPARISON TABLE (alt) ── */
.compare-wrap { overflow-x: auto; margin-top: 24px; }
.compare-wrap table { width: 100%; border-collapse: collapse; font-size: .9rem; }
.compare-wrap thead th {
  background: var(--surface); color: var(--blue);
  padding: 14px 18px; text-align: left; font-weight: 700;
  border-bottom: 2px solid rgba(56,189,248,0.2);
}
.compare-wrap tbody td {
  padding: 14px 18px;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  color: var(--gray);
}
.compare-wrap tbody tr:last-child td { border-bottom: none; }

/* ── CASINO TAGS / GRID ── */
.casinos-list { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 12px; }
.casino-tag {
  background: var(--surface);
  border: 1px solid rgba(56,189,248,0.2);
  border-radius: 8px; padding: 8px 16px;
  font-size: .85rem; font-weight: 600; color: var(--blue);
}
.casinos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 16px; margin-top: 24px;
}
.casino-card {
  background: var(--surface);
  border: 1px solid rgba(56,189,248,0.15);
  border-radius: 12px; padding: 20px 16px; text-align: center;
  transition: border-color .2s, transform .2s;
}
.casino-card:hover { border-color: rgba(56,189,248,0.4); transform: translateY(-3px); }
.casino-logo-wrap {
  height: 52px; display: flex; align-items: center; justify-content: center; margin-bottom: 10px;
}
.casino-logo {
  max-width: 110px; max-height: 48px; object-fit: contain; border-radius: 8px;
}
.casinos-grid--logos { gap: 12px; }
.casinos-grid--logos .casino-card {
  background: none; border: none; padding: 8px; box-shadow: none;
}
.casinos-grid--logos .casino-card:hover { border: none; transform: scale(1.05); }
.casinos-grid--logos .casino-logo-wrap { height: auto; margin-bottom: 0; }
.casinos-grid--logos .casino-logo { max-width: 150px; max-height: 72px; border-radius: 10px; }
.casino-name { font-size: .9rem; font-weight: 800; color: var(--blue); margin-bottom: 4px; }
.casino-bonus, .casino-info { font-size: .78rem; color: var(--gray); }

@media (max-width: 600px) {
  .casinos-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
  }
  .casino-card { padding: 10px 6px; border-radius: 10px; }
  .casino-logo { max-width: 100%; max-height: 36px; }
  .casino-logo-wrap { height: 40px; margin-bottom: 6px; }
  .casino-name { font-size: .72rem; }
  .features { grid-template-columns: 1fr; }
  /* перебиваем высокую специфичность --logos модификатора */
  .casinos-grid--logos .casino-logo { max-width: 100%; max-height: 44px; }
  .casinos-grid--logos .casino-logo-wrap { height: 44px; }
}

/* ── FAQ ── */
.faq-list { display: flex; flex-direction: column; gap: 16px; }
.faq-item {
  background: var(--card);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 14px; padding: 24px 28px;
  cursor: pointer; transition: border-color .2s;
}
.faq-item:hover { border-color: rgba(56,189,248,0.3); }
.faq-q {
  font-size: 1rem; font-weight: 700;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.faq-q::after { content: '+'; color: var(--blue); font-size: 1.4rem; flex-shrink: 0; }
.faq-a { font-size: .9rem; color: var(--gray); margin-top: 14px; display: none; }
.faq-item.open .faq-a { display: block; }
.faq-item.open .faq-q::after { content: '−'; }

/* ── RELATED LINKS ── */
.related-links {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
}
.related-link {
  display: block; background: var(--surface);
  border: 1px solid rgba(56,189,248,0.15);
  border-radius: 14px; padding: 22px 20px;
  transition: border-color .2s, transform .2s;
}
.related-link:hover { border-color: rgba(56,189,248,0.4); transform: translateY(-2px); }
.related-link-title { font-weight: 800; color: var(--blue); font-size: .95rem; margin-bottom: 6px; }
.related-link-desc { font-size: .82rem; color: var(--gray); }

/* ── DOWNLOAD CTA BLOCK ── */
.download-cta {
  background: linear-gradient(135deg, rgba(56,189,248,0.1), rgba(6,182,212,0.05));
  border: 1px solid rgba(56,189,248,0.2);
  border-radius: 24px; padding: 60px 40px; text-align: center;
}
.download-cta h2 { margin-bottom: 16px; }
.download-cta > p { color: var(--gray); margin-bottom: 36px; }
.download-note { margin-top: 20px; font-size: .8rem; color: var(--gray); }

/* ── DOWNLOAD BOX (apk page) ── */
.download-box {
  background: linear-gradient(135deg, rgba(56,189,248,0.12), rgba(6,182,212,0.06));
  border: 1px solid rgba(56,189,248,0.3);
  border-radius: 20px; padding: 36px;
  max-width: 480px; margin: 0 auto;
}
.download-btn {
  display: flex; align-items: center; justify-content: center; gap: 12px;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  color: #000; font-weight: 900; font-size: 1.1rem;
  padding: 18px 40px; border-radius: 14px; width: 100%;
  transition: transform .2s, box-shadow .2s;
  box-shadow: 0 0 32px rgba(56,189,248,0.4);
}
.download-btn:hover { transform: translateY(-3px); box-shadow: 0 0 48px rgba(56,189,248,0.6); }
.file-info {
  display: flex; justify-content: center; gap: 24px;
  margin-top: 16px; font-size: .82rem; color: var(--gray);
}
.install-note { margin-top: 16px; font-size: .8rem; color: var(--gray); text-align: center; }

/* ── FEATURES GRID (apk page) ── */
.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 18px; margin-top: 8px;
}
.feature {
  background: var(--card);
  border: 1px solid rgba(56,189,248,0.12);
  border-radius: 14px; padding: 24px 20px;
}
.feature-icon { font-size: 1.6rem; margin-bottom: 12px; }

/* ── STEPS BLOCK (apk page) ── */
.steps-block { display: flex; flex-direction: column; }
.step-item {
  display: flex; gap: 20px;
  padding: 20px 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  align-items: flex-start;
}
.step-item:last-child { border-bottom: none; }
.step-item .step-num { margin: 0; flex-shrink: 0; align-self: flex-start; }
.step-content h3 { margin-bottom: 6px; }
.step-content p { font-size: .88rem; margin-bottom: 0; }

/* ── ALERT ── */
.alert {
  background: rgba(56,189,248,0.07);
  border: 1px solid rgba(56,189,248,0.2);
  border-radius: 10px; padding: 16px 20px;
  font-size: .88rem; color: var(--gray); margin: 16px 0;
}
.alert strong { color: var(--blue); }

/* ── LOGO GRID (prilozhenie page) ── */
.logo-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 28px;
}
.logo-card {
  min-height: 60px;
  background: none;
  border: none;
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  padding: 4px;
  transition: transform .2s;
}
.logo-card:hover { transform: scale(1.07); }
.logo-card img {
  max-width: 100%; max-height: 90px;
  width: 100%;
  object-fit: contain;
}
.logo-card.more {
  color: var(--blue); font-size: 1.5rem; font-weight: 800;
}
.small-note {
  margin-top: 16px; font-size: .85rem; color: var(--gray);
  text-align: center;
}
@media (max-width: 600px) {
  .logo-grid { grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .logo-card { min-height: 60px; padding: 4px; }
  .logo-card img { max-width: 100%; max-height: 70px; }
  .features { grid-template-columns: 1fr !important; }
}

/* ── ARTICLE DISCLAIMER ── */
.article-disclaimer {
  margin-top: 32px;
  margin-left: auto;
  margin-right: auto;
  background: rgba(251,191,36,0.07);
  border: 1px solid rgba(251,191,36,0.25);
  border-radius: 10px; padding: 14px 20px;
  font-size: .85rem; color: var(--gray);
  max-width: 620px;
}
.article-disclaimer strong { color: #fbbf24; }

/* ── SERVICE LIST (115-fz page) ── */
.service-list {
  list-style: none; padding: 0; margin: 12px 0 0;
  display: flex; flex-direction: column; gap: 8px;
}
.service-list li {
  padding: 10px 16px 10px 40px;
  background: rgba(56,189,248,0.05);
  border: 1px solid rgba(56,189,248,0.12);
  border-radius: 8px;
  font-size: .9rem; color: var(--gray);
  position: relative;
}
.service-list li::before {
  content: '→';
  position: absolute; left: 14px;
  color: var(--blue); font-weight: 700;
}

/* ── NOT-LIST (о приложении) ── */
.not-list {
  list-style: none; padding: 0; margin: 0 0 8px;
  display: flex; flex-direction: column; gap: 10px;
}
.not-list li {
  padding: 12px 18px 12px 46px;
  background: var(--card);
  border: 1px solid rgba(248,113,113,0.15);
  border-radius: 10px;
  font-size: .9rem; color: var(--gray);
  position: relative;
}
.not-list li::before {
  content: '✗';
  position: absolute; left: 16px;
  color: #f87171; font-weight: 700;
}

/* ── SCREEN CAPTIONS (о приложении) ── */
.screen-captions {
  display: flex; gap: 24px; justify-content: center;
  flex-wrap: wrap; margin-top: 16px;
}
.screen-cap {
  width: 210px; flex-shrink: 0;
  font-size: .85rem; color: var(--gray);
  text-align: center; line-height: 1.5;
  background: var(--card);
  border: 1px solid rgba(56,189,248,0.12);
  border-radius: 10px;
  padding: 12px 14px;
}
.screen-cap strong { color: var(--white); display: block; margin-bottom: 4px; font-size: .88rem; }
@media (max-width: 600px) {
  .screen-cap { width: 100%; min-width: unset; }
  .screen-captions { flex-direction: column; align-items: stretch; gap: 8px; margin-top: 12px; }
}

/* ── SERVICE CARDS (115-fz page) ── */
.service-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px; margin-top: 24px;
}
.service-card {
  background: var(--surface);
  border: 1px solid rgba(56,189,248,0.15);
  border-radius: 16px; padding: 28px 24px;
  display: flex; flex-direction: column; gap: 12px;
}
.service-card h3 {
  font-size: 1.05rem; font-weight: 700; color: var(--white); margin: 0;
}
.service-card p {
  color: var(--gray); font-size: .9rem; flex: 1; margin: 0;
}
.service-card .btn-primary {
  display: inline-block; width: fit-content;
  margin-top: 6px; font-size: .9rem; padding: 10px 22px;
}

/* ── FOOTER ── */
footer {
  background: var(--card);
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 40px 24px; text-align: center;
}
.footer-logo { font-size: 1.3rem; font-weight: 900; color: var(--blue); margin-bottom: 12px; }
.footer-links {
  display: flex; gap: 24px; justify-content: center;
  flex-wrap: wrap; margin-bottom: 20px;
}
.footer-links a { font-size: .85rem; color: var(--gray); transition: color .2s; }
.footer-links a:hover { color: var(--blue); }
.footer-note { font-size: .75rem; color: rgba(148,163,184,0.5); max-width: 620px; margin: 0 auto; }
.footer-social { margin-bottom: 20px; }
.footer-tg {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--gray); font-size: .85rem; font-weight: 600;
  text-decoration: none; transition: color .2s;
}
.footer-tg:hover { color: #29B6F6; }
.footer-tg svg { width: 22px; height: 22px; fill: #29B6F6; flex-shrink: 0; }
.nav-tg {
  display: inline-flex; align-items: center; gap: 6px;
  color: var(--gray); font-size: .82rem; font-weight: 600;
  text-decoration: none; transition: color .2s;
}
.nav-tg:hover { color: #29B6F6; }
.nav-tg svg { width: 16px; height: 16px; fill: #29B6F6; flex-shrink: 0; }

/* ── RESPONSIVE ── */
@media (max-width: 600px) {
  .hero { padding: 100px 20px 60px; }
  .hero h1 { font-size: clamp(1.7rem, 7vw, 2.4rem); }
  .hero-stats { gap: 24px; }
  section { padding: 56px 20px; }
  section.s-compact { padding: 36px 20px; }
  section.s-download { padding: 48px 20px; }
  .download-cta { padding: 36px 20px; }
  .info-block { padding: 24px 20px; }
  .compare-wrap thead th, .compare-wrap tbody td { padding: 10px 12px; font-size: .82rem; }
  .compare-table th, .compare-table td { padding: 10px 12px; font-size: .82rem; }
  .faq-item { padding: 18px 20px; }
}

/* ===== Visual refresh: premium cyberpunk skin ===== */
:root {
  --dark: #03040a;
  --card: #0a1020;
  --surface: #101827;
  --blue: #42e8ff;
  --cyan: #18c8f7;
  --white: #f8fbff;
  --gray: #a9b6c9;
  --green: #58f29a;
  --red: #ff5f7d;
  --neutral: #d7e1ef;
  --pink: #ff3bd4;
  --violet: #8b5cf6;
  --gold: #f7c948;
  --ink: #02030a;
  --panel: rgba(8, 14, 28, .78);
  --panel-strong: rgba(14, 23, 42, .94);
  --line: rgba(66, 232, 255, .22);
  --line-hot: rgba(255, 59, 212, .24);
  --shadow-neon: 0 24px 80px rgba(0, 0, 0, .44), 0 0 42px rgba(66, 232, 255, .12);
  --shadow-hot: 0 20px 70px rgba(0, 0, 0, .42), 0 0 34px rgba(255, 59, 212, .12);
}

html {
  background: var(--ink);
}

body {
  font-family: "Manrope", "Inter", "SF Pro Text", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at 16% 6%, rgba(255, 59, 212, .16), transparent 30rem),
    radial-gradient(circle at 82% 10%, rgba(66, 232, 255, .16), transparent 32rem),
    radial-gradient(circle at 50% 96%, rgba(247, 201, 72, .08), transparent 28rem),
    linear-gradient(180deg, #03040a 0%, #070b14 42%, #04060d 100%);
  color: var(--white);
  line-height: 1.68;
  font-size: 16px;
  letter-spacing: 0;
  -webkit-font-smoothing: antialiased;
  text-rendering: geometricPrecision;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(rgba(66, 232, 255, .035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(66, 232, 255, .035) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, .75), transparent 82%);
  pointer-events: none;
}

h1, h2, h3,
.logo,
.section-label,
.badge,
.btn-primary,
.btn-secondary,
.download-btn,
.nav-cta,
.nav-links a {
  letter-spacing: 0;
}

nav {
  background: rgba(3, 4, 10, .72);
  border-bottom: 1px solid rgba(66, 232, 255, .18);
  box-shadow: 0 18px 60px rgba(0, 0, 0, .35);
  backdrop-filter: blur(18px);
}

.logo,
.footer-logo {
  color: var(--white);
  text-shadow: 0 0 24px rgba(66, 232, 255, .34);
}

.logo img {
  box-shadow: 0 0 0 1px rgba(66, 232, 255, .25), 0 0 22px rgba(66, 232, 255, .18);
}

.nav-links a {
  color: #b6c2d5;
  border: 1px solid transparent;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--white);
  background: rgba(66, 232, 255, .08);
  border-color: rgba(66, 232, 255, .16);
}

.nav-cta {
  color: #03040a;
  background: linear-gradient(135deg, var(--gold), var(--blue) 54%, var(--pink));
  box-shadow: 0 0 26px rgba(66, 232, 255, .22);
}

.breadcrumb,
.updated-block,
.page-meta {
  color: #9bacbf;
}

.breadcrumb a {
  color: var(--blue);
}

.hero {
  min-height: 100vh;
  padding: 136px 24px 78px;
  gap: 0;
  isolation: isolate;
}

.hero--short {
  min-height: 92vh;
  padding-top: 142px;
}

.hero::before {
  background:
    radial-gradient(circle at 50% 38%, rgba(66, 232, 255, .18), transparent 28rem),
    radial-gradient(circle at 22% 26%, rgba(255, 59, 212, .16), transparent 24rem),
    radial-gradient(circle at 78% 30%, rgba(247, 201, 72, .10), transparent 20rem);
  opacity: 1;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 78px 0 0;
  z-index: 0;
  background:
    linear-gradient(rgba(66, 232, 255, .08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(66, 232, 255, .08) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(circle at 50% 38%, rgba(0, 0, 0, .8), transparent 62%);
  pointer-events: none;
}

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

.badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  background: linear-gradient(135deg, rgba(66, 232, 255, .14), rgba(255, 59, 212, .10));
  border: 1px solid rgba(66, 232, 255, .34);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .04), 0 0 32px rgba(66, 232, 255, .12);
  border-radius: 999px;
  padding: 8px 18px;
  margin-bottom: 24px;
  font-size: .82rem;
}

.hero h1 {
  max-width: 940px;
  margin-bottom: 22px;
  font-size: 3.45rem;
  line-height: 1.06;
  font-weight: 900;
}

.hero h1 span {
  color: transparent;
  background: linear-gradient(100deg, var(--blue), var(--white) 48%, var(--pink));
  -webkit-background-clip: text;
  background-clip: text;
  text-shadow: none;
}

.hero > p,
.hero-desc {
  max-width: 690px;
  color: #bdc7d8;
  font-size: 1.12rem;
  line-height: 1.72;
  margin-bottom: 34px;
}

.hero .app-screenshots {
  position: relative;
  z-index: 1;
  gap: 18px;
  align-items: center;
  padding: 28px 34px 22px;
  margin-top: 18px;
  border: 1px solid rgba(66, 232, 255, .20);
  border-radius: 38px;
  background:
    linear-gradient(135deg, rgba(12, 18, 35, .72), rgba(6, 10, 20, .56)),
    radial-gradient(circle at 50% 0%, rgba(66, 232, 255, .18), transparent 60%);
  box-shadow: var(--shadow-neon);
  perspective: 900px;
}

.hero .app-screenshots::before {
  content: "";
  position: absolute;
  inset: 12px;
  z-index: -1;
  border-radius: 30px;
  border: 1px solid rgba(255, 59, 212, .12);
  background:
    linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px);
  background-size: 22px 22px;
  opacity: .72;
}

.hero .app-screen {
  width: 205px;
  border-radius: 30px;
  border: 1px solid rgba(255, 255, 255, .12);
  box-shadow: 0 24px 60px rgba(0, 0, 0, .48), 0 0 28px rgba(66, 232, 255, .14);
  transform: translateZ(0);
  transition: transform .24s ease, box-shadow .24s ease;
}

.hero .app-screen:nth-child(1) {
  transform: rotate(-5deg) translateY(16px);
}

.hero .app-screen:nth-child(2) {
  transform: translateY(-8px) scale(1.04);
  box-shadow: 0 30px 76px rgba(0, 0, 0, .54), 0 0 36px rgba(255, 59, 212, .16);
}

.hero .app-screen:nth-child(3) {
  transform: rotate(5deg) translateY(16px);
}

.hero .app-screen:hover {
  transform: translateY(-12px) scale(1.04);
  box-shadow: 0 34px 86px rgba(0, 0, 0, .56), 0 0 46px rgba(66, 232, 255, .24);
}

.hero-stats {
  margin-top: 44px;
  gap: 14px;
}

.stat {
  min-width: 150px;
  padding: 16px 18px;
  border: 1px solid rgba(66, 232, 255, .18);
  border-radius: 18px;
  background: rgba(9, 15, 28, .62);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .04);
}

.stat-num {
  color: var(--white);
  font-size: 1.45rem;
  line-height: 1.1;
  text-shadow: 0 0 24px rgba(66, 232, 255, .32);
}

.stat-label {
  color: #9fb0c7;
  font-size: .78rem;
}

.cta-group {
  gap: 14px;
  margin-top: 34px;
}

.btn-primary,
.download-btn {
  color: #02030a;
  background: linear-gradient(135deg, var(--gold) 0%, var(--blue) 48%, var(--pink) 100%);
  border: 0;
  border-radius: 16px;
  box-shadow: 0 16px 42px rgba(66, 232, 255, .22), 0 0 34px rgba(255, 59, 212, .12);
}

.btn-primary:hover,
.download-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 22px 58px rgba(66, 232, 255, .30), 0 0 44px rgba(255, 59, 212, .20);
}

.btn-secondary {
  color: var(--white);
  background: rgba(9, 15, 28, .62);
  border: 1px solid rgba(66, 232, 255, .28);
  border-radius: 16px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .04);
}

.btn-secondary:hover {
  background: rgba(66, 232, 255, .11);
  border-color: rgba(255, 59, 212, .34);
}

section {
  padding: 78px 24px;
}

section.s-dark {
  background:
    linear-gradient(180deg, rgba(11, 17, 32, .88), rgba(5, 8, 16, .92)),
    radial-gradient(circle at 84% 18%, rgba(255, 59, 212, .08), transparent 24rem);
  border-top: 1px solid rgba(255, 255, 255, .04);
  border-bottom: 1px solid rgba(255, 255, 255, .04);
}

section.s-compact {
  padding: 56px 24px;
}

section.s-download {
  padding: 72px 24px 82px;
}

.container {
  max-width: 1120px;
}

.container--narrow {
  max-width: 900px;
}

.section-label {
  display: inline-flex;
  width: fit-content;
  color: var(--blue);
  font-size: .76rem;
  font-weight: 800;
  text-transform: uppercase;
  margin-bottom: 16px;
  padding: 6px 10px;
  border: 1px solid rgba(66, 232, 255, .20);
  border-radius: 999px;
  background: rgba(66, 232, 255, .06);
}

h2 {
  max-width: 850px;
  color: var(--white);
  font-size: 2.25rem;
  line-height: 1.14;
  font-weight: 900;
  margin-bottom: 18px;
}

h3,
.faq-q,
.related-link-title,
.cluster-title,
.casino-name {
  color: var(--white);
}

h3 {
  line-height: 1.28;
}

.subtitle,
p,
.faq-a,
.related-link-desc,
.cluster-desc,
.casino-bonus,
.casino-info,
.footer-links a,
.footer-note,
.small-note,
.download-note,
.install-note {
  color: #aab7c9;
}

.card-grid,
.prb-grid,
.steps-list,
.cluster-grid,
.features,
.service-cards {
  gap: 20px;
}

.card,
.prb-card,
.step-home,
.cluster-link,
.info-block,
.problem-card,
.faq-item,
.related-link,
.download-cta,
.download-box,
.feature,
.alert,
.service-card,
.screen-cap,
.not-list li,
.service-list li,
.casino-tag {
  background:
    linear-gradient(145deg, rgba(16, 24, 42, .88), rgba(7, 11, 23, .78)),
    radial-gradient(circle at 0% 0%, rgba(66, 232, 255, .09), transparent 18rem);
  border: 1px solid rgba(66, 232, 255, .16);
  box-shadow: var(--shadow-neon);
  border-radius: 20px;
}

.card,
.prb-card,
.step-home,
.cluster-link,
.feature,
.service-card,
.related-link {
  padding: 28px 24px;
}

.card:hover,
.prb-card:hover,
.step-home:hover,
.cluster-link:hover,
.feature:hover,
.service-card:hover,
.related-link:hover,
.faq-item:hover,
.casino-card:hover {
  border-color: rgba(255, 59, 212, .34);
  box-shadow: var(--shadow-hot);
}

.card::before {
  height: 3px;
  background: linear-gradient(90deg, var(--blue), var(--pink), var(--gold));
  opacity: .8;
}

.card-icon,
.prb-icon,
.feature-icon,
.cluster-icon,
.problem-card .icon {
  filter: drop-shadow(0 0 16px rgba(66, 232, 255, .24));
}

.card-icon {
  width: 48px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--blue);
  background:
    linear-gradient(145deg, rgba(66, 232, 255, .14), rgba(255, 59, 212, .08)),
    rgba(6, 12, 28, .72);
  border: 1px solid rgba(66, 232, 255, .28);
  border-radius: 15px;
  box-shadow: 0 0 28px rgba(66, 232, 255, .14);
}

.card-icon svg {
  width: 30px;
  height: 30px;
  display: block;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.card-icon--pink {
  color: var(--pink);
  border-color: rgba(255, 59, 212, .32);
  box-shadow: 0 0 28px rgba(255, 59, 212, .14);
}

.card-icon--gold {
  color: var(--gold);
  border-color: rgba(251, 191, 36, .32);
  box-shadow: 0 0 28px rgba(251, 191, 36, .13);
}

.step-num {
  color: #02030a;
  background: linear-gradient(135deg, var(--gold), var(--blue) 58%, var(--pink));
  box-shadow: 0 0 34px rgba(66, 232, 255, .22);
}

.highlight {
  color: #b9c5d6;
  background: linear-gradient(135deg, rgba(66, 232, 255, .09), rgba(255, 59, 212, .05));
  border-left-color: var(--pink);
}

.highlight strong,
.alert strong,
.cluster-title,
.related-link-title,
.casino-name,
.logo-card.more {
  color: var(--blue);
}

.compare-table,
.compare-wrap table {
  background: rgba(8, 14, 28, .52);
  border: 1px solid rgba(66, 232, 255, .13);
  border-radius: 18px;
  overflow: hidden;
}

.compare-table th,
.compare-wrap thead th {
  color: var(--white);
  background: rgba(66, 232, 255, .10);
  border-bottom-color: rgba(66, 232, 255, .20);
}

.compare-table td,
.compare-wrap tbody td {
  color: #aab7c9;
  border-bottom-color: rgba(255, 255, 255, .06);
}

.casino-card {
  background:
    linear-gradient(145deg, rgba(16, 24, 42, .86), rgba(7, 11, 23, .74)),
    radial-gradient(circle at 50% 0%, rgba(247, 201, 72, .07), transparent 12rem);
  border: 1px solid rgba(66, 232, 255, .16);
  border-radius: 18px;
  box-shadow: 0 14px 42px rgba(0, 0, 0, .32);
}

.casinos-grid--logos .casino-card {
  background: rgba(10, 16, 32, .38);
  border: 1px solid rgba(66, 232, 255, .08);
  box-shadow: none;
}

.faq-item {
  padding: 22px 26px;
}

.faq-q::after {
  color: var(--pink);
}

.download-cta,
.download-box {
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  background:
    radial-gradient(circle at 50% 0%, rgba(66, 232, 255, .18), transparent 24rem),
    radial-gradient(circle at 90% 28%, rgba(255, 59, 212, .13), transparent 20rem),
    linear-gradient(135deg, rgba(16, 24, 42, .94), rgba(5, 8, 16, .86));
}

.download-cta::before,
.download-box::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, .75), transparent 86%);
  pointer-events: none;
}

.download-cta > *,
.download-box > * {
  position: relative;
  z-index: 1;
}

footer {
  background: rgba(3, 4, 10, .92);
  border-top: 1px solid rgba(66, 232, 255, .13);
}

.lb-overlay {
  background: rgba(2, 3, 10, .9);
  backdrop-filter: blur(10px);
}

.lb-overlay img {
  border: 1px solid rgba(66, 232, 255, .24);
}

@media (max-width: 900px) {
  .hero {
    padding-top: 118px;
  }

  .hero h1 {
    font-size: 2.55rem;
  }

  .hero > p,
  .hero-desc {
    font-size: 1.04rem;
  }

  .hero .app-screenshots {
    padding: 22px 22px 18px;
    gap: 12px;
    border-radius: 30px;
  }

  .hero .app-screen {
    width: 28vw;
    max-width: 178px;
    min-width: 130px;
    border-radius: 24px;
  }

  h2 {
    font-size: 1.95rem;
  }
}

@media (max-width: 600px) {
  nav {
    padding: 12px 18px;
  }

  .logo {
    font-size: 1rem;
  }

  .nav-cta {
    padding: 8px 14px;
    font-size: .82rem;
  }

  .hero {
    min-height: auto;
    padding: 104px 18px 52px;
  }

  .hero h1 {
    font-size: 1.92rem;
    line-height: 1.12;
  }

  .hero > p,
  .hero-desc {
    font-size: .98rem;
    margin-bottom: 24px;
  }

  .hero .app-screenshots {
    gap: 8px;
    padding: 16px 12px 14px;
    margin-top: 10px;
    border-radius: 24px;
  }

  .hero .app-screen {
    width: 29vw;
    min-width: 86px;
    border-radius: 18px;
  }

  .hero .app-screen:nth-child(1),
  .hero .app-screen:nth-child(3) {
    transform: translateY(8px);
  }

  .hero .app-screen:nth-child(2) {
    transform: translateY(-4px);
  }

  .hero-stats {
    margin-top: 30px;
    gap: 10px;
  }

  .stat {
    min-width: 0;
    width: calc(50% - 5px);
    padding: 14px 12px;
  }

  .stat-num {
    font-size: 1.12rem;
  }

  .stat-label {
    font-size: .74rem;
  }

  .cta-group {
    width: 100%;
    gap: 10px;
  }

  .btn-primary,
  .btn-secondary {
    width: 100%;
    justify-content: center;
    padding: 15px 18px;
    font-size: .98rem;
  }

  section,
  section.s-compact,
  section.s-download {
    padding: 52px 18px;
  }

  h2 {
    font-size: 1.58rem;
    line-height: 1.18;
  }

  h3,
  .card h3,
  .prb-card h3,
  .step-home h3,
  .service-card h3 {
    font-size: 1rem;
  }

  .card,
  .prb-card,
  .step-home,
  .cluster-link,
  .feature,
  .service-card,
  .related-link,
  .faq-item,
  .info-block {
    padding: 22px 18px;
    border-radius: 18px;
  }

  .download-cta {
    padding: 34px 18px;
    border-radius: 22px;
  }

  .download-box {
    padding: 24px 18px;
    border-radius: 22px;
  }

  .download-btn {
    padding: 16px 18px;
    font-size: .98rem;
  }

  .file-info {
    gap: 12px;
    flex-wrap: wrap;
  }
}

/* Mobile overflow polish for the cyberpunk layer */
html,
body {
  width: 100%;
  overflow-x: hidden;
}

.badge {
  max-width: min(100%, 720px);
  white-space: normal;
  text-align: center;
}

.hero .app-screenshots {
  max-width: 760px;
}

@media (max-width: 600px) {
  .nav-tg {
    display: none;
  }

  .badge {
    max-width: 100%;
    font-size: .74rem;
    line-height: 1.35;
    padding: 8px 12px;
  }

  .hero .app-screenshots {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
  }

  .hero .app-screen {
    width: calc((100vw - 76px) / 3);
    max-width: 104px;
    min-width: 0;
  }
}

/* Center the bottom download CTA content inside the refreshed card */
.download-cta {
  min-height: 360px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.download-cta .section-label,
.download-cta h2,
.download-cta > p,
.download-cta .download-note {
  margin-left: auto;
  margin-right: auto;
}

.download-cta h2 {
  max-width: 900px;
}

.download-cta > p {
  max-width: 680px;
}

@media (max-width: 600px) {
  .download-cta {
    min-height: 320px;
  }
}

/* Mobile hamburger navigation */
.nav-toggle {
  display: none;
  width: 44px;
  height: 40px;
  border: 1px solid rgba(66, 232, 255, .28);
  border-radius: 14px;
  background: rgba(9, 15, 28, .74);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .05), 0 0 24px rgba(66, 232, 255, .10);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  padding: 0;
  cursor: pointer;
}

.nav-toggle span {
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: var(--white);
  transition: transform .22s ease, opacity .22s ease, background .22s ease;
}

.nav-toggle:hover span {
  background: var(--blue);
}

nav.nav-open .nav-toggle span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

nav.nav-open .nav-toggle span:nth-child(2) {
  opacity: 0;
}

nav.nav-open .nav-toggle span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

@media (max-width: 700px) {
  nav {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto 44px;
    gap: 10px;
  }

  .nav-toggle {
    display: inline-flex;
    order: 3;
    flex-shrink: 0;
    position: relative;
    z-index: 2;
  }

  .nav-cta {
    order: 2;
  }

  .logo {
    min-width: 0;
    max-width: 100%;
    overflow: hidden;
    white-space: nowrap;
  }

  .logo img {
    flex-shrink: 0;
  }

  nav .nav-links {
    position: absolute;
    top: calc(100% + 10px);
    left: 16px;
    right: 16px;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
    padding: 14px;
    border: 1px solid rgba(66, 232, 255, .22);
    border-radius: 22px;
    background:
      radial-gradient(circle at 0% 0%, rgba(66, 232, 255, .13), transparent 16rem),
      radial-gradient(circle at 100% 20%, rgba(255, 59, 212, .12), transparent 14rem),
      rgba(4, 7, 14, .96);
    box-shadow: 0 26px 90px rgba(0, 0, 0, .58), 0 0 36px rgba(66, 232, 255, .12);
    backdrop-filter: blur(18px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity .2s ease, visibility .2s ease, transform .2s ease;
  }

  nav.nav-open .nav-links {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
  }

  nav .nav-links a {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 42px;
    padding: 11px 13px;
    border-radius: 14px;
    color: var(--white);
    background: rgba(255, 255, 255, .035);
    border: 1px solid rgba(255, 255, 255, .06);
    font-size: .92rem;
  }

  nav .nav-links a:hover,
  nav .nav-links a.active {
    background: rgba(66, 232, 255, .10);
    border-color: rgba(66, 232, 255, .24);
  }

  nav .nav-links .nav-tg {
    display: flex;
    justify-content: flex-start;
    gap: 8px;
  }
}

@media (max-width: 430px) {
  nav {
    padding: 10px 12px;
    grid-template-columns: minmax(0, 1fr) auto 40px;
    gap: 8px;
  }

  .logo {
    font-size: .9rem;
    gap: 6px;
  }

  .logo img {
    height: 34px;
  }

  .nav-cta {
    padding: 8px 9px;
    font-size: .74rem;
    border-radius: 12px;
  }

  .nav-toggle {
    width: 40px;
    height: 38px;
    border-radius: 12px;
  }
}

@media (max-width: 380px) {
  nav {
    padding: 10px;
    grid-template-columns: minmax(0, 1fr) auto 40px;
    gap: 7px;
  }

  .logo {
    font-size: .82rem;
  }

  .logo img {
    height: 32px;
  }

  .nav-cta {
    padding: 8px 8px;
    font-size: .70rem;
  }
}

/* Tighten the home hero and restore the screenshot lightbox overlay */
.hero:not(.hero--short) {
  min-height: 1025px;
  padding-top: 142px;
  padding-bottom: 24px;
  justify-content: flex-start;
}

.hero.hero--short {
  min-height: auto;
  padding: 142px 24px 80px;
  justify-content: flex-start;
}

body > .updated-block {
  display: none;
}

.hero:not(.hero--short) .app-screenshots {
  margin-top: 8px;
  padding: 26px 32px 22px;
  max-width: 721px;
  gap: 20px;
}

.hero:not(.hero--short) .app-screen {
  width: 205px;
  border-radius: 28px;
}

.hero:not(.hero--short) .hero-stats {
  margin-top: 12px;
}

.hero:not(.hero--short) h1 {
  font-size: 2.55rem;
  max-width: 800px;
  margin-bottom: 12px;
}

.hero:not(.hero--short) > p {
  font-size: 1rem;
  margin-bottom: 14px;
}

.hero:not(.hero--short) .cta-group {
  margin-top: 16px;
}

.hero:not(.hero--short) .stat {
  padding: 13px 16px;
}

.hero:not(.hero--short) .stat-num {
  font-size: 1.32rem;
}

.hero > .lb-overlay,
.lb-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  align-items: center;
  justify-content: center;
}

.hero > .lb-overlay.open,
.lb-overlay.open {
  display: flex;
}

.hero > .lb-overlay img,
.lb-overlay img {
  max-width: min(92vw, 520px);
  max-height: 88vh;
  object-fit: contain;
}

@media (max-width: 900px) {
  .hero:not(.hero--short) {
    min-height: 1077px;
    padding-top: 96px;
    padding-bottom: 42px;
    justify-content: flex-start;
  }

  .hero.hero--short {
    min-height: auto;
    padding: 118px 22px 64px;
    justify-content: flex-start;
  }

  .hero:not(.hero--short) h1 {
    font-size: 2.25rem;
  }

  .hero:not(.hero--short) .hero-stats {
    margin-top: 24px;
  }
}

@media (max-width: 600px) {
  .hero:not(.hero--short) {
    min-height: 1077px;
    padding-top: 78px;
    padding-bottom: 30px;
    justify-content: flex-start;
  }

  .hero.hero--short {
    min-height: auto;
    padding: 104px 18px 52px;
    justify-content: flex-start;
  }

  .hero:not(.hero--short) h1 {
    font-size: 1.56rem;
    line-height: 1.16;
    margin-bottom: 12px;
  }

  .hero:not(.hero--short) > p {
    font-size: .92rem;
    line-height: 1.58;
    margin-bottom: 14px;
  }

  .hero:not(.hero--short) .app-screenshots {
    max-width: 312px;
    width: 100%;
    gap: 7px;
    padding: 14px 10px 12px;
    border-radius: 22px;
    margin-top: 0;
  }

  .hero:not(.hero--short) .app-screen {
    width: 96px;
    max-width: 96px;
    border-radius: 16px;
  }

  .hero:not(.hero--short) .app-screen:nth-child(1),
  .hero:not(.hero--short) .app-screen:nth-child(3) {
    transform: translateY(6px);
  }

  .hero:not(.hero--short) .app-screen:nth-child(2) {
    transform: translateY(-3px);
  }

  .hero:not(.hero--short) .cta-group {
    margin-top: 18px;
  }

  .hero:not(.hero--short) .hero-stats {
    margin-top: 18px;
  }

  .hero:not(.hero--short) .stat {
    padding: 12px 10px;
  }

  .hero > .lb-overlay img,
  .lb-overlay img {
    max-width: 94vw;
    max-height: 84vh;
    border-radius: 18px;
  }
}

/* Keep four feature cards in one row on desktop, two by two on mobile */
.features {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

@media (max-width: 900px) {
  .features {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 600px) {
  .features {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 12px;
  }

  .feature {
    padding: 18px 14px;
  }

  .feature h3 {
    font-size: .92rem;
  }

  .feature p {
    font-size: .84rem;
    line-height: 1.5;
  }
}

@media (max-width: 340px) {
  .features {
    grid-template-columns: 1fr !important;
  }
}

/* App screenshots showcase on the app page */
#screenshots {
  position: relative;
  overflow: hidden;
  padding: 74px 24px 74px !important;
}

#screenshots::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 26% 18%, rgba(255, 59, 212, .14), transparent 26rem),
    radial-gradient(circle at 74% 28%, rgba(66, 232, 255, .16), transparent 28rem);
  pointer-events: none;
}

#screenshots .container {
  position: relative;
  max-width: 1120px;
  padding: 44px 40px 34px;
  border: 1px solid rgba(66, 232, 255, .20);
  border-radius: 32px;
  background:
    linear-gradient(145deg, rgba(16, 24, 42, .72), rgba(5, 8, 16, .72)),
    radial-gradient(circle at 50% 0%, rgba(66, 232, 255, .12), transparent 30rem);
  box-shadow: var(--shadow-neon);
  overflow: hidden;
}

#screenshots .container::before {
  content: "";
  position: absolute;
  inset: 14px;
  border-radius: 24px;
  border: 1px solid rgba(255, 59, 212, .10);
  background:
    linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, .8), transparent 92%);
  pointer-events: none;
}

#screenshots .section-label,
#screenshots h2,
#screenshots .subtitle,
#screenshots .app-screenshots {
  position: relative;
  z-index: 1;
}

#screenshots .section-label {
  margin-left: auto;
  margin-right: auto;
}

#screenshots h2,
#screenshots .subtitle {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

#screenshots h2 {
  max-width: 780px;
}

#screenshots .subtitle {
  max-width: 720px;
  margin-bottom: 34px;
}

#screenshots .app-screenshots {
  width: fit-content;
  max-width: 100%;
  margin: 0 auto;
  padding: 26px 32px 22px;
  gap: 20px;
  align-items: center;
  border: 1px solid rgba(66, 232, 255, .20);
  border-radius: 34px;
  background:
    linear-gradient(135deg, rgba(7, 12, 25, .72), rgba(11, 18, 34, .54)),
    radial-gradient(circle at 50% 0%, rgba(255, 59, 212, .13), transparent 22rem);
  box-shadow: 0 28px 90px rgba(0, 0, 0, .44), 0 0 42px rgba(66, 232, 255, .10);
  overflow: visible;
}

#screenshots .app-screen {
  width: 205px;
  border-radius: 28px;
  border: 1px solid rgba(255, 255, 255, .12);
  box-shadow: 0 24px 66px rgba(0, 0, 0, .48), 0 0 24px rgba(66, 232, 255, .12);
}

#screenshots .app-screen:nth-child(1) {
  transform: rotate(-4deg) translateY(14px);
}

#screenshots .app-screen:nth-child(2) {
  transform: translateY(-10px) scale(1.04);
  box-shadow: 0 30px 78px rgba(0, 0, 0, .54), 0 0 34px rgba(255, 59, 212, .14);
}

#screenshots .app-screen:nth-child(3) {
  transform: rotate(4deg) translateY(14px);
}

#screenshots .app-screen:hover {
  transform: translateY(-14px) scale(1.04);
}

@media (max-width: 900px) {
  #screenshots .container {
    padding: 36px 24px 30px;
  }

  #screenshots .app-screenshots {
    padding: 22px 20px 18px;
    gap: 12px;
  }

  #screenshots .app-screen {
    width: 28vw;
    max-width: 170px;
    min-width: 120px;
    border-radius: 22px;
  }
}

@media (max-width: 600px) {
  #screenshots {
    padding: 52px 18px !important;
  }

  #screenshots .container {
    padding: 28px 16px 24px;
    border-radius: 24px;
  }

  #screenshots .subtitle {
    margin-bottom: 22px;
  }

  #screenshots .app-screenshots {
    width: 100%;
    padding: 14px 10px 12px;
    gap: 7px;
    border-radius: 22px;
    overflow: hidden;
  }

  #screenshots .app-screen {
    width: calc((100vw - 92px) / 3);
    max-width: 96px;
    min-width: 0;
    border-radius: 16px;
  }

  #screenshots .app-screen:nth-child(1),
  #screenshots .app-screen:nth-child(3) {
    transform: translateY(6px);
  }

#screenshots .app-screen:nth-child(2) {
    transform: translateY(-3px);
  }
}

/* 115-FZ cards: keep thematic SVGs as compact icons */
.card .card-icon {
  width: 34px !important;
  height: 34px !important;
  min-width: 34px !important;
  min-height: 34px !important;
  margin: 0 0 20px !important;
  padding: 0 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  color: var(--blue);
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  line-height: 1 !important;
  overflow: hidden !important;
}

.card .card-icon svg {
  width: 24px !important;
  height: 24px !important;
  max-width: 24px !important;
  max-height: 24px !important;
  display: block !important;
  flex: 0 0 24px !important;
  fill: none !important;
  stroke: currentColor !important;
  stroke-width: 1.8 !important;
}

.card .card-icon--pink { color: var(--pink); }
.card .card-icon--gold { color: var(--gold); }

/* APK page benefits: six cards as a balanced 3 + 3 block */
@media (min-width: 901px) {
  .features--apk-benefits {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 600px) {
.features--apk-benefits {
    grid-template-columns: 1fr !important;
  }
}

/* Catalog page */
.catalog-hero {
  min-height: auto !important;
  padding-bottom: 72px !important;
}

.catalog-info-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: 24px;
}

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

.catalog-card {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
  gap: 18px;
  min-height: 228px;
  padding: 20px;
  border: 1px solid rgba(66, 232, 255, .18);
  border-radius: 20px;
  background:
    linear-gradient(145deg, rgba(16, 24, 42, .88), rgba(7, 11, 23, .78)),
    radial-gradient(circle at 0% 0%, rgba(66, 232, 255, .10), transparent 16rem);
  box-shadow: var(--shadow-neon);
  overflow: hidden;
}

.catalog-card > div:last-child {
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.catalog-logo {
  width: 112px;
  height: 92px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
  border: 1px solid rgba(66, 232, 255, .16);
  border-radius: 16px;
  background: rgba(2, 4, 10, .62);
}

.catalog-logo img {
  max-width: 100%;
  max-height: 68px;
  object-fit: contain;
  display: block;
}

.catalog-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

.catalog-card-top h3 {
  margin: 0 !important;
}

.catalog-card-top span {
  display: none;
  flex: 0 0 auto;
  color: var(--blue);
  font-size: .72rem;
  font-weight: 800;
  line-height: 1;
  padding: 7px 9px;
  border: 1px solid rgba(66, 232, 255, .22);
  border-radius: 999px;
  background: rgba(66, 232, 255, .07);
}

.catalog-card p {
  margin-bottom: 16px !important;
  min-height: 5.05em;
  line-height: 1.68;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.catalog-card dl {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin: auto 0 0;
}

.catalog-card dl div {
  min-width: 0;
  padding: 9px 10px;
  border: 1px solid rgba(255, 255, 255, .06);
  border-radius: 12px;
  background: rgba(255, 255, 255, .035);
}

.catalog-card dt {
  color: #7f90aa;
  font-size: .68rem;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 3px;
}

.catalog-card dd {
  color: var(--white);
  font-size: .82rem;
  font-weight: 800;
  line-height: 1.25;
  margin: 0;
}

@media (max-width: 900px) {
  .catalog-info-grid,
  .catalog-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .catalog-card {
    grid-template-columns: 74px minmax(0, 1fr);
    gap: 14px;
    min-height: 0;
    padding: 16px;
    border-radius: 18px;
  }

  .catalog-logo {
    width: 74px;
    height: 62px;
    padding: 8px;
    border-radius: 14px;
  }

  .catalog-logo img {
    max-height: 44px;
  }

  .catalog-card-top {
    flex-direction: column;
    gap: 7px;
  }

  .catalog-card dl {
    grid-template-columns: 1fr;
  }

  .catalog-card dd {
    font-size: .78rem;
  }
}

/* Site-wide typography normalization */
.hero h1,
.hero:not(.hero--short) h1,
.hero.hero--short h1 {
  font-size: clamp(2.05rem, 3.4vw, 2.75rem) !important;
  line-height: 1.12 !important;
  max-width: 900px !important;
  margin-bottom: 18px !important;
  letter-spacing: 0 !important;
}

h2,
.download-cta h2,
#screenshots h2 {
  font-size: clamp(1.55rem, 2.45vw, 2.15rem) !important;
  line-height: 1.18 !important;
  max-width: 860px;
  letter-spacing: 0 !important;
}

h3,
.card h3,
.prb-card h3,
.step-home h3,
.feature h3,
.service-card h3,
.card--surface h3,
.step-content h3,
.info-block h3,
.screen-cap strong {
  font-size: 1.05rem !important;
  line-height: 1.32 !important;
  letter-spacing: 0 !important;
}

.hero > p,
.hero-desc,
section p,
.subtitle,
.faq-a,
.feature p,
.card p,
.prb-card p,
.step-home p,
.service-card p,
.info-block p,
.download-cta > p,
.alert,
.highlight,
.not-list li,
.service-list li {
  font-size: .98rem !important;
  line-height: 1.68 !important;
  letter-spacing: 0 !important;
}

.subtitle {
  max-width: 700px;
}

.faq-q {
  font-size: 1rem !important;
  line-height: 1.36 !important;
}

@media (max-width: 900px) {
  .hero h1,
  .hero:not(.hero--short) h1,
  .hero.hero--short h1 {
    font-size: 2.15rem !important;
    line-height: 1.14 !important;
  }

  h2,
  .download-cta h2,
  #screenshots h2 {
    font-size: 1.82rem !important;
  }
}

@media (max-width: 600px) {
  .hero,
  .hero:not(.hero--short),
  .hero.hero--short {
    min-height: auto !important;
    padding-top: 104px !important;
    padding-bottom: 52px !important;
    justify-content: flex-start !important;
  }

  .hero h1,
  .hero:not(.hero--short) h1,
  .hero.hero--short h1 {
    font-size: 1.62rem !important;
    line-height: 1.16 !important;
  }

  h2,
  .download-cta h2,
  #screenshots h2 {
    font-size: 1.46rem !important;
    line-height: 1.2 !important;
  }

  h3,
  .card h3,
  .prb-card h3,
  .step-home h3,
  .feature h3,
  .service-card h3,
  .card--surface h3,
  .step-content h3,
  .info-block h3,
  .screen-cap strong {
    font-size: .98rem !important;
  }

  .hero > p,
  .hero-desc,
  section p,
  .subtitle,
  .faq-a,
  .feature p,
  .card p,
  .prb-card p,
  .step-home p,
  .service-card p,
  .info-block p,
  .download-cta > p,
  .alert,
  .highlight,
  .not-list li,
  .service-list li {
    font-size: .92rem !important;
    line-height: 1.58 !important;
  }
}
