/* ALF — mirror of original Wix layout DNA
   Light cream page, centered hero mascot, sky landscape strips,
   image-first roadmap, collage memes. Robinhood conversion only in copy/links. */

:root {
  --cream: #f9f1e2;
  --cream-2: #f3e8d4;
  --cream-3: #efe2c8;
  --ink: #1a1410;
  --ink-soft: #3d342c;
  --muted: #5c534a;
  --gold: #ffbf23;
  --gold-deep: #e08a00;
  --orange: #ff8300;
  --green: #00c805;
  --green-deep: #009a04;
  --white: #ffffff;
  --max: 1100px;
  --font: Inter, system-ui, Helvetica, Arial, sans-serif;
  --display: "Space Grotesk", Inter, system-ui, sans-serif;
  --shadow: 0 12px 40px rgba(60, 40, 20, 0.12);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  font-family: var(--font);
  background-color: var(--cream);
  background-image: url("assets/page-bg.jpg");
  background-size: cover;
  background-attachment: fixed;
  background-position: center top;
  color: var(--ink);
  line-height: 1.65;
  overflow-x: hidden;
  min-height: 100vh;
}

/* fallback if huge bg is slow */
@supports not (background-attachment: fixed) {
  body {
    background-attachment: scroll;
  }
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  cursor: pointer;
  border: none;
  background: none;
  color: inherit;
}

::selection {
  background: rgba(255, 191, 35, 0.45);
  color: var(--ink);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

/* ========== TOP BAR ========== */
.topbar {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 20px;
  background: rgba(249, 241, 226, 0.88);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(60, 40, 20, 0.08);
}

.top-logo img {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
}

.top-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.btn-buy {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--display);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  padding: 12px 28px;
  border-radius: 999px;
  background: linear-gradient(180deg, #ffe066 0%, var(--gold) 45%, var(--gold-deep) 100%);
  color: #1a1000;
  border: 2px solid rgba(0, 0, 0, 0.12);
  box-shadow: 0 6px 0 rgba(153, 110, 0, 0.35), 0 10px 24px rgba(255, 191, 35, 0.35);
  transition: transform 0.15s, box-shadow 0.15s;
}

.btn-buy:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 0 rgba(153, 110, 0, 0.35), 0 14px 28px rgba(255, 191, 35, 0.45);
}

.btn-buy:active {
  transform: translateY(2px);
  box-shadow: 0 2px 0 rgba(153, 110, 0, 0.35);
}

.btn-buy-lg {
  font-size: 1.15rem;
  padding: 16px 42px;
  margin: 8px auto 0;
}

.icon-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(0, 0, 0, 0.1);
}

.icon-btn svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.icon-btn.soon {
  opacity: 0.7;
}

/* ========== HERO — centered like original ========== */
.hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 24px 16px 8px;
  max-width: 960px;
  margin: 0 auto;
}

.hero-mascot-wrap {
  width: min(100%, 720px);
  margin: 0 auto -8px;
  position: relative;
  z-index: 2;
}

.hero-mascot {
  width: 100%;
  height: auto;
  margin: 0 auto;
  filter: drop-shadow(0 24px 36px rgba(80, 40, 10, 0.22));
  animation: bob 5s ease-in-out infinite;
}

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

.hero-wordmark {
  width: min(320px, 70vw);
  height: auto;
  margin: -20px auto 12px;
  position: relative;
  z-index: 3;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.1));
}

.hero-title {
  font-family: var(--display);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 22px;
}

.hero-title .line1 {
  display: block;
  font-size: clamp(1.35rem, 3.5vw, 1.85rem);
  letter-spacing: 0.14em;
  color: var(--ink-soft);
  margin-bottom: 6px;
}

.hero-title .line2 {
  display: block;
  font-size: clamp(1.7rem, 5vw, 2.6rem);
  letter-spacing: 0.02em;
  color: var(--ink);
  text-shadow: 0 2px 0 rgba(255, 255, 255, 0.6);
}

/* Social row */
.social-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 16px;
  margin-bottom: 22px;
}

.soc {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  min-width: 56px;
  transition: transform 0.15s;
}

.soc:hover {
  transform: translateY(-3px);
}

.soc-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--white);
  border: 2px solid rgba(0, 0, 0, 0.08);
  box-shadow: var(--shadow);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
}

.soc-icon.x svg {
  width: 20px;
  height: 20px;
  fill: #111;
}

.soc-label {
  font-family: var(--display);
  font-weight: 700;
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  color: var(--muted);
}

/* CA box */
.ca-box {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px 14px;
  margin: 20px auto 8px;
  padding: 12px 18px;
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 16px;
  max-width: 100%;
}

.ca-box-dark {
  background: rgba(255, 255, 255, 0.75);
  margin-top: 32px;
}

.ca-label {
  font-family: var(--display);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--muted);
}

.ca-text {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.85);
  padding: 8px 14px;
  border-radius: 10px;
  border: 1px dashed rgba(0, 0, 0, 0.15);
}

.btn-copy {
  font-family: var(--display);
  font-weight: 700;
  font-size: 0.88rem;
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  transition: background 0.15s, transform 0.15s;
}

.btn-copy:hover {
  background: #000;
  transform: translateY(-1px);
}

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

/* ========== SKY STRIPS ========== */
.sky-strip {
  width: 100%;
  line-height: 0;
  margin: 8px 0 0;
  pointer-events: none;
}

.sky-strip img {
  width: 100%;
  height: auto;
  max-height: none;
  object-fit: cover;
  object-position: center bottom;
}

.sky-strip-2 {
  margin-top: 0;
}

/* ========== SECTIONS ========== */
.section {
  width: min(100% - 32px, var(--max));
  margin: 0 auto;
  padding: 56px 0 72px;
  position: relative;
}

.section-title {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(2.2rem, 6vw, 3.4rem);
  text-align: center;
  letter-spacing: 0.06em;
  margin-bottom: 40px;
  color: var(--ink);
  text-transform: uppercase;
}

/* ========== ABOUT ========== */
.about-layout {
  display: grid;
  grid-template-columns: minmax(240px, 380px) 1fr;
  gap: 40px 48px;
  align-items: start;
}

.about-art img {
  width: 100%;
  border-radius: 8px;
  filter: drop-shadow(0 16px 28px rgba(60, 30, 10, 0.18));
}

.about-text p {
  margin-bottom: 16px;
  font-size: 1.02rem;
  color: var(--ink-soft);
}

.about-text strong {
  color: var(--ink);
}

/* ========== ROADMAP ========== */
.roadmap {
  padding-top: 24px;
}

.ufo {
  display: block;
  width: min(200px, 40vw);
  margin: 0 auto 8px;
  filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.15));
}

.float-ufo {
  animation: ufo 7s ease-in-out infinite;
}

@keyframes ufo {
  0%, 100% { transform: translate(0, 0) rotate(-3deg); }
  50% { transform: translate(12px, -14px) rotate(3deg); }
}

.roadmap-stage {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 36px 28px;
  max-width: 960px;
  margin: 0 auto;
}

.rq {
  text-align: center;
}

.rq-pair {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 4px;
  margin-bottom: 10px;
  min-height: 200px;
}

.rq-char {
  width: 48%;
  max-width: 200px;
  object-fit: contain;
  filter: drop-shadow(0 10px 18px rgba(0, 0, 0, 0.15));
  animation: bob 5.5s ease-in-out infinite;
}

.rq-q2 .rq-char { animation-delay: 0.4s; }
.rq-q3 .rq-char { animation-delay: 0.8s; }
.rq-q4 .rq-char { animation-delay: 1.2s; }

.rq-bubble {
  width: 48%;
  max-width: 210px;
  border-radius: 18px;
  object-fit: cover;
  box-shadow: var(--shadow);
  border: 3px solid rgba(255, 255, 255, 0.85);
  transform: rotate(-2deg);
  transition: transform 0.2s;
}

.rq:hover .rq-bubble {
  transform: rotate(0deg) scale(1.04);
}

.rq h3 {
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.5rem;
  letter-spacing: 0.12em;
  color: var(--ink);
}

/* ========== TOKENOMICS ========== */
.token-layout {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 32px;
  align-items: center;
  margin-bottom: 28px;
}

.token-left {
  display: flex;
  flex-direction: column;
  gap: 28px;
  align-items: center;
  text-align: center;
}

.pct-block .pct {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(2.8rem, 7vw, 4.2rem);
  line-height: 1;
  color: var(--ink);
  letter-spacing: -0.02em;
}

.pct-block .pct-label {
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.15rem;
  color: var(--muted);
  margin-top: 6px;
  letter-spacing: 0.04em;
}

.token-headlines .big {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(1.25rem, 3vw, 1.75rem);
  line-height: 1.35;
  color: var(--ink);
  margin-bottom: 8px;
}

.token-meme {
  width: 100%;
  max-width: 520px;
  margin: 0 auto;
  filter: drop-shadow(0 20px 32px rgba(60, 30, 10, 0.2));
  animation: bob 6s ease-in-out infinite;
}

.token-banner {
  display: block;
  width: min(100%, 720px);
  margin: 24px auto 0;
}

/* ========== MEMES ========== */
.memes {
  width: 100%;
  max-width: none;
  padding-left: 0;
  padding-right: 0;
}

.memes-banner-wrap {
  width: 100%;
  margin-bottom: 8px;
  line-height: 0;
}

.memes-banner {
  width: 100%;
  max-height: 280px;
  object-fit: cover;
  object-position: center;
}

.smoke {
  display: block;
  width: min(720px, 90vw);
  margin: 8px auto 24px;
  opacity: 0.9;
  pointer-events: none;
}

.smoke-bot {
  margin-top: 40px;
}

.meme-collage {
  position: relative;
  width: min(100% - 24px, 1000px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-auto-rows: 90px;
  gap: 12px;
  padding-bottom: 40px;
}

.mc {
  border: none;
  padding: 0;
  border-radius: 14px;
  overflow: hidden;
  cursor: zoom-in;
  box-shadow: var(--shadow);
  border: 3px solid rgba(255, 255, 255, 0.9);
  transition: transform 0.2s, box-shadow 0.2s;
  background: #fff;
}

.mc:hover {
  transform: scale(1.04) rotate(0deg) !important;
  z-index: 5;
  box-shadow: 0 16px 36px rgba(60, 30, 10, 0.22);
}

.mc img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* collage placement — varied sizes like original */
.mc-a { grid-column: 1 / 3; grid-row: 1 / 4; transform: rotate(-2deg); }
.mc-b { grid-column: 3 / 4; grid-row: 1 / 4; transform: rotate(1.5deg); }
.mc-c { grid-column: 4 / 5; grid-row: 1 / 4; transform: rotate(-1deg); }
.mc-d { grid-column: 5 / 7; grid-row: 1 / 3; transform: rotate(2deg); }
.mc-e { grid-column: 5 / 7; grid-row: 3 / 5; transform: rotate(-1.5deg); }
.mc-f { grid-column: 1 / 2; grid-row: 4 / 7; transform: rotate(1deg); }
.mc-g { grid-column: 2 / 4; grid-row: 4 / 6; transform: rotate(-2deg); }
.mc-h { grid-column: 4 / 6; grid-row: 5 / 7; transform: rotate(1.5deg); }
.mc-i { grid-column: 6 / 7; grid-row: 5 / 7; transform: rotate(-1deg); }

.float-icon {
  position: absolute;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  pointer-events: none;
  animation: bob 4s ease-in-out infinite;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.2));
  z-index: 6;
}

.fi1 { top: 6%; left: -4px; }
.fi2 { top: 48%; right: -6px; width: 42px; height: 42px; animation-delay: 0.6s; }
.fi3 { bottom: 10%; left: 18%; width: 44px; height: 44px; animation-delay: 1s; }

/* ========== HOW TO BUY ========== */
.howto-list {
  display: flex;
  flex-direction: column;
  gap: 22px;
  max-width: 720px;
  margin: 0 auto;
}

.ht-step {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 16px;
  align-items: start;
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 20px;
  padding: 22px 24px;
  box-shadow: 0 4px 18px rgba(60, 40, 20, 0.06);
}

.ht-num {
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.8rem;
  color: var(--gold-deep);
  line-height: 1;
  padding-top: 4px;
}

.ht-body h3 {
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.2rem;
  margin-bottom: 6px;
  color: var(--ink);
}

.ht-body p {
  color: var(--ink-soft);
  font-size: 0.98rem;
}

.ht-body a {
  color: var(--gold-deep);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ========== CHART ========== */
.chart-box {
  text-align: center;
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(0, 0, 0, 0.07);
  border-radius: 24px;
  padding: 40px 28px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}

.chart-box p {
  font-size: 1.05rem;
  color: var(--ink-soft);
  max-width: 28rem;
}

/* ========== PARTNERS (Uniswap + Robinhood) ========== */
.partners {
  position: relative;
  overflow: visible;
}

.partners-sub {
  text-align: center;
  font-family: var(--display);
  font-weight: 600;
  color: var(--muted);
  margin: -24px auto 40px;
  font-size: 1rem;
  letter-spacing: 0.02em;
}

.partner-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: stretch;
  gap: 24px;
  max-width: 860px;
  margin: 0 auto;
}

.partner-card {
  flex: 1 1 300px;
  max-width: 400px;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 18px 18px 16px;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.92);
  border: 2px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 14px 40px rgba(60, 40, 20, 0.1);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s;
}

.partner-card:hover {
  transform: translateY(-6px);
}

.partner-uni {
  border-color: rgba(255, 0, 122, 0.28);
  background: linear-gradient(135deg, #fff 0%, #fff5fa 100%);
}

.partner-uni:hover {
  box-shadow: 0 20px 48px rgba(255, 0, 122, 0.22);
  border-color: rgba(255, 0, 122, 0.5);
}

.partner-rh {
  border-color: rgba(0, 200, 5, 0.28);
  background: linear-gradient(135deg, #fff 0%, #f2fff3 100%);
}

.partner-rh:hover {
  box-shadow: 0 20px 48px rgba(0, 200, 5, 0.2);
  border-color: rgba(0, 200, 5, 0.5);
}

.partner-icon {
  flex-shrink: 0;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.14);
  background: #fff;
  line-height: 0;
}

.partner-icon img,
.partner-icon svg,
.rh-mark {
  width: 80px;
  height: 80px;
  display: block;
  object-fit: cover;
}

.partner-meta {
  flex: 1;
  min-width: 0;
  text-align: left;
}

.partner-meta h3 {
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.45rem;
  line-height: 1.15;
  color: var(--ink);
  letter-spacing: -0.02em;
}

.partner-meta p {
  margin-top: 4px;
  font-size: 0.9rem;
  color: var(--muted);
  font-weight: 500;
}

.partner-chip {
  flex-shrink: 0;
  font-family: var(--display);
  font-weight: 700;
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  padding: 8px 12px;
  border-radius: 999px;
  color: #fff;
}

.uni-chip {
  background: #ff007a;
  box-shadow: 0 4px 12px rgba(255, 0, 122, 0.35);
}

.rh-chip {
  background: #00c805;
  box-shadow: 0 4px 12px rgba(0, 200, 5, 0.35);
}

@media (max-width: 640px) {
  .partner-card {
    max-width: 100%;
    padding: 14px;
    gap: 12px;
  }

  .partner-icon,
  .partner-icon img,
  .partner-icon svg,
  .rh-mark {
    width: 64px;
    height: 64px;
  }

  .partner-meta h3 {
    font-size: 1.2rem;
  }

  .partner-chip {
    font-size: 0.6rem;
    padding: 6px 9px;
  }

  .partners-sub {
    margin-top: -16px;
    font-size: 0.9rem;
    padding: 0 12px;
  }
}

/* ========== FOOTER ========== */
.site-footer {
  text-align: center;
  padding: 40px 20px 56px;
  border-top: 1px solid rgba(60, 40, 20, 0.1);
  background: rgba(249, 241, 226, 0.75);
}

.footer-logo {
  margin: 0 auto 14px;
  border-radius: 50%;
}

.footer-line {
  font-family: var(--display);
  font-weight: 600;
  margin-bottom: 10px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.footer-line a:hover {
  color: var(--gold-deep);
}

.footer-line .soon {
  opacity: 0.75;
}

.footer-copy {
  font-weight: 600;
  color: var(--ink-soft);
  margin-bottom: 6px;
}

.footer-note {
  font-size: 0.85rem;
  color: var(--muted);
}

/* ========== LIGHTBOX ========== */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(30, 20, 10, 0.88);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  backdrop-filter: blur(6px);
}

.lightbox[hidden] {
  display: none;
}

.lightbox img {
  max-width: min(92vw, 880px);
  max-height: 88vh;
  border-radius: 12px;
  border: 3px solid rgba(255, 255, 255, 0.25);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
}

.lightbox-close {
  position: absolute;
  top: 16px;
  right: 20px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  font-size: 1.8rem;
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.25);
}

/* ========== RESPONSIVE ========== */
@media (max-width: 900px) {
  .about-layout,
  .token-layout {
    grid-template-columns: 1fr;
  }

  .about-art {
    max-width: 360px;
    margin: 0 auto;
  }

  .token-meme {
    max-width: 400px;
  }

  .roadmap-stage {
    grid-template-columns: 1fr 1fr;
    gap: 24px 16px;
  }
}

@media (max-width: 640px) {
  .hero-mascot-wrap {
    width: min(100%, 100%);
  }

  .hero-wordmark {
    width: min(240px, 68vw);
    margin-top: -12px;
  }

  .social-row {
    gap: 10px 12px;
  }

  .soc-icon {
    width: 46px;
    height: 46px;
  }

  .roadmap-stage {
    grid-template-columns: 1fr;
    max-width: 340px;
  }

  .rq-pair {
    min-height: 160px;
  }

  .meme-collage {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 140px;
  }

  .mc-a, .mc-b, .mc-c, .mc-d, .mc-e, .mc-f, .mc-g, .mc-h, .mc-i {
    grid-column: auto;
    grid-row: auto;
    transform: none;
  }

  .float-icon {
    display: none;
  }

  .ht-step {
    grid-template-columns: 48px 1fr;
    padding: 16px;
  }

  .ht-num {
    font-size: 1.4rem;
  }

  .section {
    padding: 40px 0 56px;
  }

  .section-title {
    margin-bottom: 28px;
  }

  .partner-logo {
    height: 36px;
  }
}

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