:root {
  --sol-purple: #9945ff;
  --sol-green: #14f195;
  --sol-teal: #00d1b2;
  --bg-deep: #0a0a12;
  --bg-card: rgba(18, 18, 32, 0.85);
  --text: #f0f0f8;
  --text-muted: #9898b8;
  --border: rgba(153, 69, 255, 0.25);
  --glow-purple: rgba(153, 69, 255, 0.4);
  --glow-green: rgba(20, 241, 149, 0.35);
  --font-display: "Bebas Neue", sans-serif;
  --font-body: "Space Grotesk", sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background: var(--bg-deep);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

/* Background */
.bg-grid {
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(153, 69, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(153, 69, 255, 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
  z-index: 0;
}

.bg-glow {
  position: fixed;
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none;
  z-index: 0;
}

.bg-glow--purple {
  width: 600px;
  height: 600px;
  background: var(--glow-purple);
  top: -200px;
  right: -100px;
  animation: float 12s ease-in-out infinite;
}

.bg-glow--green {
  width: 500px;
  height: 500px;
  background: var(--glow-green);
  bottom: -150px;
  left: -100px;
  animation: float 15s ease-in-out infinite reverse;
}

@keyframes float {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(30px, -30px); }
}

/* Nav */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 2rem;
  background: rgba(10, 10, 18, 0.8);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}

.nav__brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--text);
}

.nav__logo {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 2px solid var(--sol-green);
  object-fit: cover;
}

.nav__title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  letter-spacing: 0.05em;
  background: linear-gradient(90deg, var(--sol-purple), var(--sol-green));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  list-style: none;
}

.nav__links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.2s;
}

.nav__links a:hover {
  color: var(--sol-green);
}

.nav__cta {
  padding: 0.5rem 1.25rem;
  background: linear-gradient(135deg, var(--sol-purple), var(--sol-teal));
  border-radius: 999px;
  color: #fff !important;
  font-weight: 600;
}

.nav__cta:hover {
  opacity: 0.9;
  color: #fff !important;
}

.nav__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav__burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  transition: 0.3s;
}

/* Marquee */
.marquee {
  position: relative;
  z-index: 1;
  margin-top: 74px;
  background: linear-gradient(90deg, var(--sol-purple), var(--sol-teal), var(--sol-green));
  padding: 0.6rem 0;
  overflow: hidden;
}

.marquee__track {
  display: flex;
  animation: marquee 30s linear infinite;
  white-space: nowrap;
}

.marquee__item {
  font-family: var(--font-display);
  font-size: 1.1rem;
  letter-spacing: 0.08em;
  padding: 0 2rem;
  color: #fff;
}

@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* Hero */
.hero {
  position: relative;
  z-index: 1;
  min-height: 90vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 3rem;
  padding: 4rem 2rem 6rem;
  max-width: 1200px;
  margin: 0 auto;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem;
  background: rgba(153, 69, 255, 0.15);
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 0.85rem;
  color: var(--sol-green);
  margin-bottom: 1.5rem;
}

.hero__badge-dot {
  width: 8px;
  height: 8px;
  background: var(--sol-green);
  border-radius: 50%;
  animation: pulse-dot 1.5s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.3); }
}

.hero__title {
  font-family: var(--font-display);
  font-size: clamp(3rem, 7vw, 5.5rem);
  line-height: 0.95;
  letter-spacing: 0.02em;
  margin-bottom: 0.5rem;
}

.hero__title span {
  display: block;
  background: linear-gradient(135deg, #fff 30%, var(--sol-green));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero__ticker {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.5rem);
  color: var(--sol-purple);
  text-shadow: 0 0 40px var(--glow-purple);
  margin-bottom: 1.5rem;
}

.hero__tagline {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 480px;
  margin-bottom: 2rem;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1.75rem;
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn--primary {
  background: linear-gradient(135deg, var(--sol-purple), var(--sol-teal));
  color: #fff;
  box-shadow: 0 8px 32px var(--glow-purple);
}

.btn--secondary {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}

.btn--secondary:hover {
  border-color: var(--sol-green);
  color: var(--sol-green);
}

.hero__ca {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  max-width: 520px;
}

.hero__ca-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  white-space: nowrap;
}

.hero__ca-value {
  font-family: monospace;
  font-size: 0.8rem;
  color: var(--sol-green);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  flex: 1;
}

.hero__ca-copy {
  padding: 0.4rem 0.8rem;
  background: rgba(20, 241, 149, 0.1);
  border: 1px solid rgba(20, 241, 149, 0.3);
  border-radius: 8px;
  color: var(--sol-green);
  font-size: 0.75rem;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.2s;
}

.hero__ca-copy:hover {
  background: rgba(20, 241, 149, 0.2);
}

.hero__visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero__mascot {
  width: 100%;
  max-width: 420px;
  border-radius: 24px;
  border: 2px solid var(--border);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.5), 0 0 60px var(--glow-purple);
  animation: mascot-float 4s ease-in-out infinite;
}

@keyframes mascot-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

.hero__heartbeat {
  position: absolute;
  bottom: -20px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 2rem;
  animation: heartbeat 1.2s ease-in-out infinite;
}

@keyframes heartbeat {
  0%, 100% { transform: translateX(-50%) scale(1); }
  15% { transform: translateX(-50%) scale(1.25); }
  30% { transform: translateX(-50%) scale(1); }
  45% { transform: translateX(-50%) scale(1.15); }
}

/* Sections */
.section {
  position: relative;
  z-index: 1;
  padding: 5rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.section__header {
  text-align: center;
  margin-bottom: 3rem;
}

.section__label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--sol-green);
  margin-bottom: 0.5rem;
}

.section__title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  letter-spacing: 0.04em;
}

.section__subtitle {
  color: var(--text-muted);
  margin-top: 0.75rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* About cards */
.about-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.about-card {
  padding: 2rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 20px;
  transition: border-color 0.3s, transform 0.3s;
}

.about-card:hover {
  border-color: var(--sol-purple);
  transform: translateY(-4px);
}

.about-card__icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.about-card__title {
  font-family: var(--font-display);
  font-size: 1.4rem;
  letter-spacing: 0.05em;
  margin-bottom: 0.75rem;
  color: var(--sol-green);
}

.about-card__text {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* Chart */
.chart-wrap {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.3);
}

.chart-wrap iframe {
  display: block;
  width: 100%;
  height: 520px;
  border: none;
  background: #0d1117;
}

.chart-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 520px;
  padding: 2rem;
  text-align: center;
  background: linear-gradient(180deg, rgba(153, 69, 255, 0.05), transparent);
}

.chart-placeholder__icon {
  font-size: 4rem;
  margin-bottom: 1rem;
  animation: heartbeat 1.2s ease-in-out infinite;
}

.chart-placeholder p {
  color: var(--text-muted);
  max-width: 400px;
}

/* How to buy */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.step {
  text-align: center;
  padding: 2rem 1.5rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 20px;
  position: relative;
}

.step__num {
  width: 48px;
  height: 48px;
  margin: 0 auto 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--sol-purple), var(--sol-teal));
  border-radius: 50%;
  font-family: var(--font-display);
  font-size: 1.4rem;
}

.step__title {
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.step__text {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Token info */
.token-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-top: 2rem;
}

.stat {
  text-align: center;
  padding: 1.5rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
}

.stat__value {
  font-family: var(--font-display);
  font-size: 1.8rem;
  color: var(--sol-green);
  letter-spacing: 0.05em;
}

.stat__label {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-top: 0.25rem;
}

/* Gallery */
.gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.gallery__item {
  position: relative;
  aspect-ratio: 1;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--border);
  cursor: pointer;
  transition: transform 0.3s, box-shadow 0.3s;
}

.gallery__item:hover {
  transform: scale(1.03);
  box-shadow: 0 12px 40px var(--glow-purple);
  z-index: 2;
}

.gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}

.gallery__item:hover img {
  transform: scale(1.08);
}

.gallery__item--wide {
  grid-column: span 2;
  aspect-ratio: 2/1;
}

.gallery__caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1rem;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.85));
  font-size: 0.85rem;
  font-weight: 600;
  transform: translateY(100%);
  transition: transform 0.3s;
}

.gallery__item:hover .gallery__caption {
  transform: translateY(0);
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(0, 0, 0, 0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  opacity: 0;
  visibility: hidden;
  transition: 0.3s;
}

.lightbox.active {
  opacity: 1;
  visibility: visible;
}

.lightbox img {
  max-width: 90vw;
  max-height: 85vh;
  border-radius: 16px;
  border: 2px solid var(--border);
}

.lightbox__close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: none;
  border: none;
  color: #fff;
  font-size: 2rem;
  cursor: pointer;
  opacity: 0.7;
  transition: opacity 0.2s;
}

.lightbox__close:hover {
  opacity: 1;
}

/* Community */
.community {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.community__link {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem 2rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  text-decoration: none;
  color: var(--text);
  transition: border-color 0.3s, transform 0.3s;
  min-width: 260px;
}

.community__link:hover {
  border-color: var(--sol-green);
  transform: translateY(-3px);
}

.community__icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  font-size: 1.5rem;
}

.community__icon--x {
  background: #000;
}

.community__icon--tg {
  background: #0088cc;
}

.community__name {
  font-weight: 600;
}

.community__handle {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Footer */
.footer {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 3rem 2rem;
  border-top: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 0.85rem;
}

.footer__brand {
  font-family: var(--font-display);
  font-size: 1.5rem;
  letter-spacing: 0.1em;
  background: linear-gradient(90deg, var(--sol-purple), var(--sol-green));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 0.5rem;
}

.footer__disclaimer {
  max-width: 600px;
  margin: 1rem auto 0;
  font-size: 0.75rem;
  opacity: 0.6;
}

/* Toast */
.toast {
  position: fixed;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  padding: 0.75rem 1.5rem;
  background: var(--sol-green);
  color: #000;
  font-weight: 600;
  border-radius: 999px;
  z-index: 300;
  opacity: 0;
  transition: 0.3s;
}

.toast.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

/* Responsive */
@media (max-width: 1024px) {
  .hero {
    grid-template-columns: 1fr;
    text-align: center;
    padding-top: 2rem;
  }

  .hero__tagline,
  .hero__ca {
    margin-left: auto;
    margin-right: auto;
  }

  .hero__actions {
    justify-content: center;
  }

  .about-grid,
  .steps,
  .token-stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .gallery {
    grid-template-columns: repeat(2, 1fr);
  }

  .gallery__item--wide {
    grid-column: span 2;
  }
}

@media (max-width: 768px) {
  .nav__links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    background: rgba(10, 10, 18, 0.98);
    padding: 1.5rem;
    border-bottom: 1px solid var(--border);
  }

  .nav__links.open {
    display: flex;
  }

  .nav__burger {
    display: flex;
  }

  .about-grid,
  .steps,
  .token-stats {
    grid-template-columns: 1fr;
  }

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

  .gallery__item--wide {
    grid-column: span 1;
    aspect-ratio: 1;
  }
}
