:root {
  --bg: #15121a;
  --bg-alt: #1d1924;
  --card: #262030;
  --text: #f6efe9;
  --muted: #b8aebf;
  --pink: #ff9cc2;
  --pink-deep: #ff6fa5;
  --ivory: #fff4e6;
  --radius: 18px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Nunito", system-ui, sans-serif;
  line-height: 1.6;
}
img { max-width: 100%; display: block; }
h1, h2, h3 { font-family: "Fredoka", "Nunito", sans-serif; line-height: 1.1; margin: 0 0 .5em; }
h2 { font-size: clamp(2rem, 5vw, 3rem); color: var(--pink); }
a { color: inherit; }

/* Buttons */
.btn {
  display: inline-block;
  padding: .85em 1.6em;
  border-radius: 999px;
  background: var(--pink);
  color: #2a1020;
  font-weight: 800;
  text-decoration: none;
  transition: transform .15s, background .15s;
}
.btn:hover { transform: translateY(-2px); background: var(--pink-deep); }
.btn-ghost { background: transparent; color: var(--text); border: 2px solid var(--text); }
.btn-ghost:hover { background: rgba(255,255,255,.1); }
.btn-small { padding: .45em 1.1em; }

/* Nav */
.nav {
  position: sticky; top: 0; z-index: 20;
  display: flex; align-items: center; justify-content: space-between;
  padding: .7rem 1rem;
  background: rgba(21,18,26,.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.brand { display: flex; align-items: center; gap: .6rem; text-decoration: none; font-family: "Fredoka"; font-weight: 700; font-size: 1.25rem; }
.brand img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; }
.links { display: flex; align-items: center; gap: 1.4rem; }
.links a { text-decoration: none; font-weight: 600; }
.links a:not(.btn):hover { color: var(--pink); }
.menu-btn { display: none; background: none; border: 0; color: var(--text); font-size: 1.6rem; cursor: pointer; }

/* Hero */
.hero { position: relative; min-height: 88vh; display: grid; place-items: center; overflow: hidden; }
.hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(21,18,26,.2), rgba(21,18,26,.85)); }
.hero-overlay { position: relative; z-index: 1; text-align: center; padding: 2rem 1rem; width: 100%; max-width: 760px; min-width: 0; }
body { overflow-x: hidden; }
.hero h1 { font-size: clamp(3rem, 12vw, 7rem); color: var(--ivory); text-shadow: 0 6px 30px rgba(0,0,0,.5); }
.hero p { font-size: 1.2rem; color: var(--ivory); margin: 0 0 1.6rem; }
.hero-actions { display: flex; gap: .8rem; justify-content: center; flex-wrap: wrap; }

.ca {
  display: flex; align-items: center; gap: .6rem;
  margin: 1.6rem auto 0; padding: .5rem .5rem .5rem 1rem;
  max-width: 100%;
  background: rgba(0,0,0,.45); border: 1px solid rgba(255,255,255,.15);
  border-radius: 999px;
}
.ca-label { font-weight: 800; color: var(--pink); }
.ca code { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: .9rem; text-align: left; }
.ca-copy { border: 0; border-radius: 999px; padding: .45em 1em; background: var(--ivory); color: #2a1020; font-weight: 800; cursor: pointer; }

.socials { display: flex; gap: .6rem; justify-content: center; flex-wrap: wrap; margin-top: 1.4rem; }
.socials a {
  padding: .4em 1em; border-radius: 999px; text-decoration: none; font-weight: 600; font-size: .95rem;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.15);
}
.socials a:hover { background: rgba(255,156,194,.2); }

/* Sections */
.section { padding: 5rem 1rem; max-width: 1100px; margin: 0 auto; }
.section.alt { max-width: none; background: var(--bg-alt); }
.section.alt > * { max-width: 1100px; margin-left: auto; margin-right: auto; }
.sub { color: var(--muted); margin-top: -.5rem; }

.about-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 3rem; align-items: center; }
.about-img { border-radius: var(--radius); width: 100%; aspect-ratio: 1; object-fit: cover; }
.about-grid p { font-size: 1.1rem; color: var(--muted); }
.video { width: 100%; border-radius: var(--radius); margin-top: 1rem; }

.steps { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1.2rem; }
.steps li { background: var(--card); border-radius: var(--radius); padding: 1.6rem; }
.steps .num {
  display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%;
  background: var(--pink); color: #2a1020; font-weight: 800; margin-bottom: 1rem;
}
.steps p { color: var(--muted); margin: 0; }

.chart-wrap { position: relative; width: 100%; height: 520px; border-radius: var(--radius); overflow: hidden; background: var(--card); }
.chart-wrap iframe { width: 100%; height: 100%; border: 0; }

.grid { display: grid; gap: 1rem; }
.pfp-grid { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); }
.meme-grid { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
.tile { padding: 0; border: 0; background: var(--card); border-radius: var(--radius); overflow: hidden; cursor: pointer; transition: transform .15s; }
.tile:hover { transform: scale(1.03); }
.tile img { width: 100%; aspect-ratio: 1; object-fit: cover; }

.lightbox { position: fixed; inset: 0; z-index: 50; background: rgba(0,0,0,.85); display: grid; place-items: center; padding: 1rem; cursor: zoom-out; }
.lightbox[hidden] { display: none; }
.lightbox img { max-height: 90vh; border-radius: var(--radius); }

/* Footer */
.footer { padding: 3rem 1rem; text-align: center; border-top: 1px solid rgba(255,255,255,.08); }
.disclaimer { max-width: 760px; margin: 1.6rem auto 0; font-size: .85rem; color: var(--muted); }
.copy { color: var(--muted); font-size: .85rem; }

/* Mobile */
@media (max-width: 760px) {
  .menu-btn { display: block; }
  .links {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; gap: 1rem; padding: 1.2rem;
    background: var(--bg); border-bottom: 1px solid rgba(255,255,255,.08);
  }
  .links.open { display: flex; }
  .about-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .chart-wrap { height: 420px; }
  .section { padding: 3.5rem 1rem; }
}
