:root {
  --forest: #04140a;
  --forest-light: #0a2a16;
  --leaf: #1a5c33;
  --glow: #4ade80;
  --pale: #b3ffcc;
  --bone: #f2f0e9;
  --line: rgba(74, 222, 128, 0.22);
}

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

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--forest);
  color: var(--bone);
  font-family: 'Inter', sans-serif;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 48px 20px;
  overflow-x: hidden;
  position: relative;
}

.particles {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.particle {
  position: absolute;
  width: 3px;
  height: 12px;
  background: linear-gradient(180deg, rgba(179, 255, 204, 0.85), rgba(74, 222, 128, 0.2));
  border-radius: 50% 0 50% 0;
  opacity: 0;
  filter: blur(0.5px);
}

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

.glow-1 {
  width: 520px;
  height: 520px;
  background: var(--glow);
  top: -160px;
  right: -140px;
  animation: breathe 8s ease-in-out infinite alternate, drift 18s ease-in-out infinite alternate;
}

.glow-2 {
  width: 440px;
  height: 440px;
  background: var(--leaf);
  bottom: -140px;
  left: -160px;
  animation: breathe 10s ease-in-out infinite alternate-reverse, drift 22s ease-in-out infinite alternate-reverse;
}

main {
  position: relative;
  z-index: 1;
  max-width: 820px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.banner {
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: 0 0 60px rgba(74, 222, 128, 0.22), 0 20px 50px rgba(0, 0, 0, 0.55);
  margin-bottom: 42px;
  animation: float 6s ease-in-out infinite;
  width: 100%;
}

.banner img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.6s ease;
}

.banner:hover img {
  transform: scale(1.02);
}

h1 {
  font-family: 'Pirata One', cursive;
  font-weight: 400;
  font-size: clamp(3.8rem, 12vw, 7rem);
  line-height: 0.95;
  color: var(--pale);
  text-shadow: 0 0 48px rgba(74, 222, 128, 0.55);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  animation: glowPulse 3.5s ease-in-out infinite;
  opacity: 0;
  transform: translateY(22px);
  animation: fadeInUp 0.9s ease-out 0.15s forwards, glowPulse 3.5s ease-in-out 1s infinite;
}

.tagline {
  font-family: 'Pirata One', cursive;
  font-size: clamp(1.2rem, 3.6vw, 1.7rem);
  color: var(--glow);
  margin-top: 18px;
  letter-spacing: 0.04em;
  opacity: 0;
  transform: translateY(14px);
  animation: fadeInUp 0.9s ease-out 0.4s forwards;
}

.links {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 32px;
  opacity: 0;
  transform: translateY(14px);
  animation: fadeInUp 0.9s ease-out 0.65s forwards;
}

.btn {
  font-family: 'Pirata One', cursive;
  font-size: 1.05rem;
  color: var(--bone);
  text-decoration: none;
  border: 2px solid var(--line);
  border-radius: 999px;
  padding: 13px 32px;
  transition: all 0.25s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  letter-spacing: 0.05em;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(74, 222, 128, 0.3), transparent 70%);
  opacity: 0;
  transition: opacity 0.25s ease;
}

.btn:hover {
  border-color: var(--glow);
  color: var(--glow);
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 0 30px rgba(74, 222, 128, 0.35);
}

.btn:hover::before {
  opacity: 1;
}

.btn-primary {
  background: var(--glow);
  color: #03210a;
  border-color: var(--glow);
  box-shadow: 0 0 28px rgba(74, 222, 128, 0.35);
}

.btn-primary:hover {
  background: var(--pale);
  color: #03210a;
  box-shadow: 0 0 45px rgba(74, 222, 128, 0.65);
}

/* CA bar */
.ca-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin: 30px auto 0;
  background: rgba(10, 42, 22, 0.55);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 14px 18px;
  max-width: 620px;
  width: 100%;
  backdrop-filter: blur(6px);
  opacity: 0;
  transform: translateY(14px);
  animation: fadeInUp 0.9s ease-out 0.85s forwards;
}

.ca-label {
  font-family: 'Pirata One', cursive;
  font-size: 1.1rem;
  color: var(--glow);
}

.ca-addr {
  font-family: 'Space Grotesk', monospace;
  font-size: 0.8rem;
  color: var(--pale);
  opacity: 0.95;
  word-break: break-all;
  text-align: left;
  flex: 1;
  min-width: 220px;
}

.copy-btn {
  background: var(--glow);
  color: #03210a;
  border: none;
  border-radius: 8px;
  padding: 8px 16px;
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 0.8rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.copy-btn:hover {
  background: var(--pale);
  transform: translateY(-1px);
  box-shadow: 0 0 14px rgba(74, 222, 128, 0.45);
}

.copy-btn.copied {
  background: var(--pale);
}

/* Sections */
section {
  width: 100%;
  margin-top: 52px;
  padding: 28px 24px;
  background: rgba(10, 42, 22, 0.4);
  border: 1px solid var(--line);
  border-radius: 20px;
  backdrop-filter: blur(4px);
}

section h2 {
  font-family: 'Pirata One', cursive;
  font-size: clamp(1.6rem, 5vw, 2.2rem);
  color: var(--pale);
  margin-bottom: 18px;
  letter-spacing: 0.04em;
  text-shadow: 0 0 24px rgba(74, 222, 128, 0.35);
}

section p {
  color: rgba(242, 240, 233, 0.78);
  line-height: 1.7;
  font-size: 0.95rem;
  max-width: 640px;
  margin: 0 auto;
}

/* Section cat illustration */
.section-cat {
  width: 120px;
  height: auto;
  display: block;
  margin: 0 auto 18px;
  filter: drop-shadow(0 0 14px rgba(74, 222, 128, 0.35));
  transition: transform 0.5s ease, filter 0.5s ease;
}

.section-cat:hover {
  filter: drop-shadow(0 0 24px rgba(74, 222, 128, 0.55));
}

.rot-1 { transform: rotate(-8deg); }
.rot-2 { transform: rotate(4deg); }
.rot-3 { transform: rotate(9deg); }

@media (max-width: 520px) {
  .section-cat {
    width: 90px;
  }
}

/* How to buy */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 18px;
  margin-top: 12px;
  text-align: left;
}

.step {
  background: rgba(4, 20, 10, 0.5);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 22px 18px;
  transition: all 0.25s ease;
}

.step:hover {
  border-color: var(--glow);
  box-shadow: 0 0 24px rgba(74, 222, 128, 0.15);
  transform: translateY(-4px);
}

.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--glow);
  color: #03210a;
  font-family: 'Pirata One', cursive;
  font-size: 1.1rem;
  margin-bottom: 12px;
}

.step h3 {
  font-family: 'Pirata One', cursive;
  font-size: 1.15rem;
  color: var(--pale);
  margin-bottom: 6px;
}

.step p {
  font-size: 0.86rem;
  color: rgba(242, 240, 233, 0.68);
  margin: 0;
  max-width: none;
}

/* Roadmap */
.phases {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-top: 12px;
  text-align: left;
  position: relative;
}

.phases::before {
  content: '';
  position: absolute;
  left: 11px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: linear-gradient(180deg, var(--glow), transparent);
  opacity: 0.35;
}

.phase {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 14px 0;
  position: relative;
}

.phase-marker {
  width: 24px;
  height: 24px;
  min-width: 24px;
  border-radius: 50%;
  background: var(--glow);
  box-shadow: 0 0 16px rgba(74, 222, 128, 0.55);
  margin-top: 2px;
}

.phase h3 {
  font-family: 'Pirata One', cursive;
  font-size: 1.15rem;
  color: var(--pale);
  margin-bottom: 4px;
}

.phase p {
  font-size: 0.86rem;
  color: rgba(242, 240, 233, 0.68);
  margin: 0;
  max-width: none;
  text-align: left;
}

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Footer */
footer {
  position: relative;
  z-index: 1;
  margin-top: 56px;
  font-size: 0.72rem;
  color: rgba(242, 240, 233, 0.42);
  max-width: 560px;
  line-height: 1.6;
  text-align: center;
  opacity: 0;
  animation: fadeIn 0.8s ease-out 1.1s forwards;
}

/* Keyframes */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(22px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

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

@keyframes breathe {
  from { transform: scale(1); opacity: 0.22; }
  to { transform: scale(1.12); opacity: 0.35; }
}

@keyframes drift {
  from { transform: translate(0, 0); }
  to { transform: translate(18px, -18px); }
}

@keyframes glowPulse {
  0%, 100% { text-shadow: 0 0 42px rgba(74, 222, 128, 0.45); }
  50% { text-shadow: 0 0 72px rgba(74, 222, 128, 0.75), 0 0 18px rgba(179, 255, 204, 0.45); }
}

@keyframes fall {
  0% {
    transform: translateY(-10vh) rotate(0deg);
    opacity: 0;
  }
  10% { opacity: 0.7; }
  90% { opacity: 0.7; }
  100% {
    transform: translateY(110vh) rotate(180deg);
    opacity: 0;
  }
}

@keyframes twinkle {
  0%, 100% { opacity: 0.2; transform: scale(0.8); }
  50% { opacity: 0.9; transform: scale(1.2); }
}

@media (max-width: 520px) {
  .ca-bar {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
  }
  .ca-addr {
    text-align: center;
  }
  .steps {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001s !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001s !important;
  }
}
