/* =========================================
   INDEX PAGE – MEXC STYLE (Dark, Dense)
========================================= */

/* ---- Base Override (index only) ---- */
body {
  background: #0b0f17;
  color: #e6edf3;
}

/* ---- Container (safe override) ---- */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

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

.top-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: #0f141d;
  border-bottom: 1px solid #1b2230;
}

.header-inner {
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: 1px;
  color: #ffffff;
}

.main-nav {
  display: flex;
  gap: 28px;
  align-items: center;
}

.main-nav a {
  text-decoration: none;
  font-size: 14px;
  color: #c2c8d0;
  transition: 0.2s ease;
}

.main-nav a:hover {
  color: #ffffff;
}

.login-btn {
  padding: 6px 14px;
  border: 1px solid #2a3242;
  border-radius: 6px;
}

.signup-btn {
  background: #2f80ed;
  color: #fff !important;
  padding: 8px 18px;
  border-radius: 6px;
  font-weight: 600;
}

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

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

.hero-section {
  position: relative;
  padding: 140px 0;
  background: url("../images/hero-visual.jpg") center/cover no-repeat;
}

.hero-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(10,15,25,0.9) 0%,
    rgba(10,15,25,0.7) 50%,
    rgba(10,15,25,0.4) 100%
  );
}

.hero-wrapper {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 80px;
  flex-wrap: wrap;
}

.hero-left {
  flex: 1;
  min-width: 320px;
}

.hero-title {
  font-size: 64px;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 20px;
  text-shadow: 0 10px 30px rgba(0,0,0,0.6);
}

.hero-sub {
  font-size: 24px;
  margin-bottom: 20px;
}

.highlight {
  color: #2f80ed;
}

.bonus {
  color: #0ecb81;
  font-weight: 800;
  font-size: 28px;
}

.hero-description {
  font-size: 16px;
  color: #c5d1e0;
  margin-bottom: 32px;
  max-width: 600px;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

@media (max-width: 900px) {
  .hero-wrapper {
    flex-direction: column;
    text-align: center;
  }

  .hero-title {
    font-size: 38px;
  }
}


.hero-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(10,15,25,0.9) 0%,
    rgba(10,15,25,0.7) 50%,
    rgba(10,15,25,0.4) 100%
  );
}

.hero-wrapper {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 80px;
  flex-wrap: wrap;
}

.hero-left {
  flex: 1;
  min-width: 320px;
}

.hero-title {
  font-size: 56px;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 20px;
  text-shadow: 0 10px 30px rgba(0,0,0,0.6);
}

.hero-sub {
  font-size: 28px;
  font-weight: 600;
  margin-bottom: 20px;
}

.highlight {
  color: #2f80ed;
}

.bonus {
  color: #0ecb81;
  font-weight: 800;
  font-size: 32px;
}

.hero-description {
  font-size: 16px;
  color: #c5d1e0;
  margin-bottom: 32px;
  max-width: 600px;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

@media (max-width: 900px) {
  .hero-wrapper {
    flex-direction: column;
    text-align: center;
  }

  .hero-title {
    font-size: 38px;
  }
}




/* =========================================
   MARKET CARDS
========================================= */

.market-section {
  padding: 80px 0;
}

.market-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 20px;
}

.market-card {
  background: #131a24;
  border: 1px solid #1f2633;
  border-radius: 12px;
  padding: 20px;
  transition: 0.25s ease;
  position: relative;
}

.market-card:hover {
  transform: translateY(-4px);
  border-color: #2f80ed;
}

.card-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
}

.card-header img {
  width: 26px;
  height: 26px;
  object-fit: contain;
}

.card-header span {
  font-weight: 600;
  font-size: 14px;
  color: #ffffff;
}

.card-price {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 6px;
  color: #ffffff;
}

.card-pnl {
  font-size: 14px;
  font-weight: 600;
}

.pnl-up {
  color: #0ecb81;
}

.pnl-down {
  color: #f6465d;
}

.card-leverage {
  position: absolute;
  top: 18px;
  right: 18px;
  font-size: 12px;
  background: rgba(47, 128, 237, 0.15);
  padding: 4px 8px;
  border-radius: 6px;
  color: #2f80ed;
  font-weight: 600;
}

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

.features-section {
  padding: 100px 0;
  background: #0f141d;
}

.features-section h2 {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 50px;
  color: #ffffff;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}

.feature-card {
  background: #131a24;
  padding: 28px;
  border-radius: 12px;
  border: 1px solid #1f2633;
}

.feature-card h3 {
  font-size: 18px;
  margin-bottom: 14px;
  color: #ffffff;
}

.feature-card p {
  font-size: 14px;
  color: #9aa4b2;
  line-height: 1.7;
}

/* =========================================
   CTA
========================================= */

.cta-section {
  padding: 100px 0;
  text-align: center;
  background: linear-gradient(
    180deg,
    #0b0f17,
    #0f141d
  );
}

.cta-section h2 {
  font-size: 28px;
  margin-bottom: 30px;
  color: #ffffff;
}

.btn-primary.large {
  font-size: 18px;
  padding: 16px 36px;
  border-radius: 12px;
}


/* =========================================
   RESPONSIVE
========================================= */

@media (max-width: 900px) {

  .hero-text h1 {
    font-size: 34px;
  }

  .hero-text p {
    font-size: 16px;
  }

  .main-nav {
    display: none;
  }

}
/* =========================================
   HORIZONTAL MARKET SLIDER
========================================= */

.market-slider {
  overflow: hidden;
  width: 100%;
  position: relative;
}

.market-track {
  display: flex;
  gap: 20px;
  animation: scrollLeft 40s linear infinite;
}

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

.market-card {
  min-width: 220px;
  flex-shrink: 0;
}

@keyframes scrollLeft {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
body {
  background: radial-gradient(
      circle at 20% 20%,
      rgba(47,128,237,0.15),
      transparent 40%
    ),
    radial-gradient(
      circle at 80% 70%,
      rgba(0,200,255,0.08),
      transparent 50%
    ),
    #0b0f17;
}
/* ===== HERO BUTTON FIX ===== */

.hero-buttons a {
  font-size: 20px;
  font-weight: 700;
  padding: 18px 40px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.hero-buttons .btn-primary {
  background: #2f80ed;
  color: #ffffff !important;
}

.hero-buttons .btn-secondary {
  background: transparent;
  border: 2px solid #2f80ed;
  color: #ffffff !important;
}
/* ===== MARKET CARD TEXT FIX ===== */

.card-header span {
  font-size: 16px;
  font-weight: 700;
}

.card-price {
  font-size: 26px;
  font-weight: 800;
}

.card-pnl {
  font-size: 16px;
  font-weight: 700;
}

.card-leverage {
  font-size: 13px;
  padding: 6px 10px;
}
/* ===== HERO BADGE STRONG ===== */

.hero-badge {
  font-size: 18px;              /* 16 → 18 */
  font-weight: 700;
  padding: 12px 22px;
  border-radius: 30px;
  background: linear-gradient(
    90deg,
    rgba(47,128,237,0.35),
    rgba(0,200,255,0.25)
  );
  border: 1px solid rgba(47,128,237,0.6);
  backdrop-filter: blur(6px);
  box-shadow: 0 0 30px rgba(47,128,237,0.35);
}

.hero-badge svg {
  width: 20px;
  height: 20px;
}
