@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;700;800&display=swap');
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css');

:root {
  --idx-bg: #070b14;
  --idx-bg-2: #0f1728;
  --idx-panel: rgba(16, 26, 45, 0.68);
  --idx-panel-strong: rgba(12, 21, 36, 0.88);
  --idx-border: rgba(132, 170, 255, 0.22);
  --idx-text: #e8efff;
  --idx-muted: #9caecf;
  --idx-primary: #4b84ff;
  --idx-primary-2: #33b7ff;
  --idx-glow: rgba(80, 143, 255, 0.45);
  --mint-neon: #8bc2ff;
  --accent: #4b84ff;
  --accent2: #33b7ff;
}

html,
body {
  background:
    radial-gradient(1200px 650px at 12% 8%, rgba(74, 132, 255, 0.26), transparent 62%),
    radial-gradient(1000px 540px at 88% 14%, rgba(32, 181, 255, 0.2), transparent 58%),
    linear-gradient(180deg, var(--idx-bg), var(--idx-bg-2)) !important;
  color: var(--idx-text);
  font-family: Manrope, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif !important;
  overflow-x: hidden;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(transparent 97%, rgba(111, 161, 255, 0.06) 100%),
    linear-gradient(90deg, transparent 97%, rgba(111, 161, 255, 0.05) 100%);
  background-size: 22px 22px;
  opacity: 0.3;
  z-index: -1;
}

.header-shell,
.feature-card,
.req-item,
.faq-item,
.storage-info,
.modal-content,
.entry-captcha-inner,
.stats .container > div {
  background: var(--idx-panel) !important;
  border: 1px solid var(--idx-border) !important;
  box-shadow: 0 16px 44px rgba(0, 0, 0, 0.36) !important;
  backdrop-filter: blur(18px);
}

.logo h1,
.page-title,
.section-title,
.footer-logo,
.modal-header h2,
.entry-captcha-title {
  color: var(--idx-text) !important;
}

.hero h1,
.page-title,
.section-title {
  background: linear-gradient(120deg, #f6fbff 0%, #b8d2ff 52%, #74baff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero p,
.page-subtitle,
.feature-description,
.section-subtitle,
.footer-text,
.copyright,
.faq-answer,
.req-item span,
.info-label,
.entry-captcha-text {
  color: var(--idx-muted) !important;
}

.nav-link {
  color: #dce7ff !important;
}

.nav-link:hover {
  color: #ffffff !important;
  filter: none !important;
}

.nav-link::after {
  background: linear-gradient(90deg, #6f9cff, #49ccff) !important;
  height: 2px !important;
}

body.with-shared-header .nav-link::after {
  display: none !important;
}

.nav-link.is-current {
  color: #6fa6ff !important;
  background: rgba(96, 149, 255, 0.16);
}

.nav-link.is-current::after {
  transform: scaleX(0) !important;
}

.hero-badge {
  border-color: rgba(129, 170, 255, 0.34) !important;
  color: #dbe8ff !important;
}

.hero-badge .dot {
  background: rgba(96, 149, 255, 0.24) !important;
  border-color: rgba(96, 149, 255, 0.45) !important;
  color: #dbe9ff !important;
}

.btn,
.btn-primary,
.back-button {
  background: linear-gradient(135deg, var(--idx-primary), var(--idx-primary-2)) !important;
  color: #eaf2ff !important;
  border: 1px solid rgba(152, 194, 255, 0.45) !important;
  box-shadow: 0 12px 30px rgba(44, 115, 255, 0.34) !important;
}

.btn-secondary,
.btn-ghost {
  background: rgba(139, 176, 255, 0.12) !important;
  color: #ecf4ff !important;
  border: 1px solid rgba(139, 176, 255, 0.34) !important;
}

.btn:hover,
.btn-primary:hover,
.btn-secondary:hover,
.btn-ghost:hover,
.back-button:hover {
  transform: translateY(-2px);
  filter: brightness(1.07);
}

.hero {
  background:
    radial-gradient(circle at 20% 34%, rgba(78, 135, 255, 0.22) 0%, transparent 46%),
    radial-gradient(circle at 84% 16%, rgba(51, 183, 255, 0.22) 0%, transparent 43%) !important;
}

.hero-content {
  max-width: 980px !important;
}

.hero::after {
  content: '';
  position: absolute;
  right: -120px;
  top: 50%;
  width: 440px;
  height: 440px;
  transform: translateY(-44%);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(65, 134, 255, 0.32) 0%, rgba(49, 172, 255, 0.14) 42%, transparent 72%);
  filter: blur(2px);
  pointer-events: none;
}

.feature-card {
  border-radius: 18px !important;
}

.feature-card:hover {
  border-color: rgba(100, 154, 255, 0.62) !important;
  box-shadow: 0 20px 48px rgba(24, 80, 187, 0.28) !important;
}

.feature-icon {
  color: #84b7ff !important;
}

.mobile-menu-btn,
.social-link,
.modal-header h2,
.close-btn:hover,
.footer-logo,
.info-number {
  color: #8cbcff !important;
}

.feature-icon i,
.req-title i {
  filter: drop-shadow(0 0 14px rgba(85, 152, 255, 0.42));
}

.stats {
  background: transparent !important;
}

.stats .container > div {
  border-radius: 18px;
}

#usersCountCard {
  color: #8bc2ff !important;
  text-shadow: 0 0 24px var(--idx-glow);
}

.modal {
  background: rgba(3, 8, 20, 0.82) !important;
}

.modal-header {
  background: rgba(12, 20, 36, 0.9) !important;
  border-bottom-color: rgba(136, 173, 255, 0.2) !important;
}

.tabs {
  background: rgba(83, 122, 204, 0.16) !important;
}

.tab-btn.active {
  background: rgba(89, 136, 238, 0.36) !important;
  color: #e9f2ff !important;
}

.form-group input {
  background: rgba(129, 166, 255, 0.1) !important;
  border-color: rgba(129, 166, 255, 0.28) !important;
}

.form-group input:focus {
  border-color: #6fa6ff !important;
  box-shadow: 0 0 0 3px rgba(102, 155, 255, 0.24) !important;
}

.site-watermark {
  color: rgba(159, 200, 255, 0.4) !important;
  text-shadow: 0 0 20px rgba(93, 154, 255, 0.38) !important;
}

.header {
  background: transparent;
  padding: 20px 0;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
}

.header .container {
  max-width: none;
  padding: 0 20px;
  display: flex;
  justify-content: center;
}

.header-shell {
  width: min(1320px, calc(100% - 24px));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 16px;
  border-radius: 16px;
  background: rgba(8, 16, 31, 0.74) !important;
  border: 1px solid rgba(132, 170, 255, 0.28) !important;
  backdrop-filter: blur(20px);
}

.logo h1,
.logo h1 a {
  text-decoration: none;
  font-size: 20px;
  letter-spacing: 0.5px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 16px;
  white-space: nowrap;
}

.header-left {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}

.lang-chip {
  border: 0;
  background: transparent;
  color: #dce8ff;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  opacity: 0.95;
}

.lang-wrap {
  position: relative;
}

.lang-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 190px;
  padding: 8px;
  border-radius: 12px;
  border: 1px solid rgba(132, 170, 255, 0.28);
  background: rgba(8, 16, 31, 0.96);
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.34);
  backdrop-filter: blur(14px);
  opacity: 0;
  transform: translateY(-6px);
  pointer-events: none;
  transition: opacity .2s ease, transform .2s ease;
  z-index: 1200;
}

.lang-wrap.is-open .lang-menu {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.lang-option {
  width: 100%;
  border: 0;
  border-radius: 9px;
  padding: 9px 10px;
  display: flex;
  align-items: center;
  gap: 10px;
  background: transparent;
  color: #dce8ff;
  cursor: pointer;
  text-align: left;
}

.lang-option:hover {
  background: rgba(96, 149, 255, 0.16);
  color: #fff;
}

.lang-code {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.nav-link i {
  margin-right: 6px;
}

.nav-ico {
  display: inline-block;
  margin-right: 6px;
  transform: translateY(1px);
}

.lang-chev {
  font-size: 12px;
  line-height: 1;
  opacity: 0.9;
}

.auth-buttons {
  display: inline-flex;
}

body.with-shared-header {
  padding-top: 78px;
}

/* Exact header look like homepage top bar */
body.with-shared-header .header {
  padding: 0;
  background: linear-gradient(90deg, #090d16, #162a47);
  border-bottom: 1px solid rgba(121, 164, 255, 0.28);
  overflow: hidden;
}

body.with-shared-header .header,
body.with-shared-header .header * {
  font-family: Manrope, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif !important;
}

body.with-shared-header .header .container {
  width: 100%;
  max-width: 1320px;
  padding: 0 20px;
  height: 74px;
  align-items: center;
  justify-content: center;
  overflow: visible;
}

body.with-shared-header .header-shell {
  width: 100%;
  max-width: none;
  height: 74px;
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  padding: 0;
  border: 0 !important;
  border-radius: 0;
  background: transparent !important;
  box-shadow: none !important;
  backdrop-filter: none;
  overflow: visible;
}

body.with-shared-header .logo h1,
body.with-shared-header .logo h1 a {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: 0.01em;
  line-height: 1;
  margin: 0;
}

body.with-shared-header .header-left {
  gap: 18px;
  min-width: 0;
}

body.with-shared-header .nav {
  gap: 14px;
  font-size: 14px;
  height: 74px;
  min-width: 0;
  justify-content: flex-end;
}

body.with-shared-header .nav-link {
  font-size: 13px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  height: 40px;
  padding: 0 12px;
  border-radius: 10px;
  transition: background .2s ease, color .2s ease;
  cursor: pointer;
  text-decoration: none !important;
  opacity: 1 !important;
}

body.with-shared-header .nav-link:hover {
  background: rgba(96, 149, 255, 0.16);
  color: #ffffff !important;
}

body.with-shared-header .lang-chip {
  height: 74px;
  font-size: 13px;
  font-weight: 600;
}

body.with-shared-header .auth-buttons .btn {
  height: 42px;
  padding: 0 22px;
  font-size: 13px;
  line-height: 42px;
  white-space: nowrap;
  flex-shrink: 0;
  cursor: pointer;
  border: 1px solid rgba(139, 182, 255, 0.42) !important;
  background: linear-gradient(135deg, #4b84ff, #33b7ff) !important;
  color: #eef5ff !important;
  border-radius: 999px !important;
  font-weight: 700 !important;
  box-shadow: 0 12px 30px rgba(44, 115, 255, 0.34) !important;
}

body.with-shared-header .lang-chip,
body.with-shared-header .lang-option,
body.with-shared-header button,
body.with-shared-header a {
  cursor: pointer;
}

body.with-shared-header .nav-link,
body.with-shared-header .nav-link *,
body.with-shared-header .auth-buttons .btn,
body.with-shared-header .auth-buttons .btn *,
body.with-shared-header .lang-chip,
body.with-shared-header .lang-chip *,
body.with-shared-header .lang-option,
body.with-shared-header .lang-option * {
  cursor: pointer !important;
  user-select: none;
}

body:not(.home-page) {
  background:
    linear-gradient(rgba(7, 11, 20, 0.78), rgba(15, 23, 40, 0.84)),
    url('/bg.jpg'),
    radial-gradient(1200px 650px at 12% 8%, rgba(74, 132, 255, 0.26), transparent 62%),
    radial-gradient(1000px 540px at 88% 14%, rgba(32, 181, 255, 0.2), transparent 58%),
    linear-gradient(180deg, var(--idx-bg), var(--idx-bg-2)) !important;
  background-size: cover, cover, auto, auto, auto !important;
  background-position: center center, center top, center center, center center, center center !important;
  background-repeat: no-repeat, no-repeat, no-repeat, no-repeat, no-repeat !important;
  background-attachment: fixed, fixed, scroll, scroll, scroll !important;
}

body:not(.home-page)::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(transparent 97%, rgba(111, 161, 255, 0.06) 100%),
    linear-gradient(90deg, transparent 97%, rgba(111, 161, 255, 0.05) 100%);
  background-size: 22px 22px;
  opacity: 0.3;
  z-index: -1;
}


@media (max-width: 980px) {
  body.with-shared-header {
    padding-top: 86px;
  }

  body.with-shared-header .header .container,
  body.with-shared-header .header-shell {
    height: 82px;
  }

  .lang-chip {
    display: none;
  }

  .nav {
    display: none;
  }
}

canvas#cursorFlame {
  opacity: 0.56 !important;
}

/* Disable custom cursor dot globally */
.cursor-dot {
  display: none !important;
}

body.custom-cursor,
body.custom-cursor * {
  cursor: auto !important;
}

@media (max-width: 860px) {
  .hero::after {
    width: 290px;
    height: 290px;
    right: -90px;
    top: 58%;
  }

  .header-shell {
    width: calc(100% - 22px) !important;
    justify-content: space-between;
  }
}

@media (max-width: 768px) {
  .nav {
    background: rgba(9, 15, 28, 0.97) !important;
    border-top: 1px solid rgba(132, 170, 255, 0.3) !important;
    border-bottom: 1px solid rgba(132, 170, 255, 0.3) !important;
  }

  .hero h1 {
    font-size: 2.45rem !important;
  }

  .page-title {
    font-size: 2.1rem !important;
  }
}

/* Force old green accent texts to white */
[style*="color:#98FF98"],
[style*="color: #98FF98"],
[style*="color:#7AE57A"],
[style*="color: #7AE57A"],
[style*="color:var(--accent)"],
[style*="color: var(--accent)"] {
  color: #ffffff !important;
}

.username,
.stat-value,
.loading,
.logo h1,
.logo h1 a,
.section-title,
.title,
.page-title,
.feature-title,
.req-item strong,
.info-number,
.tg-icon,
.home-link,
.video-card a,
.bought {
  color: #ffffff !important;
}

.section-title,
.title,
.page-title {
  background: none !important;
  -webkit-text-fill-color: #ffffff !important;
}

.badge-beta {
  color: #ffffff !important;
}
