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

:root {
  --accent:      #ff2d78;
  --accent-soft: rgba(255, 45, 120, 0.10);
  --bg:          #f2f2f7;
  --bg2:         #ffffff;
  --label:       #1c1c1e;
  --label2:      #3a3a3c;
  --label3:      #636366;
  --label4:      #aeaeb2;
  --separator:   rgba(60, 60, 67, 0.18);
  --fill:        rgba(120, 120, 128, 0.12);
  --font:        -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'SF Pro Text', 'Helvetica Neue', sans-serif;
}

html[data-theme="dark"] {
  --bg:        #000000;
  --bg2:       #1c1c1e;
  --label:     #ffffff;
  --label2:    rgba(235,235,245,0.92);
  --label3:    rgba(235,235,245,0.60);
  --label4:    rgba(235,235,245,0.30);
  --separator: rgba(84,84,88,0.65);
  --fill:      rgba(118,118,128,0.24);
}

html, body { height: 100%; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--label);
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  -webkit-font-smoothing: antialiased;
}

/* ── Navigation Bar ─────────────────────────────────────── */
.navbar {
  position: sticky;
  top: 0;
  z-index: 10;
  width: 100%;
  height: 52px;
  display: flex;
  align-items: flex-end;
  padding-bottom: 10px;
  background: rgba(242,242,247,0.85);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 0.5px solid var(--separator);
}

html[data-theme="dark"] .navbar { background: rgba(0,0,0,0.85); }

.navbar-inner {
  width: 100%;
  max-width: 680px;
  margin: 0 auto;
  padding: 0 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
}

.navbar-back {
  background: none;
  border: none;
  color: var(--accent);
  font-family: var(--font);
  font-size: 17px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 3px;
  padding: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s;
  min-width: 90px;
}
.navbar-back.visible { opacity: 1; pointer-events: auto; }
.navbar-back svg { width: 9px; height: 16px; margin-right: 2px; }

.navbar-title {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.3px;
  color: var(--label);
  white-space: nowrap;
}

.navbar-right {
  min-width: 90px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
}

.navbar-counter {
  font-size: 15px;
  font-weight: 500;
  color: var(--label3);
  font-variant-numeric: tabular-nums;
}

.theme-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: none;
  background: var(--fill);
  color: var(--label2);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s;
  -webkit-tap-highlight-color: transparent;
  flex-shrink: 0;
}

.theme-btn:hover { background: var(--separator); }
.theme-btn svg { width: 16px; height: 16px; pointer-events: none; }
.theme-btn .icon-sun  { display: none; }
.theme-btn .icon-moon { display: block; }
html[data-theme="dark"] .theme-btn .icon-sun  { display: block; }
html[data-theme="dark"] .theme-btn .icon-moon { display: none; }

/* ── Page wrapper ───────────────────────────────────────── */
.page {
  width: 100%;
  max-width: 680px;
  padding: 0 16px 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

/* ── Views ──────────────────────────────────────────────── */
.view { display: none; }
.view.active { display: block; }
#view-question.active { display: flex; flex-direction: column; flex: 1; }

/* ── Category view heading ──────────────────────────────── */
.large-title {
  font-size: 34px;
  font-weight: 700;
  letter-spacing: -0.5px;
  padding: 22px 6px 4px;
  line-height: 1.15;
}

.subtitle {
  font-size: 15px;
  color: var(--label3);
  padding: 0 6px 20px;
  line-height: 1.4;
}

/* ── Hero Banner ─────────────────────────────────────────── */
.hero {
  background: linear-gradient(135deg, #ff2d78 0%, #ff6b9d 55%, #ff9500 100%);
  border-radius: 24px;
  padding: 28px 24px 24px;
  margin: 20px 0 8px;
  color: #fff;
  position: relative;
  overflow: hidden;
}

.hero::after {
  content: '💝';
  position: absolute;
  right: -4px;
  bottom: -20px;
  font-size: 100px;
  opacity: 0.18;
  pointer-events: none;
  line-height: 1;
}

.hero-eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  opacity: 0.75;
  margin-bottom: 8px;
}

.hero-title {
  font-size: clamp(30px, 7vw, 38px);
  font-weight: 800;
  letter-spacing: -0.8px;
  line-height: 1.1;
  margin-bottom: 10px;
}

.hero-desc {
  font-size: 14px;
  opacity: 0.82;
  line-height: 1.5;
  margin-bottom: 20px;
}

.hero-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,255,255,0.22);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1.5px solid rgba(255,255,255,0.38);
  color: #fff;
  border-radius: 99px;
  padding: 11px 22px;
  font-family: var(--font);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.2px;
  cursor: pointer;
  transition: background 0.15s, transform 0.12s;
  -webkit-tap-highlight-color: transparent;
}

.hero-btn:hover  { background: rgba(255,255,255,0.32); }
.hero-btn:active { transform: scale(0.97); }

/* ── Category list ──────────────────────────────────────── */
.cat-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  background: var(--bg2);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}

.cat-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 13px 16px;
  cursor: pointer;
  transition: background 0.12s;
  border-bottom: 0.5px solid var(--separator);
  -webkit-tap-highlight-color: transparent;
  user-select: none;
}

.cat-row:last-child { border-bottom: none; }
.cat-row:active { background: var(--fill); }

.cat-icon {
  width: 44px;
  height: 44px;
  border-radius: 11px;
  background: var(--fill);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  flex-shrink: 0;
}

.cat-text { flex: 1; min-width: 0; }

.cat-name {
  font-size: 17px;
  font-weight: 500;
  color: var(--label);
  margin-bottom: 1px;
}

.cat-desc {
  font-size: 13px;
  color: var(--label3);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.cat-right {
  display: flex;
  align-items: center;
  gap: 5px;
  flex-shrink: 0;
}

.cat-count {
  font-size: 15px;
  color: var(--label4);
  font-variant-numeric: tabular-nums;
}

.cat-chevron { color: var(--label4); }
.cat-chevron svg { width: 7px; height: 12px; display: block; }

/* ── Question view ──────────────────────────────────────── */
.q-section {
  padding-top: 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

/* Progress */
.progress-track {
  width: 100%;
  height: 3px;
  background: var(--separator);
  border-radius: 99px;
  overflow: hidden;
  margin-bottom: 24px;
}

.progress-fill {
  height: 100%;
  background: var(--accent);
  border-radius: 99px;
  transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Card */
.q-card {
  background: var(--bg2);
  border-radius: 24px;
  padding: 36px 28px 32px;
  box-shadow: 0 4px 28px rgba(0,0,0,0.09);
  min-height: 240px;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.q-card::before {
  content: '';
  position: absolute;
  top: -50px; right: -50px;
  width: 160px; height: 160px;
  border-radius: 50%;
  background: var(--accent-soft);
  pointer-events: none;
}

@keyframes cardIn {
  from { opacity: 0; transform: translateY(14px) scale(0.97); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}
.card-anim { animation: cardIn 0.28s cubic-bezier(0.34, 1.2, 0.64, 1) both; }

.q-pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: var(--accent-soft);
  color: var(--accent);
  border-radius: 99px;
  padding: 4px 12px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 18px;
  position: relative;
  z-index: 1;
}

.q-text {
  font-size: clamp(18px, 3.5vw, 23px);
  font-weight: 500;
  line-height: 1.55;
  letter-spacing: -0.3px;
  color: var(--label);
  position: relative;
  z-index: 1;
}

/* Nav row */
.nav-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 18px;
}

.nav-btn {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: none;
  background: var(--bg2);
  color: var(--accent);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
  transition: background 0.15s, color 0.15s,
              transform 0.15s cubic-bezier(0.34,1.56,0.64,1),
              box-shadow 0.15s;
  flex-shrink: 0;
  -webkit-tap-highlight-color: transparent;
}

.nav-btn svg { width: 10px; height: 18px; pointer-events: none; }

.nav-btn:hover:not(:disabled) {
  background: var(--accent);
  color: #fff;
  transform: scale(1.1);
  box-shadow: 0 4px 18px rgba(255,45,120,0.28);
}

.nav-btn:active:not(:disabled) { transform: scale(0.93); }

.nav-btn:disabled {
  color: var(--label4);
  box-shadow: none;
  cursor: default;
}

.shuffle-btn {
  flex: 1;
  height: 50px;
  border-radius: 99px;
  border: none;
  background: var(--fill);
  color: var(--label2);
  font-family: var(--font);
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: background 0.15s, transform 0.12s;
  -webkit-tap-highlight-color: transparent;
}

.shuffle-btn:hover  { background: var(--separator); }
.shuffle-btn:active { transform: scale(0.97); }

/* Dots */
.dot-row {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 18px;
  padding: 0 4px;
}

.dot {
  width: 6px;
  height: 6px;
  border-radius: 99px;
  background: var(--separator);
  cursor: pointer;
  transition: background 0.2s, width 0.25s cubic-bezier(0.4,0,0.2,1);
  -webkit-tap-highlight-color: transparent;
}

.dot.active {
  background: var(--accent);
  width: 20px;
}

/* ── Category count done ─────────────────────────────────── */
.cat-count.all-done { color: #34c759; font-weight: 600; }

/* ── Question List View ──────────────────────────────────── */
.progress-summary {
  font-size: 14px;
  color: var(--label3);
  padding: 0 6px 16px;
}

.q-list {
  display: flex;
  flex-direction: column;
  background: var(--bg2);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}

.q-list-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  cursor: pointer;
  border-bottom: 0.5px solid var(--separator);
  transition: background 0.12s;
  -webkit-tap-highlight-color: transparent;
  user-select: none;
}

.q-list-row:last-child { border-bottom: none; }
.q-list-row:active { background: var(--fill); }

.q-check {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 1.5px solid var(--separator);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background 0.2s, border-color 0.2s;
}

.q-check.done {
  background: var(--accent);
  border-color: var(--accent);
}

.q-check svg { display: none; width: 10px; height: 8px; }
.q-check.done svg { display: block; }

.q-list-num {
  font-size: 13px;
  color: var(--label4);
  font-variant-numeric: tabular-nums;
  min-width: 18px;
  flex-shrink: 0;
}

.q-list-text {
  flex: 1;
  font-size: 15px;
  color: var(--label);
  line-height: 1.35;
}

.q-list-row.done .q-list-text { color: var(--label3); }

.q-list-chevron { color: var(--label4); flex-shrink: 0; }
.q-list-chevron svg { width: 7px; height: 12px; display: block; }

/* ── Complete button ─────────────────────────────────────── */
.complete-row {
  display: flex;
  justify-content: center;
  margin-top: 12px;
}

.complete-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 22px;
  border-radius: 99px;
  border: 1.5px solid var(--separator);
  background: transparent;
  color: var(--label3);
  font-family: var(--font);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s, background 0.2s;
  -webkit-tap-highlight-color: transparent;
}

.complete-btn:hover { border-color: var(--accent); color: var(--accent); }

.complete-btn.done {
  background: var(--accent-soft);
  border-color: var(--accent);
  color: var(--accent);
}

.complete-btn svg { width: 14px; height: 11px; pointer-events: none; }

/* ── Profile navbar button ───────────────────────────────── */
.profile-btn {
  width: 32px; height: 32px;
  border-radius: 50%;
  border: none;
  background: var(--fill);
  color: var(--label2);
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.15s;
  -webkit-tap-highlight-color: transparent;
  flex-shrink: 0;
  overflow: hidden;
  position: relative;
}

.profile-btn:hover { background: var(--separator); }
.profile-btn svg { width: 16px; height: 16px; pointer-events: none; }

.profile-btn-initials {
  position: absolute; inset: 0;
  background: var(--accent);
  color: #fff;
  font-size: 13px; font-weight: 700;
  display: none;
  align-items: center; justify-content: center;
  border-radius: 50%;
  pointer-events: none;
}

.profile-btn.logged-in .profile-btn-initials { display: flex; }
.profile-btn.logged-in .profile-icon { display: none; }

.profile-btn-premium-dot {
  position: absolute; bottom: 0; right: 0;
  width: 11px; height: 11px; border-radius: 50%;
  background: linear-gradient(135deg, #ff2d78, #ff9500);
  border: 1.5px solid var(--bg);
  display: none;
}

.profile-btn.premium .profile-btn-premium-dot { display: block; }

/* ── Premium active badge (category view) ────────────────── */
.premium-active-badge {
  display: flex; align-items: center; gap: 6px;
  font-size: 13px; font-weight: 600;
  background: linear-gradient(135deg, rgba(255,45,120,0.10), rgba(255,149,0,0.10));
  color: var(--accent);
  border: 1px solid rgba(255,45,120,0.20);
  border-radius: 99px;
  padding: 6px 14px;
  margin: -8px 6px 18px;
  width: fit-content;
}

.premium-active-badge svg { width: 13px; height: 13px; flex-shrink: 0; }

/* ── PRO category badge ──────────────────────────────────── */
.cat-pro-badge {
  display: inline-flex; align-items: center;
  font-size: 11px; font-weight: 700; letter-spacing: 0.5px;
  background: linear-gradient(135deg, #ff2d78, #ff9500);
  color: #fff; border-radius: 99px; padding: 4px 10px;
  flex-shrink: 0;
}

.cat-row-pro .cat-icon { filter: saturate(1.2); }

/* ── Lock icon in question list ──────────────────────────── */
.q-lock {
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--fill);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}

.q-lock svg { width: 10px; height: 12px; color: var(--label4); }

.q-list-row.locked { opacity: 0.65; }
.q-list-row.locked .q-list-num { color: var(--label4); }

.q-blur-lines {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 7px;
  justify-content: center;
}

.q-blur-line {
  display: block;
  height: 11px;
  border-radius: 99px;
  background: var(--separator);
}

/* ── Auth screen ─────────────────────────────────────────── */
.auth-wrap {
  display: flex; flex-direction: column; align-items: center;
  padding: 32px 0 48px;
}

.auth-logo {
  width: 72px; height: 72px;
  border-radius: 20px;
  background: var(--accent);
  display: flex; align-items: center; justify-content: center;
  font-size: 36px;
  margin-bottom: 20px;
  box-shadow: 0 4px 20px rgba(255,45,120,0.28);
}

.auth-heading {
  font-size: 24px; font-weight: 700; letter-spacing: -0.4px;
  color: var(--label); margin-bottom: 6px; text-align: center;
}

.auth-subheading {
  font-size: 15px; color: var(--label3);
  text-align: center; line-height: 1.5;
  margin-bottom: 28px; max-width: 280px;
}

.auth-tabs {
  display: flex; background: var(--fill);
  border-radius: 10px; padding: 3px;
  margin-bottom: 24px; width: 100%;
}

.auth-tab {
  flex: 1; padding: 8px;
  border: none; border-radius: 8px;
  background: transparent; color: var(--label3);
  font-family: var(--font); font-size: 15px; font-weight: 500;
  cursor: pointer; transition: background 0.18s, color 0.18s;
}

.auth-tab.active {
  background: var(--bg2); color: var(--label);
  box-shadow: 0 1px 4px rgba(0,0,0,0.10);
}

.auth-form { width: 100%; display: flex; flex-direction: column; gap: 14px; }

.auth-field { display: flex; flex-direction: column; gap: 6px; }

.auth-label {
  font-size: 13px; font-weight: 500;
  color: var(--label2); padding-left: 2px;
}

.auth-input {
  width: 100%; padding: 13px 14px;
  border-radius: 12px;
  border: 1.5px solid var(--separator);
  background: var(--bg2); color: var(--label);
  font-family: var(--font); font-size: 16px;
  outline: none; box-sizing: border-box;
  transition: border-color 0.18s;
}

.auth-input:focus { border-color: var(--accent); }

.auth-submit-btn {
  width: 100%; padding: 14px;
  border-radius: 12px; border: none;
  background: var(--accent); color: #fff;
  font-family: var(--font); font-size: 16px; font-weight: 600;
  cursor: pointer; margin-top: 4px;
  transition: opacity 0.15s;
}

.auth-submit-btn:hover  { opacity: 0.88; }
.auth-submit-btn:active { opacity: 0.72; }

.auth-error {
  font-size: 14px;
  color: #ff3b30;
  background: rgba(255,59,48,0.08);
  border-radius: 10px;
  padding: 10px 14px;
  margin: 12px 0 0;
  width: 100%;
  text-align: center;
  line-height: 1.4;
}

.auth-divider {
  font-size: 13px; color: var(--label4);
  margin: 18px 0 0; text-align: center;
}

.auth-skip-btn {
  background: none; border: none;
  color: var(--accent);
  font-family: var(--font); font-size: 15px;
  cursor: pointer; padding: 10px; margin-top: 2px;
}

/* ── Profile screen ──────────────────────────────────────── */
.profile-wrap {
  display: flex; flex-direction: column; align-items: center;
  padding: 32px 0 40px;
}

.profile-avatar {
  width: 80px; height: 80px; border-radius: 50%;
  background: var(--accent); color: #fff;
  font-size: 30px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 14px;
  box-shadow: 0 4px 16px rgba(255,45,120,0.25);
}

.profile-name  { font-size: 22px; font-weight: 700; letter-spacing: -0.4px; color: var(--label); margin-bottom: 4px; }
.profile-email { font-size: 15px; color: var(--label3); margin-bottom: 14px; }

.profile-badge {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 5px 14px; border-radius: 99px;
  font-size: 13px; font-weight: 600;
  margin-bottom: 22px;
}

.profile-badge.free    { background: var(--fill); color: var(--label3); }
.profile-badge.premium { background: linear-gradient(135deg,#ff2d78,#ff9500); color: #fff; }

.profile-upgrade-btn {
  width: 100%; padding: 14px; border-radius: 12px; border: none;
  background: linear-gradient(135deg, var(--accent), #ff9500);
  color: #fff; font-family: var(--font); font-size: 16px; font-weight: 600;
  cursor: pointer; margin-bottom: 24px;
  transition: opacity 0.15s;
}

.profile-upgrade-btn:hover { opacity: 0.88; }

.profile-section {
  width: 100%; background: var(--bg2);
  border-radius: 16px; overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  margin-bottom: 16px;
}

.profile-section-title {
  font-size: 12px; font-weight: 600; color: var(--label3);
  text-transform: uppercase; letter-spacing: 0.5px;
  padding: 12px 16px 6px;
}

.profile-stat-row {
  display: flex; align-items: center; justify-content: space-between;
  padding: 11px 16px;
  border-bottom: 0.5px solid var(--separator);
}

.profile-stat-row:last-child { border-bottom: none; }
.profile-stat-label { font-size: 15px; color: var(--label); }
.profile-stat-value { font-size: 15px; font-weight: 600; color: var(--accent); font-variant-numeric: tabular-nums; }

.profile-logout-btn {
  width: 100%; padding: 14px;
  border-radius: 12px;
  border: 1.5px solid var(--separator);
  background: transparent; color: #ff3b30;
  font-family: var(--font); font-size: 16px; font-weight: 500;
  cursor: pointer; margin-top: 8px;
  transition: background 0.15s;
}

.profile-logout-btn:hover { background: rgba(255,59,48,0.07); }

/* ── Paywall screen ──────────────────────────────────────── */
.paywall-wrap {
  display: flex; flex-direction: column; align-items: center;
  padding: 36px 0 48px; text-align: center;
}

.paywall-icon {
  width: 80px; height: 80px; border-radius: 50%;
  background: var(--accent-soft);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
}

.paywall-icon svg { width: 34px; height: 34px; color: var(--accent); }

.paywall-heading {
  font-size: 26px; font-weight: 700; letter-spacing: -0.4px;
  color: var(--label); margin-bottom: 10px;
}

.paywall-desc {
  font-size: 16px; color: var(--label3); line-height: 1.5;
  margin-bottom: 28px; max-width: 300px;
}

.paywall-features {
  list-style: none; width: 100%; padding: 0; margin: 0 0 28px;
  background: var(--bg2); border-radius: 16px; overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}

.paywall-feature {
  display: flex; align-items: center; gap: 12px;
  padding: 13px 16px;
  border-bottom: 0.5px solid var(--separator);
}

.paywall-feature:last-child { border-bottom: none; }

.paywall-check {
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--accent);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}

.paywall-check svg { width: 10px; height: 8px; }

.paywall-feature-text { font-size: 15px; color: var(--label); text-align: left; }

.paywall-cta-btn {
  width: 100%; padding: 15px;
  border-radius: 14px; border: none;
  background: linear-gradient(135deg, var(--accent), #ff6b9d);
  color: #fff; font-family: var(--font); font-size: 17px; font-weight: 600;
  cursor: pointer; margin-bottom: 12px;
  box-shadow: 0 4px 18px rgba(255,45,120,0.28);
  transition: opacity 0.15s, transform 0.12s;
}

.paywall-cta-btn:hover  { opacity: 0.90; }
.paywall-cta-btn:active { transform: scale(0.98); }

.paywall-login-btn {
  background: none; border: none;
  color: var(--accent);
  font-family: var(--font); font-size: 15px;
  cursor: pointer; padding: 8px;
}

/* ── Purchase screen ─────────────────────────────────────── */
.purchase-wrap {
  display: flex; flex-direction: column; align-items: center;
  padding: 32px 0 48px; text-align: center;
}

.purchase-icon {
  width: 80px; height: 80px; border-radius: 24px;
  background: linear-gradient(135deg, var(--accent), #ff9500);
  display: flex; align-items: center; justify-content: center;
  font-size: 38px; color: #fff;
  margin-bottom: 16px;
  box-shadow: 0 6px 24px rgba(255,45,120,0.28);
}

.purchase-badge {
  font-size: 12px; font-weight: 700; letter-spacing: 0.8px;
  text-transform: uppercase; color: var(--accent); margin-bottom: 4px;
}

.purchase-title {
  font-size: 34px; font-weight: 800; letter-spacing: -0.6px;
  color: var(--label); margin: 0 0 8px;
}

.purchase-price {
  font-size: 52px; font-weight: 800; letter-spacing: -1.5px;
  background: linear-gradient(135deg, var(--accent), #ff9500);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text; line-height: 1;
  margin-bottom: 6px;
}

.purchase-period { font-size: 14px; color: var(--label3); margin-bottom: 28px; }

.purchase-btn {
  width: 100%; padding: 16px; border-radius: 14px; border: none;
  background: linear-gradient(135deg, var(--accent), #ff9500);
  color: #fff; font-family: var(--font); font-size: 17px; font-weight: 700;
  cursor: pointer; margin-bottom: 10px;
  box-shadow: 0 6px 24px rgba(255,45,120,0.28);
  transition: opacity 0.15s, transform 0.12s;
}

.purchase-btn:hover  { opacity: 0.90; }
.purchase-btn:active { transform: scale(0.98); }

.purchase-legal { font-size: 12px; color: var(--label4); margin: 0; }

.purchase-success-icon {
  width: 80px; height: 80px; border-radius: 50%;
  background: #34c759;
  display: flex; align-items: center; justify-content: center;
  font-size: 38px; color: #fff;
  margin-bottom: 18px;
  animation: successPop 0.45s cubic-bezier(0.34,1.56,0.64,1);
}

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

.purchase-success-title {
  font-size: 26px; font-weight: 700; letter-spacing: -0.4px;
  color: var(--label); margin-bottom: 8px;
}

.purchase-success-desc {
  font-size: 16px; color: var(--label3); line-height: 1.5; margin-bottom: 28px;
}

.purchase-success-btn {
  width: 100%; padding: 14px; border-radius: 12px; border: none;
  background: #34c759; color: #fff;
  font-family: var(--font); font-size: 16px; font-weight: 600;
  cursor: pointer; transition: opacity 0.15s;
}

.purchase-success-btn:hover { opacity: 0.88; }

/* ── Footer ─────────────────────────────────────────────── */
footer {
  font-size: 11px;
  color: var(--label4);
  text-align: center;
  padding: 6px 16px 28px;
  letter-spacing: 0.2px;
}
