/* ===== ANDY ($ANDY) — Robinhood Chain ===== */
:root {
  --green: #b6f500;          /* Robinhood lime */
  --green-2: #c6f534;        /* lighter chartreuse */
  --green-deep: #7cab00;
  --yellow: #ffc400;         /* Andy yellow */
  --bg: #0a0a0a;
  --bg-2: #101210;
  --card: #141614;
  --card-2: #191c18;
  --line: rgba(198, 245, 52, 0.14);
  --text: #f4f6f2;
  --muted: #9aa192;
  --white: #ffffff;
  --radius: 20px;
  --radius-lg: 28px;
  --maxw: 1160px;
  --shadow-glow: 0 0 40px rgba(182, 245, 0, 0.25);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; scroll-padding-top: 88px; }

body {
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* Ambient background wash */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(60% 50% at 80% -5%, rgba(182, 245, 0, 0.10), transparent 60%),
    radial-gradient(50% 40% at 0% 20%, rgba(255, 196, 0, 0.06), transparent 60%),
    var(--bg);
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

h1, h2, h3, .brand-name {
  font-family: "Sora", "Inter", sans-serif;
  line-height: 1.05;
  letter-spacing: -0.02em;
}

.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: 22px; }

.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 200;
  background: var(--green); color: #0a0a0a; padding: 10px 16px; border-radius: 0 0 10px 0; font-weight: 700;
}
.skip-link:focus { left: 0; }

/* ===== Buttons ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 22px; border-radius: 999px; font-weight: 700; font-size: 0.98rem;
  border: 1px solid transparent; cursor: pointer; white-space: nowrap;
  transition: transform 0.2s var(--ease), box-shadow 0.25s var(--ease), background 0.2s var(--ease), color 0.2s var(--ease);
}
.btn-buy {
  background: linear-gradient(135deg, var(--green-2), var(--green));
  color: #0a0a0a; box-shadow: 0 8px 24px rgba(182, 245, 0, 0.25);
}
.btn-buy:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(182, 245, 0, 0.4); }
.btn-ghost {
  background: rgba(255, 255, 255, 0.04); color: var(--text);
  border-color: rgba(255, 255, 255, 0.14);
}
.btn-ghost:hover { border-color: var(--green); color: var(--green-2); transform: translateY(-2px); }

/* ===== Header / Nav ===== */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(10, 10, 10, 0.72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; gap: 20px; height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 11px; }
.brand-logo { border-radius: 50%; }
.brand-name { font-weight: 800; font-size: 1.35rem; letter-spacing: 0.01em; }

.nav-links { list-style: none; display: flex; gap: 26px; margin-inline: auto; }
.nav-links a {
  font-weight: 600; color: var(--muted); font-size: 0.98rem; position: relative; padding: 6px 0;
  transition: color 0.2s var(--ease);
}
.nav-links a::after {
  content: ""; position: absolute; left: 0; bottom: -2px; height: 2px; width: 0;
  background: var(--green); transition: width 0.25s var(--ease);
}
.nav-links a:hover { color: var(--text); }
.nav-links a:hover::after { width: 100%; }

.nav-right { display: flex; align-items: center; gap: 14px; }
.socials { display: inline-flex; align-items: center; gap: 8px; }
.social {
  display: inline-flex; align-items: center; justify-content: center;
  width: 38px; height: 38px; border-radius: 50%;
  background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--text); transition: transform 0.2s var(--ease), background 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease);
}
.social svg { width: 17px; height: 17px; fill: currentColor; }
.social:hover { color: #0a0a0a; background: var(--green); border-color: var(--green); transform: translateY(-2px); }

.hamburger {
  display: none; flex-direction: column; justify-content: center; gap: 5px;
  width: 44px; height: 44px; background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1);
  border-radius: 12px; cursor: pointer;
}
.hamburger span { display: block; width: 20px; height: 2px; background: var(--text); margin-inline: auto; transition: transform 0.25s var(--ease), opacity 0.2s var(--ease); }
.hamburger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.hamburger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile menu */
.mobile-menu {
  border-top: 1px solid var(--line);
  background: rgba(10, 10, 10, 0.98);
  padding: 14px 22px 22px;
}
.mobile-menu ul { list-style: none; display: flex; flex-direction: column; }
.mobile-menu a { display: block; padding: 14px 4px; font-weight: 600; font-size: 1.05rem; border-bottom: 1px solid rgba(255,255,255,0.06); }
.mobile-menu-footer { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 18px; }

/* ===== Hero ===== */
.hero { position: relative; padding-top: 46px; overflow: hidden; }
.hero-glow {
  position: absolute; top: -160px; right: -80px; width: 620px; height: 620px; border-radius: 50%;
  background: radial-gradient(circle, rgba(182, 245, 0, 0.22), transparent 62%);
  filter: blur(20px); z-index: 0; pointer-events: none;
}
.hero-grid {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 48px; align-items: center;
  padding-block: 40px 30px;
}
.eyebrow {
  text-transform: uppercase; letter-spacing: 0.22em; font-size: 0.78rem; font-weight: 700;
  color: var(--green-2); margin-bottom: 16px;
}
.hero-title {
  font-size: clamp(4rem, 13vw, 8.5rem); font-weight: 800; letter-spacing: -0.04em; line-height: 0.9;
  background: linear-gradient(180deg, #ffffff 30%, var(--green-2) 130%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  text-shadow: 0 0 60px rgba(182, 245, 0, 0.15);
}
.hero-sub { font-size: clamp(1.15rem, 2.4vw, 1.6rem); font-weight: 600; margin-top: 14px; color: var(--text); max-width: 20ch; }
.hero-sub .hl { color: var(--green-2); }
.hero-tag { color: var(--muted); margin-top: 12px; font-size: 1.05rem; }
.hero-tag strong { color: var(--yellow); font-weight: 700; }

.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }

/* CA pill */
.ca-pill {
  display: inline-flex; align-items: center; gap: 10px; margin-top: 18px;
  padding: 9px 10px 9px 14px; border-radius: 999px; cursor: pointer;
  background: rgba(255, 255, 255, 0.04); border: 1px dashed rgba(198, 245, 52, 0.4);
  color: var(--text); max-width: 100%; transition: border-color 0.2s var(--ease), background 0.2s var(--ease);
  font-family: inherit;
}
.ca-pill:hover { border-color: var(--green); background: rgba(182, 245, 0, 0.06); }
.ca-tag { font-size: 0.72rem; font-weight: 800; letter-spacing: 0.1em; color: #0a0a0a; background: var(--green); padding: 3px 8px; border-radius: 999px; flex: none; }
.ca-value {
  font-family: "SFMono-Regular", ui-monospace, "Cascadia Code", Consolas, monospace;
  font-size: 0.86rem; color: var(--text); overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.ca-action { display: inline-flex; align-items: center; flex: none; padding-right: 4px; }
.ca-icon-copy { width: 17px; height: 17px; fill: var(--muted); transition: fill 0.2s var(--ease); }
.ca-pill:hover .ca-icon-copy { fill: var(--green-2); }
.ca-copied {
  display: none; font-size: 0.8rem; font-weight: 700; color: var(--green-2);
}
.ca-pill.copied .ca-icon-copy { display: none; }
.ca-pill.copied .ca-copied { display: inline; }

.ca-pill-lg { margin-top: 0; padding: 12px 14px 12px 16px; }
.ca-pill-lg .ca-value { font-size: 0.95rem; }

/* Hero visual */
.hero-visual { position: relative; }
.banner-frame {
  border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line);
  box-shadow: var(--shadow-glow), 0 20px 50px rgba(0, 0, 0, 0.6);
  transform: rotate(-1.2deg);
}
.banner-frame img { width: 100%; height: auto; }
.hero-badge {
  position: absolute; left: -26px; bottom: -26px; width: 118px; height: 118px; border-radius: 50%;
  filter: drop-shadow(0 10px 24px rgba(0,0,0,0.5));
}

/* Marquee */
.marquee {
  margin-top: 40px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  background: rgba(182, 245, 0, 0.04); overflow: hidden; white-space: nowrap;
}
.marquee-track { display: inline-flex; will-change: transform; animation: marquee 26s linear infinite; }
.marquee-track span {
  font-family: "Sora", sans-serif; font-weight: 800; font-size: 1.05rem; letter-spacing: 0.04em;
  color: var(--green-2); padding: 14px 0; text-transform: uppercase;
}
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ===== Sections ===== */
.section { padding-block: 92px; position: relative; }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 48px; }
.kicker { text-transform: uppercase; letter-spacing: 0.2em; font-size: 0.78rem; font-weight: 800; color: var(--green-2); margin-bottom: 12px; }
.section-title { font-size: clamp(1.9rem, 4vw, 3rem); font-weight: 800; }
.lead { font-size: 1.2rem; color: var(--text); margin-top: 14px; }
.muted { color: var(--muted); margin-top: 10px; }

/* About */
.about-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center; }
.about-copy .section-title { margin-top: 4px; }
.face-card {
  border-radius: var(--radius-lg); padding: 30px;
  background: radial-gradient(65% 60% at 50% 48%, rgba(182, 245, 0, 0.20), rgba(182, 245, 0, 0.05) 55%, transparent 75%);
  display: grid; place-items: center;
}
.face-card img {
  margin-inline: auto; width: 100%; max-width: 360px;
  filter: drop-shadow(0 16px 30px rgba(0, 0, 0, 0.55)) drop-shadow(0 0 24px rgba(182, 245, 0, 0.18));
}

/* Gallery */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.gcard {
  position: relative; border-radius: var(--radius); overflow: hidden; margin: 0;
  border: 1px solid var(--line); background: var(--card); aspect-ratio: 1 / 1;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
}
.gcard img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s var(--ease); }
.gcard figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 26px 16px 14px;
  font-family: "Sora", sans-serif; font-weight: 700; font-size: 1.02rem; color: #fff;
  background: linear-gradient(to top, rgba(0,0,0,0.82), transparent);
  transform: translateY(6px); opacity: 0.9; transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
}
.gcard:hover { transform: translateY(-4px); border-color: var(--green); box-shadow: 0 16px 40px rgba(0,0,0,0.5), var(--shadow-glow); }
.gcard:hover img { transform: scale(1.06); }
.gcard:hover figcaption { transform: translateY(0); opacity: 1; }

/* Tokenomics */
.token-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.tcard {
  background: linear-gradient(180deg, var(--card-2), var(--card));
  border: 1px solid var(--line); border-radius: var(--radius); padding: 26px;
  display: flex; flex-direction: column; gap: 8px; min-height: 150px; justify-content: center;
  transition: transform 0.25s var(--ease), border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.tcard:hover { transform: translateY(-4px); border-color: var(--green); box-shadow: var(--shadow-glow); }
.tcard-wide { grid-column: span 2; }
.tcard-label { text-transform: uppercase; letter-spacing: 0.12em; font-size: 0.74rem; font-weight: 700; color: var(--muted); }
.tcard-value { font-family: "Sora", sans-serif; font-weight: 800; font-size: clamp(1.7rem, 3vw, 2.4rem); color: var(--green-2); line-height: 1; }
.tcard-note { color: var(--muted); font-size: 0.92rem; }

/* How to buy */
.steps { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; counter-reset: step; }
.step {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 22px;
  transition: transform 0.25s var(--ease), border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.step:hover { transform: translateY(-4px); border-color: var(--green); box-shadow: var(--shadow-glow); }
.step-num {
  display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px;
  border-radius: 50%; background: linear-gradient(135deg, var(--green-2), var(--green)); color: #0a0a0a;
  font-family: "Sora", sans-serif; font-weight: 800; font-size: 1.2rem; margin-bottom: 14px;
}
.step h3 { font-size: 1.15rem; font-weight: 700; margin-bottom: 6px; }
.step p { color: var(--muted); font-size: 0.96rem; }

.buy-cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 16px; margin-top: 40px; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding-block: 46px; background: var(--bg-2); }
.footer-inner { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 16px; }
.footer-brand { display: inline-flex; align-items: center; gap: 12px; }
.footer-brand img { border-radius: 50%; }
.footer-brand .brand-name { font-size: 1.4rem; font-weight: 800; }
.footer-socials { margin-top: 2px; }
.disclaimer { color: var(--muted); font-size: 0.9rem; max-width: 560px; }
.copyright { color: #6b7160; font-size: 0.82rem; }

/* ===== Scroll reveal ===== */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* float */
.float { animation: float 5s ease-in-out infinite; }
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }

:focus-visible { outline: 3px solid var(--green); outline-offset: 3px; border-radius: 6px; }

/* ===== Responsive ===== */
@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-buy { display: none; }
  .hamburger { display: flex; }
  .nav-right .socials { display: none; }
  .hero-grid { grid-template-columns: 1fr; gap: 30px; padding-block: 20px; }
  .hero-visual { order: -1; }
  .hero-sub { max-width: none; }
  .hero-badge { width: 88px; height: 88px; left: -12px; bottom: -18px; }
  .about-grid { grid-template-columns: 1fr; gap: 30px; }
  .about-visual { order: -1; }
  .token-grid { grid-template-columns: repeat(2, 1fr); }
  .tcard-wide { grid-column: span 2; }
  .steps { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 901px) { .mobile-menu { display: none !important; } }

@media (max-width: 620px) {
  .section { padding-block: 66px; }
  .gallery { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .token-grid { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr; }
  .hero-title { font-size: clamp(3.4rem, 20vw, 6rem); }
  .ca-value { font-size: 0.74rem; }
  .btn { flex: 1 1 auto; }
}
@media (max-width: 380px) {
  .gallery { grid-template-columns: 1fr; }
  .token-grid { grid-template-columns: 1fr; }
  .tcard-wide { grid-column: span 1; }
}

/* ===== Reduced motion ===== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
  .reveal { opacity: 1; transform: none; }
  .marquee-track { animation: none; }
  .float { animation: none; }
  .banner-frame { transform: none; }
}
