*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --emerald: #00c805;
  --emerald-bright: #39ff14;
  --emerald-dark: #0a3d1f;
  --emerald-deep: #051a0e;
  --emerald-gem: #1a7a3a;
  --emerald-glow: rgba(0, 200, 5, 0.35);
  --black: #0a0a0a;
  --white: #f0fff4;
  --gray: #8ba892;
  --card-bg: rgba(10, 61, 31, 0.45);
  --border: rgba(0, 200, 5, 0.25);
  --font-display: "Bebas Neue", sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background: var(--emerald-deep);
  color: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

.container {
  width: min(1140px, 92vw);
  margin: 0 auto;
}

.bg-pattern {
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(135deg, var(--emerald-deep) 0%, #0d2818 40%, var(--black) 100%);
}

.bg-pattern::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%),
    linear-gradient(60deg, transparent 40%, rgba(0, 200, 5, 0.03) 50%, transparent 60%);
  background-size: 80px 92px, 100% 100%;
  opacity: 0.6;
  clip-path: none;
}

.sparkles {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    radial-gradient(1px 1px at 20% 30%, rgba(57, 255, 20, 0.4), transparent),
    radial-gradient(1px 1px at 80% 10%, rgba(0, 200, 5, 0.3), transparent),
    radial-gradient(2px 2px at 60% 70%, rgba(57, 255, 20, 0.2), transparent),
    radial-gradient(1px 1px at 40% 90%, rgba(0, 200, 5, 0.25), transparent);
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(5, 26, 14, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--white);
  font-family: var(--font-display);
  font-size: 1.75rem;
  letter-spacing: 0.05em;
}

.logo img {
  border-radius: 50%;
  border: 2px solid var(--emerald);
  object-fit: cover;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  color: var(--gray);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  transition: color 0.2s;
}

.nav-links a:hover {
  color: var(--emerald);
}

.nav-cta {
  background: var(--emerald) !important;
  color: var(--black) !important;
  padding: 0.5rem 1.25rem;
  border-radius: 999px;
  font-weight: 700 !important;
}

.nav-cta:hover {
  background: var(--emerald-bright) !important;
  color: var(--black) !important;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--emerald);
  transition: transform 0.3s, opacity 0.3s;
}

/* Hero */
.hero {
  position: relative;
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  padding-top: 72px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-banner {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: left center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(5, 26, 14, 0.3) 0%,
    rgba(5, 26, 14, 0.7) 45%,
    rgba(5, 26, 14, 0.95) 70%,
    var(--emerald-deep) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 4rem 0;
  grid-column: 1;
}

.hero-mascot {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: center;
  align-items: center;
  grid-column: 2;
  padding: 2rem;
}

.hero-mascot img {
  max-width: min(380px, 80vw);
  height: auto;
  filter: drop-shadow(0 0 40px var(--emerald-glow));
  animation: float 4s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(0, 200, 5, 0.15);
  border: 1px solid var(--border);
  padding: 0.4rem 1rem;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--emerald);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 1.5rem;
}

.feather-icon {
  width: 16px;
  height: 16px;
}

.hero-title {
  margin-bottom: 1.25rem;
}

.title-line {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(4rem, 10vw, 7rem);
  line-height: 0.95;
  letter-spacing: 0.02em;
  color: var(--emerald);
  text-shadow:
    3px 3px 0 var(--black),
    0 0 60px var(--emerald-glow);
}

.title-sub {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.5rem);
  letter-spacing: 0.15em;
  color: var(--white);
  margin-top: 0.25rem;
}

.hero-tagline {
  font-size: 1.15rem;
  color: var(--gray);
  max-width: 520px;
  margin-bottom: 2rem;
}

.hero-tagline strong {
  color: var(--emerald-bright);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 1.75rem;
  border-radius: 999px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
}

.btn svg {
  width: 18px;
  height: 18px;
}

.btn-primary {
  background: var(--emerald);
  color: var(--black);
  box-shadow: 0 0 30px var(--emerald-glow);
}

.btn-primary:hover {
  background: var(--emerald-bright);
  transform: translateY(-2px);
  box-shadow: 0 0 40px rgba(57, 255, 20, 0.5);
}

.btn-secondary {
  background: transparent;
  color: var(--emerald);
  border: 2px solid var(--emerald);
}

.btn-secondary:hover {
  background: rgba(0, 200, 5, 0.1);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--gray);
  border: 1px solid var(--border);
  font-family: monospace;
  font-size: 0.9rem;
}

.btn-outline:hover {
  border-color: var(--emerald);
  color: var(--emerald);
}

.btn-large {
  padding: 1.1rem 2.5rem;
  font-size: 1.1rem;
}

.contract-box {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: 1rem 1.25rem;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  max-width: 520px;
}

.contract-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gray);
  font-weight: 600;
}

.contract-address {
  font-size: 0.8rem;
  word-break: break-all;
  color: var(--emerald-bright);
}

/* Sections */
.section {
  padding: 5rem 0;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  text-align: center;
  letter-spacing: 0.05em;
  margin-bottom: 3rem;
  color: var(--white);
}

.section-title.left {
  text-align: left;
}

.section-label {
  display: block;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--emerald);
  font-weight: 700;
  margin-bottom: 0.75rem;
}

/* About */
.about-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.about-card {
  padding: 2rem;
  border-radius: 16px;
  background: var(--card-bg);
  border: 1px solid var(--border);
  transition: transform 0.3s, border-color 0.3s;
}

.about-card:hover {
  transform: translateY(-4px);
  border-color: var(--emerald);
}

.gem-card {
  position: relative;
  overflow: hidden;
}

.gem-card::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -50%;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, transparent, rgba(0, 200, 5, 0.05), transparent);
  transform: rotate(45deg);
}

.gem-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.about-card h3 {
  font-family: var(--font-display);
  font-size: 1.75rem;
  letter-spacing: 0.05em;
  margin-bottom: 0.75rem;
  color: var(--emerald);
}

.about-card p {
  color: var(--gray);
  font-size: 0.95rem;
}

.about-card strong {
  color: var(--white);
}

/* Robinhood */
.robinhood {
  background: linear-gradient(180deg, transparent, rgba(0, 200, 5, 0.05), transparent);
}

.robinhood-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.robinhood-visual {
  position: relative;
  display: flex;
  justify-content: center;
}

.robinhood-img {
  max-width: 100%;
  height: auto;
  border-radius: 20px;
  border: 3px solid var(--black);
  box-shadow:
    4px 4px 0 var(--emerald),
    0 0 60px var(--emerald-glow);
  position: relative;
  z-index: 1;
}

.robinhood-glow {
  position: absolute;
  inset: 10%;
  background: radial-gradient(circle, var(--emerald-glow), transparent 70%);
  z-index: 0;
}

.robinhood-text p {
  color: var(--gray);
  margin-bottom: 1rem;
  font-size: 1.05rem;
}

.robinhood-text em {
  color: var(--emerald-bright);
  font-style: normal;
}

.robinhood-list {
  list-style: none;
  margin-top: 1.5rem;
}

.robinhood-list li {
  padding: 0.6rem 0;
  padding-left: 1.75rem;
  position: relative;
  color: var(--white);
  font-weight: 600;
}

.robinhood-list li::before {
  content: "🪶";
  position: absolute;
  left: 0;
  font-size: 0.9rem;
}

/* Stats */
.stats {
  padding: 3rem 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.stat-card {
  text-align: center;
  padding: 2rem 1rem;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 16px;
}

.stat-value {
  display: block;
  font-family: var(--font-display);
  font-size: 2.5rem;
  color: var(--emerald);
  letter-spacing: 0.05em;
}

.stat-label {
  display: block;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gray);
  margin-top: 0.25rem;
}

/* Buy */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-bottom: 3rem;
}

.step {
  text-align: center;
  padding: 2rem 1.5rem;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 16px;
}

.step-num {
  display: block;
  font-family: var(--font-display);
  font-size: 3rem;
  color: rgba(0, 200, 5, 0.3);
  line-height: 1;
  margin-bottom: 0.75rem;
}

.step h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  letter-spacing: 0.05em;
  margin-bottom: 0.5rem;
  color: var(--emerald);
}

.step p {
  color: var(--gray);
  font-size: 0.9rem;
}

.buy-cta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 1rem;
}

/* Disclaimer */
.disclaimer {
  padding: 2rem 0;
}

.disclaimer p {
  text-align: center;
  font-size: 0.8rem;
  color: rgba(139, 168, 146, 0.7);
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.7;
}

/* Footer */
.footer {
  border-top: 1px solid var(--border);
  padding: 2.5rem 0;
  background: rgba(5, 26, 14, 0.5);
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  text-align: center;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-display);
  font-size: 1.25rem;
  letter-spacing: 0.05em;
}

.footer-brand img {
  border-radius: 50%;
  border: 2px solid var(--emerald);
}

.footer-links {
  display: flex;
  gap: 1.5rem;
  align-items: center;
}

.footer-links a,
.footer-copy {
  color: var(--gray);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font-body);
  transition: color 0.2s;
}

.footer-links a:hover,
.footer-copy:hover {
  color: var(--emerald);
}

.footer-copy-text {
  font-size: 0.75rem;
  color: rgba(139, 168, 146, 0.5);
}

/* Toast */
.toast {
  position: fixed;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: var(--emerald);
  color: var(--black);
  padding: 0.75rem 1.5rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.9rem;
  z-index: 200;
  opacity: 0;
  transition: transform 0.3s, opacity 0.3s;
  pointer-events: none;
}

.toast.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

/* Responsive */
@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-bottom: 2rem;
  }

  .hero-content {
    grid-column: 1;
    padding: 3rem 0 1rem;
  }

  .hero-mascot {
    grid-column: 1;
    padding: 1rem 0 2rem;
  }

  .hero-mascot img {
    max-width: 260px;
  }

  .hero-banner {
    object-position: center;
  }

  .hero-overlay {
    background: linear-gradient(
      180deg,
      rgba(5, 26, 14, 0.4) 0%,
      rgba(5, 26, 14, 0.85) 50%,
      var(--emerald-deep) 100%
    );
  }

  .robinhood-inner {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .section-title.left {
    text-align: center;
  }

  .section-label {
    text-align: center;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .steps {
    grid-template-columns: 1fr;
  }

  .nav-toggle {
    display: flex;
  }

  .nav-links {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    flex-direction: column;
    background: rgba(5, 26, 14, 0.97);
    padding: 2rem;
    gap: 1.5rem;
    border-bottom: 1px solid var(--border);
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.3s, opacity 0.3s;
  }

  .nav-links.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav-toggle.open span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }

  .nav-toggle.open span:nth-child(2) {
    opacity: 0;
  }

  .nav-toggle.open span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }
}

@media (max-width: 480px) {
  .hero-actions {
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }

  .stats-grid {
    grid-template-columns: 1fr 1fr;
  }
}
