/*
  Jersey Rootz Radio — shared public-site design system.
  Extracted from index.html (the rootz.je homepage). Any public-facing page
  (homepage, advertiser portal, future pages) should load this file rather
  than re-declaring its own tokens, so the site stays visually one thing.
*/

:root {
  --bg: #050505;
  --panel: rgba(8, 8, 8, 0.72);
  --panel-soft: rgba(255, 255, 255, 0.035);
  --panel-soft-line: rgba(255, 255, 255, 0.07);
  --text: #f6f1d5;
  --muted: #d6c88f;
  --muted-dim: rgba(246, 241, 213, 0.56);
  --gold: #f7c51f;
  --green: #27b34a;
  --red: #d43a22;
  --line: rgba(247, 197, 31, 0.2);
  --glow: 0 0 80px rgba(247, 197, 31, 0.18);
  --radius-lg: 28px;
  --radius-md: 16px;
  --radius-sm: 10px;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  min-height: 100%;
  background:
    radial-gradient(circle at top left, rgba(39, 179, 74, 0.18), transparent 28%),
    radial-gradient(circle at top right, rgba(212, 58, 34, 0.18), transparent 24%),
    radial-gradient(circle at bottom center, rgba(247, 197, 31, 0.14), transparent 30%),
    var(--bg);
  color: var(--text);
  font-family: Georgia, "Times New Roman", serif;
}

body {
  overflow-x: hidden;
  position: relative;
}

body::before,
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
}

body::before {
  background:
    linear-gradient(120deg, transparent 0 35%, rgba(247, 197, 31, 0.05) 50%, transparent 65%),
    linear-gradient(0deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0.02));
  mix-blend-mode: screen;
}

body::after {
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.015) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.015) 1px, transparent 1px);
  background-size: 24px 24px;
  mask-image: radial-gradient(circle at center, black 40%, transparent 90%);
}

a { color: inherit; }

/* ---------- Page shell / site header ---------- */

.site-header {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  max-width: 1080px;
  margin: 0 auto;
  padding: 24px 20px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.05rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.brand img { display: block; height: 30px; width: auto; }

.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.site-nav a {
  display: inline-block;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid var(--panel-soft-line);
  background: var(--panel-soft);
  color: var(--muted);
  text-decoration: none;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  transition: color 0.15s ease, border-color 0.15s ease, background 0.15s ease;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--gold);
  border-color: rgba(247, 197, 31, 0.35);
  background: rgba(247, 197, 31, 0.08);
}

.page {
  width: min(1080px, 100%);
  margin: 0 auto;
  padding: 28px 20px 64px;
  position: relative;
  z-index: 1;
}

.shell {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 32px 20px;
}

/* ---------- Card / hero panel ---------- */

.hero,
.panel-card {
  border: 1px solid var(--line);
  background: var(--panel);
  backdrop-filter: blur(12px);
  box-shadow: var(--glow);
  border-radius: var(--radius-lg);
  padding: 32px;
  position: relative;
  overflow: hidden;
}

.hero { width: min(1080px, 100%); }

.hero::before {
  content: "";
  position: absolute;
  inset: auto -10% -35% auto;
  width: 420px;
  height: 420px;
  background: radial-gradient(circle, rgba(39, 179, 74, 0.16), transparent 70%);
  filter: blur(12px);
}

.hero::after {
  content: "";
  position: absolute;
  inset: -15% auto auto -8%;
  width: 340px;
  height: 340px;
  background: radial-gradient(circle, rgba(212, 58, 34, 0.16), transparent 70%);
  filter: blur(10px);
}

/* ---------- Typography ---------- */

.eyebrow {
  display: inline-block;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(247, 197, 31, 0.28);
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.72rem;
  margin-bottom: 18px;
  background: rgba(247, 197, 31, 0.08);
}

h1 {
  margin: 0;
  font-size: clamp(2.4rem, 6vw, 4.4rem);
  line-height: 0.98;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

h1 .accent {
  color: var(--gold);
  text-shadow: 0 0 28px rgba(247, 197, 31, 0.18);
}

h2 {
  margin: 0 0 6px;
  font-size: clamp(1.4rem, 3vw, 1.9rem);
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.lede {
  margin: 22px 0 0;
  max-width: 34rem;
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  line-height: 1.75;
  color: var(--muted);
}

.section-intro {
  max-width: 40rem;
  margin: 0 0 28px;
}

.section-intro .kicker {
  display: block;
  color: var(--gold);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  margin-bottom: 8px;
}

.section-intro p {
  margin: 10px 0 0;
  color: var(--muted);
  line-height: 1.6;
}

/* ---------- Status / live indicator ---------- */

.status {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.pulse {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--green);
  animation: pulse 1.8s infinite;
  flex: none;
}

.status-text {
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text);
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(39, 179, 74, 0.7); }
  70% { box-shadow: 0 0 0 14px rgba(39, 179, 74, 0); }
  100% { box-shadow: 0 0 0 0 rgba(39, 179, 74, 0); }
}

/* ---------- Cards / grids ---------- */

.note-grid,
.plan-grid {
  display: grid;
  gap: 12px;
}

.note-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.note {
  padding: 14px 16px;
  border-radius: var(--radius-md);
  background: var(--panel-soft);
  border: 1px solid var(--panel-soft-line);
}

.note strong {
  display: block;
  margin-bottom: 6px;
  color: var(--gold);
  font-size: 0.86rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.note span { color: var(--muted); line-height: 1.5; font-size: 0.96rem; }

.stat-panel {
  padding: 16px 18px;
  border-radius: var(--radius-md);
  background: var(--panel-soft);
  border: 1px solid var(--panel-soft-line);
}

.stat-grid { display: flex; flex-wrap: wrap; gap: 8px; }

.stat {
  flex: 1;
  min-width: 80px;
  background: rgba(0, 0, 0, 0.2);
  border-radius: var(--radius-sm);
  padding: 8px 10px;
}

.stat-label {
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(246, 241, 213, 0.38);
  margin-bottom: 3px;
}

.stat-value { font-size: 0.9rem; color: var(--text); }

/* Pricing / plan cards — bigger sibling of .note, built for the portal */

.plan-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 8px; }

.plan-card {
  padding: 26px 24px;
  border-radius: var(--radius-md);
  background: var(--panel-soft);
  border: 1px solid var(--panel-soft-line);
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.plan-card.featured {
  border-color: rgba(247, 197, 31, 0.35);
  background: rgba(247, 197, 31, 0.06);
}

.plan-name {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--gold);
}

.plan-price {
  font-size: 2.1rem;
  line-height: 1;
}

.plan-price small {
  font-size: 0.95rem;
  color: var(--muted);
  text-transform: none;
  letter-spacing: 0;
}

.plan-card ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.4;
  flex: 1;
}

.plan-card li::before { content: "— "; color: var(--gold); }

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 22px;
  border-radius: 999px;
  border: 1px solid rgba(247, 197, 31, 0.35);
  background: rgba(247, 197, 31, 0.1);
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.82rem;
  font-family: inherit;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.15s ease, box-shadow 0.15s ease, transform 0.05s ease;
}

.btn:hover { background: rgba(247, 197, 31, 0.18); box-shadow: 0 0 24px rgba(247, 197, 31, 0.22); }
.btn:active { transform: translateY(1px); }

.btn-primary {
  background: var(--gold);
  color: #1a1400;
  border-color: var(--gold);
}

.btn-primary:hover { background: #ffd23a; box-shadow: 0 0 28px rgba(247, 197, 31, 0.4); }

/* ---------- Forms ---------- */

.field { margin-bottom: 16px; }

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

label {
  display: block;
  margin-bottom: 6px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.72rem;
}

input,
select,
textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--panel-soft-line);
  background: rgba(0, 0, 0, 0.25);
  color: var(--text);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 0.98rem;
}

textarea { resize: vertical; min-height: 96px; }

input::placeholder,
textarea::placeholder { color: rgba(246, 241, 213, 0.35); }

input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: rgba(247, 197, 31, 0.5);
  box-shadow: 0 0 0 3px rgba(247, 197, 31, 0.12);
}

.form-note {
  margin-top: 10px;
  font-size: 0.82rem;
  color: var(--muted-dim);
  line-height: 1.5;
}

/* ---------- Footer ---------- */

.footer {
  margin-top: 28px;
  color: var(--muted-dim);
  font-size: 0.92rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.site-footer {
  position: relative;
  z-index: 1;
  max-width: 1080px;
  margin: 0 auto;
  padding: 20px 20px 40px;
  color: var(--muted-dim);
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  text-align: center;
}

.site-footer p { margin: 6px 0 0; }

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin: 6px 0 0;
}

.footer-links a {
  color: var(--muted-dim);
  text-decoration: none;
  transition: color 0.15s ease;
}

.footer-links a:hover { color: var(--gold); }

.footer-links .divider { opacity: 0.5; }

.footer-links .pending {
  color: rgba(246, 241, 213, 0.32);
  font-style: italic;
}

.copyright { opacity: 0.75; }

/* ---------- Weekly content pages (Whago-wan and similar) ---------- */

.section-kicker {
  color: var(--gold);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.74rem;
  font-weight: 700;
}

.content-hero {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2rem;
  align-items: end;
  margin-bottom: 2rem;
}

.player-card {
  padding: 1.2rem;
}

.player-card audio {
  width: 100%;
  margin-top: 0.8rem;
  display: block;
}

.meta {
  color: var(--muted);
  font-size: 0.92rem;
}

.feature-card {
  padding: 1.25rem 1.5rem;
  background:
    linear-gradient(135deg, rgba(247, 197, 31, 0.14), transparent 60%),
    var(--panel-soft);
  border: 1px solid var(--panel-soft-line);
  border-radius: var(--radius-md);
}

.feature-card h2 {
  margin: 0.25rem 0;
  font-size: 1.5rem;
  text-transform: none;
  letter-spacing: 0;
}

.content-layout {
  display: grid;
  gap: 1.6rem;
}

.event-section {
  margin-top: 1.2rem;
}

.event-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 0.8rem;
}

.rico-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 0.8rem;
}

.event-card,
.rico-card,
.empty-state {
  padding: 1rem 1.15rem;
  background: var(--panel-soft);
  border: 1px solid var(--panel-soft-line);
  border-radius: var(--radius-md);
}

.event-card h3,
.rico-card h3 {
  margin: 0.25rem 0 0.45rem;
  font-size: 1.1rem;
  line-height: 1.25;
  text-transform: none;
  letter-spacing: 0;
}

.event-date {
  color: var(--green);
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.02em;
}

.venue {
  color: var(--gold);
  font-style: italic;
  font-size: 0.92rem;
}

.event-card p,
.rico-card p {
  color: var(--muted);
  margin: 0.45rem 0;
  font-size: 0.94rem;
  line-height: 1.55;
}

.event-link { margin-top: 0.65rem; }

.event-link a,
.feature-card a {
  color: var(--gold);
}

.mini-events {
  display: flex;
  gap: 0.4rem;
  flex-wrap: wrap;
  margin-top: 0.75rem;
}

.mini-events span {
  border: 1px solid rgba(39, 179, 74, 0.35);
  color: var(--green);
  border-radius: 999px;
  padding: 0.18rem 0.55rem;
  font-size: 0.74rem;
}

.empty-state {
  color: var(--muted-dim);
  text-align: center;
  font-style: italic;
}

/* ---------- Responsive ---------- */

@media (max-width: 900px) {
  .note-grid,
  .plan-grid { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .content-hero { grid-template-columns: 1fr; }
  .event-grid,
  .rico-grid { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .hero,
  .panel-card { padding: 20px; border-radius: 22px; }
  h1 { font-size: clamp(2.1rem, 11vw, 3rem); }
}
