:root {
  --night: #0b0a24;
  --dusk: #161440;
  --neon: #d94bff;
  --cyan: #3fd8ff;
  --gold: #ffb84d;
  --ink: #0a0a0f;
  --paper: #fff8ec;
  --stroke: 4px solid var(--ink);
  --shadow: 7px 7px 0 var(--ink);
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  background-color: var(--night);
  background-image:
    radial-gradient(ellipse 60% 40% at 15% 10%, rgba(217, 75, 255, 0.22), transparent 70%),
    radial-gradient(ellipse 50% 35% at 90% 30%, rgba(63, 216, 255, 0.16), transparent 70%),
    radial-gradient(ellipse 70% 40% at 50% 100%, rgba(255, 184, 77, 0.12), transparent 70%),
    linear-gradient(180deg, #0b0a24 0%, #120f36 45%, #0d0b28 100%);
  background-attachment: fixed;
  overflow-x: hidden;
}

/* halftone dots + stars */
.sky {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    radial-gradient(rgba(255, 255, 255, 0.07) 1.2px, transparent 1.4px),
    radial-gradient(1.5px 1.5px at 12% 18%, #fff, transparent),
    radial-gradient(1px 1px at 28% 8%, #fff, transparent),
    radial-gradient(1.5px 1.5px at 47% 22%, #fff, transparent),
    radial-gradient(1px 1px at 63% 12%, #fff, transparent),
    radial-gradient(1.5px 1.5px at 78% 6%, #fff, transparent),
    radial-gradient(1px 1px at 88% 40%, #fff, transparent),
    radial-gradient(1px 1px at 6% 55%, #fff, transparent),
    radial-gradient(1.5px 1.5px at 35% 70%, #fff, transparent),
    radial-gradient(1px 1px at 70% 80%, #fff, transparent);
  background-size: 14px 14px, 100% 100%, 100% 100%, 100% 100%, 100% 100%, 100% 100%, 100% 100%, 100% 100%, 100% 100%, 100% 100%;
}

.moon {
  position: absolute;
  top: 110px;
  right: 8%;
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: radial-gradient(circle at 40% 40%, #fffdf2, #e9e4d4 70%);
  box-shadow: 0 0 40px 10px rgba(255, 250, 230, 0.25);
  opacity: 0.85;
}

/* ---------- neon text ---------- */
.neon-text {
  color: #fff;
  -webkit-text-stroke: 1.5px var(--ink);
  text-shadow:
    3px 3px 0 var(--ink),
    0 0 14px rgba(217, 75, 255, 0.8),
    0 0 28px rgba(63, 216, 255, 0.45);
}

/* ---------- header / sign bar ---------- */
.sign-bar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(11, 10, 36, 0.88);
  backdrop-filter: blur(10px);
  border-bottom: 4px solid var(--ink);
  box-shadow: 0 3px 0 var(--neon), 0 6px 24px rgba(217, 75, 255, 0.25);
}

.sign-logo {
  width: 48px;
  height: 48px;
  object-fit: contain;
  border: 3px solid var(--ink);
  border-radius: 12px;
  background: #000;
  box-shadow: 3px 3px 0 var(--neon);
}

.nav-tab {
  font-family: 'Bangers', cursive;
  font-size: 1.3rem;
  letter-spacing: 0.06em;
  padding: 0.3rem 0.9rem;
  border: 3px solid transparent;
  border-radius: 10px;
  transition: all 0.15s ease;
}
.nav-tab:hover {
  background: var(--paper);
  color: var(--ink);
  border-color: var(--ink);
  box-shadow: 3px 3px 0 var(--cyan);
}

.icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  font-size: 1.25rem;
  color: var(--ink);
  background: var(--paper);
  border: 3px solid var(--ink);
  border-radius: 12px;
  box-shadow: 3px 3px 0 var(--cyan);
  transition: transform 0.12s ease, box-shadow 0.12s ease;
}
.icon-btn:hover { transform: translate(-2px, -2px); box-shadow: 5px 5px 0 var(--neon); }

.mobile-menu {
  display: none;
  flex-direction: column;
  border-top: 3px solid var(--ink);
  background: var(--dusk);
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  font-family: 'Bangers', cursive;
  font-size: 1.5rem;
  letter-spacing: 0.06em;
  padding: 0.8rem 1.5rem;
  border-bottom: 2px dashed rgba(255, 255, 255, 0.15);
}

/* ---------- buttons ---------- */
.comic-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: 'Bangers', cursive;
  font-size: 1.35rem;
  letter-spacing: 0.06em;
  padding: 0.55rem 1.3rem;
  border: var(--stroke);
  border-radius: 14px;
  box-shadow: 4px 4px 0 var(--ink);
  transition: transform 0.12s ease, box-shadow 0.12s ease;
  white-space: nowrap;
}
.comic-btn:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--ink); }
.comic-btn:active { transform: translate(2px, 2px); box-shadow: 1px 1px 0 var(--ink); }
.comic-btn--gold { background: var(--gold); color: var(--ink); }
.comic-btn--ink { background: var(--ink); color: var(--gold); box-shadow: 4px 4px 0 var(--neon); }
.comic-btn--ink:hover { box-shadow: 6px 6px 0 var(--neon); }
.comic-btn--cyan { background: var(--cyan); color: var(--ink); }
.comic-btn--neon { background: var(--neon); color: #fff; }

/* ---------- elevator panel ---------- */
.elevator {
  position: fixed;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 40;
  display: none;
  flex-direction: column;
  gap: 10px;
  padding: 14px 10px;
  background: linear-gradient(180deg, #2a2850, #1a1838);
  border: var(--stroke);
  border-radius: 18px;
  box-shadow: 5px 5px 0 var(--ink), 0 0 24px rgba(63, 216, 255, 0.2);
}
@media (min-width: 1280px) { .elevator { display: flex; } }

.elevator__screen {
  font-family: 'Bangers', cursive;
  text-align: center;
  font-size: 1.6rem;
  color: #ff5a5a;
  background: #120404;
  border: 3px solid var(--ink);
  border-radius: 8px;
  padding: 2px 0;
  text-shadow: 0 0 8px rgba(255, 70, 70, 0.9);
}

.floor-btn {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 3px solid var(--ink);
  background: radial-gradient(circle at 35% 35%, #e8e6f5, #9d9ab8);
  color: var(--ink);
  font-family: 'Bangers', cursive;
  font-size: 1.35rem;
  box-shadow: 2px 3px 0 var(--ink);
  transition: all 0.2s ease;
}
.floor-btn small {
  position: absolute;
  right: 60px;
  white-space: nowrap;
  font-size: 1rem;
  letter-spacing: 0.05em;
  padding: 2px 10px;
  background: var(--paper);
  border: 3px solid var(--ink);
  border-radius: 8px;
  opacity: 0;
  transform: translateX(8px);
  pointer-events: none;
  transition: all 0.15s ease;
}
.floor-btn:hover small { opacity: 1; transform: translateX(0); }
.floor-btn.active {
  background: radial-gradient(circle at 35% 35%, #fff3d6, var(--gold));
  box-shadow: 2px 3px 0 var(--ink), 0 0 18px 4px rgba(255, 184, 77, 0.75);
}

/* ---------- floors ---------- */
.floor {
  position: relative;
  padding: 70px 0 80px;
}
@media (min-width: 1280px) { .floor > div { padding-right: 90px; } }

.floor-plaque {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 26px;
  font-family: 'Bangers', cursive;
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  letter-spacing: 0.06em;
  color: var(--ink);
  background: var(--paper);
  border: var(--stroke);
  border-radius: 14px;
  padding: 6px 22px 6px 6px;
  box-shadow: 5px 5px 0 var(--neon);
}
.floor-plaque span {
  background: var(--ink);
  color: var(--gold);
  padding: 2px 14px;
  border-radius: 9px;
  text-shadow: 0 0 10px rgba(255, 184, 77, 0.7);
}

/* horizontal "floor slab" divider with static glowing lights */
.light-strip {
  height: 22px;
  background:
    radial-gradient(circle, var(--gold) 0 4px, rgba(255, 184, 77, 0.25) 5px, transparent 9px) 0 50% / 46px 22px repeat-x,
    linear-gradient(180deg, #25224a, #16143a);
  border-top: 4px solid var(--ink);
  border-bottom: 4px solid var(--ink);
  box-shadow: 0 0 26px rgba(255, 184, 77, 0.25);
}

/* ---------- comic panels ---------- */
.comic-page { position: relative; }

.panel {
  position: relative;
  border: var(--stroke);
  border-radius: 18px;
  box-shadow: var(--shadow);
  overflow: visible;
}
.panel--night {
  background:
    radial-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1.3px) 0 0 / 10px 10px,
    linear-gradient(160deg, #221f55, #141236);
  box-shadow: var(--shadow), inset 0 0 0 2px rgba(217, 75, 255, 0.25);
}
.panel--paper {
  background:
    radial-gradient(rgba(10, 10, 15, 0.07) 1px, transparent 1.3px) 0 0 / 9px 9px,
    var(--paper);
  color: var(--ink);
}
.panel--gold {
  background:
    radial-gradient(rgba(10, 10, 15, 0.1) 1px, transparent 1.3px) 0 0 / 9px 9px,
    linear-gradient(135deg, #ffc86b, #ffa938);
}
.panel--logo {
  background: #000;
  box-shadow: var(--shadow), 0 0 30px rgba(217, 75, 255, 0.25);
}
.panel--image { background: var(--ink); padding: 10px; }

.img-frame {
  border-radius: 6px;
  overflow: hidden;
  border: 3px solid var(--paper);
  line-height: 0;
}
.img-frame img { width: 100%; height: auto; object-fit: contain; }

.caption-box {
  display: inline-block;
  font-family: 'Bangers', cursive;
  font-size: 1.15rem;
  letter-spacing: 0.08em;
  color: var(--ink);
  background: var(--gold);
  border: 3px solid var(--ink);
  padding: 3px 12px;
  box-shadow: 3px 3px 0 var(--ink);
}
.caption-box--center { text-align: center; }

.hero-title {
  font-size: clamp(4rem, 12vw, 8.5rem);
  line-height: 0.9;
  margin-top: 18px;
  color: #fff;
  -webkit-text-stroke: 3px var(--ink);
  text-shadow:
    6px 6px 0 var(--ink),
    0 0 26px rgba(217, 75, 255, 0.85),
    0 0 50px rgba(63, 216, 255, 0.4);
}
.hero-title span:last-child { color: var(--gold); }

.ticker-tag {
  display: inline-block;
  margin-top: 18px;
  font-size: clamp(1.6rem, 3.5vw, 2.3rem);
  letter-spacing: 0.08em;
  color: var(--ink);
  background: var(--cyan);
  border: var(--stroke);
  border-radius: 12px;
  padding: 2px 16px;
  box-shadow: 4px 4px 0 var(--neon);
}

.section-title {
  font-size: clamp(2.4rem, 6vw, 4rem);
  line-height: 1;
}
.panel--paper .section-title { text-shadow: 4px 4px 0 var(--gold); }

/* speech bubble */
.speech { position: relative; padding-left: 14px; border-left: 6px solid var(--neon); }

.bubble {
  position: absolute;
  z-index: 3;
  font-size: clamp(1.2rem, 2.4vw, 1.7rem);
  letter-spacing: 0.05em;
  color: var(--ink);
  background: #fff;
  border: var(--stroke);
  border-radius: 999px;
  padding: 8px 20px;
  box-shadow: 4px 4px 0 var(--ink);
}
.bubble::after {
  content: '';
  position: absolute;
  bottom: -18px;
  left: 30px;
  border-width: 18px 12px 0 12px;
  border-style: solid;
  border-color: var(--ink) transparent transparent transparent;
}
.bubble::before {
  content: '';
  position: absolute;
  bottom: -11px;
  left: 33px;
  z-index: 1;
  border-width: 12px 9px 0 9px;
  border-style: solid;
  border-color: #fff transparent transparent transparent;
}
.bubble--hero { top: -20px; left: -12px; }
.bubble--static { position: relative; align-self: flex-start; }

/* starburst */
.burst {
  position: absolute;
  z-index: 3;
  top: -26px;
  right: -18px;
  width: 110px;
  height: 110px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: 1.35rem;
  line-height: 1;
  color: var(--ink);
  background: var(--gold);
  clip-path: polygon(50% 0%, 61% 18%, 82% 9%, 80% 32%, 100% 38%, 85% 54%, 98% 73%, 75% 76%, 72% 100%, 54% 86%, 36% 100%, 30% 78%, 6% 80%, 16% 58%, 0% 42%, 20% 32%, 16% 10%, 38% 18%);
  filter: drop-shadow(3px 3px 0 var(--ink));
}
.burst span { transform: translateY(2px); }

/* ---------- CA box ---------- */
.ca-box {
  display: flex;
  align-items: stretch;
  background: #fff;
  border: var(--stroke);
  border-radius: 12px;
  overflow: hidden;
}
.ca-box code {
  flex: 1;
  min-width: 0;
  padding: 10px 14px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.95rem;
  color: var(--ink);
  word-break: break-all;
  display: flex;
  align-items: center;
}
.copy-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: 'Bangers', cursive;
  font-size: 1.2rem;
  letter-spacing: 0.06em;
  padding: 0 18px;
  background: var(--ink);
  color: var(--gold);
  border-left: 4px solid var(--ink);
  cursor: pointer;
  transition: background 0.15s ease;
}
.copy-btn:hover { background: #262340; }
.copy-btn.copied { background: #1f8a4c; color: #fff; }

/* ---------- about features ---------- */
.feature-ico {
  font-size: 2.8rem;
  filter: drop-shadow(3px 3px 0 var(--ink));
}

/* ---------- how to buy doors ---------- */
.door {
  position: relative;
  padding: 26px 22px 34px;
  background:
    linear-gradient(var(--paper), var(--paper)) padding-box;
  color: var(--ink);
  border: var(--stroke);
  border-radius: 90px 90px 14px 14px;
  box-shadow: var(--shadow);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.door::before {
  content: '';
  position: absolute;
  inset: 10px;
  border: 2px dashed rgba(10, 10, 15, 0.25);
  border-radius: 80px 80px 8px 8px;
  pointer-events: none;
}
.door:nth-child(1) { box-shadow: 7px 7px 0 var(--neon); }
.door:nth-child(2) { box-shadow: 7px 7px 0 var(--cyan); }
.door:nth-child(3) { box-shadow: 7px 7px 0 var(--gold); }
.door:nth-child(4) { box-shadow: 7px 7px 0 var(--neon); }
.door:hover { transform: translateY(-5px); }

.door__plate {
  margin-top: 14px;
  font-size: 1.2rem;
  letter-spacing: 0.1em;
  background: var(--ink);
  color: var(--gold);
  padding: 2px 16px;
  border-radius: 8px;
}
.door__ico {
  font-size: 2.8rem;
  width: 84px;
  height: 84px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: var(--stroke);
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 3px 3px 0 var(--ink);
}
.door p { font-size: 1.05rem; line-height: 1.45; font-weight: 700; }
.door__knob {
  position: absolute;
  right: 22px;
  top: 55%;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--gold);
  border: 3px solid var(--ink);
}

/* ---------- community ---------- */
.social-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 20px 10px;
  color: var(--ink);
  border: var(--stroke);
  border-radius: 16px;
  box-shadow: 5px 5px 0 var(--ink);
  transition: transform 0.12s ease, box-shadow 0.12s ease;
}
.social-card i { font-size: 2.4rem; }
.social-card span { font-size: 1.35rem; letter-spacing: 0.06em; }
.social-card:hover { transform: translate(-3px, -3px); box-shadow: 8px 8px 0 var(--ink); }
.social-card--neon { background: var(--neon); color: #fff; }
.social-card--gold { background: var(--gold); }
.social-card--cyan { background: var(--cyan); }

/* ---------- footer ---------- */
.footer {
  border-top: 4px solid var(--ink);
  background: rgba(8, 7, 26, 0.9);
  box-shadow: 0 -3px 0 var(--neon);
}

@media (max-width: 640px) {
  .burst { width: 88px; height: 88px; font-size: 1.1rem; top: -18px; right: -8px; }
  .bubble--hero { left: -4px; top: -16px; }
  .moon { width: 48px; height: 48px; top: 90px; }
}
