:root {
  /* Godzilla palette: body dark gray-blue + neon spikes blue */
  --zilla-body: #3a4852; /* main body color */
  --zilla-spike: #26b4ff; /* spikes/glow accent */
  --bg-dark: #0b0b0b;
  --ink: #101010;
  --white: #fffdf7;
}

* { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  font-family: 'Poppins', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: var(--ink);
  background: var(--white);
  overflow-x: hidden;
}

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 24px;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(8px);
  border-bottom: 3px solid #000;
}
.hamburger { display:none; border:3px solid #000; background:#fff; border-radius:12px; padding:8px; box-shadow:4px 4px 0 #000; cursor:pointer; }
.hamburger span { display:block; width:22px; height:3px; background:#000; margin:4px 0; }
.mobile-menu { display:none; position: fixed; top: 60px; left: 0; right: 0; z-index: 60; background:#fff; border-bottom:3px solid #000; box-shadow:0 8px 0 #000; padding:16px 24px; }
.mobile-menu.open { display:block; }
.mobile-menu .menu-links { display:grid; gap:12px; }
.mobile-menu .menu-social { display:flex; gap:12px; margin-top:12px; }
.mobile-menu a { text-decoration:none; color:#000; font-weight:800; }
.logo { display: flex; align-items: center; gap: 10px; }
.logo__badge {
  width: 36px; height: 36px; display: grid; place-items: center;
  background: var(--ink); color: var(--white); border-radius: 50%;
  font-weight: 700; border: 3px solid #000; box-shadow: 4px 4px 0 #000;
}
.logo__text { font-weight: 800; letter-spacing: 1px; }
.logo__img { width: 36px; height: 36px; border: 3px solid #000; border-radius: 50%; box-shadow: 4px 4px 0 #000; object-fit: cover; background:#fff; }
.nav__links { display: flex; gap: 18px; }
.nav__links a { color: #000; text-decoration: none; font-weight: 700; }
.nav__social { display: flex; gap: 10px; align-items: center; margin-left: 10px; }
.icon-btn { width: 52px; height: 52px; display: grid; place-items: center; border: 3px solid #000; border-radius: 999px; background: #fff; box-shadow: 4px 4px 0 #000; color: #000; text-decoration: none; }
.icon-btn:active { transform: translate(1px, 1px); box-shadow: 3px 3px 0 #000; }
.icon { width: 28px; height: 28px; display: block; }

.btn {
  display: inline-block;
  text-decoration: none;
  font-weight: 800;
  border: 3px solid #000;
  padding: 14px 22px;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.btn--pill {
  border-radius: 999px;
  background: #fff;
  position: relative;
  box-shadow: 6px 6px 0 #000;
}
.btn--green { background: var(--zilla-spike); }
.btn--outline { background: #fff; }
.btn:active { transform: translate(2px, 2px); box-shadow: 4px 4px 0 #000; }

.hero {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  align-items: center;
  gap: 24px;
  padding: 80px 24px;
  background: radial-gradient(60% 80% at 50% 50%, #6e8da3 0%, #4e6473 45%, var(--zilla-body) 70%, #2f3c45 100%);
  border-bottom: 4px solid #000;
}
.hero__content { max-width: 900px; }
.hero__buttons { display: flex; gap: 16px; margin-top: 18px; }
.hero__art { display: grid; place-items: center; }
.hero__art img { width: 100%; max-width: 520px; height: auto; filter: drop-shadow(12px 12px 0 #000); border-radius: 12px; }
@media (max-width: 720px) {
  .hero__art img { max-width: 360px; }
}

.display-outline {
  font-family: 'Chewy', cursive;
  font-size: clamp(40px, 6vw, 84px);
  line-height: 0.95;
  margin: 0 0 12px;
  color: #000;
  text-shadow: -3px -3px 0 #fff, 3px -3px 0 #fff, -3px 3px 0 #fff, 3px 3px 0 #fff, 6px 6px 0 #000;
}
.accent { color: #000; background: var(--zilla-spike); padding: 0 10px; border: 3px solid #000; box-shadow: 4px 4px 0 #000; border-radius: 12px; }
.lead { font-size: 20px; max-width: 60ch; }

.section { padding: 72px 24px; border-bottom: 4px solid #000; }
.section--light { background: #fffef6; }
.container { max-width: 1200px; margin: 0 auto; }

.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; margin-top: 18px; }
.step { background: #fff; border: 3px solid #000; border-radius: 18px; padding: 18px; box-shadow: 8px 8px 0 #000; }

.policy { margin-top: 16px; }
.policy__row { display: flex; gap: 10px; }
.policy input { flex: 1; padding: 12px 14px; border: 3px solid #000; border-radius: 12px; font-weight: 700; }

.studio { display: grid; grid-template-columns: 3fr 2fr; gap: 18px; align-items: start; }
#bannerCanvas, #zillaCanvas { width: 100%; background: #fff; border: 3px solid #000; border-radius: 18px; box-shadow: 8px 8px 0 #000; }
.controls { display: grid; gap: 12px; }
.controls input[type="text"] { width: 100%; }
.control { display: grid; gap: 8px; }
.control input[type="text"], .control input[type="file"], .control input[type="color"] { border: 3px solid #000; border-radius: 12px; padding: 12px; background: #fff; }
.control input[type="text"], .control input[type="file"] { width: 100%; }

/* Zilla-nomics */
.nomics { display: flex; justify-content: center; align-items: center; gap: 24px; flex-wrap: wrap; }
.legend { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.legend li { display: flex; align-items: center; gap: 10px; font-weight: 700; }
.legend .swatch { width: 18px; height: 18px; border: 3px solid #000; box-shadow: 2px 2px 0 #000; }
.divider { height: 0; border-top: 4px solid #000; margin: 20px 0; display:block; }
.divider--full { width: 100vw; margin-left: 50%; transform: translateX(-50%); }

.footer { background: var(--bg-dark); color: #fff; padding: 40px 24px; }
.footer a { color: var(--zilla-spike); font-weight: 700; text-decoration: none; }
.ticker { position: relative; overflow: hidden; border-top: 3px solid #333; border-bottom: 3px solid #333; background:#0f0f10; }
.ticker__track { display: inline-flex; gap: 40px; white-space: nowrap; padding: 10px 0; animation: ticker-move 25s linear infinite; }
.ticker span { font-weight: 900; color: #fff; display: inline-flex; align-items: center; gap: 10px; }
.ticker__logo { height: 18px; filter: drop-shadow(2px 2px 0 #000); display:inline-block; }
@keyframes ticker-move { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* Toast */
.toast { position: fixed; top: 18px; right: 18px; z-index: 9999; background:#fff; color:#000; border:3px solid #000; border-radius:12px; padding:12px 16px; font-weight:800; box-shadow:6px 6px 0 #000; opacity:0; transform: translateY(-10px); transition: opacity .2s ease, transform .2s ease; }
.toast.show { opacity:1; transform: translateY(0); }

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; text-align: center; }
  .studio { grid-template-columns: 1fr; }
}

/* Mobile responsiveness */
@media (max-width: 720px) {
  .nav { flex-wrap: wrap; gap: 8px; }
  .nav__links, .nav__cta, .nav__social { display:none; }
  .hamburger { display:inline-block; }
  .hero__buttons { flex-direction: column; align-items: center; }
  .grid-two { grid-template-columns: 1fr; }
  .generator-panels { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); }
  .legend { justify-items: start; }
  .nomics { justify-content: center; }
  /* Generator mobile tweaks */
  .panel { box-shadow: 4px 4px 0 #000; padding: 14px; }
  .studio { grid-template-columns: 1fr; gap: 12px; }
  #bannerCanvas, #zillaCanvas { height: auto; }
  .btn { padding: 12px 18px; box-shadow: 4px 4px 0 #000; }
  h1.display-outline, h2.display-outline { text-shadow:
    -2px -2px 0 #fff, 2px -2px 0 #fff, -2px 2px 0 #fff, 2px 2px 0 #fff, 4px 4px 0 #000; }
}

/* Generator layout helpers */
.grid-two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.placeholder-card { background:#fff; border:3px solid #000; border-radius:18px; min-height:120px; display:grid; place-items:center; font-weight:900; box-shadow:8px 8px 0 #000; }
.generator-panels { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.panel { background:#fffef6; border:3px solid #000; border-radius:18px; padding:18px; box-shadow:8px 8px 0 #000; }
.social-buttons { display:flex; gap:12px; justify-content:center; margin:14px 0; }
.footer__social { display:flex; gap:12px; justify-content:center; margin:14px 0; }

/* Force mobile override for generator grid (must come after base rule) */
@media (max-width: 720px) {
  .generator-panels { grid-template-columns: 1fr; }
  .panel { width: 100%; }
}

/* Meme Gallery */
.gallery-wrap { position: relative; padding: 0 8px; }
.gallery { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(220px, 1fr); gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 6px 44px; }
.gallery::-webkit-scrollbar { height: 10px; }
.gallery::-webkit-scrollbar-thumb { background: #000; }
.gallery__item { position: relative; background:#fff; border:3px solid #000; border-radius:18px; box-shadow:8px 8px 0 #000; overflow:hidden; aspect-ratio: 1 / 1; display:grid; place-items:center; scroll-snap-align: start; }
.gallery__item:hover::after { content:"Download"; position:absolute; bottom:8px; right:8px; background:#fff; border:3px solid #000; border-radius:999px; padding:6px 10px; font-weight:800; box-shadow:4px 4px 0 #000; pointer-events:none; }
.gallery__item { cursor: pointer; }
.gallery__item img { width:100%; height:100%; object-fit:cover; display:block; image-rendering:auto; }
.gallery-nav { position: absolute; top: 50%; transform: translateY(-50%); border:3px solid #000; background:#fff; border-radius:999px; width:44px; height:44px; display:grid; place-items:center; font-size:24px; font-weight:900; box-shadow:4px 4px 0 #000; cursor:pointer; z-index: 5; }
.gallery-nav.prev { left: 6px; }
.gallery-nav.next { right: 6px; }
@media (max-width: 720px) {
  .gallery-nav { width:38px; height:38px; font-size:22px; }
  .gallery { padding: 6px 52px; }
}


