* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --bg: #0a0a0a;
  --card: #111111;
  --border: #1f1f1f;
  --text: #e0e0e0;
  --muted: #777;
  --pink: #ff3b6b;
  --pink-dim: rgba(255, 59, 107, 0.15);
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', system-ui, sans-serif;
  min-height: 100vh;
  line-height: 1.5;
  overflow-x: hidden;
}

.bg-grid {
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
  z-index: 0;
  mask-image: radial-gradient(ellipse at center, black 20%, transparent 70%);
}

header {
  position: relative;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 32px;
  border-bottom: 1px solid var(--border);
  background: rgba(10,10,10,0.85);
  backdrop-filter: blur(12px);
}

.brand {
  font-weight: 700;
  font-size: 17px;
  letter-spacing: -0.02em;
  color: var(--text);
}

nav {
  display: flex;
  gap: 4px;
}

.nav-btn {
  background: none;
  border: none;
  color: var(--muted);
  font-family: inherit;
  font-size: 14px;
  font-weight: 500;
  padding: 8px 14px;
  cursor: pointer;
  border-radius: 8px;
  transition: all 0.15s;
}

.nav-btn:hover {
  color: var(--text);
  background: rgba(255,255,255,0.04);
}

.nav-btn.active {
  color: var(--pink);
  background: var(--pink-dim);
}

main {
  position: relative;
  z-index: 5;
  max-width: 560px;
  margin: 0 auto;
  padding: 60px 20px 80px;
}

.page {
  display: none;
}

.page.active {
  display: block;
  animation: fade 0.3s ease;
}

@keyframes fade {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero {
  text-align: center;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--pink);
  background: var(--pink-dim);
  border: 1px solid rgba(255,59,107,0.25);
  padding: 5px 12px;
  border-radius: 20px;
  margin-bottom: 28px;
}

.badge::before {
  content: "";
  width: 6px;
  height: 6px;
  background: var(--pink);
  border-radius: 50%;
  animation: pulse 1.5s infinite;
}

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

.art {
  color: var(--pink);
  font-family: 'Courier New', monospace;
  font-size: 18px;
  line-height: 1.15;
  margin: 0 auto 28px;
  display: inline-block;
  text-align: left;
  white-space: pre;
  opacity: 0.9;
}

h1 {
  font-size: 42px;
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: 10px;
}

h1 span {
  color: var(--pink);
}

.tagline {
  color: var(--muted);
  font-size: 16px;
  margin-bottom: 32px;
}

.hero-btns {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  font-family: inherit;
  font-size: 14px;
  font-weight: 500;
  padding: 10px 20px;
  border-radius: 8px;
  cursor: pointer;
  border: none;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.15s;
}

.btn.primary {
  background: var(--pink);
  color: #fff;
}

.btn.primary:hover {
  background: #ff5a82;
  box-shadow: 0 0 24px var(--pink-dim);
}

.btn.ghost {
  background: rgba(255,255,255,0.05);
  color: var(--text);
  border: 1px solid var(--border);
}

.btn.ghost:hover {
  background: rgba(255,255,255,0.08);
  border-color: #333;
}

.btn.full {
  width: 100%;
}

.btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

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

.card-head {
  padding: 14px 18px;
  border-bottom: 1px solid var(--border);
  font-size: 14px;
  font-weight: 600;
  color: var(--pink);
  background: rgba(255,59,107,0.04);
}

.card-body {
  padding: 22px 18px;
}

.meta-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
  font-size: 14px;
}

.meta-row .label {
  color: var(--muted);
}

.bar {
  height: 4px;
  background: #1a1a1a;
  border-radius: 2px;
  margin: 18px 0;
  overflow: hidden;
}

.fill {
  height: 100%;
  width: 0%;
  background: var(--pink);
  border-radius: 2px;
  transition: width 0.3s ease;
}

.steps {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.step {
  display: flex;
  gap: 14px;
  font-size: 15px;
}

.num {
  color: var(--muted);
  font-weight: 600;
  min-width: 28px;
}

.overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.88);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 100;
  backdrop-filter: blur(4px);
}

.overlay[hidden] {
  display: none;
}

.ad {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  width: 90%;
  max-width: 360px;
  padding: 24px;
}

.ad-top {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 16px;
}

.ad-top span:last-child {
  color: var(--pink);
  font-weight: 600;
}

.ad-title {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 6px;
}

.ad-desc {
  color: var(--muted);
  font-size: 14px;
  margin-bottom: 20px;
  min-height: 40px;
}

@media (max-width: 500px) {
  h1 { font-size: 32px; }
  .art { font-size: 10px; }
  header { padding: 14px 16px; }
  main { padding: 40px 16px 60px; }
}
