:root {
  --bg: #121212;
  --bg-raised: #1a1a1a;
  --bg-card: #1e1e1e;
  --border: #2d2d2d;
  --text: #e8e8e8;
  --text-dim: #9a9a9a;
  --brand: #0078d7;
  --brand-dark: #005fa8;
  --radius: 10px;
}

* { box-sizing: border-box; }

body {
  background:
    radial-gradient(ellipse 900px 500px at 50% -10%, rgba(0, 120, 215, 0.16), transparent 60%),
    var(--bg);
  color: var(--text);
  font-family: "Inter", -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  margin: 0;
  line-height: 1.55;
  min-height: 100vh;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 36px;
}
.site-nav .brand { font-weight: 700; font-size: 17px; color: var(--text); text-decoration: none; letter-spacing: -0.01em; }
.site-nav .brand span { color: var(--brand); }

.hero {
  max-width: 720px; margin: 0 auto; padding: 108px 24px 40px; text-align: center;
}
.eyebrow {
  display: inline-block; font-size: 12px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--brand); background: rgba(0, 120, 215, 0.12); padding: 5px 14px; border-radius: 99px; margin-bottom: 20px;
}
.hero h1 { font-size: 46px; font-weight: 800; margin: 0 0 18px; letter-spacing: -0.02em; line-height: 1.1; }
.hero p.tagline { font-size: 18px; color: var(--text-dim); margin: 0; max-width: 540px; margin-inline: auto; }

.card-grid {
  max-width: 980px; margin: 0 auto; padding: 48px 24px 110px;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px;
}
.project-card {
  background: linear-gradient(160deg, var(--bg-card), var(--bg-raised));
  border: 1px solid var(--border); border-radius: 14px;
  padding: 26px; display: flex; flex-direction: column; gap: 14px; text-decoration: none; color: inherit;
  transition: border-color 0.15s, transform 0.15s, box-shadow 0.15s;
}
.project-card:hover {
  border-color: rgba(0, 120, 215, 0.5); transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.35);
}
.project-card .icon {
  width: 42px; height: 42px; border-radius: 10px; background: rgba(0, 120, 215, 0.14);
  display: flex; align-items: center; justify-content: center; color: var(--brand);
}
.project-card .top-row { display: flex; justify-content: space-between; align-items: flex-start; }
.project-card h3 { margin: 0; font-size: 17px; font-weight: 600; }
.project-card .tagline { color: var(--text-dim); font-size: 14px; margin: 0; }
.project-card .visit { font-size: 13px; font-weight: 500; color: var(--brand); margin-top: auto; }
.badge {
  font-size: 11px; font-weight: 600; letter-spacing: 0.03em; text-transform: uppercase;
  padding: 3px 9px; border-radius: 99px; white-space: nowrap;
}
.badge.live { background: #10381f; color: #5fd98a; }
.badge.coming-soon { background: #332a10; color: #e0b84a; }

.site-footer {
  border-top: 1px solid var(--border); padding: 32px 32px; text-align: center;
  color: var(--text-dim); font-size: 13px;
}
.site-footer a { color: var(--text-dim); text-decoration: none; }
.site-footer a:hover { color: var(--text); }

.btn {
  display: inline-block; padding: 10px 20px; border-radius: 7px; text-decoration: none;
  font-size: 14px; font-weight: 500; border: 1px solid var(--border); cursor: pointer;
}
.btn-primary { background: var(--brand); border-color: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-dark); }

/* -- Auth / admin, mirrors music.project-5.com's own admin styling -- */
.auth-page { display: flex; align-items: center; justify-content: center; min-height: 100vh; }
.auth-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; width: 340px; }
.auth-card h1 { font-size: 17px; margin: 0 0 18px; text-align: center; }
.auth-card .error { color: #e08787; font-size: 13px; margin-top: 12px; text-align: center; }

.admin-shell { display: flex; min-height: 100vh; }
.admin-sidebar { width: 200px; background: var(--bg-raised); border-right: 1px solid var(--border); padding: 24px 0; flex-shrink: 0; }
.admin-sidebar a { display: block; padding: 10px 24px; color: var(--text-dim); text-decoration: none; font-size: 14px; }
.admin-sidebar a:hover { color: var(--text); background: var(--bg-card); }
.admin-main { flex: 1; padding: 36px 40px; max-width: 920px; }
.admin-main h1 { font-size: 22px; margin: 0 0 24px; }
.admin-table { width: 100%; border-collapse: collapse; margin-bottom: 32px; }
.admin-table th, .admin-table td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--border); font-size: 13px; }
.admin-table th { color: var(--text-dim); font-weight: 500; }
.admin-form, .auth-card form { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; max-width: 520px; }
.auth-card form { border: none; padding: 0; }
.admin-form label, .auth-card label { display: block; font-size: 12px; color: var(--text-dim); margin: 14px 0 4px; }
.admin-form label:first-child, .auth-card label:first-child { margin-top: 0; }
.admin-form input, .admin-form textarea, .admin-form select, .auth-card input {
  width: 100%; background: var(--bg); border: 1px solid var(--border); border-radius: 5px;
  color: var(--text); padding: 8px 10px; font-size: 14px; font-family: inherit;
}
.admin-form textarea { min-height: 120px; resize: vertical; }
.btn-danger { background: transparent; border: 1px solid #5a2323; color: #e08787; font-size: 12px; padding: 4px 10px; border-radius: 5px; cursor: pointer; }
.btn-danger:hover { background: #2a1414; }
