/* ===== 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;
}
.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-cta {
  background: var(--blue); color: #000;
  font-weight: 700; padding: 8px 20px;
  border-radius: 8px; font-size: .9rem;
  transition: opacity .2s;
}
.nav-cta:hover { opacity: .85; }

/* ── 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;
}

/* ── 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: 70vh; padding-top: 48px; }
.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;
}
.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; }
.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-name { font-size: 1rem; font-weight: 800; color: var(--blue); margin-bottom: 6px; }
.casino-bonus, .casino-info { font-size: .78rem; color: var(--gray); }

/* ── 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(200px, 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); }

/* ── 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; }

/* ── 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; }
}
