:root {
  --bg: linear-gradient(180deg, #0d0b1a, #141e30);
  --ink: #eaf2ff;
  --muted: #9cb6da;
  --brand: #ffd84d;
  --brand-ink: #1a1400;
  --accent: #67f0c9;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  --radius: 18px;
}

* {
  box-sizing: border-box;
}
html,
body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: Inter, sans-serif;
  scroll-behavior: smooth;
}
a {
  color: inherit;
  text-decoration: none;
}

/* HEADER RESPONSIVE FIX */
.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap; /* allows elements to move nicely on smaller screens */
}

.logo-wrap {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap; /* makes text wrap under logo on small screens */
}

.logo-wrap strong {
  font-size: 1.2rem;
}

.logo-wrap .chip {
  font-size: 0.85rem;
  color: #4da3ff;
  display: block;
  margin-left: 0.5rem;
}

/* MOBILE FIX */
@media (max-width: 768px) {
  .header {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }

  .logo-wrap {
    flex-direction: row; /* keeps logo + BOLD inline */
    align-items: center;
  }

  .logo-wrap .chip {
    display: block;
    margin-left: 0;
    margin-top: 0.25rem;
  }

  .nav {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
  }
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.9rem 1.1rem;
  border-radius: 12px;
  border: 2px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  color: var(--ink);
  font-weight: 700;
  transition: 0.2s;
}
.btn:hover {
  transform: translateY(-2px);
  border-color: var(--accent);
}
.btn.brand {
  background: var(--brand);
  color: var(--brand-ink);
  border-color: transparent;
}

/* Chip */
.chip {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 0.8rem;
  border-radius: 999px;
  border: 1px dashed rgba(255, 255, 255, 0.25);
  color: var(--muted);
  font-weight: 600;
}

/* Header */
.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
}
.logo-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
}
.nav {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* Hero */
.hero {
  padding: 110px 0 70px;
  position: relative;
}
.hero .grid-2 {
  display: grid;
  gap: 40px;
  align-items: center;
}
@media (min-width: 900px) {
  .grid-2 {
    grid-template-columns: 1.1fr 0.9fr;
  }
}

.title {
  font-family: Rubik, sans-serif;
  font-weight: 900;
  line-height: 1.05;
}
h1.title {
  font-size: clamp(38px, 5vw, 64px);
}
.highlight {
  background: linear-gradient(90deg, var(--brand), #fff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.subtitle {
  color: var(--muted);
  font-size: 1.1rem;
  max-width: 60ch;
}

.cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}
.contract {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 10px;
  border-radius: 12px;
}
.contract input {
  flex: 1;
  min-width: 220px;
  background: transparent;
  border: none;
  outline: none;
  color: var(--ink);
  font-family: monospace;
  font-size: 0.95rem;
}

/* Coin */
.coin {
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 4px solid rgba(255, 216, 77, 0.5);
  box-shadow: 0 0 30px rgba(255, 216, 77, 0.5);
  animation: pulse 3s infinite;
}
.coin.small {
  width: 52px;
  height: 52px;
}
.coin.big {
  width: min(420px, 90%);
  aspect-ratio: 1/1;
  margin: auto;
}
.coin img {
  width: 90%;
  height: 90%;
  object-fit: cover;
  border-radius: 50%;
}
@keyframes pulse {
  0%,
  100% {
    box-shadow: 0 0 30px rgba(255, 216, 77, 0.4);
  }
  50% {
    box-shadow: 0 0 50px rgba(255, 216, 77, 0.9);
  }
}

/* Quick Stats */
.quick-stats {
  display: flex;
  gap: 20px;
  margin: 20px 0;
  font-weight: 700;
  justify-content: space-around;
}
.quick-stats strong {
  font-size: 1.4rem;
  display: block;
}

/* Ticker */
.ticker {
  background: rgba(20, 20, 40, 0.8);
  border-top: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent);
  box-shadow: 0 0 15px var(--accent);
  position: sticky;
  top: 0;
  z-index: 20;
}
.marquee {
  display: flex;
  gap: 24px;
  white-space: nowrap;
  overflow: hidden;
  padding: 10px 0;
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--brand);
}
.marquee span {
  animation: slide 18s linear infinite;
}
@keyframes slide {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

/* Sections */
section {
  padding: 84px 0;
}
.section-title {
  font-family: Rubik, sans-serif;
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 900;
  display: flex;
  align-items: center;
  gap: 12px;
}
.underline {
  height: 6px;
  width: 60px;
  background: var(--accent);
  border-radius: 999px;
}

.cards {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 24px;
}
.card {
  grid-column: span 12;
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius);
  padding: 22px;
  transition: 0.2s;
}
.card:hover {
  transform: translateY(-6px);
  border-color: var(--accent);
}
@media (min-width: 860px) {
  .card.span-6 {
    grid-column: span 6;
  }
}

.muted {
  color: var(--muted);
}
.center {
  text-align: center;
}
.title-sm {
  font-size: 22px;
  margin: 0 0 8px;
}
.list {
  margin: 0;
  padding-left: 1.1rem;
  line-height: 1.65;
}

/* Steps */
.steps {
  display: grid;
  gap: 18px;
}
.step {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 16px;
  align-items: flex-start;
  padding: 18px;
  border: 1px dashed rgba(255, 255, 255, 0.18);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
}
.step .num {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  background: var(--accent);
  color: #001a17;
  font-weight: 900;
  display: grid;
  place-items: center;
}

/* Tokenomics */
.tokenomics {
  display: grid;
  gap: 24px;
}
.pie {
  --size: 230px;
  width: var(--size);
  height: var(--size);
  border-radius: 50%;
  background: conic-gradient(
    var(--brand) 0 95%,

    #87a8ff 0% 100%
  );
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.35),
    inset 0 10px 40px rgba(0, 0, 0, 0.25);
  border: 6px solid rgba(255, 255, 255, 0.06);
  margin: auto;
}
.legend {
  display: grid;
  gap: 12px;
}
.legend .row {
  display: flex;
  align-items: center;
  gap: 10px;
}
.dot {
  width: 14px;
  height: 14px;
  border-radius: 3px;
  display: inline-block;
}
.dot.yellow {
  background: var(--brand);
}
.dot.green {
  background: var(--accent);
}
.dot.blue {
  background: #87a8ff;
}

/* Roadmap */
.timeline {
  display: grid;
  gap: 30px;
  position: relative;
}
.milestone {
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 14px;
  padding: 20px;
  max-width: 500px;
}
.milestone.left {
  margin-right: auto;
  border-left: 3px solid var(--accent);
}
.milestone.right {
  margin-left: auto;
  border-right: 3px solid var(--brand);
}

/* Community Tweet Gallery */
.tweet-gallery {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  margin-top: 20px;
}
.tweet-gallery img {
  width: 100%;
  border-radius: 12px;
  transition: transform 0.2s, box-shadow 0.2s;
}
.tweet-gallery img:hover {
  transform: scale(1.03);
  box-shadow: 0 0 15px rgba(255, 216, 77, 0.4);
}

/* Footer */
footer {
  padding: 40px 0 60px;
  color: var(--muted);
}
.socials {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.badge {
  padding: 0.5rem 0.75rem;
  border-radius: 999px;
  background: #000;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: 0.2s;
}
.badge:hover {
  border-color: var(--accent);
}

/* Responsive */
@media (max-width: 768px) {
  .hero .grid-2 {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .coin.big {
    width: 260px;
    margin: 30px auto;
  }
  .nav {
    flex-wrap: wrap;
    justify-content: center;
  }
  .quick-stats {
    flex-direction: column;
    gap: 10px;
  }
  .steps {
    gap: 12px;
  }
}
@media (max-width: 480px) {
  h1.title {
    font-size: 1.8rem;
  }
  .subtitle {
    font-size: 1rem;
  }
  .btn {
    padding: 0.7rem 0.9rem;
    font-size: 0.9rem;
  }
  .tweet-gallery {
    grid-template-columns: 1fr;
  }
}
