* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
}

:root {
  --bg-1: #060816;
  --bg-2: #0b1230;
  --glass-bg: rgba(255, 255, 255, 0.08);
  --glass-bg-strong: rgba(255, 255, 255, 0.12);
  --glass-border: rgba(255, 255, 255, 0.14);
  --text-main: #ffffff;
  --text-sub: rgba(255, 255, 255, 0.74);
  --text-soft: rgba(255, 255, 255, 0.58);
  --primary-1: #9b6bff;
  --primary-2: #5d7cff;
  --shadow-main: 0 20px 60px rgba(0, 0, 0, 0.32);
  --shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.18);
  --blur: 18px;
  --radius-xl: 30px;
  --radius-lg: 20px;
  --radius-md: 16px;
}

body {
  font-family: "Pretendard", "Apple SD Gothic Neo", Arial, sans-serif;
  color: var(--text-main);
  min-height: 100vh;
  background:
    radial-gradient(circle at 20% 20%, rgba(128, 92, 255, 0.25), transparent 24%),
    radial-gradient(circle at 80% 25%, rgba(68, 120, 255, 0.18), transparent 22%),
    radial-gradient(circle at 50% 80%, rgba(255, 255, 255, 0.06), transparent 28%),
    linear-gradient(135deg, var(--bg-1) 0%, var(--bg-2) 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 36px 36px;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,0.55), transparent 90%);
}

.app-shell {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding: 48px 16px 24px;
}

.mobile-frame {
  width: 100%;
  max-width: 430px;
  margin: 0 auto;
}

.screen {
  position: relative;
}

.card {
  position: relative;
  overflow: hidden;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-xl);
  padding: 28px 22px;
  box-shadow: var(--shadow-main);
  backdrop-filter: blur(var(--blur));
  -webkit-backdrop-filter: blur(var(--blur));
}

.card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background:
    linear-gradient(135deg, rgba(255,255,255,0.14), rgba(255,255,255,0.02) 38%, rgba(255,255,255,0.02) 100%);
}

.card::after {
  content: "";
  position: absolute;
  top: -80px;
  right: -80px;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(162, 109, 255, 0.24), transparent 70%);
  pointer-events: none;
}

.hidden {
  display: none;
}

.eyebrow {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  padding: 7px 12px;
  border-radius: 999px;
  color: #efe7ff;
  background: rgba(255, 255, 255, 0.09);
  border: 1px solid rgba(255,255,255,0.12);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.1);
  margin-bottom: 14px;
}

.main-title {
  position: relative;
  z-index: 1;
  margin: 0 0 14px;
  font-size: 30px;
  line-height: 1.26;
  letter-spacing: -0.5px;
  font-weight: 800;
}

.main-desc {
  position: relative;
  z-index: 1;
  margin: 0;
  color: var(--text-sub);
  font-size: 15px;
  line-height: 1.75;
}

.feature-list {
  position: relative;
  z-index: 1;
  margin: 22px 0 26px;
  display: grid;
  gap: 12px;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #f2f3ff;
  font-size: 14px;
  padding: 13px 14px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.08),
    0 8px 24px rgba(0,0,0,0.12);
}

.feature-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: linear-gradient(180deg, #d3b5ff, #7d80ff);
  box-shadow: 0 0 14px rgba(142, 109, 255, 0.7);
  flex-shrink: 0;
}

.btn {
  position: relative;
  z-index: 1;
  width: 100%;
  border: none;
  border-radius: 18px;
  padding: 16px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.18s ease, opacity 0.18s ease, box-shadow 0.18s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn:active {
  transform: translateY(0);
}

.btn-primary {
  color: #ffffff;
  background:
    linear-gradient(135deg, rgba(255,255,255,0.14), rgba(255,255,255,0.04)),
    linear-gradient(90deg, var(--primary-1), var(--primary-2));
  border: 1px solid rgba(255,255,255,0.14);
  box-shadow:
    0 14px 34px rgba(98, 86, 255, 0.34),
    inset 0 1px 0 rgba(255,255,255,0.22);
}

.btn-primary:hover {
  opacity: 0.98;
  box-shadow:
    0 18px 38px rgba(98, 86, 255, 0.42),
    inset 0 1px 0 rgba(255,255,255,0.22);
}

.top-row {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.progress-text {
  color: var(--text-sub);
  font-size: 13px;
  font-weight: 600;
}

.dimension-chip {
  font-size: 12px;
  color: #f0e7ff;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255,255,255,0.1);
  padding: 6px 10px;
  border-radius: 999px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.08);
}

.progress-bar {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 10px;
  border-radius: 999px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255,255,255,0.06);
  margin-bottom: 22px;
  box-shadow: inset 0 2px 6px rgba(0,0,0,0.18);
}

.progress-fill {
  width: 0%;
  height: 100%;
  background: linear-gradient(90deg, #ae7dff, #6f86ff);
  box-shadow: 0 0 18px rgba(126, 109, 255, 0.58);
  transition: width 0.25s ease;
}

.question-title {
  position: relative;
  z-index: 1;
  margin: 0 0 22px;
  font-size: 24px;
  line-height: 1.5;
  letter-spacing: -0.35px;
  font-weight: 700;
}

.options-area {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 12px;
}

.option-btn {
  width: 100%;
  border: 1px solid rgba(255,255,255,0.1);
  background: rgba(255, 255, 255, 0.07);
  color: #ffffff;
  border-radius: 18px;
  padding: 16px 16px;
  font-size: 15px;
  line-height: 1.6;
  text-align: left;
  cursor: pointer;
  transition: background 0.18s ease, transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.08),
    0 10px 24px rgba(0,0,0,0.12);
}

.option-btn:hover {
  background: rgba(255, 255, 255, 0.11);
  border-color: rgba(255,255,255,0.16);
  transform: translateY(-2px);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.08),
    0 14px 28px rgba(0,0,0,0.18);
}

.result-type {
  position: relative;
  z-index: 1;
  margin: 4px 0 8px;
  font-size: 42px;
  line-height: 1;
  letter-spacing: -1px;
  font-weight: 800;
}

.result-name {
  position: relative;
  z-index: 1;
  margin: 0 0 16px;
  font-size: 18px;
  color: #ded1ff;
  font-weight: 700;
}

.result-desc {
  position: relative;
  z-index: 1;
  margin: 0;
  color: var(--text-sub);
  font-size: 15px;
  line-height: 1.85;
}

.score-section {
  position: relative;
  z-index: 1;
  margin: 26px 0 24px;
  padding: 18px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.08),
    0 10px 30px rgba(0,0,0,0.12);
}

.score-title {
  margin: 0 0 14px;
  font-size: 15px;
  color: #f6f7ff;
}

.score-grid {
  display: grid;
  gap: 10px;
}

.score-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 13px 14px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255,255,255,0.08);
}

.score-label {
  font-size: 14px;
  color: #dfe2f5;
}

.score-value {
  font-size: 14px;
  font-weight: 700;
  color: #ffffff;
}

@media (max-width: 480px) {
  .app-shell {
    padding: 14px;
    align-items: stretch;
  }

  .mobile-frame {
    max-width: 100%;
  }

  .card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 24px 18px;
  border-radius: 24px;
    }

  .main-title {
    font-size: 28px;
  }

  .question-title {
    font-size: 22px;
  }

  .result-type {
    font-size: 38px;
  }
}

.main-footer {
  margin-top: 24px;
  padding: 24px 16px 40px;
  text-align: center;
  color: rgba(255,255,255,0.62);
}

.footer-content {
  max-width: 430px;
  margin: 0 auto;
}

.footer-links {
  margin-bottom: 12px;
  font-size: 13px;
}

.footer-links a {
  color: rgba(255,255,255,0.72);
  text-decoration: none;
  margin: 0 6px;
}

.footer-links a:hover {
  color: #ffffff;
}

.copyright {
  margin: 0 0 10px;
  font-size: 13px;
}

.disclaimer {
  margin: 0;
  font-size: 12px;
  line-height: 1.7;
  color: rgba(255,255,255,0.5);
}