:root {
  --bg: #090512;
  --bg-2: #160c26;
  --text: #ffffff;
  --text-soft: rgba(255, 255, 255, 0.78);
  --text-muted: rgba(255, 255, 255, 0.52);

  --primary: #9d6bff;
  --primary-2: #ff6fb0;
  --accent: #ffdceb;

  --shadow-lg: 0 24px 60px rgba(0, 0, 0, 0.38);
  --shadow-md: 0 16px 34px rgba(0, 0, 0, 0.26);

  --mobile-width: 430px;
}

* {
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

html,
body {
  margin: 0;
  padding: 0;
  min-height: 100%;
}

body {
  font-family: "Pretendard", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 16% 14%, rgba(157, 107, 255, 0.24), transparent 28%),
    radial-gradient(circle at 84% 18%, rgba(255, 111, 176, 0.18), transparent 28%),
    radial-gradient(circle at 50% 78%, rgba(129, 97, 255, 0.12), transparent 28%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 58%, #12091f 100%);
  overflow-x: hidden;
}

body.is-transitioning {
  pointer-events: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  border: none;
  background: none;
  color: inherit;
  cursor: pointer;
}

img {
  display: block;
  max-width: 100%;
}

.page {
  position: relative;
  min-height: 100vh;
  isolation: isolate;
}

.bg-orb {
  position: absolute;
  border-radius: 999px;
  filter: blur(90px);
  opacity: 0.68;
  pointer-events: none;
  z-index: -2;
}

.orb-1 {
  width: 260px;
  height: 260px;
  top: 68px;
  left: -60px;
  background: rgba(157, 107, 255, 0.34);
}

.orb-2 {
  width: 300px;
  height: 300px;
  top: 120px;
  right: -80px;
  background: rgba(255, 111, 176, 0.24);
}

.orb-3 {
  width: 280px;
  height: 280px;
  bottom: 120px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(121, 88, 255, 0.16);
}

.app-shell {
  width: min(calc(100% - 24px), var(--mobile-width));
  margin: 0 auto;
  padding: 16px 0 40px;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 4px 2px 18px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.brand-badge {
  width: 38px;
  height: 38px;
  border-radius: 13px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  box-shadow: 0 10px 28px rgba(157, 107, 255, 0.34);
  font-weight: 800;
}

.brand-copy {
  display: grid;
  gap: 2px;
}

.brand-name {
  font-size: 1rem;
  line-height: 1;
  letter-spacing: -0.03em;
  font-weight: 800;
}

.brand-sub {
  font-size: 0.75rem;
  color: var(--text-muted);
  line-height: 1;
}

.topbar-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--text-muted);
  font-size: 0.76rem;
  white-space: nowrap;
  backdrop-filter: blur(12px);
}

.dot {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--primary-2), var(--primary));
  box-shadow: 0 0 14px rgba(255, 111, 176, 0.8);
}

.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.is-visible,
.reveal.visible-now {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 380px) {
  .app-shell {
    width: min(calc(100% - 18px), 430px);
  }

  .topbar-pill {
    display: none;
  }
}