:root {
  background-color: #1f1235;
  color: white;
  --primary: #ec4899;
  --primary-light: #f9a8d4;
  --primary-dark: #be185d;
  --secondary: #8b5cf6;
  --secondary-light: #a78bfa;
  --secondary-dark: #6d28d9;
  --text: #e0e0e0;
  --light-text: #b0b0b0;
  --lighter-text: #808080;
  --background: #1a1a2e;
  --card-bg: #2a1b3d;
  --highlight-bg: #44318d;
  --border: rgba(139, 92, 246, 0.3);
  --shadow-color: rgba(0, 0, 0, 0.6);
}

/* Critical CSS for initial render */
body {
  margin: 0;
  padding: 0;
  background-color: #1f1235;
  color: white;
  font-family: "Space Grotesk", sans-serif;
  overscroll-behavior-y: none;
  -webkit-font-smoothing: antialiased;
  scroll-behavior: smooth;
  top: 0 !important;
}

.container-full {
  max-width: 1400px;
  margin: auto;
}
.container {
  max-width: 1280px;
  margin: auto;
  padding-left: 15px;
  padding-right: 15px;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  line-height: 1.3;
}

.loading-screen {
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #1f1235;
}

#root {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.loading {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #1f1235;
}

.brand-logo {
  width: 60px;
  background: #fff;
  border-radius: 50%;
  padding: 0;
  overflow: hidden;
}

.hand-mockup {
  aspect-ratio: 946/787;
  -o-object-fit: contain;
  object-fit: contain;
  transition: transform 0.3s ease;
  width: 50%;
  max-width: 500px;
  filter: drop-shadow(0 20px 13px rgba(0, 0, 0, 0.12));
  margin-top: -7%;
}

.hero-section {
  position: relative;
}

.star-bg {
  position: absolute;
  top: 100px;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 800px;
  overflow: hidden;
}

.star {
  position: absolute;
  width: 2px;
  height: 2px;
  background: white;
  border-radius: 50%;
  filter: blur(1px);
}

.traderate-text-1 {
  font-size: clamp(2.5rem, 12vw, 16rem);
  margin-top: -1rem;
  position: relative;
  z-index: 0;
}

.language-switcher {
  position: relative;
  display: inline-block;
}

.language-list {
  display: none;
  position: absolute;
  background-color: #13172b;
  list-style: none;
  padding: 10px;
  margin: 0;
  border-radius: 6px;
  z-index: 999;
  right: 0;
  border: 1px solid #969292;
}

.language-list li {
  padding: 5px 16px;
  color: #fff;
  cursor: pointer;
  margin-top: 0;
  border-radius: 4px;
}

.language-list li:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

.language-switcher:hover .language-list {
  display: block;
}
.skiptranslate {
  display: none !important;
  height: 0;
  overflow: hidden;
  opacity: 0;
}
.social-icons {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin: 20px 0;
}

.social-icons .icon {
  width: 25px;
  height: 25px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: transform 0.3s ease;
}

.social-icons a {
  padding: 10px;
  min-height: inherit;
  min-width: inherit;
}

.social-icons .icon:hover {
  transform: scale(1.1);
}

.social-icons .icon i {
  color: white;
  font-size: 16px;
}

.icon.twitter {
  background-color: #1da1f2;
}
.icon.facebook {
  background-color: #1877f2;
}
.icon.telegram {
  background-color: #0088cc;
}
.icon.linkedin {
  background-color: #0077b5;
}
.icon.whatsapp {
  background-color: #25d366;
}
.icon.instagram {
  background-color: #e4405f;
}
.icon.tiktok {
  background-color: #000000;
}
.icon.discord {
  background-color: #5865f2;
}

.section-links {
  max-width: 300px;
  margin: 0 auto;
  font-family: "Space Grotesk", sans-serif;
}

.section-links a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  text-decoration: none;
  color: #fff;
  font-weight: 500;
  transition: all 0.3s ease;
}

.section-links a i {
  transition: transform 0.3s ease;
}

.section-links a:hover i {
  transform: rotate(90deg);
}

.section-links a:hover {
  color: #ec4899; /* Optional: change text color on hover */
}

.loading-bar {
  width: 100%;
  max-width: 800px;
  height: 4px;
  margin: 40px auto 32px;
  background: linear-gradient(to right, #ec4899, #8b5cf6, #ec4899);
  border-radius: 9999px;
  overflow: hidden;
  position: relative;
}

.loading-bar::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 33%;
  background-color: rgba(255, 255, 255, 0.2);
  /* animation: loadingBar 2s ease-in-out infinite; */
}

@keyframes loadingBar {
  0% {
    left: 0%;
  }
  50% {
    left: 67%;
  }
  100% {
    left: 0%;
  }
}

@media (max-width: 768px) {
  .hand-mockup {
    width: 90%;
  }

  .traderate-text-1 {
    font-size: clamp(2rem, 17vw, 14rem);
  }
}

#features-section {
  position: relative;
  padding: 4rem 0;
  z-index: 10;
}

.features-title {
  font-size: 2.25rem;
  font-weight: bold;
  text-align: center;
  margin-bottom: 2rem;
  background: linear-gradient(to right, #ec4899, #8b5cf6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.features-subtext {
  text-align: center;
  color: #9ca3af;
  margin-bottom: 2rem;
  font-size: 1.125rem;
}

.features-slider {
  max-width: 1200px;
  margin: 0 auto;
}

.slick-slide {
  padding: 10px;
  box-sizing: border-box;
}

.feature-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 100%;
  background-color: #2a1b3d;
  border-radius: 0.5rem;
  padding: 1.5rem;
  text-align: center;
  height: 240px;
  transition: all 0.3s ease;
  margin: 0 auto;
}
.feature-content:hover {
  transform: scale(1.05);
  background-color: #3a2b4d;
}

.feature-icon {
  color: #8b5cf6;
  margin-bottom: 0.75rem;
}

.feature-heading {
  font-size: 1.25rem;
  font-weight: bold;
  margin-bottom: 0.5rem;
  background: linear-gradient(to right, #ec4899, #8b5cf6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.feature-desc {
  color: #9ca3af;
  font-size: 0.875rem;
}

.slick-slider,
.slick-list,
.slick-track,
.slick-slide {
  max-width: none !important;
  box-sizing: content-box !important;
  scrollbar-width: auto !important;
  -ms-overflow-style: auto !important;
}

.slick-dots li button:before {
  font-size: 10px;
}
.slick-dots {
  bottom: -40px;
}

.feature-slider .slick-slide {
  padding: 0 10px; /* Adjust horizontal spacing */
  box-sizing: border-box;
}

.glass-feature {
  overflow: hidden;
}

.canvas-wrapper {
  width: 100%;
  aspect-ratio: 1/1;
  max-width: 400px;
  position: relative;
  overflow: hidden;
  aspect-ratio: 1;
  overflow: hidden;
  margin-top: -70px;
  margin-left: auto;
  margin-right: auto;
}

canvas {
  width: 100%;
  height: 100%;
  display: block;
}

.why-section {
  text-align: center;
  padding: 2rem 0;
  max-width: 768px;
  margin: auto;
}

.why-title {
  font-size: 2.25rem;
  font-weight: bold;
  background: linear-gradient(to right, #ec4899, #8b5cf6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 1rem;
}

.why-subtext {
  font-size: 1rem;
  color: #9ca3af;
  margin-bottom: 2rem;
}

.phone-frame {
  position: relative;
  width: 100%;
  max-width: 340px;
  height: auto;
  margin: auto;
}

.slide-test {
  margin-bottom: -3px;
  height: 100%;
  border-radius: 24px;
  overflow: hidden;
  background: linear-gradient(to bottom right, #2a1b3d, #1f1235);
  /* box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4); */
  position: relative;
}

.slide-test video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  opacity: 0.8;
  vertical-align: middle;
}

.slide-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.2),
    rgba(0, 0, 0, 0.5) 50%,
    rgba(0, 0, 0, 0.9)
  );
}

.slide-caption {
  position: absolute;
  bottom: 30px;
  left: 10%;
  width: 80%;
  padding: 40px;
  z-index: 5;
  background: rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 7px;
}

.slide-caption h3 {
  font-size: 1.25rem;
  font-weight: bold;
  background: linear-gradient(to right, #ec4899, #8b5cf6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 0.5rem;
}

.slide-caption p {
  color: #f3f4f6;
  font-size: 0.875rem;
  font-weight: 300;
}

.phone-slider .slick-slide {
  padding: 0;
}

.phone-slider {
  border: 15px solid #1f2937;
  border-radius: 40px;
  background: #000;
  overflow: hidden;
}

.btn {
  display: inline-block;
  padding: 12px 36px;
  background: linear-gradient(90deg, var(--primary) 0%, var(--secondary) 100%);
  color: white;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 600;
  font-family: "Space Grotesk", sans-serif;
  transition: all 0.3s ease;
  cursor: pointer;
  letter-spacing: 0.05em;
  box-shadow: 0 0 20px rgba(236, 72, 153, 0.3);
}

.btn:hover {
  transform: translateY(-3px);
}

.hide-now {
  display: none;
}
