/* purrguy.me — shared base styles (dark) */

:root {
  color-scheme: dark;
  --bg: #0a0a0a;
  --surface: #131313;
  --surface-2: #1a1a1a;
  --ink: #ededed;
  --muted: #8a8a8a;
  --line: #262626;
  --accent: #d4ff3a;
  --accent-dim: #9bc42a;
  --accent-2: #d4ff3a;
  --danger: #ff6b6b;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.45);
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, system-ui, sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, monospace;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }

.skip-link {
  position: absolute;
  top: -10000px;
  left: 0;
  background: var(--accent);
  color: #0a0a0a;
  padding: 8px 16px;
  z-index: 10000;
  font-weight: 700;
}
.skip-link:focus { top: 0; }

/* ---------- Nav ---------- */
.shell-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(10, 10, 10, 0.78);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--line);
  padding: 0 max(20px, 6%);
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.shell-brand {
  font-weight: 800;
  font-size: 17px;
  letter-spacing: -0.04em;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--ink);
}

.shell-brand .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 12px var(--accent);
  flex: none;
}

.shell-links {
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: 13px;
  color: var(--muted);
}

.shell-links a { transition: color 0.15s; }
.shell-links a:hover { color: var(--ink); }

.shell-links a.pill {
  background: var(--ink);
  color: var(--bg);
  border-radius: 999px;
  padding: 8px 14px;
  font-weight: 700;
  font-size: 12px;
}
.shell-links a.pill:hover { color: var(--bg); transform: translateY(-1px); }

/* ---------- Type ---------- */
.eyebrow {
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before {
  content: "";
  width: 24px;
  height: 1px;
  background: var(--muted);
}

.kicker {
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
  margin-bottom: 8px;
}

h1, h2, h3 { letter-spacing: -0.03em; line-height: 1.1; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 12px 18px;
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  background: transparent;
  cursor: pointer;
  transition: transform 0.15s, border-color 0.15s, background 0.15s, color 0.15s;
  text-decoration: none;
}
.btn:hover { border-color: var(--muted); transform: translateY(-1px); }

.btn-primary {
  background: var(--accent);
  border-color: var(--accent);
  color: #0a0a0a;
}
.btn-primary:hover { background: var(--accent-dim); border-color: var(--accent-dim); }

.btn-ghost { background: transparent; color: var(--muted); }
.btn-ghost:hover { color: var(--ink); }

.btn-primary:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  transform: none;
}

.btn.small { padding: 9px 14px; font-size: 12px; }

/* ---------- Cards / inputs ---------- */
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
}

.card h3 {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 12px;
}

.input-group {
  display: flex;
  gap: 8px;
  margin-bottom: 10px;
}

.input-group input {
  flex: 1;
  min-width: 0;
  padding: 11px 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--bg);
  color: var(--ink);
  font-size: 14px;
  font-family: inherit;
}
.input-group input::placeholder { color: #5f5f5f; }
.input-group input:focus {
  outline: 2px solid var(--accent);
  outline-offset: -1px;
  border-color: var(--accent);
}

.hint { font-size: 12px; color: var(--muted); margin-top: 6px; }

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 32px max(20px, 6%);
  color: var(--muted);
  font-size: 12px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.site-footer strong { color: var(--ink); }
.site-footer a { color: var(--muted); }
.site-footer a:hover { color: var(--ink); }

/* ---------- Ads ---------- */
.ad-slot {
  display: flex;
  justify-content: center;
  margin: 8px auto 0;
  min-height: 90px;
  width: 100%;
  max-width: 970px;
  overflow: hidden;
}

.adblock-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(10, 10, 10, 0.9);
  backdrop-filter: blur(6px);
  z-index: 9000;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.adblock-overlay.open { display: flex; }

.adblock-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 32px 28px;
  max-width: 420px;
  width: 100%;
  text-align: center;
}
.adblock-card h2 { font-size: 21px; margin-bottom: 10px; }
.adblock-card p { color: var(--muted); font-size: 14px; margin-bottom: 18px; }
.adblock-actions { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }

@media (max-width: 620px) {
  .hide-sm { display: none; }
}

@media (max-width: 720px) {
  .shell-nav { height: auto; padding-top: 12px; padding-bottom: 12px; flex-wrap: wrap; }
  .shell-links { gap: 14px; font-size: 12px; }
  .shell-links a.pill { padding: 7px 12px; }
  .ad-slot { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation: none !important; transition: none !important; }
}
