:root {
  --bg: #0c0b08;
  --bg-2: #15130c;
  --honey: #ffc400;
  --honey-deep: #f5a300;
  --honey-soft: #ffe08a;
  --ink: #0a0a0a;
  --text: #f4f1e6;
  --muted: #9a937e;
  --green: #2fbf4f;
  --green-deep: #229a3d;
  --radius: 999px;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: "JetBrains Mono", ui-monospace, monospace;
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
}

/* giant faint bee behind everything */
.bg-watermark {
  position: fixed;
  inset: 0;
  background: url("assets/img/watermark.png") no-repeat center 30%;
  background-size: min(120vh, 1100px);
  opacity: 0.10;
  filter: grayscale(0.2) contrast(1.1);
  pointer-events: none;
  z-index: 0;
}
.bg-grain {
  position: fixed;
  inset: 0;
  background:
    radial-gradient(circle at 50% 0%, rgba(255,196,0,0.08), transparent 55%),
    repeating-linear-gradient(0deg, rgba(255,255,255,0.012) 0 1px, transparent 1px 3px);
  pointer-events: none;
  z-index: 0;
}

/* ===================== HERO ===================== */
.hero {
  position: relative;
  z-index: 2;
  max-width: 760px;
  margin: 0 auto;
  padding: 46px 20px 70px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.top {
  display: flex;
  align-items: center;
  gap: 18px;
  justify-content: center;
  margin-bottom: 14px;
}
.logo-mark {
  width: 96px;
  height: 96px;
  border-radius: 22px;
  object-fit: cover;
  border: 2px solid var(--honey);
  box-shadow: 0 0 24px rgba(255,196,0,0.35);
  animation: bob 3.5s ease-in-out infinite;
}
@keyframes bob { 0%,100%{ transform: translateY(0) rotate(-2deg);} 50%{ transform: translateY(-8px) rotate(2deg);} }

.brand {
  font-family: "Press Start 2P", monospace;
  font-size: clamp(34px, 8vw, 64px);
  letter-spacing: 2px;
  color: var(--honey);
  text-shadow: 3px 3px 0 #000, 0 0 26px rgba(255,196,0,0.45);
}

.tagline {
  max-width: 540px;
  color: var(--honey-soft);
  font-size: 14px;
  line-height: 1.7;
  letter-spacing: 0.3px;
  margin: 6px auto 22px;
}

/* socials */
.socials {
  display: flex;
  gap: 22px;
  margin-bottom: 30px;
}
.socials a {
  color: var(--honey);
  display: grid;
  place-items: center;
  transition: transform 0.15s ease, color 0.15s ease, filter 0.15s ease;
}
.socials a:hover {
  color: #fff;
  transform: translateY(-3px) scale(1.15);
  filter: drop-shadow(0 0 8px var(--honey));
}

/* glossy domain bar */
.domain-bar {
  width: min(560px, 92%);
  display: block;
  text-decoration: none;
  padding: 22px 18px;
  border-radius: 16px;
  margin-bottom: 22px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.18), rgba(255,255,255,0.02) 45%, rgba(0,0,0,0.55)),
    linear-gradient(90deg, #2b2b2b, #4a4a4a, #1f1f1f);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.4), 0 12px 30px rgba(0,0,0,0.6);
  border: 1px solid rgba(255,255,255,0.08);
  transition: transform 0.15s ease;
}
.domain-bar:hover { transform: scale(1.02); }
.domain-bar span {
  font-family: "Press Start 2P", monospace;
  font-size: clamp(20px, 5vw, 34px);
  color: var(--honey);
  letter-spacing: 2px;
  text-shadow: 2px 2px 0 #000;
}

/* CTA buttons */
.cta-row {
  width: min(560px, 92%);
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 30px;
}
.btn {
  display: block;
  text-decoration: none;
  text-align: center;
  padding: 16px;
  border-radius: var(--radius);
  font-family: "Press Start 2P", monospace;
  font-size: 14px;
  letter-spacing: 1px;
  color: #0a2a12;
  background: linear-gradient(180deg, #3ad95e, var(--green) 60%, var(--green-deep));
  box-shadow: inset 0 2px 0 rgba(255,255,255,0.45), 0 6px 0 #176b2a, 0 10px 18px rgba(0,0,0,0.5);
  transition: transform 0.08s ease, box-shadow 0.08s ease;
}
.btn:active { transform: translateY(4px); box-shadow: inset 0 2px 0 rgba(255,255,255,0.4), 0 2px 0 #176b2a; }
.btn:hover { filter: brightness(1.05); }

.buzz {
  color: var(--muted);
  font-size: 14px;
  letter-spacing: 1px;
  margin-bottom: 16px;
  word-break: break-all;
  max-width: 90%;
}

/* CA box */
.ca-box {
  width: min(560px, 92%);
  display: flex;
  align-items: center;
  gap: 10px;
  justify-content: center;
  background: #f4f1e6;
  color: #111;
  border: none;
  border-radius: 12px;
  padding: 12px 14px;
  cursor: pointer;
  font-family: "JetBrains Mono", monospace;
  font-size: 12px;
  box-shadow: 0 6px 16px rgba(0,0,0,0.5);
  transition: transform 0.1s ease;
}
.ca-box:hover { transform: translateY(-2px); }
.ca-label { font-weight: 700; color: var(--honey-deep); }
.ca-value { word-break: break-all; }
.ca-copy {
  margin-left: auto;
  background: var(--honey);
  color: #111;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 8px;
  white-space: nowrap;
}

/* ===================== LIVE CHART ===================== */
.chart {
  position: relative;
  z-index: 2;
  max-width: 1000px;
  margin: 0 auto;
  padding: 24px 16px 10px;
}
.chart-head { text-align: center; margin-bottom: 20px; }
.chart-head h2 {
  font-family: "Press Start 2P", monospace;
  color: var(--honey);
  font-size: clamp(18px, 4vw, 30px);
  text-shadow: 2px 2px 0 #000;
  margin-bottom: 12px;
}
.chart-head p { color: var(--muted); font-size: 13px; }
.chart-head a { color: var(--honey); text-decoration: none; }
.chart-head a:hover { text-decoration: underline; }

.chart-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(255,196,0,0.25);
  box-shadow: 0 14px 40px rgba(0,0,0,0.6), 0 0 0 1px rgba(0,0,0,0.4) inset;
  background: #0a0a0a;
}
.chart-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}
.chart-fallback {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  text-align: center;
  padding: 24px;
  color: var(--muted);
  font-size: 13px;
  background: var(--bg-2);
  z-index: 1;
  transition: opacity 0.4s ease;
}
.chart-fallback.hide { opacity: 0; pointer-events: none; }
.chart-fallback .btn { width: auto; padding: 14px 26px; }
@media (max-width: 640px) { .chart-frame { aspect-ratio: 3 / 4; } }

/* ===================== MEME DEPOT ===================== */
.memes {
  position: relative;
  z-index: 2;
  max-width: 1180px;
  margin: 0 auto;
  padding: 30px 16px 60px;
}
.memes-head { text-align: center; margin-bottom: 28px; }
.memes-head h2 {
  font-family: "Press Start 2P", monospace;
  color: var(--honey);
  font-size: clamp(18px, 4vw, 30px);
  text-shadow: 2px 2px 0 #000;
  margin-bottom: 14px;
}
.memes-head p { color: var(--muted); font-size: 13px; line-height: 1.7; max-width: 620px; margin: 0 auto; }
.memes-head a { color: var(--honey); text-decoration: none; }
.memes-head a:hover { text-decoration: underline; }

.gallery {
  column-count: 4;
  column-gap: 12px;
}
@media (max-width: 980px) { .gallery { column-count: 3; } }
@media (max-width: 640px)  { .gallery { column-count: 2; } }

.gallery .tile {
  break-inside: avoid;
  margin-bottom: 12px;
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  cursor: pointer;
  background: var(--bg-2);
  border: 1px solid rgba(255,196,0,0.12);
  display: block;
}
.gallery .tile img {
  width: 100%;
  display: block;
  transition: transform 0.3s ease;
  background: #1a1810;
}
.gallery .tile:hover img { transform: scale(1.05); }
.gallery .tile::after {
  content: "🐝";
  position: absolute;
  top: 8px; right: 8px;
  opacity: 0;
  transition: opacity 0.2s ease;
  font-size: 16px;
  filter: drop-shadow(0 1px 2px #000);
}
.gallery .tile:hover::after { opacity: 1; }

.load-more {
  display: block;
  margin: 30px auto 0;
  padding: 14px 28px;
  border-radius: var(--radius);
  border: 2px solid var(--honey);
  background: transparent;
  color: var(--honey);
  font-family: "Press Start 2P", monospace;
  font-size: 12px;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}
.load-more:hover { background: var(--honey); color: #111; }
.load-more[hidden] { display: none; }

/* ===================== FOOTER ===================== */
.foot {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 40px 20px 60px;
  border-top: 1px solid rgba(255,196,0,0.12);
  background: rgba(0,0,0,0.3);
}
.foot-bee { width: 60px; height: 60px; border-radius: 14px; object-fit: cover; margin-bottom: 14px; }
.foot p { color: var(--muted); font-size: 11px; line-height: 1.7; max-width: 620px; margin: 0 auto 12px; }
.foot-links a { color: var(--honey); text-decoration: none; }
.foot-links a:hover { text-decoration: underline; }
.made-by { color: #6b6453; font-size: 10px; margin-top: 14px; letter-spacing: 0.5px; }
.made-by a { color: #8c8470; text-decoration: none; }
.made-by a:hover { color: var(--honey); text-decoration: underline; }

/* ===================== LIGHTBOX ===================== */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.92);
  z-index: 50;
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  padding: 20px;
}
.lightbox.open { display: flex; }
.lightbox img {
  max-width: 92vw;
  max-height: 78vh;
  border-radius: 10px;
  border: 2px solid var(--honey);
  box-shadow: 0 0 40px rgba(255,196,0,0.3);
}
.lb-close {
  position: absolute;
  top: 16px; right: 22px;
  background: none;
  border: none;
  color: #fff;
  font-size: 40px;
  cursor: pointer;
  line-height: 1;
}
.lb-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,196,0,0.15);
  border: 1px solid var(--honey);
  color: var(--honey);
  font-size: 24px;
  width: 52px; height: 52px;
  border-radius: 50%;
  cursor: pointer;
  transition: background 0.15s ease;
}
.lb-nav:hover { background: var(--honey); color: #111; }
.lb-prev { left: 16px; }
.lb-next { right: 16px; }
.lb-download {
  margin-top: 18px;
  color: #111;
  background: var(--honey);
  text-decoration: none;
  padding: 10px 18px;
  border-radius: var(--radius);
  font-size: 13px;
  font-weight: 700;
}
@media (max-width: 640px) {
  .lb-nav { width: 42px; height: 42px; font-size: 18px; }
}

/* toast */
.toast {
  position: fixed;
  left: 50%;
  bottom: 30px;
  transform: translateX(-50%) translateY(20px);
  background: var(--honey);
  color: #111;
  font-weight: 700;
  padding: 12px 22px;
  border-radius: var(--radius);
  font-size: 13px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
  z-index: 60;
  box-shadow: 0 8px 24px rgba(0,0,0,0.5);
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }
