:root {
  --yellow: #fffc00;
  --yellow-soft: rgba(255, 252, 0, 0.12);
  --black: #0a0a0a;
  --card: #141414;
  --card-border: rgba(255, 252, 0, 0.1);
  --white: #ffffff;
  --muted: rgba(255, 255, 255, 0.55);
  --faint: rgba(255, 255, 255, 0.35);
  --green: #34d399;
  --red: #f87171;
  --radius: 20px;
  --radius-sm: 14px;
  --safe-bottom: env(safe-area-inset-bottom, 0px);
  --safe-top: env(safe-area-inset-top, 0px);
}

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

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

body {
  margin: 0;
  min-height: 100dvh;
  font-family: "Outfit", system-ui, -apple-system, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  color: var(--white);
  background: var(--black);
  overflow-x: hidden;
  -webkit-tap-highlight-color: transparent;
}

.bg-glow {
  position: fixed;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  z-index: 0;
}

.bg-glow--top {
  top: -60px;
  left: 50%;
  transform: translateX(-50%);
  width: 280px;
  height: 280px;
  background: var(--yellow);
  opacity: 0.18;
}

.bg-glow--bottom {
  bottom: 10%;
  right: -60px;
  width: 200px;
  height: 200px;
  background: #a855f7;
  opacity: 0.12;
}

.app {
  position: relative;
  z-index: 1;
  max-width: 480px;
  margin: 0 auto;
  min-height: 100dvh;
  padding:
    calc(16px + var(--safe-top))
    18px
    calc(24px + var(--safe-bottom));
  display: flex;
  flex-direction: column;
}

/* ── Header ── */
.header {
  text-align: center;
  padding: 8px 0 20px;
}

.ghost-badge {
  width: 72px;
  height: 72px;
  margin: 0 auto 14px;
}

.snapchat-logo {
  display: block;
  width: 72px;
  height: 72px;
  border-radius: 18px;
  box-shadow: 0 8px 32px rgba(255, 252, 0, 0.22);
}

.header__tag {
  display: inline-block;
  margin: 0 0 10px;
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--yellow-soft);
  color: var(--yellow);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.header h1 {
  margin: 0 0 10px;
  font-size: 2rem;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.header h1 .brand-accent {
  color: var(--yellow);
}

.header__sub {
  margin: 0 auto 20px;
  max-width: 30ch;
  color: var(--muted);
  font-size: 0.95rem;
}

.trust-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  padding: 14px 20px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.07);
}

.trust-item {
  text-align: center;
}

.trust-item strong {
  display: block;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--yellow);
}

.trust-item span {
  font-size: 0.75rem;
  color: var(--faint);
}

.trust-divider {
  width: 1px;
  height: 32px;
  background: rgba(255, 255, 255, 0.1);
}

/* ── Steps bar ── */
.steps-bar {
  height: 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
  margin-bottom: 8px;
}

.steps-bar__fill {
  height: 100%;
  width: 25%;
  border-radius: inherit;
  background: var(--yellow);
  box-shadow: 0 0 12px rgba(255, 252, 0, 0.5);
  transition: width 600ms ease;
}

.steps-label {
  margin: 0 0 16px;
  font-size: 0.8rem;
  color: var(--faint);
  text-align: center;
}

/* ── Main card ── */
.main-card {
  flex: 1;
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 24px 20px;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.4);
}

.panel {
  animation: slideUp 300ms ease;
}

.panel[hidden] {
  display: none !important;
}

.panel-head {
  margin-bottom: 22px;
}

.panel-head h2 {
  margin: 0 0 6px;
  font-size: 1.35rem;
  font-weight: 700;
}

.panel-head p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.panel-head p strong {
  color: var(--yellow);
}

.shield {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: rgba(52, 211, 153, 0.12);
  color: var(--green);
  margin-bottom: 14px;
}

.shield svg {
  width: 26px;
  height: 26px;
}

/* ── Form ── */
.form {
  display: grid;
  gap: 12px;
}

.label {
  font-size: 0.9rem;
  font-weight: 600;
}

.input-group {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 54px;
  padding: 0 16px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.05);
  border: 1.5px solid rgba(255, 255, 255, 0.1);
  transition: border-color 200ms, box-shadow 200ms;
}

.input-group:focus-within {
  border-color: rgba(255, 252, 0, 0.5);
  box-shadow: 0 0 0 3px rgba(255, 252, 0, 0.08);
}

.input-at {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--yellow);
  flex-shrink: 0;
}

.input-group input,
.form > input[type="text"] {
  width: 100%;
  min-height: 54px;
  padding: 0 16px;
  border: 1.5px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.05);
  color: var(--white);
  font: inherit;
  font-size: 1rem;
  outline: none;
  transition: border-color 200ms, box-shadow 200ms;
}

.input-group input {
  min-height: auto;
  padding: 14px 0;
  border: none;
  background: transparent;
  box-shadow: none;
}

.form > input[type="text"]:focus {
  border-color: rgba(255, 252, 0, 0.5);
  box-shadow: 0 0 0 3px rgba(255, 252, 0, 0.08);
}

.hint {
  margin: -6px 0 0;
  font-size: 0.8rem;
  color: var(--faint);
}

.error {
  margin: -4px 0 0;
  font-size: 0.85rem;
  color: var(--red);
}

/* ── Perks ── */
.perks {
  list-style: none;
  margin: 4px 0 8px;
  padding: 0;
  display: grid;
  gap: 8px;
}

.perks li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 14px;
  border-radius: 12px;
  background: var(--yellow-soft);
  border: 1px solid rgba(255, 252, 0, 0.08);
  font-size: 0.88rem;
  color: var(--muted);
}

.perks svg {
  width: 16px;
  height: 16px;
  color: var(--yellow);
  flex-shrink: 0;
}

/* ── Buttons ── */
.btn {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 24px;
  border: none;
  border-radius: 999px;
  font: inherit;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  touch-action: manipulation;
  transition: transform 150ms ease, opacity 150ms ease;
  -webkit-user-select: none;
  user-select: none;
}

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

.btn-main {
  width: 100%;
  background: var(--yellow);
  color: var(--black);
  box-shadow: 0 8px 24px rgba(255, 252, 0, 0.28);
  margin-top: 4px;
}

.btn-main:disabled {
  opacity: 0.5;
  pointer-events: none;
}

.btn-secondary {
  flex: 1;
  background: transparent;
  color: var(--muted);
  border: 1.5px solid rgba(255, 255, 255, 0.12);
}

.btn-group {
  display: flex;
  gap: 10px;
  margin-top: 4px;
}

.btn-group .btn-main {
  flex: 1.4;
  width: auto;
  margin-top: 0;
}

/* ── Account card (loading) ── */
.account-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px;
  margin-bottom: 20px;
  border-radius: var(--radius-sm);
  background: rgba(255, 252, 0, 0.06);
  border: 1px solid rgba(255, 252, 0, 0.16);
  animation: slideUp 350ms ease;
}

.account-card__avatar-wrap {
  position: relative;
  flex-shrink: 0;
}

.account-card__avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--yellow);
  background: rgba(255, 255, 255, 0.08);
}

.account-card__pulse {
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid rgba(255, 252, 0, 0.35);
  animation: avatarPulse 2s ease infinite;
}

.account-card__info {
  flex: 1;
  min-width: 0;
}

.account-card__name-row {
  display: flex;
  align-items: center;
  gap: 6px;
}

.account-card__name-row strong {
  font-size: 1rem;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.account-card__verified {
  color: var(--yellow);
  flex-shrink: 0;
}

.account-card__verified svg {
  width: 16px;
  height: 16px;
}

.account-card__username {
  margin: 2px 0 4px;
  font-size: 0.85rem;
  color: var(--yellow);
}

.account-card__meta {
  margin: 0;
  font-size: 0.78rem;
  color: var(--faint);
}

.account-card__badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  flex-shrink: 0;
  padding: 8px 10px;
  border-radius: 12px;
  background: rgba(52, 211, 153, 0.12);
  color: var(--green);
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.account-card__badge svg {
  width: 18px;
  height: 18px;
}

@keyframes avatarPulse {
  0%, 100% { transform: scale(1); opacity: 0.6; }
  50% { transform: scale(1.08); opacity: 0.2; }
}

/* ── Loading ── */
.loading-hero {
  text-align: center;
  padding: 8px 0 24px;
}

.loader-ring {
  position: relative;
  width: 120px;
  height: 120px;
  margin: 0 auto 20px;
}

.loader-ring svg {
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}

.loader-ring__track {
  fill: none;
  stroke: rgba(255, 255, 255, 0.08);
  stroke-width: 6;
}

.loader-ring__progress {
  fill: none;
  stroke: var(--yellow);
  stroke-width: 6;
  stroke-linecap: round;
  stroke-dasharray: 326.73;
  stroke-dashoffset: 326.73;
  transition: stroke-dashoffset 800ms ease;
  filter: drop-shadow(0 0 6px rgba(255, 252, 0, 0.5));
}

.loader-ring__pct {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--yellow);
}

.loading-hero h2 {
  margin: 0 0 6px;
  font-size: 1.25rem;
}

.loading-sub {
  margin: 0 0 8px;
  color: var(--muted);
  font-size: 0.9rem;
  min-height: 1.4em;
  transition: opacity 200ms;
}

.loading-user {
  margin: 0;
  font-size: 0.85rem;
  color: var(--faint);
}

.loading-user strong {
  color: var(--yellow);
}

.task-list {
  list-style: none;
  margin: 0 0 20px;
  padding: 0;
  display: grid;
  gap: 0;
}

.task-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 0.88rem;
  color: var(--faint);
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 300ms ease, transform 300ms ease, color 300ms;
}

.task-item.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.task-item.is-done {
  color: var(--muted);
}

.task-item.is-active {
  color: var(--white);
}

.task-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  background: rgba(255, 255, 255, 0.06);
  transition: background 300ms;
}

.task-item.is-active .task-icon {
  background: var(--yellow-soft);
}

.task-item.is-done .task-icon {
  background: rgba(52, 211, 153, 0.15);
  color: var(--green);
}

.task-icon svg {
  width: 14px;
  height: 14px;
}

.task-spinner {
  width: 14px;
  height: 14px;
  border: 2px solid rgba(255, 252, 0, 0.2);
  border-top-color: var(--yellow);
  border-radius: 50%;
  animation: spin 700ms linear infinite;
}

.loading-note {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 14px;
  border-radius: 12px;
  background: rgba(255, 252, 0, 0.06);
  border: 1px solid rgba(255, 252, 0, 0.1);
  font-size: 0.82rem;
  color: var(--muted);
}

.loading-note svg {
  width: 18px;
  height: 18px;
  color: var(--yellow);
  flex-shrink: 0;
  margin-top: 1px;
}

/* ── Content lock / Captcha ── */
.verify-alert {
  display: flex;
  gap: 14px;
  padding: 18px;
  margin-bottom: 20px;
  border-radius: var(--radius-sm);
  background: rgba(255, 252, 0, 0.07);
  border: 1px solid rgba(255, 252, 0, 0.18);
}

.verify-alert__icon {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: rgba(255, 252, 0, 0.15);
  color: var(--yellow);
}

.verify-alert__icon svg {
  width: 24px;
  height: 24px;
}

.verify-alert h2 {
  margin: 0 0 8px;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--yellow);
  line-height: 1.3;
}

.verify-alert p {
  margin: 0 0 8px;
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.55;
}

.verify-alert p:last-child {
  margin-bottom: 0;
}

.verify-alert p strong {
  color: var(--white);
}

.verify-alert__sub {
  font-size: 0.82rem !important;
  color: var(--faint) !important;
}

.verify-steps {
  display: grid;
  gap: 8px;
  margin-bottom: 20px;
}

.verify-step {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 14px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 0.85rem;
  color: var(--faint);
}

.verify-step.is-done {
  color: var(--muted);
}

.verify-step.is-done .verify-step__num {
  background: rgba(52, 211, 153, 0.15);
  color: var(--green);
}

.verify-step.is-active {
  color: var(--white);
  border-color: rgba(255, 252, 0, 0.2);
  background: rgba(255, 252, 0, 0.05);
}

.verify-step.is-active .verify-step__num {
  background: var(--yellow);
  color: var(--black);
}

.verify-step__num {
  width: 26px;
  height: 26px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  font-size: 0.75rem;
  font-weight: 700;
}

/* ── Choice buttons ── */
.choice-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 8px 0 16px;
}

.choice-btn {
  width: 100%;
  min-height: 54px;
  padding: 14px 16px;
  border-radius: 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  touch-action: manipulation;
  transition: transform 150ms ease, box-shadow 150ms ease, background 150ms ease;
}

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

.choice-btn-label {
  display: block;
  font-size: 0.95rem;
}

.choice-btn-subtitle {
  display: block;
  margin-top: 4px;
  font-size: 0.78rem;
  font-weight: 500;
  opacity: 0.85;
}

.choice-btn-primary {
  background: var(--yellow);
  color: var(--black);
  border: none;
  box-shadow: 0 8px 24px rgba(255, 252, 0, 0.25);
}

.choice-btn-secondary {
  background: rgba(255, 255, 255, 0.04);
  color: var(--white);
  border: 1.5px solid rgba(255, 252, 0, 0.25);
}

.choice-btn-secondary .choice-btn-subtitle {
  color: var(--muted);
}

.choice-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--faint);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.choice-divider::before,
.choice-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: rgba(255, 255, 255, 0.1);
}

.btn-back {
  width: 100%;
  margin-top: 4px;
}

/* ── Success ── */
.success {
  text-align: center;
}

.success-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 16px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(52, 211, 153, 0.15);
  color: var(--green);
  box-shadow: 0 0 0 8px rgba(52, 211, 153, 0.06);
  animation: pop 400ms ease;
}

.success-icon svg {
  width: 36px;
  height: 36px;
}

.success h2 {
  margin: 0 0 8px;
  font-size: 1.5rem;
}

.success > p {
  margin: 0 0 20px;
  color: var(--muted);
  font-size: 0.92rem;
}

.success > p strong {
  color: var(--yellow);
}

.result {
  text-align: left;
  padding: 16px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.07);
  margin-bottom: 16px;
}

.result-line {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 0.88rem;
  color: var(--muted);
}

.result-line:last-child {
  border-bottom: none;
}

.result-line strong {
  color: var(--white);
  font-weight: 600;
}

.green { color: var(--green) !important; }

.mono {
  font-family: "Courier New", monospace;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
}

.success-tip {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 14px;
  border-radius: 12px;
  background: rgba(52, 211, 153, 0.08);
  border: 1px solid rgba(52, 211, 153, 0.15);
  font-size: 0.82rem;
  color: var(--muted);
  text-align: left;
  margin-bottom: 20px;
}

.success-tip svg {
  width: 18px;
  height: 18px;
  color: var(--green);
  flex-shrink: 0;
  margin-top: 1px;
}

/* ── SEO content ── */
.seo-block,
.seo-faq {
  margin-top: 24px;
  padding: 18px 16px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.seo-block h2,
.seo-faq h2 {
  margin: 0 0 10px;
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.35;
  color: var(--white);
}

.seo-block h2:not(:first-child),
.seo-faq h2:not(:first-child) {
  margin-top: 18px;
}

.seo-block p,
.seo-faq p {
  margin: 0 0 10px;
  font-size: 0.82rem;
  line-height: 1.65;
  color: var(--muted);
}

.seo-block strong {
  color: rgba(255, 255, 255, 0.88);
  font-weight: 600;
}

.seo-steps,
.seo-features {
  margin: 0;
  padding-left: 1.15rem;
  font-size: 0.82rem;
  line-height: 1.65;
  color: var(--muted);
}

.seo-steps li,
.seo-features li {
  margin-bottom: 6px;
}

.seo-faq-item {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 12px 0;
}

.seo-faq-item:first-of-type {
  border-top: none;
  padding-top: 4px;
}

.seo-faq-item summary {
  cursor: pointer;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--white);
  list-style: none;
}

.seo-faq-item summary::-webkit-details-marker {
  display: none;
}

.seo-faq-item summary::after {
  content: "+";
  float: right;
  color: var(--yellow);
  font-weight: 700;
}

.seo-faq-item[open] summary::after {
  content: "−";
}

.seo-faq-item p {
  margin-top: 8px;
  margin-bottom: 0;
}

/* ── Footer ── */
.footer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 20px;
  font-size: 0.72rem;
  color: var(--faint);
  text-align: center;
  line-height: 1.45;
}

.online-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 8px var(--green);
  animation: pulse 2s infinite;
}

/* ── Animations ── */
@keyframes slideUp {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

@keyframes pop {
  from { transform: scale(0.6); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

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

/* ── Desktop (optional, stays centered) ── */
@media (min-width: 520px) {
  .app {
    padding-top: calc(32px + var(--safe-top));
  }

  .header h1 {
    font-size: 2.4rem;
  }

  .main-card {
    padding: 28px 26px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}
