/* ============================================================
   X CRASH VIP — Premium Light Theme
   crashscript.com
   ============================================================ */

/* ---------- Google Fonts ---------- */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800;900&family=Cairo:wght@400;600;700;800;900&display=swap');

/* ---------- CSS Variables ---------- */
:root {
  --bg:            #f5f7ff;
  --bg-card:       #ffffff;
  --bg-nav:        rgba(255,255,255,0.85);
  --text:          #0d1117;
  --text-muted:    #5a6480;
  --text-light:    #8892b0;
  --accent:        #1565c0;
  --accent-light:  #1e88e5;
  --accent-glow:   rgba(21,101,192,0.18);
  --gold:          #f59e0b;
  --gold-light:    #fbbf24;
  --cyan:          #00bcd4;
  --cyan-light:    #26c6da;
  --gradient-hero: linear-gradient(135deg, #e8f0fe 0%, #f5f7ff 40%, #e3f2fd 100%);
  --gradient-gold: linear-gradient(135deg, #f59e0b, #fbbf24);
  --gradient-btn:  linear-gradient(135deg, #1565c0, #1e88e5);
  --shadow-card:   0 4px 24px rgba(21,101,192,0.10), 0 1px 4px rgba(0,0,0,0.06);
  --shadow-hover:  0 12px 40px rgba(21,101,192,0.20), 0 4px 12px rgba(0,0,0,0.08);
  --shadow-btn:    0 4px 20px rgba(21,101,192,0.30);
  --border:        rgba(21,101,192,0.12);
  --radius:        16px;
  --radius-sm:     10px;
  --radius-lg:     24px;
  --transition:    0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --font-en:       'Outfit', sans-serif;
  --font-ar:       'Cairo', sans-serif;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-en);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}
[lang="ar"] body, body[dir="rtl"] { font-family: var(--font-ar); }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* ---------- Scrollbar ---------- */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: #e8f0fe; }
::-webkit-scrollbar-thumb { background: var(--accent); border-radius: 99px; }

/* ============================================================
   NAVBAR
   ============================================================ */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: var(--bg-nav);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow var(--transition);
}
.navbar.scrolled {
  box-shadow: 0 4px 24px rgba(21,101,192,0.12);
}
.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: .04em;
  color: var(--text);
  transition: opacity var(--transition);
}
.nav-logo:hover { opacity: 0.8; }
.nav-icon {
  width: 38px; height: 38px;
  border-radius: 10px;
  object-fit: contain;
  box-shadow: 0 2px 8px rgba(245,158,11,0.25);
}
.nav-brand { color: var(--text); }
.nav-brand .accent { color: var(--accent); }
.nav-actions { display: flex; align-items: center; gap: 12px; }
.lang-btn {
  display: flex; align-items: center; gap: 6px;
  padding: 8px 14px;
  border-radius: 99px;
  border: 1.5px solid var(--border);
  background: transparent;
  color: var(--text-muted);
  font-size: .85rem;
  font-weight: 600;
  transition: all var(--transition);
}
.lang-btn:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accent-glow);
}
.nav-cta {
  padding: 9px 22px;
  background: var(--gradient-btn);
  color: #fff;
  border-radius: 99px;
  font-size: .88rem;
  font-weight: 700;
  letter-spacing: .03em;
  box-shadow: var(--shadow-btn);
  transition: all var(--transition);
}
.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(21,101,192,0.40);
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 120px 24px 60px;
  overflow: hidden;
  background: var(--gradient-hero);
}
.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}
.grid-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(21,101,192,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(21,101,192,0.06) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 50%, black 40%, transparent 100%);
}
/* Floating Orbs */
.hero-bg::before {
  content: '';
  position: absolute;
  width: 560px; height: 560px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(21,101,192,0.13) 0%, transparent 70%);
  top: -100px; left: -100px;
  animation: orbFloat 8s ease-in-out infinite;
}
.hero-bg::after {
  content: '';
  position: absolute;
  width: 400px; height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(245,158,11,0.12) 0%, transparent 70%);
  bottom: -80px; right: -80px;
  animation: orbFloat 10s ease-in-out infinite reverse;
}
@keyframes orbFloat {
  0%, 100% { transform: translate(0,0) scale(1); }
  50% { transform: translate(30px, 20px) scale(1.05); }
}

/* Particles */
.particle {
  position: absolute;
  left: var(--x); top: var(--y);
  width: calc(6px * var(--s) * 3);
  height: calc(6px * var(--s) * 3);
  border-radius: 50%;
  background: var(--accent);
  opacity: calc(0.3 * var(--s));
  animation: particlePulse var(--d) ease-in-out infinite;
}
@keyframes particlePulse {
  0%, 100% { transform: scale(1); opacity: calc(0.2 * var(--s)); }
  50% { transform: scale(1.8); opacity: calc(0.5 * var(--s)); }
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 860px;
  margin: 0 auto;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 20px;
  background: rgba(21,101,192,0.10);
  border: 1.5px solid rgba(21,101,192,0.22);
  border-radius: 99px;
  font-size: .82rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: .05em;
  text-transform: uppercase;
  margin-bottom: 28px;
  animation: fadeSlideDown 0.7s ease both;
}
@keyframes fadeSlideDown {
  from { opacity:0; transform:translateY(-16px); }
  to   { opacity:1; transform:translateY(0); }
}

.hero-title {
  font-size: clamp(2.4rem, 6vw, 4.2rem);
  font-weight: 900;
  line-height: 1.1;
  color: var(--text);
  margin-bottom: 20px;
  animation: fadeSlideUp 0.8s ease 0.1s both;
}
@keyframes fadeSlideUp {
  from { opacity:0; transform:translateY(24px); }
  to   { opacity:1; transform:translateY(0); }
}
.title-line-1 { display: block; }
.title-line-2 {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 8px;
}
.brand-img-wrap {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: 99px;
  padding: 6px 16px 6px 10px;
  box-shadow: 0 2px 12px rgba(21,101,192,0.12);
  transition: box-shadow var(--transition);
}
.brand-img-wrap:hover { box-shadow: 0 6px 20px rgba(21,101,192,0.22); }
.brand-inline { width: 32px; height: 32px; object-fit: contain; border-radius: 50%; }
.brand-name-txt { font-weight: 800; font-size: 1rem; color: var(--text); }
.amp { font-weight: 800; color: var(--text-muted); font-size: 1.8rem; }

.hero-sub {
  font-size: clamp(1rem, 2.2vw, 1.2rem);
  color: var(--text-muted);
  max-width: 640px;
  margin: 0 auto 36px;
  line-height: 1.75;
  animation: fadeSlideUp 0.8s ease 0.2s both;
}

/* Download Button */
.hero-cta-group {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 32px;
  animation: fadeSlideUp 0.8s ease 0.3s both;
}
.btn-download {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 14px 28px;
  background: var(--gradient-btn);
  color: #fff;
  border-radius: var(--radius);
  font-size: 1rem;
  font-weight: 700;
  box-shadow: var(--shadow-btn);
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}
.btn-download::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.18), transparent);
  opacity: 0;
  transition: opacity var(--transition);
}
.btn-download:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(21,101,192,0.40);
}
.btn-download:hover::before { opacity: 1; }
.apk-icon {
  width: 68px; height: 68px;
  object-fit: contain;
  border-radius: 14px;
  background: rgba(255,255,255,0.22);
  padding: 5px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.18);
  flex-shrink: 0;
}
.btn-download-text { text-align: left; }
.btn-download-sub { display: block; font-size: .75rem; opacity: 0.8; letter-spacing: .04em; }
.btn-download-main { display: block; font-size: 1.05rem; font-weight: 800; }
.btn-arrow {
  font-size: 1.4rem;
  font-weight: 800;
  margin-left: 4px;
  animation: bounceDown 1.2s ease-in-out infinite;
}
@keyframes bounceDown { 0%,100%{transform:translateY(0)} 50%{transform:translateY(5px)} }

.btn-telegram {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 22px;
  background: #fff;
  color: var(--accent);
  border-radius: var(--radius);
  font-size: .95rem;
  font-weight: 700;
  border: 1.5px solid var(--border);
  box-shadow: var(--shadow-card);
  transition: all var(--transition);
}
.btn-telegram:hover {
  border-color: var(--accent);
  background: var(--accent-glow);
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
}

/* Promo Banner */
.promo-banner {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  padding: 14px 24px;
  background: #fff;
  border: 1.5px solid rgba(245,158,11,0.30);
  border-radius: var(--radius);
  box-shadow: 0 4px 20px rgba(245,158,11,0.12);
  max-width: 560px;
  margin: 0 auto;
  animation: fadeSlideUp 0.8s ease 0.4s both;
}
.promo-label { font-size: .9rem; color: var(--text-muted); }
.promo-code-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(245,158,11,0.10);
  border: 1.5px dashed rgba(245,158,11,0.50);
  border-radius: var(--radius-sm);
  padding: 6px 16px;
}
.promo-code-text {
  font-size: 1.2rem;
  font-weight: 900;
  letter-spacing: .12em;
  color: var(--gold);
}
.promo-copy-btn {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 4px 12px;
  background: var(--gradient-gold);
  color: #fff;
  border-radius: 6px;
  font-size: .78rem;
  font-weight: 700;
  transition: all var(--transition);
}
.promo-copy-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 14px rgba(245,158,11,0.40);
}

/* Platforms Row */
.platforms-row {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 40px;
  padding: 12px 24px;
  background: rgba(255,255,255,0.70);
  backdrop-filter: blur(8px);
  border-radius: 99px;
  border: 1px solid var(--border);
  font-size: .88rem;
  color: var(--text-muted);
  animation: fadeSlideUp 0.8s ease 0.5s both;
}
.platforms-row img { width: 28px; height: 28px; object-fit: contain; border-radius: 50%; }
.platforms-row strong { color: var(--text); font-weight: 700; }
.separator { color: var(--border); }

/* ============================================================
   STATS BAND
   ============================================================ */
.stats-band {
  background: var(--gradient-btn);
  padding: 40px 24px;
}
.stats-container {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 24px;
}
.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  text-align: center;
}
.stat-num {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 900;
  color: #fff;
  line-height: 1;
}
.stat-label {
  font-size: .82rem;
  color: rgba(255,255,255,0.75);
  font-weight: 500;
  letter-spacing: .03em;
  text-transform: uppercase;
}
.stat-divider {
  width: 1px;
  height: 50px;
  background: rgba(255,255,255,0.20);
}
@media (max-width: 600px) { .stat-divider { display: none; } }

/* ============================================================
   SECTION SHARED
   ============================================================ */
.section-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}
.section-header {
  text-align: center;
  margin-bottom: 56px;
}
.section-tag {
  display: inline-block;
  padding: 6px 18px;
  background: rgba(21,101,192,0.10);
  color: var(--accent);
  border-radius: 99px;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: 14px;
  border: 1px solid rgba(21,101,192,0.18);
}
.section-title {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 900;
  color: var(--text);
  line-height: 1.2;
  margin-bottom: 14px;
}
.section-sub {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ============================================================
   SCREENSHOTS
   ============================================================ */
.screenshots-section {
  padding: 100px 0;
  background: #f0f4ff;
}
.screenshots-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  align-items: start;
}
@media (max-width: 900px) {
  .screenshots-grid { grid-template-columns: 1fr; max-width: 380px; margin: 0 auto; }
}
.screenshot-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  border: 1px solid var(--border);
  transition: all var(--transition);
  position: relative;
  display: flex;
  flex-direction: column;
}
.screenshot-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
}
.screenshot-card.featured {
  transform: scale(1.04);
  border-color: rgba(245,158,11,0.35);
  box-shadow: 0 8px 40px rgba(245,158,11,0.18), 0 2px 8px rgba(0,0,0,0.06);
}
.screenshot-card.featured:hover {
  transform: scale(1.04) translateY(-8px);
}
.screenshot-glow {
  position: absolute;
  top: -40px; left: 50%;
  transform: translateX(-50%);
  width: 200px; height: 100px;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}
.glow-cyan { background: radial-gradient(ellipse, rgba(0,188,212,0.18), transparent); }
.glow-gold { background: radial-gradient(ellipse, rgba(245,158,11,0.20), transparent); }
.featured-badge {
  position: absolute;
  top: 14px; left: 50%;
  transform: translateX(-50%);
  background: var(--gradient-gold);
  color: #fff;
  padding: 5px 16px;
  border-radius: 99px;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .06em;
  white-space: nowrap;
  z-index: 2;
  box-shadow: 0 4px 14px rgba(245,158,11,0.40);
}
.screenshot-img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
  background: #0f1a2e;
  padding: 8px;
}
.screenshot-caption {
  padding: 20px;
  background: #fff;
  flex: 1;
}
.cap-title {
  font-size: 1rem;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 8px;
}
.cap-desc {
  font-size: .86rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ============================================================
   FEATURES
   ============================================================ */
.features-section {
  padding: 100px 0;
  background: var(--bg);
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
@media (max-width: 900px) { .features-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 580px) { .features-grid { grid-template-columns: 1fr; } }
.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  box-shadow: var(--shadow-card);
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}
.feature-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--gradient-btn);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}
.feature-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover); }
.feature-card:hover::before { transform: scaleX(1); }
.feature-icon {
  font-size: 2.2rem;
  margin-bottom: 16px;
  display: block;
}
.feature-title {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 10px;
}
.feature-desc {
  font-size: .88rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ============================================================
   HOW IT WORKS
   ============================================================ */
.howto-section {
  padding: 100px 0;
  background: #f0f4ff;
}
.steps-list {
  max-width: 720px;
  margin: 0 auto;
}
.step-item {
  display: flex;
  align-items: flex-start;
  gap: 24px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  box-shadow: var(--shadow-card);
  transition: all var(--transition);
}
.step-item:hover { box-shadow: var(--shadow-hover); }
.step-num {
  flex-shrink: 0;
  width: 54px; height: 54px;
  border-radius: 50%;
  background: var(--gradient-btn);
  color: #fff;
  font-size: 1.1rem;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(21,101,192,0.30);
}
.step-content { flex: 1; }
.step-title {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 8px;
}
.step-desc {
  font-size: .9rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 16px;
}
.step-btns { display: flex; flex-wrap: wrap; gap: 10px; }
.step-platform-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  border-radius: 99px;
  font-size: .84rem;
  font-weight: 700;
  transition: all var(--transition);
  border: 1.5px solid transparent;
}
.btn-1xbet {
  background: rgba(21,101,192,0.08);
  color: var(--accent);
  border-color: rgba(21,101,192,0.20);
}
.btn-1xbet:hover { background: var(--accent); color: #fff; transform: translateY(-2px); }
.btn-melbet {
  background: rgba(245,158,11,0.08);
  color: var(--gold);
  border-color: rgba(245,158,11,0.25);
}
.btn-melbet:hover { background: var(--gold); color: #fff; transform: translateY(-2px); }
.step-connector { padding: 0 0 0 100px; }
.connector-line {
  height: 32px;
  width: 2px;
  background: linear-gradient(to bottom, var(--accent), transparent);
  margin: 4px 0;
  opacity: 0.3;
}

/* ============================================================
   REGISTER CTA
   ============================================================ */
.register-section {
  padding: 100px 0;
  background: var(--bg);
}
.register-container {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
}
.register-glow {
  position: absolute;
  inset: -40px;
  background: radial-gradient(ellipse 80% 60% at 50% 50%, rgba(21,101,192,0.08), transparent);
  pointer-events: none;
}
.register-content {
  background: var(--bg-card);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 56px 48px;
  text-align: center;
  position: relative;
  box-shadow: var(--shadow-card);
}
@media (max-width: 600px) { .register-content { padding: 36px 24px; } }
.register-title {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 900;
  color: var(--text);
  margin-bottom: 16px;
}
.register-sub {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 32px;
}
.register-promo-display {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 32px;
  font-size: .9rem;
  color: var(--text-muted);
}
.promo-big {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(245,158,11,0.10);
  border: 2px dashed rgba(245,158,11,0.50);
  border-radius: var(--radius-sm);
  padding: 10px 22px;
}
.promo-big span {
  font-size: 1.5rem;
  font-weight: 900;
  letter-spacing: .14em;
  color: var(--gold);
}
.copy-big-btn {
  display: flex;
  align-items: center;
  color: var(--gold);
  padding: 4px;
  transition: transform var(--transition);
}
.copy-big-btn:hover { transform: scale(1.2); }
.register-btns {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 24px;
}
.reg-btn {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 28px;
  border-radius: var(--radius);
  font-weight: 700;
  transition: all var(--transition);
  border: 1.5px solid transparent;
  text-align: left;
}
.reg-btn img { width: 36px; height: 36px; object-fit: contain; border-radius: 50%; flex-shrink: 0; }
.reg-btn-label { display: block; font-size: .75rem; opacity: 0.75; font-weight: 500; }
.reg-btn-platform { display: block; font-size: 1.1rem; font-weight: 900; }
.reg-btn-1xbet {
  background: rgba(21,101,192,0.06);
  border-color: rgba(21,101,192,0.22);
  color: var(--accent);
  box-shadow: 0 2px 12px rgba(21,101,192,0.10);
}
.reg-btn-1xbet:hover {
  background: var(--gradient-btn);
  color: #fff;
  border-color: var(--accent);
  transform: translateY(-4px);
  box-shadow: var(--shadow-btn);
}
.reg-btn-melbet {
  background: rgba(245,158,11,0.06);
  border-color: rgba(245,158,11,0.25);
  color: #7a5a00;
  box-shadow: 0 2px 12px rgba(245,158,11,0.10);
}
.reg-btn-melbet:hover {
  background: var(--gradient-gold);
  color: #fff;
  border-color: var(--gold);
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(245,158,11,0.35);
}
.btn-download-hero {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 16px 32px;
  background: var(--gradient-btn);
  color: #fff;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 1rem;
  box-shadow: var(--shadow-btn);
  transition: all var(--transition);
  margin-top: 8px;
}
.btn-download-hero:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(21,101,192,0.40);
}
.btn-download-hero img { width: 38px; height: 38px; object-fit: contain; border-radius: 10px; background: rgba(255,255,255,0.15); padding: 3px; }
.btn-download-hero span { display: block; font-size: 1.05rem; font-weight: 800; }
.btn-download-hero small { display: block; font-size: .75rem; opacity: 0.8; font-weight: 400; }

/* ============================================================
   FAQ
   ============================================================ */
.faq-section {
  padding: 100px 0;
  background: #f0f4ff;
}
.faq-list {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: box-shadow var(--transition);
}
.faq-item:hover { box-shadow: var(--shadow-hover); }
.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 20px 24px;
  font-size: .96rem;
  font-weight: 700;
  color: var(--text);
  text-align: left;
  transition: background var(--transition);
}
[dir="rtl"] .faq-q { text-align: right; }
.faq-q:hover { background: rgba(21,101,192,0.04); }
.faq-q[aria-expanded="true"] { color: var(--accent); }
.faq-arrow {
  font-size: 1.2rem;
  transition: transform 0.3s ease;
  flex-shrink: 0;
  color: var(--text-light);
}
.faq-q[aria-expanded="true"] .faq-arrow { transform: rotate(180deg); color: var(--accent); }
.faq-a {
  padding: 0 24px 20px;
  font-size: .9rem;
  color: var(--text-muted);
  line-height: 1.75;
}
.faq-a p { margin: 0; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: #0d1117;
  color: rgba(255,255,255,0.75);
  padding: 56px 24px 32px;
}
.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 14px;
}
.footer-brand img { width: 44px; height: 44px; object-fit: contain; border-radius: 10px; }
.footer-brand-name { font-size: 1rem; font-weight: 800; color: #fff; letter-spacing: .06em; }
.footer-brand-domain { font-size: .82rem; color: rgba(255,255,255,0.50); }
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
}
.footer-links a {
  font-size: .88rem;
  color: rgba(255,255,255,0.60);
  transition: color var(--transition);
}
.footer-links a:hover { color: var(--gold); }
.footer-seo-block {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding-top: 20px;
}
.seo-keywords {
  font-size: .72rem;
  color: rgba(255,255,255,0.18);
  line-height: 1.8;
  word-break: break-word;
}
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 20px;
  font-size: .82rem;
  color: rgba(255,255,255,0.40);
}
.footer-disclaimer { font-size: .75rem; color: rgba(255,255,255,0.30); }

/* ============================================================
   TOAST
   ============================================================ */
.toast {
  position: fixed;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: var(--text);
  color: #fff;
  padding: 12px 28px;
  border-radius: 99px;
  font-size: .9rem;
  font-weight: 600;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: all 0.35s ease;
  z-index: 9999;
  box-shadow: 0 8px 32px rgba(0,0,0,0.25);
}
.toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* ============================================================
   RTL SUPPORT
   ============================================================ */
[dir="rtl"] .btn-download-text { text-align: right; }
[dir="rtl"] .step-connector { padding: 0 100px 0 0; }
[dir="rtl"] .footer-bottom { flex-direction: row-reverse; }
[dir="rtl"] .nav-actions { flex-direction: row-reverse; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 768px) {
  .hero { padding: 100px 16px 48px; }
  .nav-container { padding: 0 16px; }
  .register-content { padding: 32px 20px; }
  .step-item { flex-direction: column; gap: 16px; }
  .step-connector { padding: 0 0 0 27px; }
  [dir="rtl"] .step-connector { padding: 0 27px 0 0; }
  .screenshots-section, .features-section, .howto-section,
  .register-section, .faq-section { padding: 72px 0; }
  .section-container { padding: 0 16px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .register-btns { flex-direction: column; }
  .reg-btn { justify-content: center; }
}
@media (max-width: 480px) {
  .hero-cta-group { flex-direction: column; }
  .btn-download, .btn-telegram { width: 100%; justify-content: center; }
  .promo-banner { flex-direction: column; }
  .title-line-2 { gap: 8px; }
  .brand-img-wrap { padding: 5px 12px 5px 8px; }
}
