* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', sans-serif;
  background: #0a0a1f;
  color: #e0e0e0;
  overflow-x: hidden;
  min-height: 100vh;
  position: relative;
}

/* =========================
   VIDEO BACKGROUND
========================= */

.video-bg {
  position: fixed;
  inset: 0;
  overflow: hidden;
  z-index: -3;
}

.video-bg video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  transform: translate(-50%, -50%);
  object-fit: cover;
}

.video-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 20, 0.65);
  z-index: -1;
}

/* =========================
   HEADER
========================= */

header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.2rem 5%;
  background: rgba(10, 10, 31, 0.8);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(224, 224, 224, 0.08);
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: 'Orbitron', sans-serif;
  font-size: 1.9rem;
  font-weight: 900;
}

.logo-img {
  height: 60px;
  max-width: 140px;
  object-fit: contain;
  border-radius: 50%;
}

nav a {
  color: #e0e0e0;
  text-decoration: none;
  margin: 0 1.4rem;
  font-weight: 500;
  transition: 0.3s;
}

nav a:hover {
  color: #ffffff;
}

nav a.active {
  font-weight: 600;
}

/* =========================
   MAIN
========================= */

main {
  padding-top: 110px;
}

/* =========================
   HERO SECTION
========================= */

.hero {
  text-align: center;
  padding: 40px 5% 100px;
}

.hero-coin-wrapper {
  margin: 10px 0 70px;
  display: flex;
  justify-content: center;
  min-height: 220px;
}

.hero-coin {
  width: 350px;
  max-width: 90vw;
  border-radius: 50%;
  transition: 0.4s ease;
  cursor: pointer;
}

.hero-coin:hover {
  transform: scale(1.08);
  box-shadow:
    0 40px 100px rgba(0,0,0,0.6),
    0 0 80px rgba(224,224,224,0.3);
}

/* =========================
   CARDS
========================= */

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2.2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.card {
  background: rgba(30, 30, 60, 0.45);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(224,224,224,0.08);
  border-radius: 24px;
  padding: 2.5rem 2rem;
  text-align: center;
  transition: 0.4s ease;
}

.card:hover {
  transform: translateY(-14px);
  box-shadow: 0 30px 70px rgba(0,0,0,0.4);
}

.metric {
  font-family: 'Orbitron', sans-serif;
  font-size: 3.8rem;
  font-weight: 900;
  margin-bottom: 1rem;
}

.metric.big {
  font-size: 4.5rem;
}

.social-icons {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin: 1.5rem 0 1rem;
}

.social-icons a {
  color: #e0e0e0;
  transition: 0.3s;
}

.social-icons a:hover {
  transform: translateY(-4px) scale(1.15);
}

/* =========================
   ABOUT PAGE
========================= */

.about-page {
  padding: 120px 5% 80px;
}

.about-hero {
  text-align: center;
  padding: 60px 40px;
  margin-bottom: 60px;
  border-radius: 20px;
}

.about-hero h1 {
  font-family: 'Orbitron', sans-serif;
  font-size: 48px;
  margin-bottom: 20px;
}

.about-hero p {
  max-width: 700px;
  margin: 0 auto;
  opacity: 0.85;
  line-height: 1.6;
}

.about-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 40px;
}

.about-grid .card {
  padding: 40px;
}

/* =========================
   FOOTER
========================= */

footer {
  text-align: center;
  padding: 5rem 5% 3rem;
  border-top: 1px solid rgba(224,224,224,0.08);
}

.socials a {
  color: #e0e0e0;
  margin: 0 1.2rem;
  font-size: 1.5rem;
  text-decoration: none;
}

/* =========================
   MOBILE RESPONSIVE
========================= */

@media (max-width: 768px) {

  header {
    padding: 0.8rem 5%;
  }

  .logo {
    font-size: 1.3rem;
  }

  .logo-img {
    height: 40px;
    
  }

  nav a {
    margin: 0 0.6rem;
    font-size: 0.9rem;
  }

  .hero {
    padding: 30px 5% 60px;
  }

  .hero-coin {
    width: 65vw;        /* scales with screen width */
    max-width: 280px;   /* prevents it from getting too huge */
  }
  }

  .metric {
    font-size: 2rem;
  }

  .metric.big {
    font-size: 2.4rem;
  }

  .card {
    padding: 1.5rem 1.2rem;
    border-radius: 18px;
  }

  .stats-grid {
    grid-template-columns: 1fr;
    gap: 1.2rem;
  }

  .about-hero {
    padding: 30px 20px;
  }

  .about-hero h1 {
    font-size: 28px;
  }

  .about-grid {
    gap: 20px;
  }

  /* Disable video on mobile */
  /*.video-bg video {
    display: none;
  }

  .video-bg {
    background: #0a0a1f;
  } */
}