/* Radio BEAT - Functional Prototype Styles */
/* Clean, light theme for 50+ audience */

* { margin: 0; padding: 0; box-sizing: border-box; }
body {
  font-family: Georgia, 'Times New Roman', serif;
  background: #ffffff;
  color: #111;
  line-height: 1.7;
  padding-top: 80px;
  padding-bottom: 74px;
  font-size: 17px;
}
a { color: #cc0000; text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; }

/* Buttons */
button, .btn { cursor: pointer; border: 2px solid #111; padding: 10px 22px; border-radius: 4px; font-size: 16px; font-family: inherit; background: #fff; color: #111; }
.btn-primary { background: #cc0000; color: #fff; border-color: #cc0000; }
.btn-primary:hover { background: #a30000; border-color: #a30000; }
.btn-secondary { background: #f5f5f5; color: #111; border-color: #ccc; }
.btn-secondary:hover { background: #e0e0e0; }
.btn-sm { padding: 6px 14px; font-size: 14px; }
.btn-lg { padding: 14px 36px; font-size: 18px; }
.btn:disabled { opacity: .5; cursor: not-allowed; }

/* Forms */
input, select, textarea { font-family: inherit; font-size: 16px; padding: 10px 14px; border: 2px solid #333; border-radius: 4px; width: 100%; background: #fff; }
input:focus, select:focus, textarea:focus { outline: none; border-color: #cc0000; }
label { display: block; margin-bottom: 6px; font-weight: 600; font-size: 15px; }
.form-group { margin-bottom: 18px; }

/* Header */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: #fff;
  border-bottom: 3px solid #111;
  height: 80px;
  display: flex; align-items: center; padding: 0 28px;
}
.header-logo {
  font-size: 32px; font-weight: 900; color: #cc0000; margin-right: 24px;
  letter-spacing: 3px; font-family: Arial, Helvetica, sans-serif;
  text-decoration: none;
}
.header-live {
  display: flex; align-items: center; gap: 10px; margin-right: 24px;
  padding: 8px 16px; border: 2px solid #cc0000; border-radius: 6px; font-size: 14px;
}
.header-live .live-dot { width: 10px; height: 10px; background: #cc0000; border-radius: 50%; animation: pulse 1.5s infinite; }
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: .3; } }
.header-live .play-btn {
  width: 34px; height: 34px; background: #cc0000; color: #fff; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; font-size: 14px;
  cursor: pointer; border: none;
}
.header-song-info { font-size: 14px; line-height: 1.4; margin-right: auto; }
.header-song-info .current { font-weight: 700; }
.header-song-info .prev { color: #666; }
.header-show { font-size: 14px; color: #444; margin-right: 24px; white-space: nowrap; }
.header-nav { display: flex; gap: 4px; margin-right: 16px; flex-wrap: wrap; }
.header-nav a {
  padding: 8px 12px; font-size: 15px; color: #111; border-radius: 4px; white-space: nowrap;
  font-family: Arial, Helvetica, sans-serif; text-decoration: none;
}
.header-nav a:hover, .header-nav a.active { background: #f5f5f5; color: #cc0000; text-decoration: none; border-bottom: 2px solid #cc0000; }
.header-search { margin-left: 8px; }
.header-search button {
  background: none; border: 2px solid #ccc; border-radius: 4px; padding: 6px 12px;
  font-size: 16px; cursor: pointer; color: #333;
}
.header-search button:hover { border-color: #cc0000; }

/* Persistent player */
.player-bar {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 1000;
  background: #111; color: #fff; height: 68px;
  display: flex; align-items: center; padding: 0 28px; gap: 16px;
  border-top: 3px solid #cc0000;
}
.player-bar .player-play {
  width: 44px; height: 44px; background: #cc0000; color: #fff; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; font-size: 18px;
  cursor: pointer; border: none; flex-shrink: 0;
}
.player-bar .player-song { flex: 1; min-width: 0; }
.player-bar .player-song .title { font-weight: 700; font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.player-bar .player-song .artist { font-size: 13px; color: #aaa; }
.player-bar .player-prev, .player-bar .player-next {
  width: 36px; height: 36px; background: transparent; color: #fff; border: none;
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-size: 16px; cursor: pointer; flex-shrink: 0;
}
.player-bar .player-prev:hover, .player-bar .player-next:hover { background: rgba(255,255,255,.15); }
.player-bar .player-progress { flex: 1; max-width: 300px; height: 6px; background: #444; border-radius: 3px; cursor: pointer; position: relative; }
.player-bar .player-progress-fill { height: 100%; background: #cc0000; border-radius: 3px; width: 0%; transition: width 0.2s linear; }
.player-bar .player-time { font-size: 12px; color: #aaa; white-space: nowrap; min-width: 90px; text-align: center; }
.player-bar .player-volume { display: flex; align-items: center; gap: 8px; }
.player-bar .player-volume input[type=range] { width: 100px; }

/* Layout */
.container { max-width: 1100px; margin: 0 auto; padding: 0 24px; }
.section { margin-bottom: 48px; }
.section-title {
  font-size: 24px; font-weight: 700; margin-bottom: 20px;
  border-bottom: 3px solid #111; padding-bottom: 8px; display: inline-block;
  font-family: Arial, Helvetica, sans-serif;
}
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.grid-3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }

/* Cards */
.card {
  background: #fff; border-radius: 4px; overflow: hidden;
  border: 2px solid #ddd; transition: border-color .2s;
}
.card:hover { border-color: #cc0000; }
.card-img {
  width: 100%; height: 180px; background: #eee; display: flex;
  align-items: center; justify-content: center; color: #888; font-size: 14px;
  position: relative; border-bottom: 2px solid #ddd;
}
.card-body { padding: 18px; }
.card-body h3 { font-size: 18px; margin-bottom: 8px; font-family: Arial, Helvetica, sans-serif; }
.card-body p { font-size: 15px; color: #444; }
.card-meta { font-size: 13px; color: #888; margin-top: 8px; }

/* Badges */
.badge { display: inline-block; padding: 3px 10px; border-radius: 3px; font-size: 12px; font-weight: 700; }
.badge-cat { background: #f5f5f5; color: #333; border: 1px solid #ccc; }
.badge-new { background: #cc0000; color: #fff; }

/* Carousel */
.carousel { position: relative; background: #fff; border-radius: 4px; overflow: hidden; border: 2px solid #111; }
.carousel-slides { display: flex; transition: transform .3s; }
.carousel-slide { min-width: 100%; padding: 60px 48px; background: #111; color: #fff; }
.carousel-slide h2 { font-size: 30px; margin-bottom: 12px; font-family: Arial, Helvetica, sans-serif; }
.carousel-slide p { font-size: 17px; margin-bottom: 24px; opacity: .9; }
.carousel-slide .btn { background: #cc0000; color: #fff; border-color: #cc0000; }
.carousel-slide .btn:hover { background: #a30000; }
.carousel-dots { position: absolute; bottom: 20px; left: 50%; transform: translateX(-50%); display: flex; gap: 10px; }
.carousel-dots .dot { width: 12px; height: 12px; border-radius: 50%; background: rgba(255,255,255,.3); cursor: pointer; border: 2px solid #fff; }
.carousel-dots .dot.active { background: #cc0000; }

/* Schedule strip */
.schedule-strip { display: flex; gap: 16px; overflow-x: auto; padding-bottom: 8px; }
.schedule-item {
  background: #fff; border-radius: 4px; padding: 16px 24px; min-width: 220px;
  border: 2px solid #ddd; flex-shrink: 0;
}
.schedule-item.now { border-color: #cc0000; border-left: 5px solid #cc0000; }
.schedule-item .time { font-size: 14px; color: #666; }
.schedule-item .name { font-weight: 700; font-size: 17px; font-family: Arial, Helvetica, sans-serif; }
.schedule-item .mod { font-size: 14px; color: #555; }

/* Playlist */
.playlist-table { width: 100%; border-collapse: collapse; background: #fff; border-radius: 4px; overflow: hidden; border: 2px solid #ddd; }
.playlist-table th, .playlist-table td { padding: 12px 16px; text-align: left; font-size: 15px; border-bottom: 1px solid #eee; }
.playlist-table th { background: #f5f5f5; font-weight: 700; font-size: 13px; color: #555; text-transform: uppercase; letter-spacing: 1px; font-family: Arial, Helvetica, sans-serif; }
.playlist-table tr:hover { background: #fafafa; }

/* Moderators */
.mod-card { text-align: center; }
.mod-card .mod-photo {
  width: 130px; height: 130px; border-radius: 50%; background: #eee;
  margin: 0 auto 14px; display: flex; align-items: center; justify-content: center;
  color: #888; font-size: 13px; border: 3px solid #111;
}

/* Calendar */
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 2px; background: #fff; border-radius: 4px; overflow: hidden; border: 2px solid #111; }
.cal-header { background: #111; color: #fff; padding: 10px; text-align: center; font-weight: 700; font-size: 14px; font-family: Arial, Helvetica, sans-serif; }
.cal-day { padding: 12px; min-height: 90px; font-size: 14px; border: 1px solid #eee; }
.cal-day .day-num { font-weight: 700; margin-bottom: 4px; font-size: 16px; }
.cal-day .event-dot { background: #cc0000; color: #fff; font-size: 11px; padding: 2px 8px; border-radius: 3px; display: inline-block; margin-top: 4px; cursor: pointer; }
.cal-day.other-month { background: #f8f8f8; color: #bbb; }

/* Tabs */
.tabs { display: flex; gap: 4px; margin-bottom: 24px; border-bottom: 3px solid #111; }
.tab {
  padding: 12px 24px; font-size: 15px; background: none; border: none; color: #555;
  cursor: pointer; border-bottom: 3px solid transparent; margin-bottom: -3px;
  font-family: Arial, Helvetica, sans-serif; font-weight: 600;
}
.tab.active { color: #cc0000; border-bottom-color: #cc0000; }

/* Filters */
.filters { display: flex; gap: 10px; margin-bottom: 24px; flex-wrap: wrap; }
.filter-btn {
  padding: 8px 20px; border-radius: 4px; font-size: 14px; border: 2px solid #ccc;
  background: #fff; cursor: pointer; font-family: inherit;
}
.filter-btn.active { background: #111; color: #fff; border-color: #111; }

/* Video overlay */
.video-thumb { position: relative; cursor: pointer; }
.video-thumb .play-overlay {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%);
  width: 56px; height: 56px; background: rgba(204,0,0,.85); border-radius: 50%;
  display: flex; align-items: center; justify-content: center; color: #fff; font-size: 24px;
}

/* Newsletter section */
.newsletter-section {
  background: #111; color: #fff; padding: 40px; border-radius: 4px; text-align: center;
  border: 2px solid #111;
}
.newsletter-section h3 { font-size: 24px; margin-bottom: 8px; font-family: Arial, Helvetica, sans-serif; }
.newsletter-section p { font-size: 16px; color: #ccc; margin-bottom: 20px; }
.newsletter-form { display: flex; gap: 12px; max-width: 500px; margin: 0 auto; }
.newsletter-form input { border: 2px solid #555; background: #222; color: #fff; flex: 1; }
.newsletter-form input::placeholder { color: #888; }
.newsletter-form .btn { white-space: nowrap; }

/* Footer */
.site-footer { background: #111; color: #bbb; padding: 48px 0 110px; font-size: 15px; border-top: 3px solid #cc0000; }
.site-footer h4 { color: #fff; margin-bottom: 12px; font-size: 17px; font-family: Arial, Helvetica, sans-serif; }
.footer-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 36px; }
.site-footer a { color: #bbb; }
.site-footer a:hover { color: #fff; }
.site-footer ul { list-style: none; }
.site-footer li { margin-bottom: 8px; }

/* Frequency map placeholder */
.freq-map {
  background: #f5f5f5; border: 2px solid #111; border-radius: 4px;
  padding: 60px 40px; text-align: center; color: #666; margin-bottom: 24px;
}
.freq-map p { font-size: 15px; }
.freq-list { list-style: none; }
.freq-list li {
  padding: 14px 20px; border-bottom: 1px solid #eee; font-size: 16px;
  display: flex; justify-content: space-between; align-items: center;
}
.freq-list li strong { font-weight: 700; }

/* Utility */
.text-center { text-align: center; }
.mt-8 { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mb-8 { margin-bottom: 8px; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.flex { display: flex; }
.flex-between { display: flex; justify-content: space-between; align-items: center; }
.gap-8 { gap: 8px; }
.gap-16 { gap: 16px; }
.hidden { display: none !important; }

/* Search modal */
.search-overlay {
  position: fixed; top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,.7); z-index: 2000;
  display: flex; align-items: flex-start; justify-content: center; padding-top: 120px;
}
.search-overlay.hidden { display: none; }
.search-box {
  background: #fff; border-radius: 4px; padding: 32px; max-width: 600px; width: 90%;
  border: 3px solid #111;
}
.search-box h3 { margin-bottom: 16px; font-family: Arial, Helvetica, sans-serif; }
.search-box input { font-size: 18px; padding: 14px; }

/* Responsive */
@media (max-width: 900px) {
  .grid-3, .grid-4 { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .header-nav { display: none; }
  .header-show { display: none; }
  body { font-size: 16px; }
}
@media (max-width: 600px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .carousel-slide { padding: 30px 20px; }
  .carousel-slide h2 { font-size: 22px; }
  .newsletter-form { flex-direction: column; }
}
