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

:root {
  --bg: #141414;
  --bg-deep: #0d0d0d;
  --bg-card: #1e1e1e;
  --bg-card-hover: #262626;
  --grey: #3a3a3a;
  --grey-mid: #555;
  --grey-light: #9a9a9a;
  --white: #ffffff;
  --white-glow: rgba(255, 255, 255, 0.45);
  --white-glow-strong: rgba(255, 255, 255, 0.7);
  --border: rgba(255, 255, 255, 0.07);
  --font-body: 'Inter', system-ui, sans-serif;
  --font-display: 'Fredoka', system-ui, sans-serif;
}

html {
  scroll-behavior: smooth;
}

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

.display {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.01em;
}

a {
  color: var(--grey-light);
  text-decoration: none;
  transition: color 0.2s;
}

a:hover {
  color: var(--white);
}

/* Spermlet pattern background from logo */
.bg-pattern {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-color: var(--bg-deep);
}

.bg-pattern::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('logo.png');
  background-size: 220px 220px;
  background-repeat: repeat;
  background-position: center;
  filter: brightness(0.35) grayscale(1);
  opacity: 0.55;
}

.bg-pattern::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(13, 13, 13, 0.78);
}

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

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--white);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
}

.nav-logo img {
  border-radius: 50%;
  filter: drop-shadow(0 0 10px var(--white-glow));
}

.nav-links {
  display: flex;
  gap: 2rem;
}

.nav-links a {
  color: var(--grey-light);
  font-size: 0.875rem;
  font-weight: 500;
}

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

.nav-social {
  display: flex;
  gap: 0.75rem;
}

.nav-social a {
  color: var(--grey-light);
  display: flex;
  padding: 0.4rem;
  border-radius: 8px;
  transition: color 0.2s, background 0.2s;
}

.nav-social a:hover {
  color: var(--white);
  background: rgba(255, 255, 255, 0.06);
}

/* Hero */
.hero {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 5rem 0 3rem;
  text-align: center;
}

.hero-banner-wrap {
  width: 100%;
  max-width: 1100px;
  padding: 0 1.5rem;
  margin-bottom: 2rem;
}

.hero-banner {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 16px;
  border: 1px solid var(--border);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.55);
}

.hero-content {
  padding: 0 1.5rem;
  max-width: 720px;
}

.hero-logo {
  width: 140px;
  height: auto;
  margin-bottom: 1rem;
  filter: drop-shadow(0 0 28px var(--white-glow-strong));
  animation: float 3.5s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0) rotate(-2deg); }
  50% { transform: translateY(-10px) rotate(2deg); }
}

.hero-tagline {
  font-size: 1.25rem;
  color: var(--grey-light);
  margin-bottom: 0.25rem;
}

.ticker {
  color: var(--white);
  font-weight: 700;
  text-shadow: 0 0 16px var(--white-glow);
}

.hero-sub {
  font-size: 0.95rem;
  color: var(--grey-mid);
  margin-bottom: 2rem;
}

.hero-actions {
  display: flex;
  gap: 0.85rem;
  flex-wrap: wrap;
  justify-content: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  padding: 0.85rem 1.75rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s, border-color 0.2s;
}

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

.btn-primary {
  background: var(--white);
  color: #111;
  box-shadow: 0 0 24px var(--white-glow);
}

.btn-primary:hover {
  background: #e8e8e8;
  box-shadow: 0 0 36px var(--white-glow-strong);
  color: #111;
}

.btn-secondary {
  background: var(--bg-card);
  color: var(--white);
  border: 1px solid var(--grey);
}

.btn-secondary:hover {
  border-color: var(--grey-light);
  background: var(--bg-card-hover);
  color: var(--white);
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.08);
}

/* Sections */
.section {
  position: relative;
  z-index: 1;
  max-width: 960px;
  margin: 0 auto;
  padding: 4rem 1.5rem;
}

.section-title {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  text-align: center;
  margin-bottom: 2.5rem;
  text-shadow: 0 0 30px rgba(255, 255, 255, 0.15);
}

/* About */
.about-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

.about-card {
  background: rgba(30, 30, 30, 0.92);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 2rem 1.5rem;
  text-align: center;
  transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
}

.about-card:hover {
  border-color: rgba(255, 255, 255, 0.18);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
}

.about-icon {
  font-size: 2rem;
  margin-bottom: 0.75rem;
}

.about-card h3 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.about-card p {
  font-size: 0.9rem;
  color: var(--grey-light);
}

/* Showcase */
.showcase {
  max-width: 100%;
  padding-left: 0;
  padding-right: 0;
}

.showcase-inner {
  display: flex;
  align-items: center;
  gap: 3rem;
  max-width: 960px;
  margin: 0 auto;
  padding: 3rem 1.5rem;
  background: rgba(30, 30, 30, 0.92);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.showcase-logo {
  width: 180px;
  height: auto;
  flex-shrink: 0;
  filter: drop-shadow(0 0 32px var(--white-glow));
  animation: float 4s ease-in-out infinite;
}

.showcase-text h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin-bottom: 0.75rem;
}

.showcase-text p {
  color: var(--grey-light);
  font-size: 0.95rem;
  margin-bottom: 0.5rem;
}

.showcase-quote {
  font-family: var(--font-display);
  font-size: 1.1rem !important;
  color: var(--white) !important;
  font-style: italic;
  margin-top: 1rem !important;
  opacity: 0.85;
}

/* Contract Address */
.ca-section {
  text-align: center;
}

.ca-box {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  background: rgba(30, 30, 30, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  padding: 1rem 1.5rem;
  max-width: 640px;
  margin: 0 auto;
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.3);
}

.ca-box code {
  font-family: 'Courier New', monospace;
  font-size: 0.85rem;
  color: var(--grey-light);
  word-break: break-all;
}

.btn-copy {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  padding: 0.5rem 1rem;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  font-family: var(--font-body);
  transition: background 0.2s, transform 0.2s;
}

.btn-copy:hover {
  background: rgba(255, 255, 255, 0.14);
  transform: scale(1.05);
}

.btn-copy.copied {
  background: var(--white);
  color: #111;
}

.ca-note {
  margin-top: 1rem;
  font-size: 0.8rem;
  color: var(--grey-mid);
}

/* Steps */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
}

.step {
  background: rgba(30, 30, 30, 0.92);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1.75rem 1.25rem;
  transition: border-color 0.2s;
}

.step:hover {
  border-color: rgba(255, 255, 255, 0.15);
}

.step-num {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--grey);
  display: block;
  margin-bottom: 0.5rem;
}

.step h3 {
  font-size: 1rem;
  margin-bottom: 0.4rem;
}

.step p {
  font-size: 0.85rem;
  color: var(--grey-light);
}

/* Community */
.community-section {
  text-align: center;
}

.community-text {
  color: var(--grey-light);
  margin-bottom: 2rem;
}

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

.community-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  background: rgba(30, 30, 30, 0.92);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 2rem 3rem;
  color: var(--white);
  transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
}

.community-card:hover {
  border-color: rgba(255, 255, 255, 0.25);
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
  color: var(--white);
}

.community-card span {
  font-weight: 600;
  font-size: 1rem;
}

/* Footer */
.footer {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 3rem 1.5rem 2rem;
  border-top: 1px solid var(--border);
  background: rgba(13, 13, 13, 0.9);
}

.footer-logo {
  filter: drop-shadow(0 0 14px var(--white-glow));
  margin-bottom: 0.5rem;
}

.footer-ticker {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.disclaimer {
  font-size: 0.75rem;
  color: var(--grey-mid);
  max-width: 480px;
  margin: 0 auto 1rem;
  line-height: 1.5;
}

.copyright {
  font-size: 0.75rem;
  color: var(--grey);
}

/* Responsive */
@media (max-width: 768px) {
  .nav {
    padding: 0.75rem 1rem;
  }

  .nav-links {
    display: none;
  }

  .hero-logo {
    width: 100px;
  }

  .showcase-inner {
    flex-direction: column;
    text-align: center;
    gap: 1.5rem;
  }

  .showcase-logo {
    width: 140px;
  }

  .community-card {
    padding: 1.5rem 2rem;
    width: 100%;
    max-width: 280px;
  }
}
