/* RentScope — about.css */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --accent:      #30D158;
  --accent-dim:  rgba(48, 209, 88, 0.12);
  --bg:          #1c1c1e;
  --surface:     #2c2c2e;
  --surface-2:   #3a3a3c;
  --text-1:      #f5f5f7;
  --text-2:      #ababab;
  --text-3:      #6e6e73;
  --border:      rgba(255,255,255,0.08);
  --radius:      10px;
}

body {
  background: var(--bg);
  color: var(--text-1);
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 14px;
  line-height: 1.6;
}

#page { max-width: 640px; margin: 0 auto; padding: 0 0 80px; }

/* ── Hero ──────────────────────────────────────────────────────────── */
#hero {
  display: flex; flex-direction: column; align-items: center;
  padding: 40px 24px 32px; text-align: center;
  border-bottom: 1px solid var(--border);
}
.hero-logo { margin-bottom: 16px; }
.hero-title { font-size: 28px; font-weight: 700; color: var(--text-1); letter-spacing: -0.5px; }
.hero-tagline { margin-top: 8px; font-size: 14px; color: var(--text-2); line-height: 1.5; }

/* ── Sections ──────────────────────────────────────────────────────── */
.content-section { padding: 28px 24px 0; }
.section-heading {
  font-size: 11px; font-weight: 700; color: var(--accent);
  text-transform: uppercase; letter-spacing: 0.8px; margin-bottom: 14px;
}

/* ── Feature grid ──────────────────────────────────────────────────── */
.feature-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.feature-card {
  display: flex; align-items: center; gap: 10px;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 10px 14px;
}
.fc-icon { font-size: 16px; flex-shrink: 0; }
.fc-text  { font-size: 12px; color: var(--text-2); }

/* ── How to use ────────────────────────────────────────────────────── */
.usage-list {
  list-style: none; counter-reset: step;
  display: flex; flex-direction: column; gap: 10px; margin-bottom: 20px;
}
.usage-list li {
  counter-increment: step; display: flex;
  align-items: flex-start; gap: 12px;
  font-size: 13px; color: var(--text-2);
}
.usage-list li::before {
  content: counter(step);
  flex-shrink: 0; width: 22px; height: 22px;
  background: var(--accent); color: #000;
  font-size: 11px; font-weight: 700; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; margin-top: 1px;
}
.usage-list li strong { color: var(--text-1); }

.feedback-btn {
  display: inline-block; margin-top: 4px;
  padding: 8px 18px; background: var(--surface);
  border: 1px solid var(--border); border-radius: 8px;
  color: var(--text-2); font-size: 12px; text-decoration: none;
  transition: border-color 0.15s, color 0.15s;
}
.feedback-btn:hover { border-color: var(--accent); color: var(--accent); }

/* ── Data sources ──────────────────────────────────────────────────── */
.data-block {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 12px 14px; margin-bottom: 10px;
}
.data-block-title { font-size: 13px; font-weight: 600; color: var(--text-1); margin-bottom: 5px; }
.data-block-body  { font-size: 12px; color: var(--text-2); }
.data-block-hint  { font-size: 11px; color: var(--text-3); margin-top: 4px; }
.data-note        { font-size: 11px; color: var(--text-3); margin-top: 12px; font-style: italic; }
.data-disclaimer  { font-size: 11px; color: var(--text-3); margin-top: 6px; font-style: italic; opacity: 0.7; }

/* ── About developer ───────────────────────────────────────────────── */
.risa-logo-wrap { display: flex; justify-content: center; margin-bottom: 18px; }
.risa-logo-wrap a { display: inline-block; border-radius: 14px; transition: transform 0.15s, box-shadow 0.15s; }
.risa-logo-wrap a:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(0,0,0,0.25); }
.risa-logo { width: 160px; height: auto; background: #fff; border-radius: 14px; padding: 14px 20px; object-fit: contain; display: block; }
.about-text { font-size: 13px; color: var(--text-2); line-height: 1.6; margin-bottom: 14px; }
.about-link { color: var(--accent); text-decoration: none; }
.about-link:hover { text-decoration: underline; }
.about-badge { display: inline-block; padding: 5px 14px; background: var(--accent-dim); border-radius: 20px; font-size: 11px; color: var(--accent); font-weight: 600; }

/* ── Ko-fi ─────────────────────────────────────────────────────────── */
.donate-desc { font-size: 13px; color: var(--text-2); margin-bottom: 16px; }
.qr-grid { display: flex; justify-content: center; gap: 12px; }
.qr-card { background: var(--surface-2); border-radius: var(--radius); padding: 16px 12px; display: flex; flex-direction: column; align-items: center; gap: 8px; border: 1px solid var(--border); transition: border-color 0.15s; min-width: 140px; }
.qr-card:hover { border-color: rgba(48,209,88,0.3); }
.qr-img-link { display: block; border-radius: 8px; overflow: hidden; transition: transform 0.15s, box-shadow 0.15s; }
.qr-img-link:hover { transform: scale(1.03); box-shadow: 0 4px 16px rgba(48,209,88,0.2); }
.qr-img { width: 120px; height: 120px; display: block; border-radius: 8px; }
.qr-placeholder { width: 120px; height: 120px; background: var(--surface-2); border-radius: 8px; border: 1px dashed rgba(255,255,255,0.15); display: flex; align-items: center; justify-content: center; font-size: 28px; }
.qr-label { font-size: 11px; font-weight: 600; color: var(--text-2); }
.qr-link { font-size: 10px; color: var(--text-3); text-decoration: none; }
.qr-link:hover { color: var(--accent); }

/* ── Changelog ─────────────────────────────────────────────────────── */
.changelog { display: flex; flex-direction: column; gap: 14px; }
.cl-item { display: flex; gap: 14px; align-items: flex-start; }
.cl-ver { flex-shrink: 0; font-size: 11px; font-weight: 700; color: var(--accent); background: var(--accent-dim); padding: 2px 8px; border-radius: 4px; margin-top: 2px; }
.cl-body { flex: 1; }
.cl-title { font-size: 13px; font-weight: 600; color: var(--text-1); margin-bottom: 6px; }
.cl-list { list-style: disc; padding-left: 16px; font-size: 12px; color: var(--text-2); display: flex; flex-direction: column; gap: 3px; }

/* ── Footer ────────────────────────────────────────────────────────── */
#about-footer {
  position: sticky; bottom: 0;
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 24px; background: var(--surface);
  border-top: 1px solid var(--border); margin-top: 32px;
}
.close-btn { padding: 7px 18px; background: var(--surface-2); border: 1px solid var(--border); border-radius: 8px; color: var(--text-2); font-size: 13px; cursor: pointer; transition: border-color 0.15s, color 0.15s; }
.close-btn:hover { border-color: var(--accent); color: var(--accent); }
.footer-copy { font-size: 11px; color: var(--text-3); }
.footer-privacy { font-size: 11px; color: var(--text-3); text-decoration: none; }
.footer-privacy:hover { color: var(--accent); }
