:root {
  --bg: #060a14;
  --bg-raised: #0a1220;
  --bg-card: #0d1626;
  --bg-deep: #04070e;
  --line: rgba(148, 197, 255, 0.14);
  --line-soft: rgba(148, 197, 255, 0.08);
  --text: #f4f8ff;
  --text-soft: #a9b8d0;
  --text-dim: #64748b;
  --violet: #a78bfa;
  --violet-strong: #7c5cf0;
  --cyan: #38e1f5;
  --blue: #3b9dff;
  --green: #35e0a1;
  --amber: #facc15;
  --pink: #f0abfc;
  --radius: 6px;
  --shadow: 0 20px 55px rgba(2, 8, 20, 0.55);
  --grad: linear-gradient(110deg, #7c5cf0 0%, #a78bfa 42%, #38e1f5 100%);
  --grad-warm: linear-gradient(110deg, #f0abfc 0%, #a78bfa 50%, #38e1f5 100%);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  letter-spacing: 0;
  overflow-x: hidden;
}

h1,
h2,
h3,
.brand-name,
.count-cell strong,
.stat strong,
.profile-avatar,
.profile-id strong {
  font-family: "Baloo Thambi 2", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
}

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

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

button {
  font: inherit;
  cursor: pointer;
}

.container {
  width: min(100% - 36px, 680px);
  margin-left: auto;
  margin-right: auto;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(6, 10, 20, 0.88);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line-soft);
}

.topbar-inner {
  width: min(100% - 24px, 680px);
  margin: 0 auto;
  min-height: 54px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 7px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.brand-mark {
  width: 32px;
  height: 32px;
  flex: 0 0 auto;
  border-radius: 8px;
  object-fit: cover;
}

.brand-name {
  display: none;
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
}

.brand-name b {
  color: var(--cyan);
  font-weight: 700;
}

.brand-tag {
  margin-left: 5px;
  padding: 2px 6px;
  border-radius: 4px;
  background: linear-gradient(110deg, rgba(124, 92, 240, 0.28), rgba(56, 225, 245, 0.2));
  border: 1px solid rgba(167, 139, 250, 0.4);
  color: var(--violet);
  font-size: 9px;
  font-weight: 800;
  vertical-align: middle;
}

.lang-switch {
  display: flex;
  align-items: center;
  gap: 2px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 3px;
  flex: 0 0 auto;
  max-width: calc(100vw - 86px);
  overflow-x: auto;
  scrollbar-width: none;
}

.lang-switch::-webkit-scrollbar {
  display: none;
}

.lang-btn {
  appearance: none;
  border: 0;
  background: transparent;
  color: var(--text-dim);
  font-size: 11px;
  font-weight: 800;
  line-height: 1;
  padding: 0 7px;
  height: 32px;
  min-width: 34px;
  border-radius: 4px;
  text-align: center;
  flex: 0 0 auto;
}

.lang-btn.is-active {
  background: var(--grad);
  color: #fff;
}

.hero {
  position: relative;
  min-height: calc(100svh - 54px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 46px 0 26px;
  overflow: hidden;
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(103, 232, 249, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(103, 232, 249, 0.06) 1px, transparent 1px);
  background-size: 34px 34px;
  -webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.9), transparent 94%);
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.9), transparent 94%);
  pointer-events: none;
}

.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  pointer-events: none;
}

.hero-glow-a {
  width: 420px;
  height: 420px;
  left: -160px;
  top: -90px;
  background: rgba(124, 92, 240, 0.22);
}

.hero-glow-b {
  width: 380px;
  height: 380px;
  right: -150px;
  bottom: -60px;
  background: rgba(56, 225, 245, 0.14);
}

.hero-inner {
  position: relative;
  z-index: 1;
  text-align: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 14px;
  padding: 6px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-soft);
  font-size: 11px;
  font-weight: 800;
  line-height: 1;
}

.eyebrow-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 10px rgba(53, 224, 161, 0.85);
  flex: 0 0 auto;
}

.hero h1 {
  margin: 0 auto;
  max-width: 600px;
  font-size: 36px;
  line-height: 1.1;
  font-weight: 700;
}

.hero h1 em {
  font-style: normal;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-sub {
  margin: 16px auto 0;
  max-width: 510px;
  color: var(--text-soft);
  font-size: 15px;
  line-height: 1.6;
}

.hero-actions {
  margin-top: 24px;
  display: flex;
  justify-content: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: var(--radius);
  font-weight: 800;
  border: 1px solid transparent;
  transition: transform 0.18s ease, filter 0.18s ease, background 0.18s ease, border-color 0.18s ease;
}

.btn:active {
  transform: scale(0.98);
}

.btn svg {
  width: 17px;
  height: 17px;
  flex: 0 0 auto;
}

.btn-primary {
  background: var(--grad);
  color: #fff;
  box-shadow: 0 12px 34px rgba(124, 92, 240, 0.3);
}

.btn-primary:hover {
  filter: brightness(1.08);
}

.btn-lg {
  min-height: 50px;
  padding: 0 22px;
  font-size: 15px;
}

.hero-proof {
  margin: 16px 0 0;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--text-dim);
  font-size: 12px;
  font-weight: 700;
}

.live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 4px rgba(53, 224, 161, 0.14);
  flex: 0 0 auto;
}

.ticker {
  margin: 28px -18px 0;
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 6%, #000 94%, transparent);
  mask-image: linear-gradient(to right, transparent, #000 6%, #000 94%, transparent);
}

.ticker-track {
  display: flex;
  gap: 24px;
  width: max-content;
  padding: 12px 0;
  animation: tickerMove 24s linear infinite;
}

.ticker-track span {
  color: var(--text-dim);
  font-size: 11px;
  font-weight: 800;
  white-space: nowrap;
}

.ticker-track span::before {
  content: "◆";
  color: var(--cyan);
  margin-right: 24px;
  font-size: 8px;
  vertical-align: middle;
}

@keyframes tickerMove {
  to {
    transform: translateX(-50%);
  }
}

.countdown-section {
  padding: 20px 0 0;
}

.countdown-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
}

.countdown-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.countdown-head .eyebrow {
  margin-bottom: 8px;
}

.countdown-head h2,
.section-head h2,
.stats-head h2,
.final-inner h2 {
  margin: 0;
  font-size: 24px;
  line-height: 1.2;
  font-weight: 700;
}

.countdown-live {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex: 0 0 auto;
  margin-top: 4px;
  padding: 6px 9px;
  border: 1px solid rgba(53, 224, 161, 0.3);
  border-radius: 999px;
  background: rgba(53, 224, 161, 0.09);
  color: var(--green);
  font-size: 11px;
  font-weight: 900;
}

.countdown-live i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  animation: pulse 1.6s ease-in-out infinite;
}

@keyframes pulse {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.35;
  }
}

.countdown-sub {
  margin: 12px 0 0;
  color: var(--text-soft);
  font-size: 14px;
  line-height: 1.6;
}

.countdown {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-top: 18px;
}

.count-cell {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px 6px 12px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.count-cell::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 2px;
  background: var(--grad);
  opacity: 0.7;
}

.count-cell strong {
  display: block;
  font-size: 27px;
  line-height: 1;
  font-weight: 700;
  color: var(--text);
  font-variant-numeric: tabular-nums;
}

.count-cell span {
  display: block;
  margin-top: 7px;
  color: var(--text-dim);
  font-size: 10px;
  font-weight: 800;
}

.phase-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 18px;
}

.phase-chip {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text-dim);
  font-size: 11px;
  font-weight: 800;
  min-width: 0;
}

.phase-chip i {
  font-style: normal;
  color: var(--cyan);
  font-size: 10px;
  font-weight: 900;
}

.phase-chip span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.phase-chip.is-active {
  border-color: rgba(167, 139, 250, 0.5);
  background: rgba(124, 92, 240, 0.14);
  color: var(--text);
}

.section {
  padding: 54px 0 0;
}

.section-head {
  text-align: center;
  margin-bottom: 20px;
}

.section-sub {
  margin: 12px auto 0;
  max-width: 520px;
  color: var(--text-soft);
  font-size: 14px;
  line-height: 1.6;
}

.quiz-shell {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
}

.profile-bar {
  margin-bottom: 16px;
}

.profile-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
}

.profile-label {
  color: var(--violet);
  font-size: 11px;
  font-weight: 900;
}

.profile-head span:last-child {
  color: var(--cyan);
  font-size: 12px;
  font-weight: 900;
  font-variant-numeric: tabular-nums;
}

.profile-track {
  height: 7px;
  background: var(--bg);
  border: 1px solid var(--line-soft);
  border-radius: 999px;
  overflow: hidden;
}

.profile-track span {
  display: block;
  height: 100%;
  width: 0;
  background: var(--grad);
  transition: width 0.35s ease;
}

.quiz-topline {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: var(--text-dim);
  font-size: 12px;
  font-weight: 900;
}

.quiz-topline span:last-child {
  color: var(--cyan);
  text-align: right;
}

.quiz-body h3 {
  margin: 16px 0 16px;
  font-size: 21px;
  line-height: 1.3;
  font-weight: 700;
}

.option-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.option-card {
  min-height: 98px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  text-align: left;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 12px;
  color: var(--text);
  transition: border-color 0.18s ease, background 0.18s ease, transform 0.18s ease;
}

.option-card:active {
  transform: scale(0.98);
}

.option-card.is-selected {
  border-color: var(--violet);
  background: rgba(124, 92, 240, 0.13);
}

.option-index {
  color: var(--text-dim);
  font-size: 10px;
  font-weight: 900;
}

.option-card > span:last-child {
  font-size: 13px;
  font-weight: 800;
  line-height: 1.35;
}

.quiz-back {
  margin-top: 16px;
  appearance: none;
  border: 0;
  background: transparent;
  color: var(--text-dim);
  font-size: 13px;
  font-weight: 800;
  padding: 8px 0;
}

.quiz-back:hover {
  color: var(--text);
}

.reveal-section {
  scroll-margin-top: 64px;
}

.reveal-shell {
  padding-bottom: 4px;
}

.reveal-banner {
  margin: 0 0 14px;
  text-align: center;
  color: var(--text-soft);
  font-size: 13px;
  font-weight: 800;
}

.reveal-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.scan-stage {
  min-height: 300px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 28px;
  position: relative;
}

.hash-grid {
  width: 118px;
  height: 118px;
  border: 1px solid rgba(56, 225, 245, 0.35);
  border-radius: var(--radius);
  background:
    linear-gradient(rgba(103, 232, 249, 0.09) 1px, transparent 1px),
    linear-gradient(90deg, rgba(103, 232, 249, 0.09) 1px, transparent 1px);
  background-size: 19px 19px;
  position: relative;
  overflow: hidden;
}

.hash-grid::before {
  content: "";
  position: absolute;
  left: 7%;
  right: 7%;
  top: 7%;
  height: 2px;
  background: var(--cyan);
  box-shadow: 0 0 16px var(--cyan);
  animation: scan 1.4s linear infinite;
}

@keyframes scan {
  0% {
    top: 7%;
  }
  100% {
    top: 89%;
  }
}

.scan-stage p {
  margin: 0;
  color: var(--text-soft);
  font-size: 14px;
  font-weight: 800;
}

.scan-progress {
  width: min(100%, 270px);
  height: 6px;
  background: var(--bg);
  border: 1px solid var(--line-soft);
  border-radius: 999px;
  overflow: hidden;
}

.scan-progress span {
  display: block;
  height: 100%;
  width: 0;
  background: var(--grad);
  transition: width 0.2s ease;
}

.profile-content {
  padding: 20px;
}

.profile-top {
  display: flex;
  align-items: center;
  gap: 12px;
}

.profile-avatar {
  width: 64px;
  height: 64px;
  flex: 0 0 auto;
  border-radius: var(--radius);
  background: var(--grad);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 27px;
  font-weight: 700;
}

.profile-id {
  min-width: 0;
  flex: 1;
}

.profile-tag {
  display: block;
  color: var(--violet);
  font-size: 10px;
  font-weight: 800;
  line-height: 1;
}

.profile-id strong {
  display: block;
  margin-top: 5px;
  font-size: 20px;
  line-height: 1.1;
  font-weight: 700;
  overflow-wrap: anywhere;
}

.hash-chip {
  display: inline-block;
  margin-top: 7px;
  padding: 4px 8px;
  border: 1px solid rgba(56, 225, 245, 0.35);
  border-radius: 999px;
  background: rgba(56, 225, 245, 0.1);
  color: var(--cyan);
  font-size: 10px;
  font-weight: 900;
  font-variant-numeric: tabular-nums;
}

.level-chip {
  flex: 0 0 auto;
  align-self: flex-start;
  padding: 5px 9px;
  border: 1px solid rgba(250, 204, 21, 0.35);
  border-radius: 999px;
  background: rgba(250, 204, 21, 0.1);
  color: var(--amber);
  font-size: 10px;
  font-weight: 900;
}

.meter-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin: 18px 0;
}

.meter {
  background: var(--bg);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: 10px;
  min-width: 0;
}

.meter span {
  display: block;
  color: var(--text-dim);
  font-size: 10px;
  font-weight: 900;
}

.meter strong {
  display: block;
  margin-top: 4px;
  color: var(--text);
  font-size: 13px;
  font-weight: 900;
  overflow-wrap: anywhere;
}

.profile-thesis {
  margin: 0 0 18px;
  color: var(--text-soft);
  font-size: 14px;
  line-height: 1.6;
}

.phase-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-bottom: 18px;
}

.phase-mini {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg);
  color: var(--text-dim);
  min-width: 0;
}

.phase-mini i {
  font-style: normal;
  font-size: 9px;
  font-weight: 900;
}

.phase-mini b {
  font-size: 10px;
  font-weight: 800;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.phase-mini.is-on {
  border-color: rgba(167, 139, 250, 0.45);
  color: var(--violet);
}

.reveal-actions {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 10px;
}

.text-btn {
  appearance: none;
  border: 0;
  background: transparent;
  color: var(--text-dim);
  font-size: 13px;
  font-weight: 800;
  padding: 10px;
}

.text-btn:hover {
  color: var(--text);
}

.steps {
  display: grid;
  gap: 10px;
}

.step {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
}

.step-num {
  display: inline-block;
  color: var(--cyan);
  font-size: 12px;
  font-weight: 900;
}

.step h3 {
  margin: 10px 0 8px;
  font-size: 17px;
  line-height: 1.3;
  font-weight: 700;
}

.step p {
  margin: 0;
  color: var(--text-soft);
  font-size: 13px;
  line-height: 1.6;
}

.stats-section {
  padding: 54px 0 0;
}

.stats-head {
  text-align: center;
  margin-bottom: 20px;
}

.stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.stat {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px 14px;
  text-align: center;
}

.stat strong {
  display: block;
  color: var(--violet);
  font-size: 28px;
  line-height: 1;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.stat:nth-child(2) strong {
  color: var(--cyan);
}

.stat:nth-child(3) strong {
  color: var(--pink);
}

.stat:nth-child(4) strong {
  color: var(--amber);
}

.stat span {
  display: block;
  margin-top: 8px;
  color: var(--text-soft);
  font-size: 12px;
  font-weight: 800;
}

.final-cta {
  padding: 54px 0 0;
}

.final-inner {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 20px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.final-inner::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(420px 220px at 50% 0%, rgba(124, 92, 240, 0.2), transparent 72%),
    radial-gradient(340px 180px at 80% 100%, rgba(56, 225, 245, 0.1), transparent 72%);
  pointer-events: none;
}

.final-inner > * {
  position: relative;
}

.final-inner .eyebrow {
  margin-bottom: 12px;
}

.final-inner > p:not(.eyebrow) {
  margin: 12px auto 0;
  max-width: 460px;
  color: var(--text-soft);
  font-size: 14px;
  line-height: 1.6;
}

.final-actions {
  margin-top: 22px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 10px;
}

.footer {
  margin-top: 54px;
  padding: 26px 0 34px;
  border-top: 1px solid var(--line-soft);
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  text-align: center;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  color: var(--text-dim);
  font-size: 12px;
  font-weight: 800;
}

.footer-links a:hover {
  color: var(--text);
}

.footer-note,
.footer-risk {
  margin: 0;
  color: var(--text-dim);
  font-size: 11px;
  line-height: 1.6;
}

@media (min-width: 430px) {
  .brand-name {
    display: inline;
  }

  .lang-btn {
    min-width: 38px;
    padding: 0 9px;
  }
}

@media (min-width: 700px) {
  .hero {
    min-height: calc(100svh - 58px);
    padding: 50px 0 30px;
  }

  .hero h1 {
    font-size: 48px;
  }

  .hero-sub {
    font-size: 16px;
  }

  .countdown-head h2,
  .section-head h2,
  .stats-head h2,
  .final-inner h2 {
    font-size: 31px;
  }

  .option-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .option-card {
    min-height: 120px;
    padding: 14px;
  }

  .option-card > span:last-child {
    font-size: 14px;
  }

  .profile-content {
    padding: 24px;
  }

  .profile-avatar {
    width: 74px;
    height: 74px;
    font-size: 31px;
  }

  .steps {
    grid-template-columns: repeat(3, 1fr);
  }

  .stats-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .final-actions {
    flex-direction: row;
    justify-content: center;
  }

  .reveal-actions {
    flex-direction: row;
    align-items: center;
    justify-content: center;
  }

  .text-btn {
    padding: 0 8px;
  }
}
