:root {
  --bg-main: #07040f;
  --bg-button: #0f0a14;
  --line-button: #9333ea;
  --line-button-soft: #c084fc;
  --line-button-dark: #581c87;
  --text-main: #f5f7ff;
  --spark-color: #c084fc;
}

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

body {
  min-height: 100vh;
  font-family: "Rajdhani", "Inter", sans-serif;
  color: var(--text-main);
  background: var(--bg-main);
  position: relative;
  overflow-x: hidden;
}

.site-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.site-bg-video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  transform: translate(-50%, -50%);
  object-fit: cover;
}

.bg-overlay {
  position: fixed;
  inset: 0;
  background: radial-gradient(circle at center, transparent 0%, rgba(0, 0, 0, 0.8) 100%);
  z-index: 1;
  pointer-events: none;
}

.landing {
  position: relative;
  z-index: 2;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  padding: 2rem 1rem;
}

.logo-wrap {
  margin-bottom: 0.5rem;
}

.logo {
  width: min(200px, 52vw);
  height: auto;
  filter: drop-shadow(0 8px 18px rgba(147, 51, 234, 0.35));
}

.hero {
  width: min(860px, 95vw);
  text-align: center;
  margin-top: 0.25rem;
}

.hero-title {
  font-size: clamp(1.65rem, 3.8vw, 2.55rem);
  font-weight: 800;
  letter-spacing: 0.2px;
  line-height: 1.05;
  text-shadow: 0 10px 24px rgba(0, 0, 0, 0.55);
}

.hero-title-highlight {
  display: block;
  margin-top: 0.2rem;
  color: var(--line-button-soft);
  text-shadow: 0 0 18px rgba(192, 132, 252, 0.25);
}

.hero-title-sub {
  display: block;
  margin-top: 0.35rem;
  font-size: clamp(1.15rem, 2.6vw, 1.6rem);
  font-weight: 700;
  color: rgba(245, 247, 255, 0.92);
}

.hero-badges {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.8rem 1.4rem;
  margin-top: 0.95rem;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: rgba(245, 247, 255, 0.82);
}

.hero-badge i {
  color: var(--line-button-soft);
  filter: drop-shadow(0 0 8px rgba(192, 132, 252, 0.2));
}

.cta-wrap {
  width: min(520px, 92vw);
  display: grid;
  place-items: center;
  gap: 0.5rem;
  margin-top: 0.35rem;
}

.spark-btn--cta {
  width: 100%;
  height: 76px;
  border-radius: 14px;
  font-size: 1.15rem;
}

.spark-btn--cta .btn-label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0 16px;
  white-space: nowrap;
}

.spark-btn--cta .btn-label i {
  font-size: 1.2em;
}

.cta-hint {
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: rgba(245, 247, 255, 0.65);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.cta-hint i {
  color: var(--line-button-soft);
}

.spark-btn {
  position: relative;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  height: 80px;
  border: 2px solid var(--line-button);
  border-radius: 12px;
  background: linear-gradient(135deg, #120524 8%, #2e104f 55%, #180929 100%);
  color: var(--text-main);
  text-transform: uppercase;
  text-decoration: none;
  letter-spacing: 1px;
  font-weight: 700;
  font-size: 1.15rem;
  overflow: hidden;
  box-shadow:
    0 7px 18px rgba(147, 51, 234, 0.28),
    inset 0 0 0 1px rgba(192, 132, 252, 0.2);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}

.spark-btn .btn-label {
  position: relative;
  z-index: 2;
}

.spark-btn:hover {
  transform: scale(1.05);
  border-color: var(--line-button-soft);
  background: linear-gradient(135deg, #180929 5%, #421870 58%, #220e3a 100%);
  box-shadow:
    0 12px 24px rgba(147, 51, 234, 0.34),
    0 0 18px rgba(192, 132, 252, 0.22);
}

.spark-btn::before {
  content: "";
  position: absolute;
  inset: -40%;
  background: radial-gradient(circle, rgba(192, 132, 252, 0.48) 0%, rgba(192, 132, 252, 0) 62%);
  opacity: 0;
  transition: opacity 0.25s ease;
}

.spark-btn:hover::before {
  opacity: 0.85;
}

.spark-btn::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background: linear-gradient(110deg, transparent 30%, rgba(192, 132, 252, 0.2) 48%, transparent 66%);
  transform: translateX(-120%);
  transition: transform 0.45s ease;
}

.spark-btn:hover::after {
  transform: translateX(120%);
}

.spark {
  position: absolute;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--spark-color);
  pointer-events: none;
  animation: spark-fly 550ms ease-out forwards;
}

@keyframes spark-fly {
  from {
    opacity: 1;
    transform: translate(0, 0) scale(1);
  }
  to {
    opacity: 0;
    transform: translate(var(--dx), var(--dy)) scale(0.25);
  }
}

.social-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 0.4rem;
}

.social-btn {
  width: 52px;
  height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(147, 51, 234, 0.55);
  border-radius: 12px;
  color: var(--text-main);
  text-decoration: none;
  background: rgba(18, 5, 36, 0.72);
  transition: all 0.2s ease;
}

.social-btn i {
  font-size: 1.35rem;
}

.social-btn:hover {
  transform: translateY(-2px) scale(1.05);
  border-color: var(--line-button-soft);
  background: rgba(46, 16, 79, 0.9);
  box-shadow: 0 0 14px rgba(147, 51, 234, 0.25);
}

.stats-section {
  width: min(860px, 95vw);
  margin-top: 1rem;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.75rem;
}

.stat-card {
  border: 1px solid rgba(147, 51, 234, 0.45);
  border-radius: 12px;
  background: rgba(12, 5, 20, 0.78);
  padding: 0.85rem 0.65rem;
  text-align: center;
  box-shadow:
    0 6px 16px rgba(0, 0, 0, 0.25),
    inset 0 0 0 1px rgba(192, 132, 252, 0.12);
}

.stat-card--percent .stat-label {
  margin-top: 0.15rem;
}

.stat-card--percent .stat-value--percent {
  margin-top: 0.5rem;
}

.stat-prefix {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--line-button-soft);
  margin-bottom: 0.2rem;
}

.stat-card--percent .stat-prefix {
  display: none;
}

.stat-value {
  font-size: clamp(1.5rem, 3.2vw, 2rem);
  font-weight: 700;
  line-height: 1.1;
  color: #fff;
  text-shadow: 0 0 12px rgba(192, 132, 252, 0.25);
  font-variant-numeric: tabular-nums;
}

.stat-value--percent {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 0.05em;
}

.stat-percent-sign {
  font-size: clamp(1.1rem, 2.4vw, 1.35rem);
  font-weight: 700;
  color: var(--line-button-soft);
}

.stat-label {
  margin-top: 0.35rem;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: rgba(245, 247, 255, 0.82);
  line-height: 1.25;
}

.carousel-section {
  width: min(860px, 95vw);
  margin-top: 0.5rem;
}

.carousel-title {
  text-align: center;
  font-size: clamp(1.1rem, 2.2vw, 1.45rem);
  font-weight: 700;
  letter-spacing: 0.3px;
  margin-bottom: 0.85rem;
  color: #fff;
  text-shadow: 0 0 10px rgba(192, 132, 252, 0.22);
}

.carousel-track-wrap {
  border: 1px solid rgba(147, 51, 234, 0.5);
  border-radius: 12px;
  background: rgba(12, 5, 20, 0.78);
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3), inset 0 0 14px rgba(147, 51, 234, 0.12);
  min-height: 300px;
}

.carousel-track {
  display: flex;
  width: max-content;
  animation: carousel-left 28s linear infinite;
}

.carousel-track:hover {
  animation-play-state: paused;
}

.carousel-item {
  flex: 0 0 auto;
  width: 150px;
  height: 266px;
  margin: 14px 8px;
  border: 1px solid rgba(192, 132, 252, 0.32);
  border-radius: 8px;
  background: rgba(10, 4, 16, 0.65);
  overflow: hidden;
  cursor: pointer;
  position: relative;
}

.carousel-item__cap {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 10px 8px 8px;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.88));
  display: flex;
  flex-direction: column;
  gap: 2px;
  color: #fff;
  font-size: 0.72rem;
  line-height: 1.2;
}

.carousel-item__cap strong {
  font-size: 0.78rem;
  font-weight: 700;
}

.carousel-item__cap span {
  opacity: 0.9;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.carousel-item__cap em {
  font-style: normal;
  opacity: 0.7;
  font-size: 0.68rem;
}

.carousel-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.2s ease;
}

.carousel-item:hover img {
  transform: scale(1.05);
}

.carousel-empty {
  display: grid;
  place-items: center;
  min-height: 300px;
  color: rgba(245, 247, 255, 0.75);
  letter-spacing: 0.5px;
  font-size: 1rem;
}

@keyframes carousel-left {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

.image-modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.9);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 20;
  padding: 1rem;
}

.image-modal.is-open {
  display: flex;
}

.image-modal-content {
  max-width: min(92vw, 1200px);
  max-height: 88vh;
  border-radius: 10px;
  border: 1px solid rgba(192, 132, 252, 0.38);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.45);
}

.image-modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 8px;
  background: rgba(20, 10, 30, 0.8);
  color: #fff;
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
}

@media (max-width: 768px) {
  .logo {
    width: min(152px, 42vw);
  }

  .hero {
    width: min(520px, 96vw);
    margin-top: 0.15rem;
  }

  .hero-badges {
    gap: 0.65rem 1.1rem;
    margin-top: 0.75rem;
  }

  .cta-wrap {
    width: min(520px, 96vw);
  }

  .spark-btn--cta {
    height: 72px;
  }

  .landing {
    justify-content: flex-start;
    padding-top: 1.4rem;
    padding-bottom: 1.6rem;
  }

  .carousel-section {
    width: min(96vw, 520px);
  }

  .carousel-track-wrap,
  .carousel-empty {
    min-height: 250px;
  }

  .carousel-item {
    width: 126px;
    height: 224px;
    margin: 12px 6px;
  }

  .stats-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.65rem;
  }

  .stats-section {
    width: min(96vw, 520px);
    margin-top: 0.85rem;
  }

  .stat-card {
    padding: 0.7rem 0.5rem;
  }
}
