/* The Rewind 104.3 — sample site
   Palette sampled from the station's real logo:
   yellow #FFC400 -> orange #FF8A00 gradient, red #ED1C24, black, white. */

:root {
  --yellow: #ffc400;
  --orange: #ff8a00;
  --red: #ed1c24;
  --ink: #141414;
  --ink-soft: #2b2b2b;
  --paper: #fffdf7;
  --card: #ffffff;
  --line: #e8e2d4;
  --muted: #6d675c;
  --grad: linear-gradient(180deg, var(--yellow), var(--orange));
  --radius: 18px;
  --shadow: 0 10px 30px rgba(20, 20, 20, 0.12);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
  background: var(--paper);
  color: var(--ink);
  line-height: 1.55;
}

h1, h2, h3, .display {
  font-family: "Archivo Black", "Arial Black", "Segoe UI", system-ui, sans-serif;
  line-height: 1.08;
  letter-spacing: 0.01em;
  margin: 0 0 0.5em;
}

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

a { color: inherit; }

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 20px; }

/* ---------- header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: #fff;
  border-bottom: 3px solid var(--ink);
}

.header-in {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 10px 0;
}

.header-logo img { height: 52px; width: auto; }

.main-nav {
  margin-left: auto;
  display: flex;
  gap: 22px;
  align-items: center;
  font-weight: 700;
}

.main-nav a { text-decoration: none; color: var(--ink-soft); }
.main-nav a:hover, .main-nav a[aria-current="page"] { color: var(--red); }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 0;
  cursor: pointer;
  text-decoration: none;
  font-weight: 800;
  border-radius: 999px;
  padding: 12px 22px;
  font-size: 1rem;
  transition: transform 0.12s ease, box-shadow 0.12s ease;
}

.btn:hover { transform: translateY(-2px); }

.btn-listen {
  background: var(--red);
  color: #fff;
  box-shadow: 0 6px 18px rgba(237, 28, 36, 0.35);
}

.btn-listen .dot {
  width: 10px; height: 10px; border-radius: 50%;
  background: #fff;
  animation: pulse 1.4s infinite;
}

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

.btn-grad { background: var(--grad); color: var(--ink); box-shadow: var(--shadow); }
.btn-dark { background: var(--ink); color: #fff; }

.nav-toggle {
  display: none;
  margin-left: auto;
  background: none;
  border: 0;
  font-size: 1.7rem;
  cursor: pointer;
  color: var(--ink);
}

/* ---------- hero ---------- */

.hero {
  background: var(--ink);
  color: #fff;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 85% 20%, rgba(255, 196, 0, 0.28), transparent 42%),
    radial-gradient(circle at 8% 90%, rgba(237, 28, 36, 0.22), transparent 40%);
}

.hero-in {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 34px;
  padding: 52px 0 58px;
  align-items: center;
}

.hero-logo-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 18px 22px;
  display: inline-block;
  box-shadow: var(--shadow);
  margin-bottom: 22px;
}

.hero-logo-card img { height: 92px; width: auto; }

.hero h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); color: #fff; }
.hero h1 .hl { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

.hero p.lede { font-size: 1.15rem; color: #e9e4d8; max-width: 34em; }

.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 24px; align-items: center; }

.hero .studio-line { color: #cfc9ba; font-weight: 600; }
.hero .studio-line a { color: var(--yellow); text-decoration: none; }

.player-card {
  background: #1e1e1e;
  border: 2px solid #333;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.player-card .player-head {
  display: flex; align-items: center; gap: 10px;
  padding: 12px 16px;
  background: #262626;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 0.85rem;
}

.player-embed {
  padding: 40px 26px 44px;
  text-align: center;
  background:
    radial-gradient(circle at 50% 0%, rgba(255, 196, 0, 0.16), transparent 55%),
    #161616;
}

.play-disc {
  display: block;
  width: 118px; height: 118px;
  margin: 0 auto 20px;
  border-radius: 50%;
  background: var(--grad);
  position: relative;
  box-shadow: 0 10px 28px rgba(255, 138, 0, 0.35);
  transition: transform 0.12s ease;
}

.play-disc:hover { transform: scale(1.05); }

.play-disc::after {
  content: "";
  position: absolute;
  top: 50%; left: 54%;
  transform: translate(-50%, -50%);
  border-style: solid;
  border-width: 19px 0 19px 32px;
  border-color: transparent transparent transparent #141414;
}

.player-station {
  font-family: "Archivo Black", "Arial Black", sans-serif;
  font-size: 1.25rem;
  color: #fff;
  margin-bottom: 8px;
}

.player-note { color: #bdb6a4; max-width: 32em; margin: 0 auto 22px; }

/* ---------- on-air strip ---------- */

.onair-strip { background: var(--grad); border-bottom: 3px solid var(--ink); }
.onair-in {
  display: flex; flex-wrap: wrap; gap: 10px 34px;
  padding: 14px 0; align-items: baseline;
  font-weight: 700;
}
.onair-in .label {
  font-family: "Archivo Black", "Arial Black", sans-serif;
  text-transform: uppercase; font-size: 0.85rem; letter-spacing: 0.06em;
}
.onair-in .show-name { font-size: 1.05rem; }
.onair-in .when { color: rgba(20,20,20,0.72); font-weight: 600; }

/* ---------- sections ---------- */

.section { padding: 58px 0; }
.section.alt { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

.section-head { max-width: 46em; margin-bottom: 30px; }
.section-head h2 { font-size: clamp(1.6rem, 3.4vw, 2.3rem); }
.section-head p { color: var(--muted); font-size: 1.05rem; }

.kicker {
  display: inline-block;
  font-weight: 800; text-transform: uppercase; letter-spacing: 0.09em;
  font-size: 0.78rem; color: var(--red); margin-bottom: 10px;
}

/* ---------- show cards ---------- */

.show-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 22px;
}

.show-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(20,20,20,0.06);
  display: flex; flex-direction: column;
}

.show-card img { aspect-ratio: 1 / 1; object-fit: cover; width: 100%; }
.show-card .show-body { padding: 16px 18px 20px; }
.show-card h3 { font-size: 1.12rem; margin-bottom: 4px; }
.show-card .show-time { color: var(--red); font-weight: 800; font-size: 0.92rem; text-transform: uppercase; letter-spacing: 0.04em; }
.show-card p { color: var(--muted); margin: 8px 0 0; font-size: 0.97rem; }
.show-card.live { outline: 3px solid var(--red); outline-offset: -3px; }
.live-tag {
  display: none;
  background: var(--red); color: #fff; font-weight: 800; font-size: 0.75rem;
  padding: 3px 10px; border-radius: 999px; text-transform: uppercase; letter-spacing: 0.06em;
}
.show-card.live .live-tag { display: inline-block; }

/* ---------- schedule table ---------- */

.sched {
  width: 100%; border-collapse: collapse; background: #fff;
  border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
}
.sched th, .sched td { padding: 14px 18px; text-align: left; border-bottom: 1px solid var(--line); }
.sched th { background: var(--ink); color: #fff; font-family: "Archivo Black", "Arial Black", sans-serif; font-weight: 400; letter-spacing: 0.03em; }
.sched tr:last-child td { border-bottom: 0; }
.sched td.time { font-weight: 800; color: var(--red); white-space: nowrap; }
.sched tr.today td { background: #fff6df; }

/* ---------- promo / contest ---------- */

.promo {
  display: grid; grid-template-columns: 1fr 1fr; gap: 0;
  border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow);
  background: var(--ink); color: #fff;
}
.promo .promo-art img { width: 100%; height: 100%; object-fit: cover; }
.promo .promo-body { padding: 34px; }
.promo .promo-body h2 { color: #fff; }
.promo .promo-body p { color: #ddd6c4; }

/* ---------- forms ---------- */

.form-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; box-shadow: 0 4px 16px rgba(20,20,20,0.06);
}
.form-card label { display: block; font-weight: 700; margin: 14px 0 6px; }
.form-card label:first-child { margin-top: 0; }
.form-card input, .form-card textarea, .form-card select {
  width: 100%; padding: 12px 14px; border: 1.5px solid var(--line);
  border-radius: 10px; font: inherit; background: var(--paper);
}
.form-card input:focus, .form-card textarea:focus, .form-card select:focus {
  outline: 2px solid var(--yellow); border-color: var(--orange);
}
.form-card .btn { margin-top: 20px; }
.form-note { color: var(--muted); font-size: 0.9rem; }
.form-success {
  display: none; background: #eef9e8; border: 1.5px solid #9ccc65;
  padding: 16px 18px; border-radius: 12px; font-weight: 600;
}

/* ---------- info cards ---------- */

.info-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 22px; }
.info-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.info-card h3 { font-size: 1.1rem; }
.info-card p { color: var(--muted); margin: 6px 0 0; }
.info-card .big { font-size: 1.5rem; font-weight: 800; color: var(--ink); }
.info-card a { color: var(--red); font-weight: 700; text-decoration: none; }

/* ---------- footer ---------- */

.site-footer { background: var(--ink); color: #cfc9ba; padding: 44px 0 30px; margin-top: 0; }
.footer-in { display: flex; flex-wrap: wrap; gap: 28px; justify-content: space-between; }
.site-footer .f-logo { background: #fff; border-radius: 12px; padding: 10px 14px; display: inline-block; }
.site-footer .f-logo img { height: 44px; width: auto; }
.site-footer a { color: var(--yellow); text-decoration: none; }
.site-footer .fine { width: 100%; border-top: 1px solid #333; padding-top: 16px; font-size: 0.88rem; color: #8f897c; }
.badge {
  display: inline-block; margin-top: 10px; font-size: 0.82rem; font-weight: 700;
  border: 1px solid #444; border-radius: 999px; padding: 5px 12px; color: #cfc9ba;
}

/* ---------- responsive ---------- */

@media (max-width: 860px) {
  .hero-in { grid-template-columns: 1fr; padding: 38px 0 44px; }
  .hero-logo-card img { height: 68px; }
  .promo { grid-template-columns: 1fr; }
  .main-nav {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    background: #fff; flex-direction: column; align-items: flex-start;
    padding: 14px 20px 20px; gap: 14px; border-bottom: 3px solid var(--ink);
  }
  .main-nav.open { display: flex; }
  .nav-toggle { display: block; }
  .header-in .btn-listen { padding: 10px 16px; font-size: 0.92rem; }
  .sched td.time { white-space: normal; }
}

/* ---------- in-page player ---------- */

body { padding-bottom: 76px; }

.player-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
  background: var(--ink); color: #fff;
  border-top: 3px solid var(--red);
  box-shadow: 0 -6px 24px rgba(0, 0, 0, 0.25);
}

.player-bar-in { display: flex; align-items: center; gap: 14px; padding: 10px 0; }

.pb-btn {
  flex: 0 0 auto; width: 46px; height: 46px; border-radius: 50%;
  border: 0; cursor: pointer; background: var(--grad); position: relative;
}

.pb-btn::after {
  content: ""; position: absolute; top: 50%; left: 54%;
  transform: translate(-50%, -50%);
  border-style: solid; border-width: 9px 0 9px 15px;
  border-color: transparent transparent transparent #141414;
}

html.playing .pb-btn::after {
  border: 0; width: 15px; height: 17px; left: 50%;
  background: linear-gradient(90deg, #141414 0 5px, transparent 5px 10px, #141414 10px 15px);
}

.pb-station { font-family: "Archivo Black", "Arial Black", sans-serif; font-size: 0.95rem; white-space: nowrap; }

.pb-live {
  display: inline-flex; align-items: center; gap: 6px;
  color: #ffb3b5; font-weight: 700; font-size: 0.8rem;
  text-transform: uppercase; letter-spacing: 0.05em; white-space: nowrap;
}

.pb-live .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--red); }
html.playing .pb-live .dot { animation: pulse 1.4s infinite; background: #ff5252; }

.pb-np {
  color: #d8d2c2; font-size: 0.92rem; flex: 1 1 auto; min-width: 0;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}

.pb-full { color: var(--yellow); font-weight: 700; text-decoration: none; white-space: nowrap; font-size: 0.9rem; }

html.playing .play-disc::after {
  border: 0; width: 30px; height: 38px; left: 50%;
  background: linear-gradient(90deg, #141414 0 11px, transparent 11px 19px, #141414 19px 30px);
}

.np-line { color: #e9e4d8; margin: 0 auto 20px; max-width: 34em; }
.np-line span:first-child { color: var(--yellow); font-weight: 800; text-transform: uppercase; font-size: 0.8rem; letter-spacing: 0.06em; }

.recent { text-align: left; margin-top: 24px; border-top: 1px solid #333; padding-top: 16px; }
.recent h4 { margin: 0 0 8px; font-size: 0.78rem; letter-spacing: 0.08em; text-transform: uppercase; color: #bdb6a4; font-family: inherit; }
.recent ul { list-style: none; margin: 0; padding: 0; }
.recent li { display: flex; gap: 10px; align-items: center; padding: 6px 0; color: #cfc9ba; font-size: 0.92rem; }
.recent li img { width: 36px; height: 36px; border-radius: 6px; object-fit: cover; background: #262626; flex: 0 0 auto; }
.recent .r-song { font-weight: 700; color: #fff; }

@media (max-width: 640px) {
  .pb-station, .pb-full { display: none; }
}
