/* ZAM.FM Mockups — Dark theme */
:root {
  --bg: #0a0a0a;
  --bg-elevated: #111111;
  --card: #161616;
  --card-hover: #1c1c1c;
  --border: #2a2a2a;
  --border-subtle: #222222;
  --text: #f2f2f2;
  --text-muted: #a0a0a0;
  --text-dim: #777777;
  --green: #198A00;
  --green-glow: rgba(25, 138, 0, 0.25);
  --red: #DE2010;
  --orange: #EF7D00;
  --radius: 14px;
  --radius-sm: 10px;
  --max: 1120px;
  --nav-h: 72px;
}

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

html { scroll-behavior: smooth; }

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

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

.container {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 28px;
}

/* —— Nav —— */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--nav-h);
  background: rgba(10, 10, 10, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
}

.site-nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo {
  flex: 0 0 auto;
}

.logo img {
  height: 36px;
  width: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
  padding: 8px 14px;
  border-radius: 8px;
  transition: color 0.15s, background 0.15s;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--text);
  background: var(--card);
}

.nav-cta {
  font-size: 13px !important;
  font-weight: 600 !important;
  color: #fff !important;
  background: var(--green) !important;
  padding: 9px 18px !important;
  border-radius: 999px !important;
}

.nav-cta:hover { filter: brightness(1.1); }

/* —— Cards / text boxes —— */
.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 32px;
  position: relative;
}

.card.accent-left {
  border-left: 3px solid var(--green);
  box-shadow: -4px 0 24px var(--green-glow);
}

.card.glow {
  box-shadow: 0 0 40px rgba(25, 138, 0, 0.08);
}

.card h1, .card h2 {
  letter-spacing: -0.02em;
}

.card h1 {
  font-size: 2.35rem;
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 14px;
}

.card h2 {
  font-size: 1.75rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 14px;
}

.card .subhead,
.card .body {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 58ch;
}

.card .body + .body { margin-top: 14px; }

.card .label {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 10px;
}

/* —— Buttons —— */
.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 600;
  padding: 12px 24px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  transition: filter 0.15s, transform 0.1s;
}

.btn:hover { filter: brightness(1.08); }
.btn:active { transform: scale(0.98); }

.btn-primary {
  background: var(--green);
  color: #fff;
}

.btn-secondary {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}

.btn-secondary:hover {
  background: var(--card-hover);
  border-color: #444;
}

.btn-orange {
  background: var(--orange);
  color: #fff;
}

/* —— Hero —— */
.hero {
  padding: 56px 0 40px;
}

.hero .card h1 {
  font-size: 2.75rem;
}

/* —— Live player strip —— */
.player-strip {
  padding: 0 0 48px;
}

.player {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  background: linear-gradient(135deg, #161616 0%, #1a1a1a 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px 24px;
}

.player-live {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--red);
  flex-shrink: 0;
}

.live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 8px rgba(222, 32, 16, 0.7);
  animation: pulse 1.4s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.now-playing {
  display: flex;
  align-items: center;
  gap: 14px;
  flex: 1;
  min-width: 200px;
}

.cover {
  width: 52px;
  height: 52px;
  border-radius: 10px;
  background: linear-gradient(145deg, var(--green), #0d4a00);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  overflow: hidden;
}

.cover img {
  width: 28px;
  height: 28px;
  object-fit: contain;
}

.track-meta .title {
  font-weight: 600;
  font-size: 15px;
}

.track-meta .artist {
  font-size: 13px;
  color: var(--text-muted);
}

.vote-ui {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.vote-btn {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 18px;
  transition: background 0.15s, border-color 0.15s, box-shadow 0.15s;
}

.vote-btn.up {
  color: var(--green);
}
.vote-btn.up:hover {
  background: rgba(25, 138, 0, 0.15);
  border-color: var(--green);
  box-shadow: 0 0 16px var(--green-glow);
}

.vote-btn.down {
  color: var(--red);
}
.vote-btn.down:hover {
  background: rgba(222, 32, 16, 0.12);
  border-color: var(--red);
}

.vote-label {
  font-size: 12px;
  color: var(--text-dim);
  text-align: center;
  min-width: 48px;
}

.dbv-badge {
  font-size: 12px;
  font-weight: 600;
  color: var(--orange);
  background: rgba(239, 125, 0, 0.12);
  border: 1px solid rgba(239, 125, 0, 0.3);
  padding: 6px 12px;
  border-radius: 999px;
  white-space: nowrap;
}

/* —— Audience preview grid —— */
.section {
  padding: 24px 0 56px;
}

.section-header {
  margin-bottom: 20px;
}

.section-header h2 {
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--text);
}

.section-header p {
  font-size: 14px;
  color: var(--text-dim);
  margin-top: 4px;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

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

.preview-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px 20px;
  transition: border-color 0.15s, background 0.15s, transform 0.15s;
  display: flex;
  flex-direction: column;
  min-height: 200px;
}

.preview-card:hover {
  background: var(--card-hover);
  border-color: #3a3a3a;
  transform: translateY(-2px);
}

.preview-card .icon-wrap {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  margin-bottom: 14px;
}

.preview-card.listeners .icon-wrap { background: rgba(25, 138, 0, 0.15); color: var(--green); }
.preview-card.artists .icon-wrap { background: rgba(239, 125, 0, 0.15); color: var(--orange); }
.preview-card.advertisers .icon-wrap { background: rgba(222, 32, 16, 0.12); color: var(--red); }
.preview-card.sponsors .icon-wrap { background: rgba(255, 255, 255, 0.08); color: #ddd; }

.preview-card h3 {
  font-size: 1.05rem;
  font-weight: 650;
  margin-bottom: 8px;
}

.preview-card p {
  font-size: 13.5px;
  color: var(--text-muted);
  flex: 1;
}

.preview-card .link {
  margin-top: 16px;
  font-size: 13px;
  font-weight: 600;
  color: var(--green);
}

/* —— Interior page layout —— */
.page-hero {
  padding: 48px 0 32px;
}

.page-body {
  padding: 0 0 64px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.bullets {
  margin-top: 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.bullets li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 15px;
  color: var(--text-muted);
}

.bullets li::before {
  content: "";
  width: 7px;
  height: 7px;
  margin-top: 7px;
  border-radius: 50%;
  background: var(--green);
  flex-shrink: 0;
  box-shadow: 0 0 6px var(--green-glow);
}

.callout {
  background: var(--card-hover);
  border: 1px solid var(--border);
  border-left: 3px solid var(--orange);
  border-radius: var(--radius-sm);
  padding: 16px 20px;
  margin-top: 18px;
  font-size: 15px;
  color: var(--text-muted);
}

.callout strong { color: var(--text); }

/* —— home-full stacked sections —— */
.stack-section {
  padding: 20px 0;
}

.stack-section .card h2 {
  font-size: 1.65rem;
}

/* —— Footer —— */
.site-footer {
  border-top: 1px solid var(--border-subtle);
  padding: 28px 0 40px;
  margin-top: auto;
}

.site-footer .container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.site-footer .tagline {
  font-size: 13px;
  color: var(--text-dim);
}

.footer-links {
  display: flex;
  gap: 16px;
  font-size: 13px;
  color: var(--text-muted);
}

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

.page {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* Utility */
.highlight-green { color: var(--green); }
.highlight-orange { color: var(--orange); }
.mt-0 { margin-top: 0; }

/* —— Imagery / living mockups —— */
.hero-visual {
  position: relative;
  padding: 56px 0 40px;
  overflow: hidden;
}

.hero-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--hero-img);
  background-size: cover;
  background-position: center;
  z-index: 0;
}

.hero-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(105deg, rgba(10,10,10,0.94) 0%, rgba(10,10,10,0.78) 42%, rgba(10,10,10,0.45) 70%, rgba(25,138,0,0.18) 100%),
    linear-gradient(to top, rgba(10,10,10,0.9) 0%, transparent 40%);
  z-index: 1;
}

.hero-visual .container {
  position: relative;
  z-index: 2;
}

.hero-visual .card {
  background: rgba(22, 22, 22, 0.88);
  backdrop-filter: blur(10px);
  max-width: 640px;
}

.page-hero-visual {
  position: relative;
  padding: 48px 0 32px;
  overflow: hidden;
  min-height: 280px;
  display: flex;
  align-items: center;
}

.page-hero-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--hero-img);
  background-size: cover;
  background-position: center;
  z-index: 0;
}

.page-hero-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(100deg, rgba(10,10,10,0.94) 0%, rgba(10,10,10,0.72) 48%, rgba(10,10,10,0.35) 100%),
    linear-gradient(to top, rgba(10,10,10,0.85) 0%, transparent 50%);
  z-index: 1;
}

.page-hero-visual .container {
  position: relative;
  z-index: 2;
}

.page-hero-visual .card {
  background: rgba(22, 22, 22, 0.88);
  backdrop-filter: blur(10px);
  max-width: 720px;
}

/* Photo strip on home */
.photo-strip {
  padding: 8px 0 40px;
}

.photo-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 14px;
}

@media (max-width: 800px) {
  .photo-grid { grid-template-columns: 1fr; }
}

.photo-tile {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  min-height: 180px;
  background: var(--card);
}

.photo-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 180px;
}

.photo-tile.tall { min-height: 220px; }
.photo-tile.tall img { min-height: 220px; }

.photo-tile .caption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 14px 16px;
  background: linear-gradient(transparent, rgba(0,0,0,0.85));
  font-size: 13px;
  font-weight: 600;
  color: #fff;
}

.photo-tile .caption span {
  display: block;
  font-size: 11px;
  font-weight: 500;
  color: rgba(255,255,255,0.7);
  margin-top: 2px;
}

/* Preview cards with images */
.preview-card {
  padding: 0;
  overflow: hidden;
  min-height: 280px;
}

.preview-card .card-photo {
  height: 110px;
  overflow: hidden;
  position: relative;
}

.preview-card .card-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.preview-card:hover .card-photo img {
  transform: scale(1.05);
}

.preview-card .card-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(22,22,22,0.7), transparent 60%);
}

.preview-card .card-body {
  padding: 18px 20px 22px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.preview-card .icon-wrap {
  margin-bottom: 10px;
}

/* Cover art uses photo */
.cover {
  background: #0d0d0d;
}

.cover.photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Split layouts for interior / stack sections */
.split-visual {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 20px;
  align-items: stretch;
}

@media (max-width: 860px) {
  .split-visual { grid-template-columns: 1fr; }
}

.split-visual .visual-panel {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  min-height: 260px;
  background: var(--card);
}

.split-visual .visual-panel img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 260px;
}

.split-visual .visual-panel::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, transparent 40%, rgba(25,138,0,0.18) 100%);
  pointer-events: none;
}

.split-visual .visual-panel .badge {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 2;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #fff;
  background: rgba(25, 138, 0, 0.85);
  padding: 6px 12px;
  border-radius: 999px;
}

.inline-photo {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  margin-bottom: 20px;
  max-height: 240px;
}

.inline-photo img {
  width: 100%;
  height: 240px;
  object-fit: cover;
}

.stack-section .split-visual .card {
  height: 100%;
}

/* Portrait lifestyle heroes — face-forward framing */
.hero-portrait {
  min-height: 420px;
  display: flex;
  align-items: center;
}

.hero-portrait::before,
.page-hero-visual.hero-portrait::before {
  background-position: center 18%;
}

.hero-visual.hero-portrait::after {
  background:
    linear-gradient(105deg, rgba(10,10,10,0.88) 0%, rgba(10,10,10,0.55) 36%, rgba(10,10,10,0.18) 70%, rgba(25,138,0,0.12) 100%),
    linear-gradient(to top, rgba(10,10,10,0.75) 0%, transparent 48%);
}

.page-hero-visual.hero-portrait {
  min-height: 320px;
}

.page-hero-visual.hero-portrait::after {
  background:
    linear-gradient(100deg, rgba(10,10,10,0.86) 0%, rgba(10,10,10,0.52) 45%, rgba(10,10,10,0.15) 100%),
    linear-gradient(to top, rgba(10,10,10,0.7) 0%, transparent 55%);
}


/* —— Mobile header fix (2026-10-01) —— */
@media (max-width: 640px) {
  .site-nav { height: auto; }
  .site-nav .container {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    padding-top: 12px;
    padding-bottom: 12px;
  }
  .logo { align-self: flex-start; }
  .logo img { height: 30px; width: auto; }
  .nav-links {
    width: 100%;
    flex-wrap: wrap;
    gap: 6px;
  }
  .nav-links a {
    font-size: 13px;
    padding: 6px 10px;
    white-space: nowrap;
  }
  .nav-cta {
    font-size: 12px !important;
    padding: 7px 14px !important;
  }
}
