/* ============ HOODRAT — Robinhood Chain brand ============ */

/* Genty — licensed webfont (Creative Market, Flavortype) */
@font-face {
  font-family: 'Genty';
  src: url('../fonts/genty.woff2') format('woff2');
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: 'Pacifico';
  src: url('../fonts/pacifico.woff2') format('woff2');
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: 'Space Grotesk';
  src: url('../fonts/space-grotesk.woff2') format('woff2');
  font-weight: 300 700;
  font-display: swap;
}

:root {
  --green: #CCFF00;          /* Robinhood neon */
  --green-dim: #a5cf00;
  --black: #0d0e0b;
  --ink: #101208;
  --white: #ffffff;
  --orange: #e8722b;         /* HoodRat fur */
  --radius: 20px;
  --font-head: 'Genty', 'Pacifico', 'Brush Script MT', cursive;
  --font-body: 'Space Grotesk', -apple-system, 'Helvetica Neue', Arial, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  background: var(--green);
  color: var(--ink);
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 32px; }

/* ---------- type ---------- */
.h1 {
  font-family: var(--font-head);
  font-weight: 400;
  font-size: clamp(30px, 4.6vw, 66px);
  line-height: 1.12;
  color: var(--ink);
  white-space: nowrap;
}
.h3 {
  font-family: var(--font-head);
  font-weight: 400;
  font-size: clamp(34px, 4.5vw, 56px);
  line-height: 1.2;
  margin-bottom: 12px;
}
.h3.white { color: var(--green); }
.h5 {
  font-size: 20px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--white);
  margin: 18px 0 14px;
}
.lead { font-size: clamp(17px, 1.8vw, 22px); line-height: 1.5; }
.lead.light { color: rgba(255,255,255,.85); }
.lead.dark { color: var(--ink); }

/* ---------- nav ---------- */
.navbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--green);
  border-bottom: 3px solid var(--ink);
}
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 14px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand {
  font-family: var(--font-head);
  font-size: 34px;
  color: var(--ink);
  line-height: 1;
}
.nav-links { display: flex; align-items: center; gap: 34px; }
.nav-link {
  font-weight: 700;
  text-transform: uppercase;
  font-size: 15px;
  letter-spacing: .06em;
  position: relative;
  padding: 4px 0;
}
.nav-link::after {
  content: '';
  position: absolute;
  left: 0; bottom: -2px;
  width: 0; height: 3px;
  background: var(--ink);
  transition: width .25s ease;
}
.nav-link:hover::after { width: 100%; }
.btn-nav {
  background: var(--ink);
  color: var(--green);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .05em;
  font-size: 15px;
  padding: 12px 22px;
  border-radius: 999px;
  transition: transform .15s ease, box-shadow .15s ease;
}
.btn-nav:hover { transform: translateY(-2px); box-shadow: 0 6px 0 rgba(13,14,11,.35); }
.burger { display: none; background: none; border: 0; cursor: pointer; }
.burger span {
  display: block;
  width: 28px; height: 3px;
  background: var(--ink);
  margin: 6px 0;
  border-radius: 2px;
  transition: transform .25s ease, opacity .25s ease;
}
.burger.open span:nth-child(1) { transform: translateY(9px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }

/* ---------- hero ---------- */
.hero { background: var(--green); overflow: hidden; }
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  align-items: center;
  gap: 24px;
  min-height: min(calc(100vh - 70px), 820px);
  padding-top: 24px;
  padding-bottom: 0;
}
.hero-copy { padding-bottom: 48px; }
.hero .lead { margin: 26px 0 34px; max-width: 520px; }
.hero-art img {
  width: min(620px, 100%);
  margin: 0 auto;
  transform: translateY(6px);
  filter: drop-shadow(0 20px 40px rgba(13,14,11,.18));
}
/* ---------- ticker ---------- */
.ticker {
  background: var(--ink);
  border-top: 3px solid var(--ink);
  border-bottom: 3px solid var(--ink);
  overflow: hidden;
  padding: 14px 0;
}
.ticker-track {
  display: flex;
  gap: 40px;
  width: max-content;
  animation: scroll 22s linear infinite;
}
.ticker-track span {
  font-family: var(--font-head);
  font-size: 26px;
  color: var(--green);
  white-space: nowrap;
}
@keyframes scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ---------- token / links ---------- */
.section-token { background: var(--black); padding: 90px 0; }
.address-bar {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 18px;
  background: var(--green);
  color: var(--ink);
  border: 0;
  border-radius: var(--radius);
  padding: 26px 30px;
  font-family: var(--font-body);
  font-size: clamp(16px, 2.2vw, 24px);
  font-weight: 700;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease;
}
.address-bar:hover { transform: translateY(-3px); box-shadow: 0 10px 0 rgba(204,255,0,.25); }
.copy-icon { width: 28px; height: 28px; flex: none; }
.address-text {
  flex: 1;
  text-align: left;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.copy-label {
  background: var(--ink);
  color: var(--green);
  border-radius: 999px;
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: .05em;
  padding: 10px 24px;
  flex: none;
}
.link-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 18px;
}
.link-tile {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 3px solid var(--green);
  color: var(--green);
  border-radius: var(--radius);
  padding: 26px 24px;
  font-weight: 700;
  font-size: 22px;
  text-transform: uppercase;
  letter-spacing: .04em;
  transition: background .2s ease, color .2s ease, transform .15s ease;
}
.link-tile .arrow { width: 26px; height: 26px; transition: transform .2s ease; }
.link-tile:hover {
  background: var(--green);
  color: var(--ink);
  transform: translateY(-3px);
}
.link-tile:hover .arrow { transform: translate(3px, -3px); }

/* ---------- lore ---------- */
.section-lore { background: var(--white); padding: 110px 0; }
.lore-wrap { max-width: 780px; }
.lore-wrap .h3 { margin-bottom: 30px; }
.lore-body p {
  font-size: clamp(17px, 1.9vw, 20px);
  line-height: 1.65;
  margin-bottom: 22px;
}
.lore-cert a { text-decoration: underline; text-underline-offset: 3px; }
.lore-cert a:hover { background: var(--green); }

/* ---------- gallery / carousel ---------- */
.section-gallery { background: var(--green); padding: 100px 0 90px; }
.gallery-head { text-align: center; margin-bottom: 44px; }
.carousel { position: relative; }
.car-track {
  display: flex;
  gap: 22px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 12px max(32px, calc((100vw - 1200px) / 2 + 32px)) 26px;
  scrollbar-width: none;
}
.car-track::-webkit-scrollbar { display: none; }
.car-slide {
  flex: 0 0 min(400px, 76vw);
  scroll-snap-align: center;
}
.car-slide img {
  width: 100%;
  border-radius: 24px;
  border: 4px solid var(--ink);
  box-shadow: 10px 10px 0 var(--ink);
}
.car-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 3px solid var(--green);
  background: var(--ink);
  color: var(--green);
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: transform .15s ease;
}
.car-btn svg { width: 26px; height: 26px; }
.car-btn:hover { transform: translateY(-50%) scale(1.08); }
.car-prev { left: 22px; }
.car-next { right: 22px; }
.car-dots {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 8px;
  padding: 0 32px;
}
.car-dots button {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2px solid var(--ink);
  background: transparent;
  cursor: pointer;
  padding: 0;
  transition: background .2s ease, transform .2s ease;
}
.car-dots button.active { background: var(--ink); transform: scale(1.25); }

/* ---------- how to buy ---------- */
.section-buy {
  background: var(--black);
  padding: 110px 0;
  position: relative;
  overflow: hidden;
}
.buy-head { text-align: center; margin-bottom: 60px; }
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.step-card {
  background: #16180f;
  border: 2px solid rgba(204,255,0,.25);
  border-radius: var(--radius);
  padding: 30px 24px 34px;
  transition: transform .2s ease, border-color .2s ease;
}
.step-card:hover { transform: translateY(-6px); border-color: var(--green); }
.step-num {
  font-family: var(--font-head);
  font-size: 54px;
  color: var(--green);
  line-height: 1;
  margin-bottom: 18px;
}
.step-title {
  color: var(--white);
  font-size: 21px;
  font-weight: 700;
  margin-bottom: 12px;
  line-height: 1.25;
}
.step-text { color: rgba(255,255,255,.65); font-size: 15px; line-height: 1.55; }

/* ---------- people ---------- */
.section-people { background: var(--black); }
.people-banner img { width: 100%; display: block; }

/* ---------- footer ---------- */
.footer { background: var(--ink); padding: 90px 0 50px; }
.footer-grid {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 60px;
  align-items: center;
}
.footer-art img {
  width: min(380px, 100%);
  border-radius: 28px;
  border: 4px solid var(--green);
}
.social-row { display: flex; gap: 16px; margin-bottom: 30px; }
.soc {
  width: 58px; height: 58px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--green);
  color: var(--ink);
  transition: transform .15s ease, box-shadow .15s ease;
}
.soc svg { width: 26px; height: 26px; }
.soc:hover { transform: translateY(-4px); box-shadow: 0 6px 0 rgba(204,255,0,.3); }
.disclaimer {
  color: rgba(255,255,255,.45);
  font-size: 13px;
  line-height: 1.6;
  max-width: 560px;
  margin-bottom: 20px;
}
.copyright {
  font-family: var(--font-head);
  color: var(--green);
  font-size: 18px;
}

/* ---------- reveal on scroll ---------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .6s ease, transform .6s ease;
}
.reveal.visible { opacity: 1; transform: none; }

/* ---------- responsive ---------- */
@media (max-width: 991px) {
  .hero-grid { grid-template-columns: 1fr; text-align: center; min-height: 0; padding-top: 48px; }
  .hero .lead { margin-left: auto; margin-right: auto; }
  .hero-copy { padding-bottom: 0; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .link-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; text-align: center; }
  .footer-art img { margin: 0 auto; }
  .social-row { justify-content: center; }
  .disclaimer { margin-left: auto; margin-right: auto; }
}
@media (max-width: 767px) {
  .nav-links {
    position: fixed;
    inset: 70px 0 auto 0;
    background: var(--green);
    border-bottom: 3px solid var(--ink);
    flex-direction: column;
    gap: 20px;
    padding: 30px;
    transform: translateY(-130%);
    transition: transform .3s ease;
  }
  .nav-links.open { transform: none; }
  .burger { display: block; }
  .steps { grid-template-columns: 1fr; }
  .link-grid { grid-template-columns: 1fr; }
  .address-bar { flex-wrap: wrap; }
  .address-text { white-space: normal; word-break: break-all; }
}
