/* ===========================================================
   Gencity Studio — Coming Soon
   Faithful rebuild of Dark-1.png
   =========================================================== */

:root {
  --bg:          #0a0b05;
  --bg-2:        #0d0f07;
  --olive:       #373c10;   /* COMING SOON headline */
  --olive-glow:  #4a5215;
  --lime:        #d8df10;   /* button / accents / period */
  --lime-bright: #e9f24a;
  --lime-dim:    #9a9d0f;   /* muted sparkles */
  --grid-line:   rgba(140, 160, 30, 0.045);
  --text-dim:    #6b6f55;
  --field-bg:    rgba(255, 255, 255, 0.015);
  --field-border:rgba(160, 175, 60, 0.22);
}

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

html, body { height: 100%; }

body {
  background: var(--bg);
  color: #e9eede;
  font-family: "Space Mono", ui-monospace, monospace;
  min-height: 100dvh;
  overflow-x: hidden;
  position: relative;
  -webkit-font-smoothing: antialiased;
}

/* radial vignette so edges sink into black like the source render */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(120% 90% at 35% 45%, transparent 40%, rgba(0,0,0,0.55) 100%);
  z-index: 3;
}

/* ---------- Background pixel grid ---------- */
.grid-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  background-image:
    linear-gradient(var(--grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
  background-size: 46px 46px, 46px 46px;
  mask-image: radial-gradient(120% 100% at 30% 40%, #000 30%, transparent 90%);
  -webkit-mask-image: radial-gradient(120% 100% at 30% 40%, #000 30%, transparent 90%);
}

/* scattered darker/brighter pixel blocks like the source noise */
.noise-blocks {
  position: fixed;
  inset: 0;
  z-index: 0;
  background-image:
    radial-gradient(rgba(120,140,20,0.05) 1px, transparent 1.5px);
  background-size: 92px 92px;
  background-position: 12px 30px;
  opacity: 0.6;
}

/* ---------- Stage ---------- */
.stage {
  position: relative;
  z-index: 2;
  width: min(1180px, 92vw);
  margin: 0 auto;
  min-height: 100dvh;
  padding: clamp(24px, 4vw, 48px) 0 96px;
  display: grid;
  grid-template-columns: 1fr;
  align-content: center;
}

/* ---------- Logo ---------- */
.brand {
  position: absolute;
  top: clamp(22px, 4vw, 40px);
  left: 0;
}
.brand__logo {
  width: clamp(150px, 16vw, 215px);
  height: auto;
  display: block;
  filter: drop-shadow(0 8px 22px rgba(0,0,0,0.6));
  /* feather crop edges so the dark badge blends into the page */
  -webkit-mask-image: radial-gradient(88% 82% at 50% 50%, #000 72%, transparent 100%);
  mask-image: radial-gradient(88% 82% at 50% 50%, #000 72%, transparent 100%);
}

/* ---------- Hero ---------- */
.hero {
  max-width: 640px;
  margin-top: clamp(60px, 9vw, 40px);
}

.hero__title {
  font-family: "Pixelify Sans", sans-serif;
  font-weight: 700;
  line-height: 0.86;
  letter-spacing: 0.01em;
  font-size: clamp(64px, 13.5vw, 168px);
  color: var(--olive);
  text-shadow:
    0 0 1px var(--olive-glow),
    2px 2px 0 rgba(0,0,0,0.4);
  margin-bottom: clamp(28px, 4vw, 48px);
  user-select: none;
}
.hero__title .line { display: block; }
.hero__title .dot {
  color: var(--lime);
  text-shadow: 0 0 18px rgba(216, 223, 16, 0.5);
}

/* ---------- Subscribe form ---------- */
.subscribe { max-width: 470px; }

.subscribe__field {
  display: flex;
  align-items: stretch;
  gap: 6px;
  background: var(--field-bg);
  border: 1px solid var(--field-border);
  border-radius: 12px;
  padding: 7px;
  backdrop-filter: blur(2px);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.subscribe__field:focus-within {
  border-color: rgba(216, 223, 16, 0.5);
  box-shadow: 0 0 0 3px rgba(216, 223, 16, 0.08);
}

.subscribe__input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  color: #e9eede;
  font-family: "Space Mono", monospace;
  font-size: clamp(13px, 1.5vw, 15px);
  padding: 0 14px;
}
.subscribe__input::placeholder { color: var(--text-dim); }

.subscribe__btn {
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: var(--lime);
  color: #14160a;
  border: none;
  border-radius: 8px;
  font-family: "Pixelify Sans", sans-serif;
  font-weight: 600;
  font-size: clamp(14px, 1.6vw, 17px);
  letter-spacing: 0.02em;
  padding: 13px 26px;
  cursor: pointer;
  transition: transform 0.12s ease, background 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 6px 22px rgba(216, 223, 16, 0.18);
}
.subscribe__btn:hover {
  background: var(--lime-bright);
  box-shadow: 0 8px 28px rgba(216, 223, 16, 0.3);
  transform: translateY(-1px);
}
.subscribe__btn:active { transform: translateY(0); }
.subscribe__btn .arrow { font-size: 1.05em; line-height: 1; }

.subscribe__msg {
  min-height: 1.2em;
  margin-top: 12px;
  font-size: 13px;
  color: var(--text-dim);
}
.subscribe__msg.is-error { color: #e8794a; }
.subscribe__msg.is-ok { color: var(--lime); }

/* ---------- Mascot ---------- */
.mascot {
  position: absolute;
  right: clamp(-40px, -2vw, 0px);
  bottom: 0;
  width: clamp(330px, 46vw, 600px);
  pointer-events: none;
  z-index: 1;
  /* feather the rectangular crop so it blends into the dark bg */
  -webkit-mask-image: radial-gradient(64% 72% at 56% 60%, #000 62%, transparent 92%);
  mask-image: radial-gradient(64% 72% at 56% 60%, #000 62%, transparent 92%);
  animation: float 6s ease-in-out infinite;
}
.mascot__img {
  width: 100%;
  height: auto;
  display: block;
  filter: drop-shadow(0 24px 60px rgba(216, 223, 16, 0.10));
}

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

/* ---------- Sparkles ---------- */
.sparkle {
  position: absolute;
  font-family: "Pixelify Sans", sans-serif;
  font-weight: 700;
  color: var(--lime);
  z-index: 2;
  text-shadow: 0 0 12px rgba(216, 223, 16, 0.6);
  animation: twinkle 3.4s ease-in-out infinite;
}
.sparkle--1 { top: 50%;  left: 56%; font-size: 34px; animation-delay: 0s; }
.sparkle--2 { top: 70%;  left: 50%; font-size: 20px; color: var(--lime-dim); animation-delay: 0.8s; }
.sparkle--3 { top: 34%;  right: 6%; font-size: 16px; color: var(--lime-dim); animation-delay: 1.6s; }
.sparkle--4 { top: 78%;  right: 14%; font-size: 22px; animation-delay: 2.2s; }

@keyframes twinkle {
  0%, 100% { opacity: 0.35; transform: scale(0.85); }
  50%      { opacity: 1;    transform: scale(1.1); }
}

/* ---------- Footer ---------- */
.foot {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  width: min(1180px, 92vw);
  margin: 0 auto;
  padding: 18px 0;
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--text-dim);
}
.foot__tag { color: var(--lime-dim); }

/* ---------- Responsive ---------- */
@media (max-width: 760px) {
  .stage { align-content: start; padding-top: 120px; }
  .hero { margin-top: 0; }
  .mascot {
    position: relative;
    right: auto;
    margin: 36px auto 0;
    width: min(78vw, 380px);
  }
  .sparkle--1 { top: 58%; left: 8%; }
  .sparkle--3, .sparkle--4 { display: none; }
  .subscribe__field { flex-direction: column; gap: 8px; }
  .subscribe__input { padding: 12px 14px; }
  .subscribe__btn { justify-content: center; width: 100%; }
  .foot { position: static; width: min(1180px, 92vw); flex-direction: column; gap: 4px; padding-top: 32px; }
  body::after { background: radial-gradient(140% 70% at 50% 30%, transparent 50%, rgba(0,0,0,0.5) 100%); }
}

@media (prefers-reduced-motion: reduce) {
  .mascot, .sparkle { animation: none; }
}
