/* Cumulative Radio 365 — dark broadcast aesthetic */
:root {
  --bg: #0a0908;
  --bg2: #12100d;
  --panel: #171411;
  --line: #2a241c;
  --amber: #f5a623;
  --orange: #ff6b1a;
  --signal: #ffc857;
  --text: #f2ede4;
  --muted: #a89e8c;
  --dim: #6f6656;
  --good: #4ade80;
  --bad: #f87171;
  --radius: 14px;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(900px 420px at 15% -5%, rgba(245, 166, 35, 0.07), transparent 60%),
    radial-gradient(700px 380px at 90% 10%, rgba(255, 107, 26, 0.05), transparent 60%);
  z-index: 0;
}

.wrap { max-width: 1080px; margin: 0 auto; padding: 0 22px; position: relative; z-index: 1; }

/* ---------- header ---------- */
.site-header {
  border-bottom: 1px solid var(--line);
  background: rgba(10, 9, 8, 0.88);
  backdrop-filter: blur(8px);
  position: sticky;
  top: 0;
  z-index: 10;
}
.site-header .wrap {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-top: 12px;
  padding-bottom: 12px;
}
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--text); }
.brand img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; border: 1px solid var(--line); }
.brand-name { font-weight: 800; letter-spacing: 0.02em; font-size: 1.05rem; }
.brand-name .yr { color: var(--amber); }
.nav { margin-left: auto; display: flex; gap: 4px; flex-wrap: wrap; }
.nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  padding: 8px 14px;
  border-radius: 999px;
  transition: color 0.15s, background 0.15s;
}
.nav a:hover, .nav a.active { color: var(--text); background: var(--panel); }
.nav a.cta { color: #0a0908; background: var(--amber); }
.nav a.cta:hover { background: var(--signal); }

/* ---------- hero ---------- */
.hero { padding: 72px 0 52px; text-align: center; }
.kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--amber);
  border: 1px solid var(--line);
  padding: 8px 16px;
  border-radius: 999px;
  background: rgba(245, 166, 35, 0.06);
  margin-bottom: 26px;
}
.kicker .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--dim); }
.hero h1 {
  font-size: clamp(2.6rem, 7vw, 4.6rem);
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 1.05;
  margin-bottom: 18px;
}
.hero h1 .signal-word {
  background: linear-gradient(100deg, var(--amber), var(--orange));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.tagline { color: var(--muted); font-size: 1.12rem; max-width: 620px; margin: 0 auto 34px; }

/* signal bars */
.signal-bars { display: inline-flex; align-items: flex-end; gap: 6px; height: 44px; margin-bottom: 22px; }
.signal-bars span { width: 8px; border-radius: 4px; background: var(--line); }
.signal-bars span:nth-child(1) { height: 30%; }
.signal-bars span:nth-child(2) { height: 55%; }
.signal-bars span:nth-child(3) { height: 80%; }
.signal-bars span:nth-child(4) { height: 100%; background: linear-gradient(180deg, var(--signal), var(--orange)); box-shadow: 0 0 18px rgba(255, 107, 26, 0.45); }

/* ---------- listen card ---------- */
.listen-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 34px 30px;
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.listen-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--amber), var(--orange));
}
.air-badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--dim);
  border: 1px dashed var(--line);
  padding: 8px 18px 8px 22px;
  border-radius: 999px;
  margin-bottom: 18px;
}
.listen-card h2 { font-size: 1.7rem; margin-bottom: 10px; }
.listen-card p { color: var(--muted); margin-bottom: 22px; }

.notify-form { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; }
.notify-form input {
  background: var(--bg2);
  border: 1px solid var(--line);
  color: var(--text);
  padding: 13px 16px;
  border-radius: 10px;
  font-size: 0.95rem;
  min-width: 220px;
  flex: 1 1 220px;
  max-width: 320px;
}
.notify-form input:focus { outline: none; border-color: var(--amber); box-shadow: 0 0 0 3px rgba(245, 166, 35, 0.15); }
.btn {
  display: inline-block;
  background: linear-gradient(100deg, var(--amber), var(--orange));
  color: #0a0908;
  font-weight: 800;
  border: none;
  padding: 13px 26px;
  border-radius: 10px;
  font-size: 0.95rem;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.12s, box-shadow 0.12s;
}
.btn:hover { transform: translateY(-1px); box-shadow: 0 8px 24px rgba(255, 107, 26, 0.28); }
.btn:disabled { opacity: 0.55; cursor: not-allowed; transform: none; box-shadow: none; }
.btn.ghost { background: transparent; color: var(--amber); border: 1px solid var(--amber); }
.form-note { font-size: 0.82rem; color: var(--dim); margin-top: 14px; }
.form-msg { margin-top: 16px; font-weight: 600; font-size: 0.95rem; min-height: 1.4em; }
.form-msg.ok { color: var(--good); }
.form-msg.err { color: var(--bad); }

/* ---------- sections ---------- */
.section { padding: 56px 0; }
.section h2 { font-size: 1.9rem; margin-bottom: 14px; letter-spacing: -0.01em; }
.section h2 .accent { color: var(--amber); }
.section p.lead { color: var(--muted); max-width: 700px; margin-bottom: 26px; }

.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
@media (max-width: 720px) { .grid2 { grid-template-columns: 1fr; } }

.card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
}
.card h3 { font-size: 1.15rem; margin-bottom: 10px; color: var(--signal); }
.card p { color: var(--muted); font-size: 0.96rem; }
.card .big { font-size: 2.4rem; font-weight: 900; color: var(--text); }

.artist-cta {
  background: linear-gradient(120deg, #1b1408, #1a0f06);
  border: 1px solid #3a2a12;
  border-radius: var(--radius);
  padding: 44px 34px;
  text-align: center;
}
.artist-cta h2 { margin-bottom: 12px; }
.artist-cta p { color: var(--muted); max-width: 600px; margin: 0 auto 24px; }

/* stats strip */
.stats-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin: 34px 0 0;
}
@media (max-width: 640px) { .stats-strip { grid-template-columns: 1fr; } }
.stat {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  text-align: center;
}
.stat .num { font-size: 2.2rem; font-weight: 900; color: var(--signal); font-variant-numeric: tabular-nums; }
.stat .lbl { color: var(--muted); font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.12em; margin-top: 4px; }
.stat .sub { color: var(--dim); font-size: 0.78rem; margin-top: 6px; }

/* ---------- forms ---------- */
.form-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 36px 32px;
  max-width: 680px;
  margin: 0 auto;
}
.field { margin-bottom: 20px; }
.field label { display: block; font-weight: 700; font-size: 0.9rem; margin-bottom: 8px; }
.field label .req { color: var(--orange); }
.field input[type="text"],
.field input[type="email"],
.field input[type="url"],
.field select,
.field textarea {
  width: 100%;
  background: var(--bg2);
  border: 1px solid var(--line);
  color: var(--text);
  padding: 13px 16px;
  border-radius: 10px;
  font-size: 0.95rem;
  font-family: inherit;
}
.field textarea { min-height: 110px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--amber); box-shadow: 0 0 0 3px rgba(245, 166, 35, 0.15);
}
.field .hint { font-size: 0.8rem; color: var(--dim); margin-top: 6px; }
.checkbox-field {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  background: var(--bg2);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 16px;
  margin-bottom: 22px;
}
.checkbox-field input[type="checkbox"] { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--amber); flex-shrink: 0; }
.checkbox-field label { font-size: 0.9rem; color: var(--text); font-weight: 600; line-height: 1.5; cursor: pointer; }

/* ---------- admin ---------- */
.key-row { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 26px; }
.key-row input {
  flex: 1 1 260px;
  background: var(--bg2);
  border: 1px solid var(--line);
  color: var(--text);
  padding: 13px 16px;
  border-radius: 10px;
  font-family: monospace;
  font-size: 0.9rem;
}
table.data { width: 100%; border-collapse: collapse; font-size: 0.88rem; }
table.data th {
  text-align: left;
  padding: 10px 12px;
  color: var(--amber);
  text-transform: uppercase;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  border-bottom: 1px solid var(--line);
  white-space: nowrap;
}
table.data td { padding: 10px 12px; border-bottom: 1px solid #1e1a14; color: var(--muted); vertical-align: top; }
table.data td.strong { color: var(--text); font-weight: 600; }
table.data tr:hover td { background: rgba(245, 166, 35, 0.03); }
.table-scroll { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel); }
.table-scroll .card-head { padding: 18px 22px 0; }
.card-head h3 { font-size: 1.1rem; margin-bottom: 2px; }
.card-head p { font-size: 0.82rem; color: var(--dim); margin-bottom: 12px; }
.empty-note { padding: 26px; text-align: center; color: var(--dim); font-size: 0.92rem; }
.pill { display: inline-block; font-size: 0.72rem; font-weight: 700; padding: 3px 10px; border-radius: 999px; background: rgba(74, 222, 128, 0.12); color: var(--good); border: 1px solid rgba(74, 222, 128, 0.3); }
a.inline { color: var(--amber); word-break: break-all; }

/* ---------- footer ---------- */
.site-footer { border-top: 1px solid var(--line); margin-top: 60px; padding: 34px 0; }
.site-footer .wrap { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.site-footer img { width: 38px; height: 38px; border-radius: 50%; object-fit: cover; border: 1px solid var(--line); }
.site-footer .ftext { color: var(--dim); font-size: 0.85rem; }
.site-footer .ftext strong { color: var(--muted); }
.site-footer nav { margin-left: auto; display: flex; gap: 18px; }
.site-footer nav a { color: var(--dim); text-decoration: none; font-size: 0.85rem; }
.site-footer nav a:hover { color: var(--amber); }
