
:root {
  --bg: #0b0b0b;
  --panel: #111111;
  --text: #f5f5f5;
  --muted: #c9c9c9;
  --gold: #d4af37;
  --soft-gold: #e6c75a;
  --border: #1e1e1e;
  --accent: var(--gold);
}

* { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  background: linear-gradient(180deg, #0a0a0a, #0e0e0e 40%, #0a0a0a 100%);
  color: var(--text);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  background: rgba(15,15,15,0.85);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}

.brand { display: flex; align-items: center; gap: 12px; }
.logo {
  width: 36px; height: 36px; border-radius: 12px;
  display: grid; place-items: center;
  font-weight: 800; letter-spacing: 0.5px;
  background: radial-gradient(circle at 30% 30%, var(--soft-gold), var(--gold));
  color: #0b0b0b;
  box-shadow: 0 0 0 1px rgba(0,0,0,0.4), 0 4px 24px rgba(212,175,55,0.25) inset;
}

.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-top { font-size: 14px; color: var(--muted); }
.brand-sub { font-size: 16px; font-weight: 700; color: var(--text); }

.nav-actions { display: flex; gap: 8px; }
.btn {
  padding: 10px 14px; border-radius: 12px;
  border: 1px solid var(--border); background: #151515;
  color: var(--text); font-weight: 600; cursor: pointer;
  transition: transform .06s ease, border-color .2s ease, background .2s ease;
}
.btn:hover { border-color: #2a2a2a; transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-ghost { background: transparent; border: 1px solid var(--border); }

.app { padding: 24px 16px 80px; max-width: 980px; margin: 0 auto; }

.panel {
  background: linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0.0));
  border: 1px solid var(--border); border-radius: 18px; padding: 20px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.35); animation: fadeIn .25s ease both;
}
.panel + .panel { margin-top: 16px; }
.panel-centered { display: grid; place-items: center; min-height: 40vh; }

.h1 { font-size: 28px; margin: 0 0 10px; }
.h2 { font-size: 18px; margin: 12px 0 8px; color: var(--muted); }
.lead { font-size: 16px; color: var(--muted); }

.grid-options {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px; margin-top: 16px;
}
@media (max-width: 640px) { .grid-options { grid-template-columns: 1fr; } }

.card {
  border: 1px solid var(--border); border-radius: 16px;
  padding: 14px; background: #121212; cursor: pointer;
  transition: border-color .2s ease, transform .06s ease, background .2s ease;
}
.card:hover { border-color: #2b2b2b; transform: translateY(-1px); }
.card:active { transform: translateY(0); }
.card .title { font-weight: 700; color: var(--text); }
.card .desc { font-size: 14px; color: var(--muted); margin-top: 6px; }

.cta-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.cta {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 14px; font-weight: 700; border-radius: 12px;
  border: 1px solid var(--accent); background: transparent;
  color: var(--text); text-decoration: none;
}
.cta:hover { background: rgba(212,175,55,0.08); }
.cta .dot { width: 8px; height: 8px; border-radius: 999px; background: var(--accent); display: inline-block; }

small.note { color: var(--muted); display: block; margin-top: 8px; }

.site-footer {
  position: sticky; bottom: 0; z-index: 100;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 8px; padding: 12px 16px; background: rgba(15,15,15,0.85);
  border-top: 1px solid var(--border);
}
.site-footer a { color: var(--text); text-decoration: none; }
.site-footer a:hover { color: var(--soft-gold); }

.spinner { width: 32px; height: 32px; border: 3px solid #222; border-top-color: var(--soft-gold);
  border-radius: 50%; animation: spin 1s linear infinite; margin-bottom: 12px; }

@keyframes spin { to { transform: rotate(360deg); } }
@keyframes fadeIn { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: translateY(0); } }
