:root {
  --bg: #02040a;
  --card: #071026;
  --accent: #7df0ff;
  --accent2: #9b7dff;
  --glass: rgba(255,255,255,0.05);
  --font: 'Inter', system-ui, sans-serif;
  --maxw: 1100px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  background: radial-gradient(circle at top, #030615, #00040d 70%);
  font-family: var(--font);
  color: #dfefff;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  max-width: 100%;
  display: block;
}

/* Layout */

.container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 32px;
  position: relative;
  z-index: 3;
}

/* Header */

header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(2,5,14,0.7);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,0.04);
  z-index: 50;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 18px;
  font-size: 0.9rem;
}

/* Logo size fixed here */
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand img {
  width: 36px;
  height: 36px;
  object-fit: contain;
}

.brand-title {
  font-weight: 700;
  font-size: 1rem;
}

.brand-sub {
  font-size: 0.75rem;
  opacity: 0.7;
}

/* Buttons */

.btn {
  background: linear-gradient(90deg, var(--accent), var(--accent2));
  padding: 8px 14px;
  border-radius: 10px;
  color: #001;
  font-weight: 700;
}

.btn-outline {
  padding: 8px 14px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.14);
}

/* Hero */

main {
  padding-top: 160px;
}

.hero {
  min-height: 70vh;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 32px;
  align-items: center;
}

.hero-left {
  max-width: 580px;
}

.kicker {
  background: rgba(125,240,255,0.12);
  padding: 6px 12px;
  border-radius: 999px;
  display: inline-block;
  margin-bottom: 12px;
  color: var(--accent);
  font-size: 0.85rem;
}

h1 {
  font-size: clamp(2rem, 3.6vw, 3rem);
  margin-bottom: 12px;
  line-height: 1.1;
}

.lead {
  opacity: 0.85;
  max-width: 540px;
}

.actions {
  margin-top: 20px;
  display: flex;
  gap: 10px;
}

/* Planet Card */

.planet-card {
  background: var(--glass);
  border: 1px solid rgba(255,255,255,0.06);
  padding: 20px;
  border-radius: 16px;
}

.planet-wrap {
  height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.planet {
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 30% 30%, rgba(125,240,255,0.24), rgba(155,125,255,0.12)),
    linear-gradient(180deg, #1c2a45, #050710);
  position: relative;
  overflow: hidden;
  box-shadow: inset 0 -20px 40px rgba(0,0,0,0.6);
}
.planet-logo {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 80%;             /* size of the logo inside the ball */
  height: auto;
  transform: translate(-50%, -50%);
  border-radius: 50%;     /* keeps it circular even if image has small edges */
  pointer-events: none;
  filter:
    drop-shadow(0 0 12px rgba(125,240,255,0.7))
    drop-shadow(0 0 24px rgba(155,125,255,0.4));
}

.orbit {
  width: 300px;
  height: 300px;
  border-radius: 50%;
  border: 1px dashed rgba(255,255,255,0.06);
  position: absolute;
  left: -40px;
  top: -40px;
  animation: spin 24s linear infinite;
}

@keyframes spin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

.meta-row {
  display: flex;
  justify-content: space-between;
  margin-top: 12px;
  font-size: 0.85rem;
  opacity: 0.8;
}

/* Sections */

.section {
  padding: 80px 0 20px;
  border-top: 1px solid rgba(255,255,255,0.06);
}

.section-split {
  display: grid;
  grid-template-columns: 1.4fr 0.6fr;
  gap: 28px;
}

.page-header {
  margin-top: 24px;
  margin-bottom: 36px;
}

.page-header h1 {
  font-size: 2.2rem;
  margin-bottom: 8px;
}

/* Grid & Cards */

.grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin-top: 16px;
}

.card {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 12px;
  padding: 20px;
}

/* Tokenomics table */

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}

th, td {
  padding: 12px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  text-align: left;
}

/* Timeline */

.timeline {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.tl-item {
  display: flex;
  gap: 12px;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: linear-gradient(90deg, var(--accent), var(--accent2));
  box-shadow: 0 0 12px rgba(125,125,255,0.5);
  margin-top: 6px;
}

/* Team, socials, footer */

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 20px;
}

.member {
  background: var(--card);
  padding: 20px;
  border-radius: 12px;
  text-align: center;
}

.avatar {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: linear-gradient(45deg, var(--accent), var(--accent2));
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 10px;
  font-weight: 700;
  color: #001;
}

.socials {
  display: flex;
  gap: 14px;
  margin-top: 10px;
}

.footer {
  padding: 32px 0;
  border-top: 1px solid rgba(255,255,255,0.06);
  margin-top: 40px;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 0.85rem;
  opacity: 0.7;
}
.footer-socials {
  display: flex;
  gap: 6px;
  align-items: center;
  font-size: 0.9rem;
}

.footer-socials a {
  color: var(--accent);
}

/* Starfield canvas */

#starfield {
  position: fixed;
  inset: 0;
  z-index: 0;
}

/* Reveal animation */

.reveal {
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.7s ease-out;
}

.reveal.show {
  opacity: 1;
  transform: none;
}

/* Link list */

.link-list {
  list-style: none;
  margin-top: 8px;
}

.link-list li + li {
  margin-top: 6px;
}

.link-list a {
  color: var(--accent);
  font-size: 0.95rem;
}

/* Responsive */

@media (max-width: 900px) {
  .nav {
    flex-direction: column;
    align-items: flex-start;
  }

  nav ul {
    flex-wrap: wrap;
  }

  .hero {
    grid-template-columns: 1fr;
  }

  .section-split {
    grid-template-columns: 1fr;
  }

  .grid {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }
  main {
      padding-top: 180px !important; /* extra padding on small screens where header is taller */
  }
}

/* ---- Hero banners with background images ---- */

.hero-banner {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  padding: 48px 32px;
  margin-bottom: 32px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  box-shadow: 0 20px 60px rgba(0,0,0,0.6);
}

.hero-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top, rgba(10,180,255,0.35), transparent 60%),
              linear-gradient(135deg, rgba(0,0,20,0.7), rgba(0,0,0,0.9));
  mix-blend-mode: screen;
}

.hero-banner-content {
  position: relative;
  z-index: 1;
  max-width: 640px;
}

.hero-banner-content h1 {
  font-size: 2.4rem;
  margin-bottom: 10px;
}

.hero-banner-content p {
  font-size: 0.98rem;
  opacity: 0.9;
}

/* specific images */
.hero-about {
  background-image: url('about-orbit.png');
}

.hero-tokenomics {
  background-image: url('about-orbit.png');
}

.hero-roadmap {
  background-image: url('roadmap-city.jpg');
}

/* About cards */

.about-card {
  position: relative;
  overflow: hidden;
}

.about-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top right,
              rgba(125,240,255,0.12), transparent 60%);
  opacity: 0.8;
  pointer-events: none;
}

.icon-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  margin-bottom: 8px;
  background: linear-gradient(90deg, var(--accent), var(--accent2));
  color: #001;
}

/* Tokenomics visual */

.tokenomics-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
  gap: 28px;
  align-items: center;
}

.token-chart-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.token-chart {
  width: 210px;
  height: 210px;
  border-radius: 50%;
  background:
    conic-gradient(
      #7df0ff 0 40%,        /* reserve 40% */
      #ffb86c 40% 65%,      /* ecosystem 25% */
      #6df2c5 65% 80%,      /* team 15% */
      #ff6fae 80% 90%,      /* investors 10% */
      #f8f8ff 90% 95%,      /* community 5% */
      #9999ff 95% 100%      /* liquidity 5% */
    );
  box-shadow: 0 0 25px rgba(0,0,0,0.8), 0 0 40px rgba(125,240,255,0.5);
  position: relative;
  animation: spin-slow 26s linear infinite;
}

.token-chart::after {
  content: "";
  position: absolute;
  inset: 26%;
  border-radius: 50%;
  background: radial-gradient(circle, #020617, #000);
}

@keyframes spin-slow {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

.token-legend {
  list-style: none;
  font-size: 0.85rem;
  opacity: 0.9;
}

.token-legend li + li {
  margin-top: 4px;
}

.swatch {
  display: inline-block;
  width: 12px;
  height: 12px;
  border-radius: 4px;
  margin-right: 6px;
  vertical-align: middle;
}

.swatch-reserve   { background:#7df0ff; }
.swatch-ecosystem { background:#ffb86c; }
.swatch-team      { background:#6df2c5; }
.swatch-investors { background:#ff6fae; }
.swatch-community { background:#f8f8ff; }
.swatch-liquidity { background:#9999ff; }

/* Roadmap visuals */

.roadmap-timeline {
  position: relative;
}

.roadmap-timeline::before {
  content: "";
  position: absolute;
  left: 8px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--accent), transparent);
  opacity: 0.5;
}

.roadmap-card {
  background: rgba(7,16,38,0.85);
  border-radius: 14px;
  padding: 16px 18px;
  border: 1px solid rgba(125,240,255,0.18);
  box-shadow: 0 10px 30px rgba(0,0,0,0.6);
}

.roadmap-dot {
  box-shadow: 0 0 16px rgba(155,125,255,0.8);
}

/* Card hover effect */

.card,
.roadmap-card {
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.card:hover,
.roadmap-card:hover {
  transform: translateY(-4px) scale(1.01);
  box-shadow: 0 16px 40px rgba(0,0,0,0.8);
}

/* Responsive tweaks */

@media (max-width: 900px) {
  .tokenomics-layout {
    grid-template-columns: 1fr;
  }

  .hero-banner {
    padding: 36px 24px;
  }
}
/* Fix hero-banner pushing down from the fixed header */
.hero-banner {
  margin-top: 140px !important;   /* pushes banner below the header */
}

/* Mobile fix */
@media (max-width: 900px) {
  .hero-banner {
    margin-top: 180px !important;
  }
}
.hero-banner::before {
  background: radial-gradient(circle at top,
              rgba(10,180,255,0.12),
              transparent 60%);
  mix-blend-mode: normal;
}