/* Groove — premium dark meme aesthetic */
:root {
  --bg: #07070c;
  --bg-elevated: #0e0e16;
  --bg-card: #14141f;
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.14);
  --text: #f4f4f8;
  --text-muted: #9a9ab0;
  --accent: #c4f542;
  --accent-dim: rgba(196, 245, 66, 0.15);
  --accent-hot: #ff4d9a;
  --purple: #8b5cf6;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.55);
  --font: "Inter", system-ui, -apple-system, sans-serif;
  --display: "Space Grotesk", var(--font);
  --nav-h: 64px;
  --max: 1080px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

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

code {
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
}

.noise {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.glow {
  pointer-events: none;
  position: fixed;
  width: 50vw;
  height: 50vw;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.18;
  z-index: 0;
}

.glow-1 {
  top: -10%;
  right: -15%;
  background: var(--purple);
}

.glow-2 {
  bottom: 10%;
  left: -20%;
  background: var(--accent-hot);
  opacity: 0.12;
}

/* Nav */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  height: var(--nav-h);
  padding: 0 1.25rem;
  background: rgba(7, 7, 12, 0.75);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
}

.nav-brand img {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 2px solid var(--border-strong);
}

.nav-links {
  display: none;
  gap: 1.5rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.nav-links a:hover {
  color: var(--text);
}

@media (min-width: 768px) {
  .nav {
    padding: 0 2rem;
  }
  .nav-links {
    display: flex;
  }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.85rem 1.35rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
  white-space: nowrap;
}

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

.btn:active {
  transform: translateY(0);
}

.btn-sm {
  padding: 0.5rem 0.95rem;
  font-size: 0.85rem;
}

.btn-primary {
  background: var(--accent);
  color: #0a0a0f;
  box-shadow: 0 0 32px rgba(196, 245, 66, 0.25);
}

.btn-primary:hover {
  box-shadow: 0 0 40px rgba(196, 245, 66, 0.4);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--border-strong);
  color: var(--text);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.25);
}

.btn-copy {
  background: var(--accent-dim);
  border-color: rgba(196, 245, 66, 0.35);
  color: var(--accent);
  flex-shrink: 0;
}

.btn-copy:hover,
.btn-copy.is-copied {
  background: var(--accent);
  color: #0a0a0f;
  border-color: var(--accent);
}

/* Hero */
.hero {
  position: relative;
  z-index: 1;
  padding-bottom: 3rem;
}

.hero-banner {
  position: relative;
  height: clamp(180px, 32vw, 320px);
  overflow: hidden;
}

.banner-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.banner-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(7, 7, 12, 0.15) 0%,
    rgba(7, 7, 12, 0.55) 55%,
    var(--bg) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  margin-top: -90px;
  padding: 0 1.25rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}

.hero-logo {
  width: clamp(120px, 28vw, 168px);
  height: clamp(120px, 28vw, 168px);
  border-radius: 50%;
  border: 4px solid var(--bg);
  box-shadow: var(--shadow), 0 0 0 2px var(--accent);
  animation: float 5s ease-in-out infinite;
}

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

.hero h1 {
  font-family: var(--display);
  font-size: clamp(2.4rem, 8vw, 3.75rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.05;
  margin-top: 0.5rem;
}

.ticker {
  display: inline-block;
  color: var(--accent);
  font-size: 0.55em;
  vertical-align: middle;
  padding: 0.2em 0.55em;
  border-radius: 999px;
  background: var(--accent-dim);
  border: 1px solid rgba(196, 245, 66, 0.3);
  letter-spacing: 0.02em;
  margin-left: 0.25rem;
}

.tagline {
  font-size: clamp(1.15rem, 3.5vw, 1.45rem);
  color: var(--text-muted);
  font-weight: 500;
  letter-spacing: -0.01em;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.65rem;
  margin-top: 1rem;
}

.ca-box {
  margin-top: 1.5rem;
  width: 100%;
  max-width: 640px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem 1.15rem;
  text-align: left;
}

.ca-label {
  display: block;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.ca-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.ca-text {
  flex: 1;
  font-size: clamp(0.7rem, 2.2vw, 0.85rem);
  color: var(--text);
  word-break: break-all;
  line-height: 1.4;
}

/* Sections */
.section {
  position: relative;
  z-index: 1;
  padding: 4rem 0;
}

.container {
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
}

.section h2 {
  font-family: var(--display);
  font-size: clamp(1.75rem, 5vw, 2.35rem);
  letter-spacing: -0.03em;
  text-align: center;
  margin-bottom: 0.75rem;
}

.section-sub,
.lead {
  text-align: center;
  color: var(--text-muted);
  max-width: 560px;
  margin: 0 auto 2rem;
  font-size: 1.05rem;
}

.lead {
  margin-bottom: 2.5rem;
}

/* Gallery */
.gallery {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

@media (min-width: 640px) {
  .gallery {
    grid-template-columns: repeat(3, 1fr);
  }
}

.gallery figure {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--bg-card);
  aspect-ratio: 1;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.gallery figure:hover {
  transform: translateY(-4px);
  border-color: rgba(196, 245, 66, 0.35);
}

.gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* How to buy */
.howto {
  background: linear-gradient(180deg, transparent, rgba(139, 92, 246, 0.06), transparent);
}

.steps {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 640px;
  margin: 0 auto 2rem;
}

.steps li {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1.25rem 1.35rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.step-num {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--accent);
  color: #0a0a0f;
  font-weight: 800;
  font-family: var(--display);
  font-size: 0.95rem;
}

.steps h3 {
  font-size: 1.05rem;
  margin-bottom: 0.25rem;
  letter-spacing: -0.02em;
}

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

.howto-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
}

/* Chart */
.chart-frame {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--bg-card);
  box-shadow: var(--shadow);
  height: min(560px, 70vh);
}

.chart-frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.chart-fallback {
  text-align: center;
  margin-top: 1rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.chart-fallback a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Community */
.community-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

@media (min-width: 640px) {
  .community-cards {
    grid-template-columns: repeat(3, 1fr);
  }
}

.card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.35rem;
  padding: 1.75rem 1.25rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.card:hover {
  transform: translateY(-3px);
  border-color: rgba(196, 245, 66, 0.4);
  background: #181826;
}

.card-icon {
  font-size: 1.75rem;
  margin-bottom: 0.35rem;
  line-height: 1;
}

.card h3 {
  font-family: var(--display);
  font-size: 1.15rem;
  letter-spacing: -0.02em;
}

.card p {
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* Footer */
.footer {
  position: relative;
  z-index: 1;
  padding: 3rem 0 2.5rem;
  border-top: 1px solid var(--border);
  background: var(--bg-elevated);
}

.footer-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  font-family: var(--display);
  font-weight: 600;
  margin-bottom: 1.25rem;
}

.footer-brand img {
  width: 36px;
  height: 36px;
  border-radius: 50%;
}

.disclaimer {
  max-width: 720px;
  margin: 0 auto 1.25rem;
  text-align: center;
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.65;
}

.disclaimer strong {
  color: var(--text);
}

.copyright {
  text-align: center;
  font-size: 0.8rem;
  color: rgba(154, 154, 176, 0.7);
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-logo { animation: none; }
  .btn, .gallery figure, .card { transition: none; }
}
