:root {
  --primary: #6c47ff;
  --primary-light: #a78bfa;
  --pink: #f472b6;
  --bg-light: #f7f8fc;
  --text-primary: #111114;
  --text-secondary: #666;
  --border: #eef0f5;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Raleway', sans-serif;
  color: var(--text-primary);
  background: #fff;
  overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: 'Raleway', sans-serif;
  font-weight: 400;
  letter-spacing: -0.02em;
}

.text-grad {
  background: linear-gradient(90deg, var(--primary-light), var(--primary), var(--pink));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.bg-brand-gradient {
  background: linear-gradient(
    135deg,
    var(--primary-light) 0%,
    var(--primary) 45%,
    var(--pink) 100%
  );
}

/* ── NAVBAR ── */
.navbar-brand-custom {
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--text-primary) !important;
}
.navbar-brand-custom .dot {
  color: var(--primary);
}
.navbar-logo {
  height: 36px;
  width: auto;
  display: block;
}
#mainNav {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow 0.2s;
}
#mainNav.scrolled {
  box-shadow: 0 4px 20px rgba(17, 17, 20, 0.06);
}
.nav-link-custom {
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--text-primary);
}
.nav-link-custom:hover {
  color: var(--primary);
}
.btn-brand {
  background: var(--primary);
  color: #fff;
  font-weight: 700;
  border-radius: 50px;
  padding: 0.55rem 1.4rem;
  border: none;
}
.btn-brand:hover {
  background: #5a37e0;
  color: #fff;
}

/* ── HERO (index-2) ── */
#hero {
  padding: 100px 0 45px;
  background: linear-gradient(180deg, #ffffff 0%, #eaf2ff 100%);
}
.hero-banner {
  border-radius: 24px;
  min-height: 70vh;
  padding: 60px;
  position: relative;
  overflow: hidden;
}
.hero-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('images/main-banner.png') center center / cover no-repeat;
  z-index: 0;
}
@media (max-width: 767px) {
  .hero-banner {
    padding: 40px 24px;
    min-height: 60vh;
  }
  .hero-banner::before {
    background-position: 70% center;
  }
  .hero-logo {
    height: 56px !important;
  }
}
.hero-left-content {
  max-width: 600px;
  position: relative;
  z-index: 1;
}
.hero-logo {
  height: 112px;
  width: auto;
  margin-bottom: 32px;
  display: block;
  filter: drop-shadow(0 6px 16px rgba(0, 0, 0, 0.3));
}
.hero-heading {
  font-size: clamp(2.4rem, 4.5vw, 3.4rem);
  line-height: 1.08;
  color: #ffffff;
  text-shadow: 3px 3px 15px black;
}
.hero-heading em {
  font-style: normal;
  color: #000;
}
.hero-heading-wrap {
  position: relative;
}
.hero-mascot {
  position: absolute;
  z-index: 2;
  transform-origin: bottom;
}
.hero-mascot-bull {
  width: 110px;
  left: -130px;
  top: -60px;
  filter: drop-shadow(0 20px 30px rgba(0, 212, 200, 0.3));
  animation: mBull 3.5s ease-in-out infinite;
}
.hero-mascot-bear {
  width: 90px;
  right: -110px;
  bottom: 10px;
  filter: drop-shadow(0 20px 30px rgba(255, 77, 109, 0.25));
  animation: mBear 4s ease-in-out infinite;
}
@keyframes mBull {
  0%,
  100% {
    transform: translateY(0) rotate(-2deg);
  }
  50% {
    transform: translateY(-14px) rotate(2deg);
  }
}
@keyframes mBear {
  0%,
  100% {
    transform: translateY(0) rotate(2deg);
  }
  50% {
    transform: translateY(-10px) rotate(-2deg);
  }
}
@media (max-width: 767px) {
  .hero-mascot {
    display: none;
  }
}
.hero-disclaimer {
  margin-top: 18px;
  font-size: 0.68rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.5);
}
.hero-disclaimer a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: underline;
}
.hero-disclaimer a:hover {
  color: #fff;
}
.store-text {
  margin-top: 28px;
  margin-bottom: 14px;
  font-weight: 600;
  color: #fff;
}
.store-badges {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.store-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 14px;
  padding: 2px 8px;
  color: #000;
  transition:
    background 0.2s,
    transform 0.2s;
}
.store-badge svg {
  height: 46px;
  width: auto;
  display: block;
}
.store-badge:hover {
  background: rgba(255, 255, 255, 0.5);
  transform: translateY(-2px);
}

/* ── EMPTY PLACEHOLDER SECTIONS (index-2) ── */
.empty-section {
  min-height: 60vh;
  scroll-margin-top: 90px;
  padding: 100px 0;
}
#alerts {
  padding-bottom: 30px;
  background: var(--bg-light);
}
#market {
  background: var(--bg-light);
}

/* ── SECTION HEADINGS (shared: empty placeholder sections + legal header) ── */
.section-eyebrow {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 12px;
}
.section-title {
  font-size: 3rem; /* 48px */
  margin-bottom: 16px;
}
.section-sub {
  color: var(--text-secondary);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.7;
}
.inline-link {
  color: var(--primary);
  font-weight: 600;
  text-decoration: underline;
}
.inline-link:hover {
  color: #5a37e0;
}

/* ── MARKET SHOWCASE IMAGE ── */
.market-showcase-img {
  display: block;
  width: 100%;
  max-width: 450px;
  height: auto;
  border-radius: 20px;
  margin: 16px auto 0;
}

/* ── METRIC CARDS (Live Metrics section) ── */
.metric-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 28px;
  height: 100%;
}
.metric-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 16px;
}
.metric-card-img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 14px;
  margin-bottom: 16px;
}
.metric-card p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.7;
  margin: 0;
}

/* ── MASCOTS / MINIGAME (index-2) ── */
#mascots {
  padding: 0;
  margin-top: 40px;
}
.mascot-banner {
  border-radius: 24px;
  min-height: 320px;
  background: url('images/game.png') center center / cover no-repeat;
  border: 1px solid var(--border);
  padding: 60px 40px;
  margin-bottom: 50px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
@media (max-width: 767px) {
  .mascot-banner {
    background-position: -740px center;
  }
}

/* ── CTA (index-2) ── */
#cta {
  padding: 90px 0;
  color: #fff;
  text-align: center;
  position: relative;
  overflow: hidden;
}
#cta h2 {
  color: #fff;
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  margin-bottom: 16px;
}
#cta p {
  color: rgba(255, 255, 255, 0.85);
  max-width: 480px;
  margin: 0 auto 32px;
}

/* ── LEGAL HEADER (terms / privacy) ── */
.legal-header {
  padding: 150px 0 60px;
  text-align: center;
  color: var(--text-primary);
}
.legal-header p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin: 0;
}

/* ── LEGAL CONTENT (terms / privacy) ── */
.legal-content {
  padding: 70px 0 100px;
  background: #fff;
}
.legal-section {
  margin-bottom: 30px;
}
.legal-section:last-child {
  margin-bottom: 0;
}
.legal-section h2 {
  font-size: 0.85rem;
  font-weight: 700;
  color: #000;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 10px;
}
.legal-section p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.75;
  margin-bottom: 10px;
}
.legal-section p:last-child {
  margin-bottom: 0;
}
.legal-section ul {
  padding-left: 20px;
  margin: 10px 0;
}
.legal-section li {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.75;
  margin-bottom: 6px;
}
.legal-warning {
  background: #fff8f0;
  border-left: 3px solid var(--pink);
  padding: 16px 18px;
  border-radius: 0 12px 12px 0;
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-top: 8px;
}

/* ── DELETE ACCOUNT STEPS ── */
.steps {
  list-style: none;
  padding: 0;
  margin: 24px 0;
}
.steps li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 16px;
  font-size: 0.95rem;
  color: var(--text-secondary);
}
.step-num {
  background: linear-gradient(135deg, var(--primary-light), var(--primary));
  color: #fff;
  font-size: 0.8rem;
  font-weight: 700;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* ── SUPPORT FAQ ── */
.faq-item {
  border-bottom: 1px solid var(--border);
  padding: 16px 0;
}
.faq-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}
.faq-q {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 6px;
}
.faq-a {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

/* ── FOOTER ── */
footer {
  background: #0a0a12;
  color: rgba(255, 255, 255, 0.5);
  padding: 60px 0 30px;
}
footer h6 {
  color: #fff;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 18px;
}
footer a {
  color: rgba(255, 255, 255, 0.55);
  text-decoration: none;
  font-size: 0.9rem;
  display: block;
  margin-bottom: 10px;
}
footer a:hover {
  color: #fff;
}
.foot-brand-logo {
  height: 40px;
  width: auto;
  margin-bottom: 14px;
  display: block;
}
footer .foot-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  margin-top: 40px;
  padding-top: 24px;
  font-size: 0.8rem;
}
.foot-dev {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.foot-dev-logo {
  height: 28px;
  width: auto;
}
