/* ============================================
   LuckyJet — Авторские стили сайта
   Палитра: #FFFFFF фон, #F3F2F7 меню, #FFCC2A шапка, #17161D кнопки
   ============================================ */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --color-bg: #FFFFFF;
  --color-menu: #F3F2F7;
  --color-header: #FFCC2A;
  --color-btn: #17161D;
  --color-btn-hover: #2a2932;
  --color-text: #17161D;
  --color-text-muted: #5b5a66;
  --color-border: #e7e6ee;
  --color-accent: #FFCC2A;
  --color-accent-2: #7c3aed;
  --color-success: #16a34a;
  --color-warning: #f59e0b;
  --shadow-sm: 0 2px 8px rgba(23, 22, 29, 0.06);
  --shadow-md: 0 6px 20px rgba(23, 22, 29, 0.08);
  --shadow-lg: 0 12px 36px rgba(23, 22, 29, 0.12);
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --container: 1200px;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  background-color: var(--color-bg);
  color: var(--color-text);
  line-height: 1.6;
  font-size: 16px;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--color-text);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--color-accent-2);
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
}

/* ====== HEADER ====== */
.site-header {
  background-color: var(--color-header);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--shadow-sm);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  gap: 24px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 20px;
  color: var(--color-btn);
}

.logo img {
  height: 40px;
  width: auto;
  display: block;
}

.logo.logo-image-only { gap: 0; }

.logo-text {
  letter-spacing: -0.5px;
}

.main-nav {
  display: flex;
  gap: 6px;
  align-items: center;
  flex-wrap: wrap;
}

.main-nav a {
  padding: 9px 16px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 15px;
  color: var(--color-btn);
  transition: background-color 0.2s ease;
}

.main-nav a:hover,
.main-nav a.active {
  background-color: rgba(23, 22, 29, 0.1);
  color: var(--color-btn);
}

.btn-play-header {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: var(--color-btn);
  color: #fff !important;
  padding: 11px 22px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 15px;
  transition: transform 0.18s ease, background-color 0.2s ease;
}

.btn-play-header:hover {
  background-color: var(--color-btn-hover);
  transform: translateY(-1px);
  color: #fff !important;
}

.menu-toggle {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 8px;
  font-size: 26px;
  color: var(--color-btn);
}

/* ====== SUB MENU (Под шапкой как у BC-Game) ====== */
.sub-menu {
  background-color: var(--color-menu);
  border-bottom: 1px solid var(--color-border);
}

.sub-menu-inner {
  display: flex;
  gap: 4px;
  overflow-x: auto;
  padding: 10px 0;
  scrollbar-width: none;
}

.sub-menu-inner::-webkit-scrollbar { display: none; }

.sub-menu a {
  white-space: nowrap;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  color: var(--color-text-muted);
  background-color: transparent;
  transition: all 0.2s ease;
}

.sub-menu a:hover,
.sub-menu a.active {
  background-color: var(--color-btn);
  color: #fff;
}

/* ====== HERO ====== */
.hero {
  padding: 56px 0 40px;
  background:
    radial-gradient(1200px 400px at 80% -50%, rgba(255, 204, 42, 0.18), transparent),
    radial-gradient(800px 320px at 10% 120%, rgba(124, 58, 237, 0.10), transparent),
    var(--color-bg);
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}

.hero h1 {
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: -1px;
  margin-bottom: 18px;
  color: var(--color-btn);
}

.hero h1 .accent {
  color: var(--color-accent-2);
}

.hero .lead {
  font-size: 17px;
  color: var(--color-text-muted);
  margin-bottom: 24px;
  max-width: 560px;
}

.hero-ctas {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 26px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 15px;
  border: none;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.2s ease, background-color 0.2s ease;
  text-align: center;
  line-height: 1;
}

.btn-primary {
  background-color: var(--color-btn);
  color: #fff !important;
}

.btn-primary:hover {
  background-color: var(--color-btn-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  color: #fff !important;
}

.btn-yellow {
  background-color: var(--color-accent);
  color: var(--color-btn) !important;
}

.btn-yellow:hover {
  filter: brightness(0.96);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  color: var(--color-btn) !important;
}

.btn-outline {
  background: transparent;
  color: var(--color-btn) !important;
  border: 2px solid var(--color-btn);
}

.btn-outline:hover {
  background-color: var(--color-btn);
  color: #fff !important;
}

.btn-lg {
  padding: 16px 32px;
  font-size: 16px;
}

.hero-meta {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
  color: var(--color-text-muted);
  font-size: 14px;
}

.hero-meta span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.hero-meta i {
  color: var(--color-success);
}

.hero-visual {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background-color: #0f0e16;
}

.hero-visual img {
  width: 100%;
  display: block;
}

.hero-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  background-color: var(--color-accent);
  color: var(--color-btn);
  padding: 6px 12px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.4px;
  text-transform: uppercase;
}

/* ====== SECTIONS ====== */
section {
  padding: 56px 0;
}

.section-title {
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 800;
  letter-spacing: -0.6px;
  margin-bottom: 16px;
  color: var(--color-btn);
  line-height: 1.2;
}

.section-lead {
  font-size: 17px;
  color: var(--color-text-muted);
  max-width: 780px;
  margin-bottom: 32px;
}

h2 {
  font-size: clamp(22px, 2.6vw, 30px);
  font-weight: 800;
  margin: 28px 0 14px;
  color: var(--color-btn);
  letter-spacing: -0.5px;
  line-height: 1.25;
}

h3 {
  font-size: clamp(18px, 2vw, 22px);
  font-weight: 700;
  margin: 22px 0 10px;
  color: var(--color-btn);
}

p {
  margin-bottom: 14px;
  color: #2f2e3a;
}

.prose {
  max-width: 880px;
}

.prose p { font-size: 16px; line-height: 1.75; }

.prose ul, .prose ol {
  margin: 12px 0 18px 22px;
}

.prose li {
  margin-bottom: 8px;
  line-height: 1.7;
}

/* ====== FEATURE GRID ====== */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
  margin: 24px 0;
}

.feature-card {
  background-color: var(--color-menu);
  padding: 22px;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background-color: var(--color-accent);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  color: var(--color-btn);
  margin-bottom: 12px;
}

.feature-card h3 {
  font-size: 18px;
  margin: 0 0 6px;
}

.feature-card p {
  font-size: 14px;
  color: var(--color-text-muted);
  margin: 0;
}

/* ====== STATS BAR ====== */
.stats-bar {
  background-color: var(--color-btn);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 28px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 18px;
  margin: 32px 0;
}

.stat-item {
  text-align: center;
}

.stat-item .num {
  font-size: 28px;
  font-weight: 800;
  color: var(--color-accent);
  display: block;
}

.stat-item .label {
  font-size: 13px;
  opacity: 0.75;
}

/* ====== TWO-COL ====== */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
  align-items: center;
  margin: 28px 0;
}

.two-col.reverse > div:first-child { order: 2; }

.two-col img {
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
}

/* ====== TABLE ====== */
.table-wrap {
  overflow-x: auto;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  margin: 18px 0 24px;
}

table {
  width: 100%;
  border-collapse: collapse;
  background-color: #fff;
}

th, td {
  padding: 14px 16px;
  text-align: left;
  font-size: 15px;
  border-bottom: 1px solid var(--color-border);
}

th {
  background-color: var(--color-menu);
  font-weight: 700;
  color: var(--color-btn);
}

tr:last-child td { border-bottom: none; }

tr:hover td { background-color: rgba(255, 204, 42, 0.06); }

/* ====== FAQ ====== */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 18px 0;
}

.faq-item {
  background-color: var(--color-menu);
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  overflow: hidden;
}

.faq-q {
  padding: 18px 22px;
  font-weight: 700;
  font-size: 16px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  color: var(--color-btn);
  user-select: none;
}

.faq-q::after {
  content: '+';
  font-size: 22px;
  font-weight: 400;
  transition: transform 0.2s ease;
  color: var(--color-accent-2);
}

.faq-item.open .faq-q::after {
  content: '−';
}

.faq-a {
  padding: 0 22px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  font-size: 15px;
  color: var(--color-text-muted);
  line-height: 1.7;
}

.faq-item.open .faq-a {
  padding: 0 22px 18px;
  max-height: 800px;
}

/* ====== CTA BLOCK ====== */
.cta-block {
  background: linear-gradient(135deg, var(--color-accent) 0%, #ffb700 100%);
  border-radius: var(--radius-lg);
  padding: 40px;
  text-align: center;
  margin: 36px 0;
  box-shadow: var(--shadow-md);
}

.cta-block h2 {
  color: var(--color-btn);
  font-size: clamp(22px, 2.6vw, 30px);
  margin-bottom: 10px;
}

.cta-block p {
  color: rgba(23, 22, 29, 0.85);
  font-size: 16px;
  max-width: 620px;
  margin: 0 auto 22px;
}

.promo-tag {
  display: inline-block;
  background-color: var(--color-btn);
  color: var(--color-accent);
  padding: 6px 14px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 1px;
  margin-bottom: 14px;
}

/* ====== STEPS ====== */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
  counter-reset: stepCounter;
  margin: 24px 0;
}

.step {
  background-color: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 22px;
  position: relative;
  counter-increment: stepCounter;
}

.step::before {
  content: counter(stepCounter);
  position: absolute;
  top: -14px;
  left: 22px;
  width: 36px;
  height: 36px;
  background-color: var(--color-btn);
  color: var(--color-accent);
  font-weight: 800;
  font-size: 16px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.step h3 {
  margin-top: 8px;
  font-size: 17px;
}

.step p {
  font-size: 14px;
  color: var(--color-text-muted);
  margin: 0;
}

/* ====== TOC ====== */
.toc {
  background-color: var(--color-menu);
  border-radius: var(--radius-md);
  padding: 22px 26px;
  margin: 24px 0 36px;
  border-left: 4px solid var(--color-accent);
}

.toc-title {
  font-weight: 800;
  margin-bottom: 12px;
  color: var(--color-btn);
  font-size: 17px;
}

.toc ol {
  margin: 0;
  padding-left: 22px;
}

.toc li {
  margin-bottom: 6px;
  line-height: 1.5;
}

.toc a {
  color: var(--color-text);
  font-weight: 500;
  font-size: 15px;
}

.toc a:hover {
  color: var(--color-accent-2);
}

/* ====== TRUST BAR ====== */
.trust-bar {
  background-color: var(--color-menu);
  padding: 32px 0;
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.trust-bar h3 {
  text-align: center;
  font-size: 14px;
  font-weight: 600;
  color: var(--color-text-muted);
  margin-bottom: 18px;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.trust-logos {
  display: flex;
  gap: 36px;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  opacity: 0.85;
}

.trust-logos img {
  height: 44px;
  width: auto;
  max-width: 160px;
  filter: grayscale(20%);
  transition: filter 0.2s ease, opacity 0.2s ease;
}

.trust-logos img:hover { filter: none; }

/* ====== INFO CALLOUT ====== */
.callout {
  background-color: #fff8e1;
  border-left: 4px solid var(--color-accent);
  padding: 16px 20px;
  border-radius: var(--radius-sm);
  margin: 18px 0;
  font-size: 15px;
  color: #4b4733;
}

.callout.info {
  background-color: #eef4ff;
  border-color: #4f6cff;
  color: #2b3a72;
}

.callout strong { color: var(--color-btn); }

/* ====== COMPARE CARDS ====== */
.compare-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
  margin: 24px 0;
}

.compare-card {
  background-color: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 22px;
  box-shadow: var(--shadow-sm);
}

.compare-card.featured {
  border-color: var(--color-accent);
  border-width: 2px;
  position: relative;
}

.compare-card.featured::before {
  content: 'НАШ ОБЗОР';
  position: absolute;
  top: -10px;
  left: 18px;
  background-color: var(--color-accent);
  color: var(--color-btn);
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.6px;
}

.compare-card h3 {
  margin-top: 0;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.compare-card .rating {
  background-color: var(--color-accent);
  color: var(--color-btn);
  padding: 3px 10px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 800;
}

.compare-card ul {
  list-style: none;
  margin: 12px 0;
  padding: 0;
}

.compare-card li {
  padding: 6px 0;
  font-size: 14px;
  color: var(--color-text-muted);
  display: flex;
  gap: 8px;
}

.compare-card li::before {
  content: '✓';
  color: var(--color-success);
  font-weight: 800;
}

/* ====== IMAGE BLOCK ====== */
.img-block {
  margin: 28px 0;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--color-border);
}

.img-block img {
  width: 100%;
  display: block;
}

.img-caption {
  background-color: var(--color-menu);
  padding: 10px 16px;
  font-size: 13px;
  color: var(--color-text-muted);
  text-align: center;
  border-top: 1px solid var(--color-border);
}

/* ====== FOOTER ====== */
.site-footer {
  background-color: var(--color-btn);
  color: #c8c6d4;
  padding: 48px 0 24px;
  margin-top: auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 36px;
  margin-bottom: 32px;
}

.footer-col h4 {
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 14px;
  letter-spacing: 0.4px;
}

.footer-col ul { list-style: none; }

.footer-col li { margin-bottom: 8px; }

.footer-col a {
  color: #c8c6d4;
  font-size: 14px;
  transition: color 0.2s ease;
}

.footer-col a:hover { color: var(--color-accent); }

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}

.footer-logo img { height: 36px; width: auto; display: block; }

.footer-logo span { color: #fff; font-weight: 800; font-size: 18px; }

.footer-about p { font-size: 14px; color: #a09eb0; line-height: 1.65; }

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 22px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  font-size: 13px;
  color: #8a8898;
}

.age-badge {
  background-color: rgba(255, 255, 255, 0.06);
  color: #fff;
  padding: 6px 12px;
  border-radius: 6px;
  font-weight: 700;
  font-size: 12px;
}

/* ====== RESPONSIVE ====== */
@media (max-width: 960px) {
  .hero-inner { grid-template-columns: 1fr; gap: 28px; }
  .two-col { grid-template-columns: 1fr; gap: 22px; }
  .two-col.reverse > div:first-child { order: 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 26px; }
}

@media (max-width: 720px) {
  .header-inner { padding: 12px 0; gap: 10px; }
  .logo img { height: 32px; }
  .logo-text { font-size: 16px; }
  .main-nav {
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    background-color: var(--color-header);
    flex-direction: column;
    align-items: stretch;
    padding: 14px;
    gap: 4px;
    box-shadow: var(--shadow-md);
    transform: translateY(-200%);
    transition: transform 0.25s ease;
    max-height: calc(100vh - 70px);
    overflow-y: auto;
  }
  .main-nav.open { transform: translateY(0); }
  .main-nav a { padding: 12px 16px; }
  .main-nav .btn-play-header { justify-content: center; }
  .menu-toggle { display: block; }
  section { padding: 36px 0; }
  .hero { padding: 32px 0; }
  .cta-block { padding: 28px 20px; }
  .stats-bar { padding: 22px; }
  .stat-item .num { font-size: 22px; }
  .footer-grid { grid-template-columns: 1fr; gap: 22px; }
  .footer-bottom { justify-content: center; text-align: center; }
  .hero-ctas { flex-direction: column; align-items: stretch; }
  .btn { justify-content: center; }
  .trust-logos { gap: 20px; }
  .trust-logos img { height: 32px; }
  th, td { padding: 10px 12px; font-size: 14px; }
}

@media (max-width: 420px) {
  .container { padding: 0 14px; }
  .hero h1 { font-size: 26px; }
  .section-title { font-size: 22px; }
}

/* ====== UTILITIES ====== */
.text-center { text-align: center; }
.mb-0 { margin-bottom: 0; }
.mt-0 { margin-top: 0; }
.mt-2 { margin-top: 18px; }
.mb-2 { margin-bottom: 18px; }

/* Print-friendly */
@media print {
  .site-header, .site-footer, .sub-menu, .cta-block, .hero-ctas { display: none; }
}
