/* ==========================================================================
   Temporary Parking — kjh.ctrlcv.kr
   HTML5 / CSS3 only. Animations use transform & opacity.
   ========================================================================== */

:root {
  --bg-deep: #070814;
  --bg-card: rgba(16, 20, 42, 0.62);
  --border-subtle: rgba(255, 255, 255, 0.1);
  --accent-cyan: #38bdf8;
  --accent-purple: #a855f7;
  --accent-indigo: #6366f1;
  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --text-dim: #64748b;
  --online: #34d399;
  --font-family: 'Plus Jakarta Sans', 'Noto Sans KR', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  --radius-card: 28px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  font-family: var(--font-family);
  background-color: var(--bg-deep);
  color: var(--text-main);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  line-height: 1.7;
  letter-spacing: -0.01em;
}

.ambient-backdrop {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.glow-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  will-change: transform, opacity;
  animation: orbDrift 18s var(--ease) infinite alternate;
}

.orb-a {
  width: 42vw;
  height: 42vw;
  max-width: 520px;
  max-height: 520px;
  top: -12%;
  left: -8%;
  background: rgba(99, 102, 241, 0.42);
}

.orb-b {
  width: 38vw;
  height: 38vw;
  max-width: 460px;
  max-height: 460px;
  right: -10%;
  top: 18%;
  background: rgba(168, 85, 247, 0.38);
  animation-duration: 22s;
  animation-delay: -4s;
}

.orb-c {
  width: 34vw;
  height: 34vw;
  max-width: 420px;
  max-height: 420px;
  bottom: -16%;
  left: 28%;
  background: rgba(56, 189, 248, 0.28);
  animation-duration: 26s;
  animation-delay: -8s;
}

@keyframes orbDrift {
  0% {
    transform: translate3d(0, 0, 0) scale(1);
    opacity: 0.85;
  }
  100% {
    transform: translate3d(4%, -6%, 0) scale(1.12);
    opacity: 1;
  }
}

.grid-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse at center, rgba(0, 0, 0, 0.55), transparent 75%);
}

.parking-header,
.parking-main,
.parking-footer {
  position: relative;
  z-index: 1;
}

.parking-header {
  padding: 1.25rem 1.5rem 0;
}

.header-inner {
  max-width: 920px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.domain-brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

.brand-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-cyan), var(--accent-purple));
  box-shadow: 0 0 14px var(--accent-purple);
  animation: pulseDot 2.4s ease-in-out infinite alternate;
}

@keyframes pulseDot {
  0% {
    transform: scale(0.92);
    opacity: 0.8;
  }
  100% {
    transform: scale(1.15);
    opacity: 1;
  }
}

.brand-name {
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.brand-name .accent {
  color: var(--accent-cyan);
}

.server-clock {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  border: 1px solid var(--border-subtle);
  background: rgba(255, 255, 255, 0.04);
  font-variant-numeric: tabular-nums;
}

.clock-label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--accent-cyan);
}

.server-clock time {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-main);
}

.parking-main {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2.5rem 1.25rem 2rem;
}

.parking-card {
  width: 100%;
  max-width: 860px;
  padding: clamp(1.75rem, 4vw, 3.25rem);
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-card);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
  box-shadow:
    0 24px 60px -24px rgba(0, 0, 0, 0.7),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.4rem 0.95rem;
  margin-bottom: 1.5rem;
  border-radius: 999px;
  border: 1px solid rgba(56, 189, 248, 0.28);
  background: rgba(56, 189, 248, 0.08);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--accent-cyan);
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--online);
  box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.6);
  animation: livePulse 1.8s ease-out infinite;
}

@keyframes livePulse {
  0% {
    box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.55);
  }
  70% {
    box-shadow: 0 0 0 8px rgba(52, 211, 153, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(52, 211, 153, 0);
  }
}

.parking-title {
  font-size: clamp(1.7rem, 4.4vw, 2.7rem);
  font-weight: 800;
  line-height: 1.28;
  letter-spacing: -0.03em;
  margin-bottom: 1rem;
  word-break: keep-all;
  overflow-wrap: break-word;
}

.gradient-text {
  background: linear-gradient(135deg, #38bdf8 0%, #c084fc 50%, #f472b6 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.parking-desc {
  color: var(--text-muted);
  font-size: 1.02rem;
  margin-bottom: 1.75rem;
}

.parking-desc strong {
  color: var(--text-main);
  font-weight: 600;
}

.progress-box {
  margin-bottom: 1.75rem;
}

.progress-meta {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.85rem;
  color: var(--text-dim);
  margin-bottom: 0.55rem;
}

.progress-meta strong {
  color: var(--accent-cyan);
  font-variant-numeric: tabular-nums;
}

.progress-track {
  height: 8px;
  border-radius: 999px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.08);
}

.progress-bar {
  width: 85%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--accent-indigo), var(--accent-purple), var(--accent-cyan));
  transform-origin: left center;
  animation: fillBar 1.6s var(--ease) both;
}

@keyframes fillBar {
  from {
    transform: scaleX(0);
    opacity: 0.4;
  }
  to {
    transform: scaleX(1);
    opacity: 1;
  }
}

.spec-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.9rem;
}

.spec-item {
  padding: 1rem 1.05rem;
  border-radius: 16px;
  border: 1px solid var(--border-subtle);
  background: rgba(8, 10, 24, 0.45);
}

.spec-tag {
  display: block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--accent-purple);
  margin-bottom: 0.4rem;
}

.spec-item strong {
  display: block;
  font-size: 0.98rem;
  margin-bottom: 0.25rem;
}

.spec-item p {
  font-size: 0.82rem;
  color: var(--text-dim);
}

.status-online {
  color: var(--online);
}

.parking-footer {
  padding: 0 1.25rem 1.5rem;
  text-align: center;
  color: var(--text-dim);
  font-size: 0.82rem;
}

.parking-footer strong {
  color: var(--text-muted);
  font-weight: 600;
}

@media (max-width: 720px) {
  .spec-grid {
    grid-template-columns: 1fr;
  }

  .hide-sm {
    display: none;
  }

  .header-inner {
    flex-wrap: wrap;
  }

  .status-pill {
    letter-spacing: 0.06em;
  }
}
