:root {
  --night: #0b0d12;
  --ink: #11151c;
  --panel: #151923;
  --soft: #f7f1e7;
  --paper: #fffaf0;
  --muted: #75808f;
  --line: rgba(255, 255, 255, 0.13);
  --lime: #b8ff4d;
  --coral: #ff5d73;
  --blue: #3bd7ff;
  --violet: #8e6cff;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.28);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Apple SD Gothic Neo", "Pretendard", "Noto Sans KR", system-ui, sans-serif;
  letter-spacing: 0;
}

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

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

button,
input {
  font: inherit;
}

.topbar {
  position: fixed;
  z-index: 30;
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  width: min(1120px, calc(100% - 32px));
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 12px 16px;
  color: #ffffff;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(11, 13, 18, 0.58);
  backdrop-filter: blur(18px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.16);
}

.brand,
.topbar nav,
.hero-actions,
.live-top,
.reaction-row,
.phone-status,
.join-form div,
.footer {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  font-weight: 900;
  font-size: 1.1rem;
}

.brand-icon {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 64% 36%, var(--blue) 0 13%, transparent 14%),
    conic-gradient(from 210deg, var(--lime), var(--blue), var(--coral), var(--lime));
  box-shadow: 0 0 28px rgba(184, 255, 77, 0.42);
}

.topbar nav {
  gap: 24px;
  color: rgba(255, 255, 255, 0.78);
  font-weight: 700;
  font-size: 0.94rem;
}

.hero {
  position: relative;
  min-height: 94vh;
  overflow: hidden;
  display: grid;
  align-items: end;
  padding: 132px 24px 72px;
  background: var(--night);
}

.hero-image,
.hero-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-image {
  object-fit: cover;
}

.hero-overlay {
  background:
    radial-gradient(circle at 74% 26%, rgba(59, 215, 255, 0.22), transparent 28%),
    linear-gradient(90deg, rgba(7, 8, 12, 0.94), rgba(7, 8, 12, 0.64) 45%, rgba(7, 8, 12, 0.16) 78%),
    linear-gradient(0deg, rgba(7, 8, 12, 0.62), rgba(7, 8, 12, 0.05));
}

.hero-shell {
  position: relative;
  z-index: 1;
  width: min(1120px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 46px;
  align-items: end;
}

.label {
  margin: 0 0 14px;
  color: var(--lime);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero h1,
.section-title h2,
.split h2,
.community h2,
.join-copy h2 {
  margin: 0;
  letter-spacing: 0;
  line-height: 1.02;
}

.hero h1 {
  max-width: 720px;
  color: #ffffff;
  font-size: clamp(3rem, 7vw, 5.9rem);
}

.hero-copy > p {
  max-width: 640px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(1.04rem, 2vw, 1.28rem);
  line-height: 1.75;
}

.hero-actions {
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 14px 20px;
  border-radius: 8px;
  font-weight: 900;
}

.button.primary {
  color: var(--night);
  background: var(--lime);
}

.button.secondary {
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.26);
  background: rgba(255, 255, 255, 0.09);
}

.live-card {
  padding: 18px;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  background: rgba(12, 15, 22, 0.76);
  backdrop-filter: blur(20px);
  box-shadow: var(--shadow);
}

.live-top,
.phone-status {
  justify-content: space-between;
  gap: 12px;
}

.live-top span,
.phone-status span {
  color: rgba(255, 255, 255, 0.66);
  font-size: 0.78rem;
  font-weight: 900;
}

.live-top strong,
.phone-status strong {
  color: var(--lime);
}

.live-card h2 {
  margin: 18px 0;
  font-size: 1.55rem;
  line-height: 1.25;
}

.vote-stack {
  display: grid;
  gap: 10px;
}

.vote-card,
.choice {
  position: relative;
  overflow: hidden;
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 8px;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
  cursor: pointer;
}

.vote-card {
  display: grid;
  grid-template-columns: 34px 1fr auto;
  align-items: center;
  gap: 10px;
  min-height: 58px;
  padding: 12px;
  text-align: left;
}

.vote-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: var(--value);
  background: linear-gradient(90deg, rgba(184, 255, 77, 0.22), transparent);
}

.vote-card > * {
  position: relative;
}

.vote-card span {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  color: var(--night);
  border-radius: 7px;
  background: var(--lime);
  font-weight: 900;
}

.vote-card em {
  color: var(--blue);
  font-style: normal;
  font-weight: 900;
}

.reaction-row {
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.reaction-row span,
.result-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 7px 11px;
  color: var(--night);
  border-radius: 999px;
  background: var(--soft);
  font-weight: 900;
}

.playground,
.section {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  padding: 94px 0;
}

.section-title {
  max-width: 760px;
  margin-bottom: 34px;
}

.section-title h2,
.split h2,
.community h2,
.join-copy h2 {
  font-size: clamp(2.1rem, 4.6vw, 4.2rem);
}

.section-title p,
.split p,
.community p,
.join-copy p,
.mode-grid p {
  color: var(--muted);
  font-size: 1.04rem;
  line-height: 1.78;
}

.demo-panel {
  display: grid;
  grid-template-columns: 430px minmax(0, 1fr);
  gap: 34px;
  align-items: center;
  padding: 22px;
  color: #ffffff;
  border-radius: 8px;
  background:
    radial-gradient(circle at 12% 0%, rgba(184, 255, 77, 0.24), transparent 26%),
    linear-gradient(135deg, #11151c, #202535);
  box-shadow: var(--shadow);
}

.demo-panel img,
.split img,
.community img {
  width: 100%;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.phone-frame {
  min-height: 560px;
  padding: 24px;
  border: 10px solid #07090d;
  border-radius: 34px;
  background:
    radial-gradient(circle at 50% 0%, rgba(59, 215, 255, 0.28), transparent 34%),
    #11151c;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08), 0 24px 50px rgba(0, 0, 0, 0.32);
}

.mood-meter {
  margin: 26px 0;
}

.mood-meter span {
  display: block;
  margin-bottom: 8px;
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.mood-meter div {
  height: 12px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
}

.mood-meter i {
  display: block;
  width: 86%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--lime), var(--blue), var(--coral));
  transition: width 220ms ease;
}

.phone-frame h3 {
  margin: 0 0 18px;
  font-size: 2rem;
  line-height: 1.18;
}

.choice-grid {
  display: grid;
  gap: 12px;
}

.choice {
  min-height: 84px;
  padding: 16px;
  text-align: left;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.choice:hover,
.choice.is-selected {
  transform: translateY(-2px);
  border-color: rgba(184, 255, 77, 0.7);
  background: rgba(184, 255, 77, 0.14);
}

.choice b,
.choice small {
  display: block;
}

.choice small {
  margin-top: 8px;
  color: var(--blue);
  font-weight: 900;
}

.result-pill {
  width: fit-content;
  margin-top: 20px;
  background: var(--lime);
}

.split,
.community,
.join-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 52px;
  align-items: center;
}

.check-list {
  display: grid;
  gap: 12px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 30px;
  font-weight: 800;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.35em;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: conic-gradient(var(--lime), var(--blue), var(--coral), var(--lime));
}

.modes {
  padding-top: 28px;
}

.mode-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.mode-grid article {
  min-height: 240px;
  padding: 24px;
  border: 1px solid rgba(17, 21, 28, 0.1);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 12px 34px rgba(17, 21, 28, 0.08);
}

.mode-grid span {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 50px;
  color: var(--night);
  border-radius: 50%;
  background: var(--lime);
  font-weight: 900;
}

.mode-grid article:nth-child(2) span {
  background: var(--blue);
}

.mode-grid article:nth-child(3) span {
  background: var(--coral);
}

.mode-grid h3 {
  margin: 0;
  font-size: 1.35rem;
}

.community {
  padding: 92px max(24px, calc((100vw - 1120px) / 2));
  color: #ffffff;
  background: var(--night);
}

.community .label {
  color: var(--blue);
}

.community p {
  color: rgba(255, 255, 255, 0.72);
}

.quote-list {
  display: grid;
  gap: 14px;
}

blockquote {
  margin: 0;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  line-height: 1.75;
}

cite {
  display: block;
  margin-top: 14px;
  color: var(--lime);
  font-style: normal;
  font-weight: 900;
}

.join-section {
  width: min(1120px, calc(100% - 40px));
  margin: 82px auto;
  padding: 42px;
  border-radius: 8px;
  background:
    radial-gradient(circle at 12% 12%, rgba(255, 93, 115, 0.22), transparent 32%),
    linear-gradient(135deg, #ffffff, #eefcff);
  box-shadow: 0 18px 60px rgba(17, 21, 28, 0.1);
}

.join-form {
  padding: 24px;
  border: 1px solid rgba(17, 21, 28, 0.1);
  border-radius: 8px;
  background: #ffffff;
}

.join-form label {
  display: block;
  margin-bottom: 10px;
  font-weight: 900;
}

.join-form div {
  gap: 10px;
}

.join-form input {
  width: 100%;
  min-height: 54px;
  padding: 0 16px;
  color: var(--ink);
  border: 1px solid rgba(17, 21, 28, 0.12);
  border-radius: 8px;
  outline: 0;
}

.join-form input:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(59, 215, 255, 0.16);
}

.join-form button {
  flex: 0 0 auto;
  min-height: 54px;
  padding: 0 18px;
  color: var(--night);
  border: 0;
  border-radius: 8px;
  background: var(--lime);
  font-weight: 900;
  cursor: pointer;
}

.form-message {
  display: block;
  min-height: 22px;
  margin-top: 12px;
  color: var(--muted);
  font-weight: 800;
}

.footer {
  align-items: stretch;
  justify-content: space-between;
  gap: 24px;
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  padding: 34px 0 48px;
  color: var(--muted);
  border-top: 1px solid rgba(17, 21, 28, 0.1);
  font-size: 0.92rem;
}

.footer-brand,
.footer-info,
.footer-links {
  display: grid;
  align-content: start;
  gap: 8px;
}

.footer-brand {
  min-width: 240px;
}

.footer-brand strong,
.footer a {
  color: var(--ink);
}

.footer-brand strong {
  font-size: 1.18rem;
  font-weight: 900;
}

.footer-info p,
.copyright {
  margin: 0;
}

.footer-links {
  min-width: 120px;
  font-weight: 800;
}

.copyright {
  align-self: end;
  white-space: nowrap;
}

@media (max-width: 920px) {
  .topbar nav {
    display: none;
  }

  .hero-shell,
  .demo-panel,
  .split,
  .community,
  .join-section {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .live-card {
    max-width: 430px;
  }

  .playground,
  .section {
    width: min(100% - 28px, 720px);
    padding: 70px 0;
  }

  .community {
    padding: 70px 20px;
  }

  .mode-grid {
    grid-template-columns: 1fr;
  }

  .join-section {
    width: calc(100% - 28px);
    margin: 64px auto;
    padding: 28px;
  }
}

@media (max-width: 560px) {
  .topbar {
    top: 10px;
    width: calc(100% - 20px);
    justify-content: center;
  }

  .hero {
    padding: 110px 18px 42px;
  }

  .hero h1 {
    font-size: clamp(2.75rem, 14vw, 4.2rem);
  }

  .hero-actions,
  .join-form div,
  .footer {
    align-items: stretch;
    flex-direction: column;
  }

  .copyright {
    align-self: auto;
    white-space: normal;
  }

  .button,
  .join-form button {
    width: 100%;
  }

  .demo-panel {
    padding: 14px;
  }

  .phone-frame {
    min-height: 520px;
    padding: 18px;
    border-width: 8px;
  }
}
