html {
  scroll-behavior: smooth;
}

:root {
  --bg-main: #080b18;
  --bg-secondary: #0d1226;
  --bg-header: #050712;

  --card: #11182d;
  --card-hover: #17213d;

  --text-main: #f5f7ff;
  --text-secondary: #aeb8d4;
  --text-muted: #74809f;

  --primary: #6c63ff;
  --primary-dark: #5148e5;

  --accent: #00e5ff;
  --accent-dark: #00b8d4;

  --purple: #a855f7;
  --pink: #ec4899;

  --border: rgba(108, 99, 255, 0.25);

  --shadow:
    0 10px 35px rgba(0, 0, 0, 0.45);
}

/* =========================
   DARK THEME
========================= */

[data-theme="dark"] {
  --bg: #080b18;
  --text: #f5f7ff;
  --card: #11182d;
}

/* =========================
   LIGHT THEME
========================= */

[data-theme="light"] {
  --bg: #eef2ff;
  --text: #171b2f;
  --card: #ffffff;
}


/* =========================
   BODY
========================= */

body {
  margin: 0;

  font-family: 'Inter', sans-serif;

  background:
    radial-gradient(
      circle at 15% 15%,
      rgba(108, 99, 255, 0.18),
      transparent 30%
    ),
    radial-gradient(
      circle at 85% 20%,
      rgba(0, 229, 255, 0.12),
      transparent 30%
    ),
    linear-gradient(
      135deg,
      #080b18,
      #0b1022 50%,
      #080b18
    );

  color: var(--text);

  transition:
    background 0.4s ease,
    color 0.3s ease;

  padding-top: 90px;

  min-height: 100vh;
}


/* =========================
   HEADER
========================= */

header {
  background:
    linear-gradient(
      90deg,
      #050712,
      #0c1024,
      #050712
    );

  color: #fff;

  padding: 15px 8px;

  display: flex;
  justify-content: space-between;
  align-items: center;

  position: fixed;

  top: 0;
  left: 0;

  width: 100%;

  z-index: 1000;

  border-bottom: 1px solid rgba(108, 99, 255, 0.35);

  box-shadow:
    0 5px 25px rgba(0, 0, 0, 0.45);
}


/* =========================
   LOGO
========================= */

.logo {
  font-size: 32px;

  font-weight: bold;

  color: #7c73ff;

  display: flex;

  align-items: center;

  gap: 12px;

  -webkit-text-stroke: 1.5px #ffffff;

  text-stroke: 1.5px #ffffff;

  transform: scaleX(1.1);

  text-shadow:
    0 0 8px rgba(108, 99, 255, 0.8),
    0 0 18px rgba(0, 229, 255, 0.4);
}


/* =========================
   CONTROLS
========================= */

.controls {
  display: flex;

  gap: 12px;

  align-items: center;

  flex-wrap: wrap;
}

.controls a,
.theme-toggle,
.guest-btn,
.nav-btn {

  background:
    linear-gradient(
      135deg,
      #6c63ff,
      #4f46e5
    );

  color: #fff;

  padding: 10px 14px;

  border-radius: 8px;

  border: 1px solid rgba(255,255,255,0.12);

  cursor: pointer;

  text-decoration: none;

  transition:
    background 0.3s,
    transform 0.25s,
    box-shadow 0.3s;

  font-weight: 600;

  font-size: 14px;

  display: flex;

  align-items: center;

  gap: 6px;

  box-shadow:
    0 4px 15px rgba(108, 99, 255, 0.25);
}

.controls a:hover,
.theme-toggle:hover,
.guest-btn:hover,
.nav-btn:hover {

  background:
    linear-gradient(
      135deg,
      #00e5ff,
      #6c63ff
    );

  transform: translateY(-2px);

  box-shadow:
    0 6px 25px rgba(0, 229, 255, 0.35);
}


/* =========================
   BURGER
========================= */

.burger {
  display: none;

  flex-direction: column;

  cursor: pointer;

  margin-right: 10px;
}

.burger div {
  width: 25px;

  height: 3px;

  background-color: #00e5ff;

  margin: 4px 0;

  transition: all 0.3s;

  border-radius: 3px;

  box-shadow:
    0 0 8px rgba(0, 229, 255, 0.7);
}

.burger.active div:nth-child(1) {
  transform:
    rotate(45deg)
    translate(5px, 5px);
}

.burger.active div:nth-child(2) {
  opacity: 0;
}

.burger.active div:nth-child(3) {
  transform:
    rotate(-45deg)
    translate(5px, -5px);
}


/* =========================
   NAVIGATION
========================= */

.nav-links {
  display: flex;

  align-items: center;

  gap: 20px;
}

nav ul {
  list-style: none;

  display: flex;

  gap: 20px;

  margin: 0;

  padding: 0;
}

nav ul li a {

  color: #e8ebff;

  text-decoration: none;

  font-size: 16px;

  transition:
    color 0.3s ease,
    text-shadow 0.3s ease;
}

nav ul li a:hover {

  color: #00e5ff;

  text-shadow:
    0 0 10px rgba(0, 229, 255, 0.8);
}


/* =========================
   THEME BUTTON
========================= */

.theme-toggle {

  font-size: 18px;

  padding: 8px;

  margin-right: 10px;

  cursor: pointer;

  user-select: none;
}


/* =========================
   TELEGRAM HEADER
========================= */

.telegram-header-button {

  background:
    linear-gradient(
      135deg,
      #0088cc,
      #0066aa
    );

  color: #fff;

  padding: 8px 12px;

  border-radius: 8px;

  border: none;

  cursor: pointer;

  font-weight: 600;

  font-size: 16px;

  display: flex;

  align-items: center;

  gap: 6px;

  text-decoration: none;

  transition:
    background 0.3s,
    transform 0.25s,
    box-shadow 0.3s;
}

.telegram-header-button:hover {

  background:
    linear-gradient(
      135deg,
      #00bfff,
      #0088cc
    );

  transform: translateY(-2px);

  box-shadow:
    0 5px 20px rgba(0, 136, 204, 0.4);
}


.telegram-btn {

  background:
    linear-gradient(
      135deg,
      #0088cc,
      #0066aa
    );

  color: #fff;

  border: none;

  padding: 8px 14px;

  margin-left: 8px;

  border-radius: 6px;

  cursor: pointer;

  font-weight: bold;

  transition:
    background-color 0.3s ease,
    transform 0.2s ease,
    box-shadow 0.3s ease;
}

.telegram-btn:hover {

  background:
    linear-gradient(
      135deg,
      #00bfff,
      #0088cc
    );

  transform: translateY(-2px);

  box-shadow:
    0 5px 15px rgba(0, 136, 204, 0.4);
}

.telegram-btn:active {

  transform: translateY(0);

  background-color: #005580;
}


/* =========================
   MOBILE NAV
========================= */

@media (max-width: 768px) {

  .controls {
    display: none;
  }

  .desktop-banner {
    display: none !important;
  }

  .burger {
    display: flex;
  }

  .nav-links {

    display: none;

    flex-direction: column;

    position: absolute;

    top: 60px;

    left: 0;

    width: 100%;

    background:
      linear-gradient(
        180deg,
        #070a18,
        #0d1226
      );

    border-bottom:
      1px solid rgba(108,99,255,0.35);

    box-shadow:
      0 15px 30px rgba(0,0,0,0.5);
  }

  .nav-links.active {
    display: flex;
  }

  nav ul {

    flex-direction: column;

    align-items: center;

    gap: 15px;

    padding: 15px 0;
  }
}


/* =========================
   HERO
========================= */

.hero {

  text-align: center;

  padding: 100px 20px 60px;

  background:
    radial-gradient(
      circle at center,
      rgba(108,99,255,0.10),
      transparent 60%
    );
}

.hero h2 {

  font-size: 42px;

  margin-bottom: 20px;

  background:
    linear-gradient(
      90deg,
      #00e5ff,
      #7c73ff,
      #c084fc
    );

  -webkit-background-clip: text;

  -webkit-text-fill-color: transparent;

  text-shadow:
    0 0 25px rgba(108,99,255,0.25);
}

.hero p {

  font-size: 18px;

  max-width: 600px;

  margin: 0 auto 30px;

  color: #aeb8d4;
}


/* =========================
   GET STARTED BUTTON
========================= */

.get-started-btn {

  background:
    linear-gradient(
      45deg,
      #6c63ff,
      #00e5ff,
      #a855f7,
      #00e5ff
    );

  background-size: 300% 300%;

  color: #ffffff;

  padding: 18px 40px;

  border: none;

  border-radius: 40px;

  cursor: pointer;

  font-size: 22px;

  font-weight: 900;

  text-transform: uppercase;

  letter-spacing: 2px;

  display: inline-flex;

  align-items: center;

  gap: 14px;

  box-shadow:
    0 0 15px rgba(108,99,255,0.7),
    0 0 30px rgba(0,229,255,0.4),
    0 0 50px rgba(168,85,247,0.3);

  text-shadow:
    0 0 8px rgba(0,229,255,0.8);

  user-select: none;

  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;

  animation:
    neonPulse 3s infinite alternate,
    gradientMove 5s ease infinite;
}

.get-started-btn i {

  filter:
    drop-shadow(
      0 0 8px #00e5ff
    );

  font-size: 28px;
}

.get-started-btn:hover {

  transform:
    scale(1.12)
    translateY(-3px);

  box-shadow:
    0 0 25px rgba(108,99,255,0.9),
    0 0 50px rgba(0,229,255,0.7),
    0 0 80px rgba(168,85,247,0.5);
}

@keyframes gradientMove {

  0% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }

  100% {
    background-position: 0% 50%;
  }
}

@keyframes neonPulse {

  0% {

    box-shadow:
      0 0 10px rgba(108,99,255,0.5),
      0 0 25px rgba(0,229,255,0.3),
      0 0 40px rgba(168,85,247,0.2);
  }

  100% {

    box-shadow:
      0 0 25px rgba(108,99,255,0.8),
      0 0 50px rgba(0,229,255,0.5),
      0 0 75px rgba(168,85,247,0.4);
  }
}


/* =========================
   STATS
========================= */

.stats {

  display: flex;

  justify-content: space-around;

  padding: 40px 20px;
}

.stat-card {

  background:
    linear-gradient(
      145deg,
      #11182d,
      #0c1224
    );

  border:
    1px solid var(--border);

  border-radius: 14px;

  padding: 20px;

  width: 150px;

  text-align: center;

  box-shadow:
    0 8px 30px rgba(0,0,0,0.35);

  transition:
    transform 0.3s,
    border-color 0.3s;
}

.stat-card:hover {

  transform: translateY(-5px);

  border-color:
    rgba(0,229,255,0.5);
}

.stat-card h3 {

  margin: 0;

  font-size: 24px;

  color: #00e5ff;

  text-shadow:
    0 0 12px rgba(0,229,255,0.4);
}

.stat-card p {

  margin: 5px 0 0;

  color: #8d99b8;
}


/* =========================
   PAYMENTS
========================= */

.payments {

  padding: 40px 20px;

  max-width: 800px;

  margin: 0 auto;
}

.payments h3 {

  text-align: center;

  margin-bottom: 20px;

  color: #f5f7ff;
}

.payments table {

  width: 100%;

  border-collapse: collapse;

  background: rgba(17,24,45,0.7);

  border-radius: 10px;

  overflow: hidden;
}

.payments th,
.payments td {

  padding: 12px;

  border-bottom:
    1px solid rgba(108,99,255,0.15);

  text-align: left;
}

.payments th {

  background:
    linear-gradient(
      135deg,
      #161e3a,
      #10172d
    );

  color: #00e5ff;
}


/* =========================
   FEATURES
========================= */

.features {

  display: grid;

  grid-template-columns:
    repeat(
      auto-fit,
      minmax(250px, 1fr)
    );

  gap: 30px;

  padding: 60px 40px;
}

.feature {

  background:
    linear-gradient(
      145deg,
      #11182d,
      #0c1224
    );

  border:
    1px solid rgba(108,99,255,0.2);

  border-radius: 16px;

  padding: 30px 20px;

  text-align: center;

  box-shadow:
    0 8px 30px rgba(0,0,0,0.35);

  transition:
    transform 0.3s,
    border-color 0.3s,
    box-shadow 0.3s;
}

.feature:hover {

  transform: translateY(-6px);

  border-color:
    rgba(0,229,255,0.45);

  box-shadow:
    0 15px 40px rgba(0,0,0,0.45),
    0 0 20px rgba(108,99,255,0.12);
}

.feature i {

  font-size: 32px;

  color: #00e5ff;

  margin-bottom: 12px;

  filter:
    drop-shadow(
      0 0 8px rgba(0,229,255,0.5)
    );
}

.feature h3 {

  margin: 0 0 10px;

  color: #f5f7ff;
}

.feature p {

  color: #8995b5;
}


/* =========================
   FAQ
========================= */

.faq {

  max-width: 800px;

  margin: 40px auto;

  padding: 0 20px;
}

.faq h3 {

  text-align: center;

  margin-bottom: 20px;

  color: #f5f7ff;
}

.faq details {

  margin-bottom: 12px;

  background:
    linear-gradient(
      145deg,
      #11182d,
      #0d1428
    );

  padding: 15px;

  border-radius: 10px;

  border:
    1px solid rgba(108,99,255,0.18);

  box-shadow:
    0 5px 20px rgba(0,0,0,0.25);
}

.faq summary {

  font-weight: 600;

  cursor: pointer;

  color: #e7ebff;
}

.faq details[open] summary {

  color: #00e5ff;
}


/* =========================
   TRUST
========================= */

.trust {

  text-align: center;

  padding: 40px 20px;
}

.trust p {

  margin: 10px auto;

  max-width: 600px;

  color: #8995b5;
}

.trust .reviews {

  display: flex;

  justify-content: center;

  align-items: center;

  gap: 10px;

  margin-top: 10px;
}

.trust .reviews i {

  font-size: 24px;

  color: #fbbf24;

  filter:
    drop-shadow(
      0 0 6px rgba(251,191,36,0.5)
    );
}


/* =========================
   FLOATING BANNERS
========================= */

.floating-banner {

  position: fixed;

  bottom: 20px;

  z-index: 9999;

  box-shadow:
    0 0 20px rgba(0,0,0,0.55);

  border-radius: 10px;

  overflow: hidden;

  background: #11182d;

  border:
    1px solid rgba(108,99,255,0.35);
}

.floating-banner.right {

  width: 300px;

  height: 250px;

  right: 10px;
}

.floating-banner.left {

  width: 300px;

  height: 250px;

  left: 10px;
}

.banner-content {

  width: 100%;

  height: 100%;
}

.close-banner {

  position: absolute;

  top: 4px;

  right: 4px;

  background:
    rgba(5,7,18,0.75);

  color: #fff;

  border:
    1px solid rgba(255,255,255,0.15);

  border-radius: 50%;

  width: 24px;

  height: 24px;

  cursor: pointer;

  font-size: 16px;

  line-height: 1;

  z-index: 10000;

  transition:
    background 0.2s;
}

.close-banner:hover {

  background:
    rgba(236,72,153,0.9);
}


/* =========================
   FOOTER
========================= */

footer {

  text-align: center;

  padding: 20px;

  background:
    linear-gradient(
      180deg,
      #080b18,
      #050712
    );

  color: #74809f;

  font-size: 14px;

  display: flex;

  justify-content: center;

  gap: 15px;

  align-items: center;

  border-top:
    1px solid rgba(108,99,255,0.2);
}

footer a.telegram-button {

  color: #00bfff;

  text-decoration: none;

  font-weight: 600;

  display: inline-flex;

  align-items: center;

  gap: 6px;

  transition:
    color 0.3s,
    text-shadow 0.3s;
}

footer a.telegram-button:hover {

  color: #00e5ff;

  text-shadow:
    0 0 10px rgba(0,229,255,0.6);
}


/* =========================
   MODAL
========================= */

.modal {

  display: none;

  position: fixed;

  z-index: 1000;

  left: 0;

  top: 0;

  width: 100%;

  height: 100%;

  overflow: auto;

  background-color:
    rgba(2,4,15,0.78);

  backdrop-filter:
    blur(5px);
}

.modal-content {

  background:
    linear-gradient(
      145deg,
      #151d38,
      #0d1328
    );

  margin: 15% auto;

  padding: 20px;

  border:
    1px solid rgba(108,99,255,0.4);

  width: 90%;

  max-width: 400px;

  border-radius: 14px;

  box-shadow:
    0 15px 50px rgba(0,0,0,0.55),
    0 0 30px rgba(108,99,255,0.15);

  text-align: center;

  position: relative;
}

.modal-content input {

  width: 100%;

  padding: 10px;

  margin: 15px 0;

  border-radius: 6px;

  border:
    1px solid #303b60;

  background: #080d1e;

  color: #fff;

  outline: none;
}

.modal-content input:focus {

  border-color: #00e5ff;

  box-shadow:
    0 0 10px rgba(0,229,255,0.2);
}

.modal-content button {

  background:
    linear-gradient(
      135deg,
      #6c63ff,
      #4f46e5
    );

  color: #fff;

  padding: 10px 20px;

  border: none;

  border-radius: 6px;

  cursor: pointer;

  font-weight: 600;

  transition:
    0.25s;
}

.modal-content button:hover {

  background:
    linear-gradient(
      135deg,
      #00e5ff,
      #6c63ff
    );

  transform: translateY(-2px);
}


/* =========================
   CLOSE
========================= */

.close {

  position: absolute;

  top: 10px;

  right: 20px;

  font-size: 28px;

  cursor: pointer;

  color: #74809f;

  transition:
    color 0.2s;
}

.close:hover {

  color: #00e5ff;
}


/* =========================
   BANNER PLACEHOLDER
========================= */

.banner-placeholder {

  width: 300px;

  height: 250px;

  margin: 0 auto 20px;

  background:
    linear-gradient(
      145deg,
      #151d38,
      #0b1022
    );

  display: flex;

  justify-content: center;

  align-items: center;

  color: #74809f;

  font-size: 14px;

  border-radius: 10px;

  border:
    1px solid rgba(108,99,255,0.2);
}


/* =========================
   MOBILE
========================= */

@media (max-width: 600px) {

  .hero h2 {
    font-size: 30px;
  }

  .stats {

    flex-direction: column;

    gap: 20px;

    align-items: center;
  }

  footer {

    flex-direction: column;

    gap: 8px;
  }

  .get-started-btn {

    font-size: 18px;

    padding: 15px 28px;
  }
}