/* Niche Radio Network — nicheradio.com.au */

:root {
  --cyan: #22d3e0;
  --blue: #3b7bf7;
  --violet: #6c3ef5;
  --grad: linear-gradient(100deg, var(--cyan) 0%, var(--blue) 50%, var(--violet) 100%);
  --ink: #23272e;
  --ink-soft: #4b5563;
  --bg: #ffffff;
  --bg-soft: #f4f7fb;
  --line: #e5eaf1;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(35, 60, 120, 0.10);
  --maxw: 1120px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: "Inter", -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 22px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 20px; padding: 14px 22px;
  max-width: var(--maxw); margin: 0 auto;
}
.brand img { height: 40px; width: auto; }

.nav-toggle {
  display: none; background: none; border: 0; cursor: pointer;
  padding: 8px; border-radius: 8px;
}
.nav-toggle span {
  display: block; width: 24px; height: 3px; margin: 5px 0;
  background: var(--ink); border-radius: 2px; transition: 0.2s;
}

.site-nav ul { display: flex; gap: 26px; list-style: none; align-items: center; }
.site-nav a {
  color: var(--ink); font-weight: 600; font-size: 15px;
}
.site-nav a:hover { color: var(--blue); text-decoration: none; }
.site-nav a.active { color: var(--blue); }
.site-nav a.btn-listen {
  background: var(--grad); color: #fff; padding: 9px 20px;
  border-radius: 999px; font-weight: 700;
}
.site-nav a.btn-listen:hover { opacity: 0.9; color: #fff; }

/* dropdown */
.has-sub { position: relative; }
.has-sub > a::after { content: " ▾"; font-size: 11px; }
.site-nav .sub-menu {
  display: none; position: absolute; top: 100%; left: -14px;
  background: #fff; border: 1px solid var(--line); border-radius: 12px;
  box-shadow: var(--shadow); padding: 10px 0; min-width: 210px; z-index: 60;
}
.sub-menu li { display: block; }
.sub-menu a { display: block; padding: 8px 18px; font-weight: 500; }
.site-nav .has-sub:hover .sub-menu, .site-nav .has-sub:focus-within .sub-menu { display: block; }

@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .site-nav {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    background: #fff; border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
  }
  .site-nav.open { display: block; }
  .site-nav ul { flex-direction: column; align-items: stretch; gap: 0; padding: 10px 0; }
  .site-nav li { border-bottom: 1px solid var(--bg-soft); }
  .site-nav li:last-child { border-bottom: 0; }
  .site-nav a { display: block; padding: 13px 26px; }
  .site-nav a.btn-listen { margin: 12px 22px; text-align: center; }
  .site-nav .sub-menu {
    display: block; position: static; border: 0; box-shadow: none;
    padding: 0 0 6px 18px; min-width: 0;
  }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; color: #fff; overflow: hidden;
  background: linear-gradient(115deg, #0c1230 0%, #12224d 45%, #34247a 100%);
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(700px 340px at 85% 10%, rgba(108, 62, 245, 0.45), transparent 65%),
    radial-gradient(600px 320px at 10% 90%, rgba(34, 211, 224, 0.30), transparent 65%);
}
.hero-inner {
  position: relative; max-width: var(--maxw); margin: 0 auto;
  padding: 90px 22px 96px; text-align: left;
}
.hero .kicker {
  display: inline-block; font-weight: 700; letter-spacing: 0.14em;
  text-transform: uppercase; font-size: 13px; color: var(--cyan);
  margin-bottom: 18px;
}
.hero h1 {
  font-family: "Bungee", "Inter", sans-serif; font-weight: 400;
  font-size: clamp(30px, 5.4vw, 58px); line-height: 1.12;
  max-width: 18ch;
}
.hero h1 .grad {
  background: linear-gradient(100deg, #46e6f0, #6ea3ff, #a07bff);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero p.lede {
  margin-top: 22px; font-size: clamp(16px, 2vw, 19px);
  color: #ccd6f0; max-width: 56ch;
}
.hero-cta { margin-top: 34px; display: flex; gap: 14px; flex-wrap: wrap; }

.page-hero {
  background: linear-gradient(115deg, #0c1230 0%, #12224d 45%, #34247a 100%);
  color: #fff; position: relative; overflow: hidden;
}
.page-hero::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(600px 300px at 85% 20%, rgba(108, 62, 245, 0.4), transparent 65%);
}
.page-hero .hero-inner { padding: 58px 22px 62px; }
.page-hero h1 {
  font-family: "Bungee", "Inter", sans-serif; font-weight: 400;
  font-size: clamp(26px, 4vw, 42px);
}
.page-hero p { margin-top: 12px; color: #ccd6f0; max-width: 60ch; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 13px 28px; border-radius: 999px; font-weight: 700; font-size: 16px;
  cursor: pointer; border: 0; transition: 0.15s;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary { background: var(--grad); color: #fff; }
.btn-primary:hover { color: #fff; box-shadow: 0 8px 22px rgba(60, 90, 240, 0.35); }
.btn-ghost { background: rgba(255, 255, 255, 0.10); color: #fff; border: 1px solid rgba(255, 255, 255, 0.35); }
.btn-ghost:hover { background: rgba(255, 255, 255, 0.18); color: #fff; }
.btn-outline { border: 2px solid var(--blue); color: var(--blue); background: #fff; }
.btn-outline:hover { background: var(--blue); color: #fff; }

/* ---------- Sections ---------- */
.section { padding: 72px 0; }
.section.alt { background: var(--bg-soft); }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 46px; }
.section-head h2 {
  font-family: "Bungee", "Inter", sans-serif; font-weight: 400;
  font-size: clamp(22px, 3.2vw, 34px); line-height: 1.2;
}
.section-head h2 .grad {
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.section-head p { margin-top: 12px; color: var(--ink-soft); }

.grid { display: grid; gap: 24px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 960px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px; box-shadow: 0 2px 10px rgba(35, 60, 120, 0.05);
}
.card h3 { font-size: 19px; margin-bottom: 10px; }
.card p { color: var(--ink-soft); font-size: 15px; }
.card .icon {
  width: 46px; height: 46px; border-radius: 12px; display: flex;
  align-items: center; justify-content: center; margin-bottom: 18px;
  background: var(--grad); color: #fff; font-size: 22px;
}

/* language chips */
.chips { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.chip {
  padding: 10px 22px; border-radius: 999px; font-weight: 600; font-size: 15px;
  background: #fff; border: 1px solid var(--line); color: var(--ink);
  box-shadow: 0 2px 8px rgba(35, 60, 120, 0.06);
}

/* ---------- Live player ---------- */
.player-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 28px; box-shadow: var(--shadow);
  display: flex; align-items: center; gap: 20px; flex-wrap: wrap;
}
.player-card .play-btn {
  width: 64px; height: 64px; min-width: 64px; border-radius: 50%;
  background: var(--grad); border: 0; cursor: pointer; color: #fff;
  display: flex; align-items: center; justify-content: center;
  transition: 0.15s;
}
.player-card .play-btn:hover { transform: scale(1.05); box-shadow: 0 8px 20px rgba(60, 90, 240, 0.4); }
.player-card .play-btn svg { width: 26px; height: 26px; fill: #fff; }
.player-meta { flex: 1; min-width: 200px; }
.player-meta .station { font-weight: 800; font-size: 18px; }
.player-meta .desc { color: var(--ink-soft); font-size: 14px; margin-top: 2px; }
.player-meta .now-playing {
  font-size: 13px; color: var(--blue); margin-top: 6px; font-weight: 600;
  display: none;
}
.player-meta .now-playing.show { display: block; }
.live-dot {
  display: inline-block; width: 9px; height: 9px; border-radius: 50%;
  background: #e73b52; margin-right: 7px;
  animation: pulse 1.6s infinite;
}
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: 0.35; } }
.player-vol { display: flex; align-items: center; gap: 10px; }
.player-vol input[type="range"] { width: 110px; accent-color: var(--blue); }

/* ---------- Tune-in tables ---------- */
.freq-state h2 {
  font-family: "Bungee", "Inter", sans-serif; font-weight: 400;
  font-size: 22px; margin: 38px 0 16px;
}
.freq-table { width: 100%; border-collapse: collapse; background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: 0 2px 10px rgba(35,60,120,0.05); }
.freq-table th, .freq-table td { text-align: left; padding: 13px 18px; border-bottom: 1px solid var(--line); font-size: 15px; }
.freq-table th { background: var(--bg-soft); font-size: 13px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--ink-soft); }
.freq-table tr:last-child td { border-bottom: 0; }
.badge {
  display: inline-block; padding: 3px 12px; border-radius: 999px;
  font-size: 12px; font-weight: 700;
}
.badge.dab { background: #e8f0ff; color: #2f5fd0; }
.badge.fm { background: #e7fbf3; color: #0c8a5f; }

/* ---------- Podcast embed ---------- */
.podcast-embed { border: 0; width: 100%; height: 620px; border-radius: var(--radius); box-shadow: var(--shadow); background: #fff; }

/* ---------- Forms ---------- */
.form-card { max-width: 640px; margin: 0 auto; }
.form-row { margin-bottom: 18px; }
.form-row label { display: block; font-weight: 600; font-size: 14px; margin-bottom: 7px; }
.form-row input, .form-row textarea {
  width: 100%; padding: 13px 16px; border: 1px solid var(--line);
  border-radius: 10px; font: inherit; background: #fff;
}
.form-row input:focus, .form-row textarea:focus {
  outline: 2px solid var(--blue); border-color: transparent;
}
.form-note { font-size: 13px; color: var(--ink-soft); margin-top: 14px; }

/* ---------- Contact info ---------- */
.office h3 { margin-bottom: 8px; }
.office p { color: var(--ink-soft); font-size: 15px; }
.office a { font-weight: 600; }

/* ---------- Footer ---------- */
.site-footer {
  background: #0c1230; color: #aab4d4; margin-top: 0;
}
.footer-inner {
  max-width: var(--maxw); margin: 0 auto; padding: 54px 22px 30px;
}
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer img.footer-logo { height: 36px; width: auto; filter: brightness(0) invert(1); opacity: 0.9; }
.site-footer h4 {
  color: #fff; font-size: 13px; text-transform: uppercase;
  letter-spacing: 0.1em; margin-bottom: 14px;
}
.site-footer ul { list-style: none; }
.site-footer li { margin-bottom: 9px; }
.site-footer a { color: #aab4d4; font-size: 15px; }
.site-footer a:hover { color: #fff; }
.site-footer .tagline { margin-top: 16px; font-size: 14px; max-width: 40ch; }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.10); margin-top: 40px;
  padding-top: 22px; font-size: 13px;
  display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap;
}

/* ---------- Misc ---------- */
.prose { max-width: 760px; margin: 0 auto; }
.prose p { margin-bottom: 18px; color: var(--ink-soft); font-size: 17px; }
.prose ul { margin: 0 0 18px 22px; color: var(--ink-soft); }
.img-round { border-radius: var(--radius); box-shadow: var(--shadow); }
.center { text-align: center; }
.mt-2 { margin-top: 20px; }
.mt-3 { margin-top: 34px; }
