/* =========================================================
   VBP CITY WORLD — Coming Soon
   Tokens
   ========================================================= */
:root {
  --bg-void:      #04070d;
  --bg-deep:      #060c18;
  --bg-panel:     #0a1526;
  --line:         rgba(120, 200, 255, 0.16);

  --cyan:         #29f1ff;
  --cyan-dim:     #0fb8cf;
  --blue:         #3d7bff;
  --blue-deep:    #1531a6;
  --ink:          #eaf6ff;
  --ink-dim:      #90a8c4;

  --font-display: 'Orbitron', sans-serif;
  --font-body:    'Rajdhani', sans-serif;
  --font-mono:    'Share Tech Mono', monospace;

  --radius: 10px;
  --ease: cubic-bezier(.16,.8,.28,1);
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg-void);
  color: var(--ink);
  font-family: var(--font-body);
  overflow-x: hidden;
  min-height: 100%;
}

body {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

::selection { background: var(--cyan); color: #01131a; }

a { text-decoration: none; color: inherit; }

/* =========================================================
   Ambient background layers
   ========================================================= */
.bg-grid {
  position: fixed;
  inset: 0;
  z-index: 0;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 46px 46px;
  -webkit-mask-image: radial-gradient(ellipse 90% 70% at 50% 30%, #000 10%, transparent 75%);
          mask-image: radial-gradient(ellipse 90% 70% at 50% 30%, #000 10%, transparent 75%);
  opacity: 0.55;
  animation: gridDrift 40s linear infinite;
}
@keyframes gridDrift {
  from { background-position: 0 0, 0 0; }
  to   { background-position: 0 400px, 400px 0; }
}

.bg-glow {
  position: fixed;
  z-index: 0;
  border-radius: 50%;
  filter: blur(90px);
  pointer-events: none;
}
.bg-glow--cyan {
  width: 46vw; height: 46vw;
  top: -14vw; left: -10vw;
  background: radial-gradient(circle, rgba(41,241,255,0.28), transparent 70%);
}
.bg-glow--blue {
  width: 50vw; height: 50vw;
  bottom: -20vw; right: -14vw;
  background: radial-gradient(circle, rgba(61,123,255,0.26), transparent 70%);
}

.bg-scanline {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: repeating-linear-gradient(
    to bottom,
    rgba(255,255,255,0.025) 0px,
    rgba(255,255,255,0.025) 1px,
    transparent 2px,
    transparent 3px
  );
  mix-blend-mode: overlay;
}

/* City skyline signature element */
.bg-skyline {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 0;
  height: 26vh;
  min-height: 160px;
  max-height: 260px;
  opacity: 0.9;
  pointer-events: none;
}
.bg-skyline svg { width: 100%; height: 100%; display: block; }
.skyline-buildings rect {
  fill: #071224;
  stroke: rgba(41,241,255,0.22);
  stroke-width: 1;
}
.bg-skyline::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, var(--bg-void) 0%, rgba(4,7,13,0.4) 40%, transparent 75%);
}
.bg-skyline::before {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--cyan), transparent);
  box-shadow: 0 0 18px 2px rgba(41,241,255,0.7);
  animation: horizonPulse 3.4s ease-in-out infinite;
}
@keyframes horizonPulse {
  0%, 100% { opacity: 0.55; }
  50%      { opacity: 1; }
}

/* =========================================================
   Layout
   ========================================================= */
.stage {
  position: relative;
  z-index: 2;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 7vh 20px 12vh;
  max-width: 880px;
  margin: 0 auto;
  gap: 22px;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(16px);
  animation: revealUp 0.8s var(--ease) forwards;
}
[data-reveal]:nth-of-type(1) { animation-delay: .05s; }
[data-reveal]:nth-of-type(2) { animation-delay: .16s; }
[data-reveal]:nth-of-type(3) { animation-delay: .27s; }
[data-reveal]:nth-of-type(4) { animation-delay: .38s; }
[data-reveal]:nth-of-type(5) { animation-delay: .49s; }
[data-reveal]:nth-of-type(6) { animation-delay: .60s; }
[data-reveal]:nth-of-type(7) { animation-delay: .71s; }
@keyframes revealUp {
  to { opacity: 1; transform: translateY(0); }
}

/* Logo */
.logo-wrap { display: flex; justify-content: center; }
.logo-img {
  width: min(70vw, 380px);
  height: auto;
  filter: drop-shadow(0 0 22px rgba(41,241,255,0.35)) drop-shadow(0 0 42px rgba(61,123,255,0.25));
}

/* Headline */
.headline {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(1.5rem, 5vw, 2.6rem);
  letter-spacing: 0.04em;
  line-height: 1.25;
  margin: 0;
  color: var(--ink);
  text-shadow:
    0 0 10px rgba(41,241,255,0.55),
    0 0 26px rgba(61,123,255,0.35);
  position: relative;
}

/* Description */
.description {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: clamp(0.98rem, 2vw, 1.15rem);
  color: var(--ink-dim);
  max-width: 540px;
  line-height: 1.6;
  margin: 0;
}
.description strong { color: var(--cyan); font-weight: 700; }

/* Buttons */
.btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
  margin-top: 4px;
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 14px 26px;
  border-radius: var(--radius);
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease), background 0.2s var(--ease);
}
.btn--primary {
  background: linear-gradient(135deg, var(--cyan), var(--blue));
  color: #011019;
  box-shadow: 0 0 18px rgba(41,241,255,0.4), inset 0 0 0 1px rgba(255,255,255,0.25);
}
.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 26px rgba(41,241,255,0.6), inset 0 0 0 1px rgba(255,255,255,0.35);
}
.btn--ghost {
  background: rgba(41,241,255,0.06);
  color: var(--ink-dim);
  border-color: var(--line);
  cursor: not-allowed;
  opacity: 0.75;
}

/* Countdown */
.countdown {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 10px;
  padding: 16px 22px;
  background: rgba(10, 21, 38, 0.55);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  backdrop-filter: blur(6px);
  position: relative;
}
.countdown::before,
.countdown::after {
  content: "";
  position: absolute;
  width: 14px; height: 14px;
  border: 2px solid var(--cyan);
}
.countdown::before { top: -1px; left: -1px; border-right: none; border-bottom: none; }
.countdown::after  { bottom: -1px; right: -1px; border-left: none; border-top: none; }

.countdown__unit {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 58px;
}
.countdown__value {
  font-family: var(--font-mono);
  font-size: clamp(1.5rem, 5vw, 2.2rem);
  color: var(--cyan);
  text-shadow: 0 0 14px rgba(41,241,255,0.7);
  line-height: 1;
}
.countdown__label {
  font-family: var(--font-body);
  font-size: 0.66rem;
  letter-spacing: 0.14em;
  color: var(--ink-dim);
  margin-top: 6px;
}
.countdown__sep {
  font-family: var(--font-mono);
  font-size: clamp(1.2rem, 4vw, 1.8rem);
  color: var(--blue);
  transform: translateY(-8px);
  opacity: 0.7;
}

/* Status line */
.status-line {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  letter-spacing: 0.05em;
  color: var(--ink-dim);
  margin-top: 6px;
}
.status-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 10px 2px rgba(41,241,255,0.8);
  animation: statusBlink 1.6s ease-in-out infinite;
}
@keyframes statusBlink {
  0%, 100% { opacity: 1; }
  50%      { opacity: 0.25; }
}

/* Loading bar */
.loading-wrap {
  width: min(100%, 420px);
  margin-top: 4px;
}
.loading-bar {
  width: 100%;
  height: 8px;
  border-radius: 999px;
  background: rgba(41,241,255,0.08);
  border: 1px solid var(--line);
  overflow: hidden;
}
.loading-bar__fill {
  height: 100%;
  width: 0%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--blue), var(--cyan));
  box-shadow: 0 0 12px rgba(41,241,255,0.7);
  transition: width 0.6s var(--ease);
}
.loading-caption {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  color: var(--ink-dim);
  margin-top: 8px;
}
#loadingPercent { color: var(--cyan); }

/* =========================================================
   Footer
   ========================================================= */
.site-footer {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 18px 16px 22px;
  font-family: var(--font-body);
  font-size: 0.78rem;
  color: var(--ink-dim);
  border-top: 1px solid var(--line);
  background: linear-gradient(to top, rgba(6,12,24,0.9), transparent);
}
.footer-logo {
  width: 22px; height: 22px;
  border-radius: 6px;
  object-fit: cover;
  box-shadow: 0 0 8px rgba(41,241,255,0.4);
}
.footer-text { display: flex; align-items: center; gap: 8px; letter-spacing: 0.03em; }
.footer-text .dot { color: var(--blue); }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 560px) {
  .stage { gap: 18px; padding: 6vh 16px 10vh; }
  .countdown { gap: 6px; padding: 12px 14px; }
  .countdown__unit { min-width: 46px; }
  .countdown__sep { transform: translateY(-6px); }
  .btn { padding: 12px 20px; font-size: 0.7rem; }
  .site-footer { flex-direction: column; gap: 4px; text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}
