:root {
  --bg: hsl(230, 25%, 7%);
  --bg-95: hsla(230, 25%, 7%, 0.95);
  --fg: hsl(210, 40%, 98%);
  --card: hsl(230, 25%, 10%);
  --card-60: hsla(230, 25%, 10%, 0.6);
  --popover: hsl(230, 25%, 10%);
  --primary: hsl(263, 70%, 55%);
  --primary-fg: hsl(210, 40%, 98%);
  --secondary: hsl(230, 25%, 15%);
  --secondary-50: hsla(230, 25%, 15%, 0.5);
  --muted: hsl(230, 20%, 18%);
  --muted-fg: hsl(215, 20%, 65%);
  --accent: hsl(199, 89%, 48%);
  --border: hsl(230, 20%, 18%);
  --border-50: hsla(230, 20%, 18%, 0.5);
  --neon-purple: hsl(263, 70%, 55%);
  --neon-blue: hsl(199, 89%, 48%);
  --neon-green: hsl(142, 76%, 50%);
  --gold: hsl(45, 93%, 58%);
  --radius: 0.75rem;
  --gradient-primary: linear-gradient(135deg, hsl(263, 70%, 55%), hsl(199, 89%, 48%));
  --shadow-neon: 0 0 20px hsla(263, 70%, 55%, 0.3), 0 0 60px hsla(263, 70%, 55%, 0.1);
  --shadow-neon-hover: 0 0 30px hsla(263, 70%, 55%, 0.5), 0 0 80px hsla(263, 70%, 55%, 0.2);
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;
  --font-display: 'Inter', system-ui, -apple-system, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  background-color: var(--bg);
  color: var(--fg);
  line-height: 1.6;
  overflow-x: hidden;
}
img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
ul, ol { list-style: none; }
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.2; }

.container {
  width: 100%;
  max-width: 1400px;
  margin-inline: auto;
  padding-inline: 1.5rem;
}
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

.gradient-text {
  background-image: var(--gradient-primary);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.glass-card {
  border-radius: var(--radius);
  border: 1px solid var(--border-50);
  background-color: var(--card-60);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
}

.neon-glow { box-shadow: var(--shadow-neon); }

.btn-primary-neon {
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: var(--radius);
  padding: 1rem 2rem;
  font-size: 1.125rem; font-weight: 700;
  color: var(--primary-fg);
  background-image: var(--gradient-primary);
  box-shadow: var(--shadow-neon);
  transition: transform 0.3s, box-shadow 0.3s;
  text-align: center;
}
.btn-primary-neon:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-neon-hover);
}
.btn-primary-neon--sm {
  padding: 0.625rem 1.25rem;
  font-size: 0.875rem;
}

.btn-outline-neon {
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: var(--radius);
  border: 2px solid var(--neon-purple);
  padding: 1rem 2rem;
  font-size: 1.125rem; font-weight: 700;
  color: var(--neon-purple);
  transition: background 0.3s, transform 0.3s;
  text-align: center;
}
.btn-outline-neon:hover {
  background: hsla(263, 70%, 55%, 0.1);
  transform: translateY(-2px);
}

.badge-fire {
  display: inline-block;
  border-radius: 9999px;
  padding: 0.25rem 0.75rem;
  font-size: 0.75rem; font-weight: 700;
  background: hsla(45, 93%, 58%, 0.2);
  color: var(--gold);
  border: 1px solid hsla(45, 93%, 58%, 0.4);
}

.badge-primary {
  display: inline-block;
  border-radius: 9999px;
  padding: 0.25rem 0.75rem;
  font-size: 0.75rem; font-weight: 600;
  background: hsla(263, 70%, 55%, 0.15);
  color: var(--primary);
  border: 1px solid hsla(263, 70%, 55%, 0.2);
}

.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  transition: background 0.3s, box-shadow 0.3s;
}
.site-header.scrolled {
  background: var(--bg-95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 var(--border-50);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding-block: 0.75rem;
}
.logo { display: flex; align-items: center; gap: 0.5rem; }
.logo-wow { font-family: var(--font-display); font-size: 1.25rem; letter-spacing: 0.05em; color: var(--fg); }
.logo-bet { color: var(--primary); }
.logo-partners { font-size: 0.75rem; font-weight: 500; color: var(--muted-fg); }

.header-actions { display: flex; align-items: center; gap: 0.75rem; }

.lang-switcher { position: relative; }
.lang-btn {
  display: flex; align-items: center; gap: 0.5rem;
  padding: 0.5rem 0.75rem;
  border-radius: 0.5rem;
  background: var(--secondary-50);
  font-size: 0.875rem;
  transition: background 0.2s;
}
.lang-btn:hover { background: var(--secondary); }
.lang-btn__country { color: var(--fg); }
.lang-btn__chevron {
  width: 0.75rem; height: 0.75rem;
  color: var(--muted-fg);
  transition: transform 0.2s;
}
.lang-btn__chevron.open { transform: rotate(180deg); }

.lang-dropdown {
  display: none;
  position: absolute; top: 100%; right: 0; margin-top: 0.5rem;
  width: 14rem; padding: 0.5rem;
  border-radius: var(--radius);
  border: 1px solid var(--border-50);
  background: var(--card);
  backdrop-filter: blur(24px);
  box-shadow: 0 25px 50px -12px rgba(0,0,0,0.5);
  z-index: 200;
}
.lang-dropdown.open { display: block; }
.lang-option {
  display: flex; align-items: center; gap: 0.75rem;
  padding: 0.625rem 0.75rem;
  border-radius: 0.5rem;
  font-size: 0.875rem;
  width: 100%;
  transition: background 0.15s;
}
.lang-option:hover { background: var(--secondary); }
.lang-option.active { background: hsla(263, 70%, 55%, 0.2); color: var(--primary); }
.lang-option__flag { font-size: 1.125rem; }
.lang-option__info { text-align: left; }
.lang-option__name { font-weight: 500; }
.lang-option__lang { font-size: 0.75rem; color: var(--muted-fg); }

.header-login {
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
  font-size: 0.875rem; font-weight: 500;
  color: var(--muted-fg);
  border: 1px solid var(--border-50);
  transition: color 0.2s, border-color 0.2s;
}
.header-login:hover { color: var(--fg); border-color: hsla(263, 70%, 55%, 0.3); }

.hero {
  position: relative;
  min-height: 100vh; min-height: 100dvh;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
  padding-top: 5rem;
}
.hero__bg {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0.3;
}
.hero__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, hsla(230,25%,7%,0.6) 0%, hsla(230,25%,7%,0.8) 50%, var(--bg) 100%);
}
.hero__orb {
  position: absolute; border-radius: 50%;
  pointer-events: none;
}
.hero__orb--purple {
  top: 25%; left: 25%;
  width: 24rem; height: 24rem;
  background: hsla(263,70%,55%,0.2);
  filter: blur(128px);
}
.hero__orb--blue {
  bottom: 25%; right: 25%;
  width: 20rem; height: 20rem;
  background: hsla(199,89%,48%,0.15);
  filter: blur(100px);
}
.hero__orb--green {
  top: 33%; right: 33%;
  width: 16rem; height: 16rem;
  background: hsla(142,76%,50%,0.1);
  filter: blur(80px);
}
.hero__content {
  position: relative; z-index: 10;
  text-align: center;
  padding: 2rem 1rem;
}
.hero h1 {
  font-size: clamp(2rem, 6vw, 4.5rem);
  font-weight: 900;
  margin-bottom: 1.5rem;
}
.hero__sub {
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  color: var(--muted-fg);
  max-width: 42rem;
  margin-inline: auto;
  margin-bottom: 2.5rem;
}
.hero__ctas {
  display: flex; flex-wrap: wrap;
  align-items: center; justify-content: center;
  gap: 1rem;
}
.hero__stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  max-width: 48rem;
  margin-inline: auto;
  margin-top: 4rem;
}
.hero__stat { padding: 1rem; text-align: center; }
.hero__stat-value {
  font-family: var(--font-display);
  font-size: 1.5rem; font-weight: 700;
}
.hero__stat-label {
  font-size: 0.75rem; color: var(--muted-fg); margin-top: 0.25rem;
}

.section { padding-block: 5rem; position: relative; }
.section__title {
  font-size: clamp(1.5rem, 4vw, 2.25rem);
  font-weight: 700;
  text-align: center;
  margin-bottom: 3rem;
}
.section__subtitle {
  color: var(--muted-fg);
  text-align: center;
  margin-bottom: 3rem;
  max-width: 36rem;
  margin-inline: auto;
}

.section--gradient::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent, hsla(263,70%,55%,0.05), transparent);
  pointer-events: none;
}

.commission-grid {
  display: grid; gap: 1.5rem;
  max-width: 64rem; margin-inline: auto;
}
.commission-card {
  padding: 2rem; position: relative; overflow: hidden;
  transition: transform 0.3s;
}
.commission-card:hover { transform: scale(1.03); }
.commission-card--highlight {
  border-color: hsla(263,70%,55%,0.5);
  box-shadow: var(--shadow-neon);
}
.commission-card__badge { position: absolute; top: 1rem; right: 1rem; }
[dir="rtl"] .commission-card__badge { right: auto; left: 1rem; }
.commission-card__rate {
  font-family: var(--font-display);
  font-size: 1.875rem; font-weight: 700;
  margin-bottom: 0.5rem;
}
.commission-card__title {
  font-family: var(--font-body);
  font-size: 1.25rem; font-weight: 700;
  color: var(--fg);
  margin-bottom: 0.75rem;
}
.commission-card__desc {
  font-size: 0.875rem; color: var(--muted-fg);
}

.extra-grid {
  display: grid; gap: 1.5rem;
  max-width: 56rem; margin-inline: auto;
}
.extra-card {
  position: relative;
  border-radius: 1rem;
  border: 1px solid var(--border-50);
  background: hsla(230,25%,10%,0.8);
  backdrop-filter: blur(4px);
  padding: 2rem;
  transition: border-color 0.3s, box-shadow 0.3s;
  overflow: hidden;
}
.extra-card:hover {
  border-color: hsla(263,70%,55%,0.4);
  box-shadow: 0 0 40px -10px hsla(263,70%,55%,0.3);
}
.extra-card::after {
  content: ''; position: absolute; inset: 0;
  border-radius: 1rem;
  background: linear-gradient(135deg, hsla(263,70%,55%,0.05), hsla(199,89%,48%,0.05));
  opacity: 0;
  transition: opacity 0.3s;
  pointer-events: none;
}
.extra-card:hover::after { opacity: 1; }
.extra-card__highlight {
  font-family: var(--font-display);
  font-size: 2.25rem; font-weight: 900;
}
.extra-card__highlight-label {
  font-size: 0.875rem; color: var(--muted-fg);
}
.extra-card__points { margin-top: 1.5rem; }
.extra-card__point {
  display: flex; align-items: flex-start; gap: 0.5rem;
  font-size: 0.875rem; color: var(--muted-fg);
  margin-bottom: 0.75rem;
}
.extra-card__check {
  width: 1rem; height: 1rem;
  color: var(--primary);
  flex-shrink: 0;
  margin-top: 0.125rem;
}

.features-grid {
  display: grid; gap: 1.5rem;
  max-width: 64rem; margin-inline: auto;
}
.feature-card {
  padding: 1.5rem;
  transition: transform 0.3s, border-color 0.3s;
}
.feature-card:hover {
  transform: scale(1.03);
  border-color: hsla(263,70%,55%,0.3);
}
.feature-card__icon {
  width: 3rem; height: 3rem;
  border-radius: 0.75rem;
  background: hsla(263,70%,55%,0.1);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1rem;
  transition: box-shadow 0.3s;
}
.feature-card:hover .feature-card__icon { box-shadow: var(--shadow-neon); }
.feature-card__icon svg { width: 1.5rem; height: 1.5rem; color: var(--primary); }
.feature-card__title { font-family: var(--font-body); font-weight: 700; color: var(--fg); margin-bottom: 0.5rem; }
.feature-card__desc { font-size: 0.875rem; color: var(--muted-fg); }

.steps-grid {
  display: grid; gap: 1.5rem;
  max-width: 64rem; margin-inline: auto;
}
.step { text-align: center; position: relative; }
.step__circle {
  width: 4rem; height: 4rem;
  margin-inline: auto;
  border-radius: 50%;
  background: hsla(263,70%,55%,0.1);
  border: 2px solid hsla(263,70%,55%,0.3);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1rem;
  transition: box-shadow 0.3s;
}
.step:hover .step__circle { box-shadow: var(--shadow-neon); }
.step__num { font-family: var(--font-display); font-size: 1.25rem; font-weight: 700; color: var(--primary); }
.step__title { font-weight: 700; color: var(--fg); margin-bottom: 0.25rem; }
.step__desc { font-size: 0.875rem; color: var(--muted-fg); }
.step__connector {
  display: none;
  position: absolute;
  top: 2rem;
  left: 60%; width: 80%; height: 1px;
  background: linear-gradient(90deg, hsla(263,70%,55%,0.3), transparent);
}
[dir="rtl"] .step__connector { left: auto; right: 60%; background: linear-gradient(-90deg, hsla(263,70%,55%,0.3), transparent); }

.stats-grid {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem; max-width: 56rem; margin-inline: auto;
}
.stat-card { padding: 1.5rem; text-align: center; transition: transform 0.3s; }
.stat-card:hover { transform: scale(1.05); }
.stat-card__value {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 4vw, 2.25rem);
  font-weight: 700;
  margin-bottom: 0.5rem;
}
.stat-card__label { font-size: 0.875rem; color: var(--muted-fg); }

.seo-block {
  max-width: 56rem; margin-inline: auto;
}
.seo-block__text {
  padding: 2rem;
  font-size: 0.875rem; color: var(--muted-fg);
  line-height: 1.8;
}

.payments-list {
  display: flex; flex-wrap: wrap;
  align-items: center; justify-content: center;
  gap: 1rem; max-width: 42rem; margin-inline: auto;
}
.payment-badge {
  display: flex; align-items: center; gap: 0.5rem;
  padding: 0.75rem 1.25rem;
}
.payment-badge svg { width: 1rem; height: 1rem; color: var(--primary); }
.payment-badge span { font-size: 0.875rem; font-weight: 500; }

.faq-list {
  max-width: 48rem; margin-inline: auto;
  display: flex; flex-direction: column; gap: 1rem;
}
.faq-item { overflow: hidden; }
.faq-question {
  width: 100%; display: flex; align-items: center; justify-content: space-between;
  padding: 1.5rem;
  text-align: left; font-weight: 600; font-size: 0.9375rem;
  color: var(--fg);
  cursor: pointer;
}
[dir="rtl"] .faq-question { text-align: right; }
.faq-question__chevron {
  width: 1.25rem; height: 1.25rem;
  color: var(--primary);
  flex-shrink: 0;
  transition: transform 0.3s;
}
.faq-item.open .faq-question__chevron { transform: rotate(180deg); }
.faq-answer {
  max-height: 0; overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
  padding: 0 1.5rem;
}
.faq-item.open .faq-answer {
  max-height: 20rem;
  padding: 0 1.5rem 1.5rem;
}
.faq-answer p {
  font-size: 0.875rem; color: var(--muted-fg); line-height: 1.7;
}

.region-links {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 0.75rem;
}
.region-link {
  display: flex; align-items: center; gap: 0.5rem;
  padding: 0.75rem 1rem;
  font-size: 0.875rem;
  color: var(--muted-fg);
  transition: transform 0.2s, border-color 0.2s, color 0.2s;
}
.region-link:hover {
  transform: scale(1.05);
  border-color: hsla(263,70%,55%,0.3);
  color: var(--fg);
}

.final-cta {
  padding-block: 5rem;
  overflow: hidden;
  position: relative;
}
.final-cta__glow {
  position: absolute; bottom: 0; left: 50%; transform: translateX(-50%);
  width: 37rem; height: 19rem;
  background: hsla(263,70%,55%,0.2);
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none;
}
.final-cta__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(0deg, hsla(263,70%,55%,0.1), transparent);
  pointer-events: none;
}
.final-cta__inner {
  position: relative; z-index: 10; text-align: center;
}
.final-cta h2 {
  font-size: clamp(1.5rem, 5vw, 3rem);
  font-weight: 700; margin-bottom: 2rem;
}

.site-footer {
  padding-block: 2rem;
  border-top: 1px solid var(--border-50);
}
.footer-inner {
  display: flex; flex-direction: column;
  align-items: center; gap: 1rem;
}
.footer-links {
  display: flex; align-items: center; gap: 1.5rem;
}
.footer-link {
  font-size: 0.875rem; color: var(--muted-fg);
  transition: color 0.2s;
}
.footer-link:hover { color: var(--fg); }
.footer-copy { font-size: 0.75rem; color: var(--muted-fg); }

.floating-telegram {
  position: fixed; bottom: 1.5rem; right: 1.5rem; z-index: 50;
  width: 3.5rem; height: 3.5rem;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, #0088cc, #00aaee);
  box-shadow: 0 4px 20px hsla(199, 100%, 40%, 0.35);
  transition: transform 0.3s, box-shadow 0.3s;
}
.floating-telegram:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 30px hsla(199, 100%, 40%, 0.55);
}
.floating-telegram svg { width: 1.75rem; height: 1.75rem; fill: #fff; }
[dir="rtl"] .floating-telegram { right: auto; left: 1.5rem; }

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
@keyframes pulse-neon {
  0%, 100% { box-shadow: var(--shadow-neon); }
  50% { box-shadow: var(--shadow-neon-hover); }
}
.animate-float { animation: float 3s ease-in-out infinite; }
.animate-pulse-neon { animation: pulse-neon 2s ease-in-out infinite; }

.reveal {
  opacity: 0; transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

.terms-header {
  border-bottom: 1px solid var(--border-50);
  padding-block: 1rem;
}
.terms-header__inner {
  display: flex; align-items: center; justify-content: space-between;
}
.terms-back {
  font-size: 0.875rem; color: var(--muted-fg);
  transition: color 0.2s;
}
.terms-back:hover { color: var(--fg); }
.terms-content {
  max-width: 56rem; margin-inline: auto;
  padding-block: 3rem;
}
.terms-content h1 {
  font-size: 2rem; margin-bottom: 1rem;
}
.terms-date {
  font-size: 0.875rem; color: var(--muted-fg); margin-bottom: 2rem;
}
.terms-section { margin-bottom: 2rem; }
.terms-section h2 {
  font-family: var(--font-body);
  font-size: 1.25rem; font-weight: 700;
  color: var(--fg);
  margin-bottom: 0.75rem;
}
.terms-section p,
.terms-section li {
  font-size: 0.875rem; color: var(--muted-fg); line-height: 1.8;
}
.terms-section ul {
  list-style: disc;
  padding-left: 1.5rem;
  margin-top: 0.5rem;
}
.terms-section li { margin-bottom: 0.5rem; }
.terms-section strong { color: var(--fg); }
.terms-section a { color: var(--primary); }
.terms-section a:hover { text-decoration: underline; }

@media (min-width: 640px) {
  .hero__stats { grid-template-columns: repeat(4, 1fr); }
  .hero__ctas { flex-direction: row; }
  .logo-partners { display: inline; }
}

@media (min-width: 768px) {
  .commission-grid { grid-template-columns: repeat(3, 1fr); }
  .commission-grid--two { grid-template-columns: repeat(2, 1fr); }
  .commission-grid--one { grid-template-columns: 1fr; max-width: 28rem; }
  .extra-grid { grid-template-columns: repeat(2, 1fr); }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .steps-grid { grid-template-columns: repeat(4, 1fr); }
  .step__connector { display: block; }
  .stats-grid { grid-template-columns: repeat(4, 1fr); }
  .footer-inner { flex-direction: row; justify-content: space-between; }
  .seo-block__text { padding: 3rem; }
}

@media (min-width: 1024px) {
  .features-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 639px) {
  .lang-btn__country { display: none; }
  .logo-partners { display: none; }
}

[dir="rtl"] .faq-question { text-align: right; flex-direction: row-reverse; }
[dir="rtl"] .feature-card__icon { margin-inline-end: 0; }
[dir="rtl"] .terms-section ul { padding-left: 0; padding-right: 1.5rem; }
[dir="rtl"] .lang-dropdown { right: auto; left: 0; }
[dir="rtl"] .extra-card__point { flex-direction: row-reverse; text-align: right; }
