/* Robinhood LandWolf — Hoodrat-inspired layout */
:root {
  --lime: #c8f542;
  --lime-dim: #9bc42a;
  --lime-glow: rgba(200, 245, 66, 0.35);
  --gold: #d4a843;
  --gold-light: #f0cc6a;
  --bg: #0a120a;
  --bg-card: #111a11;
  --bg-elevated: #162016;
  --border: rgba(200, 245, 66, 0.12);
  --text: #eef2ea;
  --text-muted: #8a9688;
  --font-display: 'Bangers', Impact, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;
  --header-h: 72px;
  --radius: 14px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

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

body::before {
  content: '';
  position: fixed;
  inset: 0;
  background: url('asset/pattern.svg') repeat;
  opacity: 0.5;
  pointer-events: none;
  z-index: 0;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; }

.container {
  width: min(1080px, 92vw);
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

/* ─── Header ─── */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(1rem, 4vw, 2rem);
  background: rgba(10, 18, 10, 0.85);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  z-index: 100;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-family: var(--font-display);
  font-size: 1.35rem;
  letter-spacing: 0.04em;
  color: var(--lime);
  text-transform: uppercase;
}

.brand img {
  border-radius: 50%;
  border: 2px solid var(--lime-dim);
}

.site-nav {
  display: flex;
  gap: 1.75rem;
}

.site-nav a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-muted);
  text-transform: lowercase;
  transition: color 0.2s;
}

.site-nav a:hover { color: var(--lime); }

.btn-buy {
  padding: 0.55rem 1.25rem;
  background: var(--lime);
  color: var(--bg);
  font-weight: 700;
  font-size: 0.85rem;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  transition: transform 0.2s, box-shadow 0.2s;
}

.btn-buy:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 24px var(--lime-glow);
}

.menu-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
}

.menu-btn span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--lime);
  transition: 0.3s;
}

/* ─── Hero ─── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: calc(var(--header-h) + 2rem) 1.5rem 3rem;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
}

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

.hero-bg-shade {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 50% 30%, rgba(200, 245, 66, 0.08) 0%, transparent 55%),
    linear-gradient(to bottom, rgba(10, 18, 10, 0.55) 0%, var(--bg) 100%);
}

.hero-inner {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 720px;
}

.hero-mascot-wrap {
  position: relative;
  display: inline-block;
  margin-bottom: 1.5rem;
}

.hero-mascot {
  width: clamp(180px, 32vw, 280px);
  margin: 0 auto;
  border-radius: var(--radius);
  animation: bob 3.5s ease-in-out infinite;
  filter: drop-shadow(0 24px 48px rgba(0, 0, 0, 0.5));
}

.hero-glow {
  position: absolute;
  inset: 20%;
  background: radial-gradient(circle, var(--lime-glow) 0%, transparent 70%);
  z-index: -1;
  animation: pulse-glow 3s ease-in-out infinite;
}

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

@keyframes pulse-glow {
  0%, 100% { opacity: 0.6; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.1); }
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 7vw, 4.5rem);
  letter-spacing: 0.06em;
  line-height: 1.05;
  text-transform: uppercase;
  margin-bottom: 1rem;
  text-shadow: 0 4px 24px rgba(0, 0, 0, 0.5);
}

.hero-title .ticker {
  display: block;
  color: var(--lime);
  text-shadow: 0 0 40px var(--lime-glow);
}

.hero-sub {
  font-size: clamp(1rem, 2.2vw, 1.15rem);
  color: var(--text-muted);
  max-width: 520px;
  margin: 0 auto;
}

/* ─── Marquee ─── */
.marquee-wrap {
  background: var(--lime);
  color: var(--bg);
  overflow: hidden;
  padding: 0.65rem 0;
  border-top: 2px solid var(--lime-dim);
  border-bottom: 2px solid var(--lime-dim);
}

.marquee {
  display: flex;
  width: max-content;
  animation: scroll 30s linear infinite;
}

.marquee span {
  font-family: var(--font-display);
  font-size: 1.1rem;
  letter-spacing: 0.08em;
  white-space: nowrap;
  padding-right: 0;
  text-transform: lowercase;
}

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

/* ─── Links / CA ─── */
.links-section {
  padding: 3rem 0 2rem;
}

.ca-box {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.75rem 1rem;
  padding: 1.25rem 1.5rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 1.5rem;
}

.ca-label {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-muted);
}

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

.btn-copy {
  padding: 0.45rem 1.1rem;
  background: var(--lime);
  color: var(--bg);
  font-weight: 700;
  font-size: 0.8rem;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: transform 0.2s, background 0.2s;
}

.btn-copy:hover { transform: scale(1.05); }
.btn-copy.copied { background: var(--gold); }

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

.social-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.65rem 1.25rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: lowercase;
  color: var(--text-muted);
  transition: color 0.2s, border-color 0.2s, transform 0.2s;
}

.social-link:hover {
  color: var(--lime);
  border-color: var(--lime-dim);
  transform: translateY(-2px);
}

.social-link .social-icon {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  object-fit: contain;
  display: block;
}

.social-links--large .social-link .social-icon {
  width: 24px;
  height: 24px;
}

.social-links--large .social-link {
  padding: 0.85rem 1.5rem;
  font-size: 0.95rem;
}

/* ─── Section titles ─── */
.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3rem);
  letter-spacing: 0.05em;
  text-transform: lowercase;
  margin-bottom: 1.5rem;
  color: var(--lime);
}

/* ─── Gallery ─── */
.gallery-section {
  padding: 4rem 0;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0.75rem;
}

.gallery-item {
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: var(--radius);
  border: 2px solid transparent;
  padding: 0;
  transition: border-color 0.25s, transform 0.25s;
  cursor: zoom-in;
}

.gallery-item:hover {
  border-color: var(--lime);
  transform: scale(1.03);
  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); }

/* ─── Lore ─── */
.lore-section {
  padding: 4rem 0;
  background: linear-gradient(180deg, transparent 0%, rgba(22, 32, 22, 0.6) 50%, transparent 100%);
}

.lore-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 3rem;
  align-items: start;
}

.lore-visual {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
}

.lore-banner {
  width: 100%;
  border-radius: var(--radius);
}

.lore-sticker {
  position: absolute;
  bottom: -1rem;
  right: -1rem;
  width: 120px;
  border-radius: var(--radius);
  border: 3px solid var(--lime);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.5);
  animation: bob 4s ease-in-out infinite;
}

.lore-text p {
  margin-bottom: 1rem;
  color: var(--text-muted);
  font-size: 1.02rem;
}

.lore-text p:first-of-type {
  color: var(--text);
  font-size: 1.1rem;
}

.lore-closer {
  font-family: var(--font-display);
  font-size: 1.8rem !important;
  color: var(--gold-light) !important;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-top: 1.5rem !important;
}

/* ─── How to buy ─── */
.buy-section {
  padding: 4rem 0;
}

.buy-intro {
  color: var(--text-muted);
  margin-bottom: 2rem;
  font-size: 1.05rem;
}

.steps {
  display: grid;
  gap: 1.25rem;
  margin-bottom: 3rem;
}

.step {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  padding: 1.5rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color 0.25s;
}

.step:hover { border-color: rgba(200, 245, 66, 0.3); }

.step-num {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--lime);
  color: var(--bg);
  font-family: var(--font-display);
  font-size: 1.5rem;
  border-radius: 50%;
}

.step h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.35rem;
  text-transform: lowercase;
}

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

.buy-banner {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  width: 100%;
  height: clamp(220px, 42vw, 400px);
}

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

.buy-banner-label {
  position: absolute;
  bottom: 1.5rem;
  left: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1.25rem;
  background: rgba(10, 18, 10, 0.85);
  backdrop-filter: blur(8px);
  border-radius: 999px;
  border: 1px solid var(--border);
  font-family: var(--font-display);
  font-size: 1.2rem;
  letter-spacing: 0.05em;
  color: var(--lime);
  text-transform: uppercase;
}

.buy-banner-label img {
  border-radius: 50%;
  width: 48px;
  height: 48px;
}

/* ─── Social section ─── */
.social-section {
  padding: 4rem 0;
  text-align: center;
  background: var(--bg-elevated);
  border-top: 1px solid var(--border);
}

.social-tag {
  color: var(--text-muted);
  text-transform: lowercase;
  margin-bottom: 1.5rem;
  font-size: 1.05rem;
}

.social-inner .social-links {
  justify-content: center;
}

/* ─── Footer ─── */
.site-footer {
  padding: 2.5rem 0;
  border-top: 1px solid var(--border);
  text-align: center;
}

.site-footer p {
  font-size: 0.78rem;
  color: var(--text-muted);
  max-width: 640px;
  margin: 0 auto 0.75rem;
  line-height: 1.6;
}

.footer-copy {
  font-size: 0.8rem !important;
  text-transform: lowercase;
  color: var(--text-muted);
}

/* ─── Lightbox ─── */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.92);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.lightbox[hidden] { display: none; }

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

.lightbox-close,
.lightbox-prev,
.lightbox-next {
  position: absolute;
  color: var(--text);
  font-size: 2rem;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  transition: background 0.2s;
}

.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover {
  background: rgba(200, 245, 66, 0.2);
  color: var(--lime);
}

.lightbox-close { top: 1.5rem; right: 1.5rem; }
.lightbox-prev { left: 1.5rem; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: 1.5rem; top: 50%; transform: translateY(-50%); }

/* ─── Toast ─── */
.toast {
  position: fixed;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%) translateY(80px);
  padding: 0.75rem 1.5rem;
  background: var(--lime);
  color: var(--bg);
  font-weight: 700;
  font-size: 0.9rem;
  border-radius: 999px;
  z-index: 2000;
  opacity: 0;
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.3s;
  pointer-events: none;
}

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

/* ─── Responsive ─── */
@media (max-width: 960px) {
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
  .lore-grid { grid-template-columns: 1fr; }
  .lore-sticker { width: 90px; right: 0.5rem; bottom: -0.5rem; }
}

@media (max-width: 768px) {
  .site-nav, .btn-buy { display: none; }
  .menu-btn { display: flex; }

  .site-header.open .site-nav {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: rgba(10, 18, 10, 0.98);
    padding: 1.5rem 2rem;
    gap: 1.25rem;
    border-bottom: 1px solid var(--border);
  }

  .site-header.open .btn-buy {
    display: inline-flex;
    position: absolute;
    top: calc(var(--header-h) + 200px);
    left: 2rem;
  }

  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .ca-box { flex-direction: column; text-align: center; }
}

@media (max-width: 480px) {
  .gallery-grid { grid-template-columns: 1fr 1fr; gap: 0.5rem; }
  .step { flex-direction: column; }
}
