@import url('https://fonts.googleapis.com/css2?family=Rubik:wght@300;500;700&display=swap');

body {
  font-family: 'Rubik', sans-serif;
  background-color: #121212;
  color: #ffffff;
  margin: 0;
  padding: 0;
}

.container,
.container-fluid,
.site-shell,
.main-content-wrapper,
.main-sections,
.news-box,
.ad-box,
.history-box,
.about-box,
.staff-box,
footer,
.fixed-bottom {
  position: static !important;
}

.now-playing-header {
  position: fixed;
  top: 0;
  width: 100%;
  background-color: #1c1c1c;
  z-index: 1000;
  border-bottom: 2px solid #ff9f43;
  padding: 1rem;
}

.station-title {
  font-size: 2rem;
  font-weight: bold;
  color: #ff9f43;
}

#song {
  color: #ffffff !important;
}

.song-link-button {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: transparent;
  border: 0;
  padding: 0;
  margin: 0;
  color: #d1d5db !important;
  font-size: 1.25rem;
  font-weight: 500;
  cursor: pointer;
  text-align: left;
}

.song-link-button:hover,
.song-link-button:focus {
  color: #ff9f43 !important;
  outline: none;
}

.song-link-button::after {
  content: "\f35d";
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  font-size: 0.8rem;
}

.song-lookup-menu {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.45rem;
}

.song-lookup-menu a {
  display: inline-flex;
  align-items: center;
  padding: 0.22rem 0.6rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 159, 67, 0.45);
  background: rgba(255, 159, 67, 0.08);
  color: #ffffff;
  font-size: 0.78rem;
  text-decoration: none;
}

.song-lookup-menu a:hover,
.song-lookup-menu a:focus {
  color: #121212;
  background: #ff9f43;
  text-decoration: none;
}

.album-art-large {
  width: 100px;
  height: 100px;
  object-fit: cover;
  border-radius: 10px;
  border: 3px solid #ff9f43;
}

.dj-avatar-large {
  width: 90px;
  height: 90px;
  object-fit: cover;
  border-radius: 50%;
  border: 3px solid #ff9f43;
}

.main-content-wrapper {
  padding: 130px 1rem 1rem;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 1rem;
}

.main-sections {
  display: grid;
  width: 90%;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  align-items: stretch;
}

.news-box,
.ad-box,
.history-box {
  background: rgba(0, 0, 0, 0.85);
  border: 2px solid #ff9f43;
  border-radius: 10px;
  padding: 20px;
  height: 430px;
  min-height: 430px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.news-box {
  grid-column: 1;
  grid-row: 1;
  height: 430px;
  min-height: 430px;
  max-width: none;
  width: auto;
  justify-self: stretch;
}

.ad-box {
  grid-column: 2;
  grid-row: 1;
}

.history-box {
  grid-column: 3;
  grid-row: 1;
}

.ad-box h3 {
  margin-bottom: 0.35rem;
}

.spotlight-intro {
  color: #d7d7d7;
  font-size: 0.95rem;
  line-height: 1.45;
  margin-bottom: 1rem;
}

.ad-banner {
  text-decoration: none;
}

.ad-banner:hover,
.ad-banner:focus {
  text-decoration: none;
}

.ad-display {
  min-height: 220px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  text-align: left;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background:
    linear-gradient(180deg, rgba(8, 8, 8, 0.1), rgba(8, 8, 8, 0.76)),
    radial-gradient(circle at top left, rgba(255, 159, 67, 0.35), transparent 42%),
    radial-gradient(circle at bottom right, rgba(29, 185, 84, 0.28), transparent 36%),
    #1a1a1a;
  background-position: center;
  background-size: cover;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
  overflow: hidden;
}

.ad-banner:hover .ad-display,
.ad-banner:focus .ad-display {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.28);
}

.ad-display h5 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.45rem;
}

.ad-display p {
  max-width: 24rem;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.news-scroll-box {
  flex: 1 1 auto;
  max-height: 100%;
  overflow-y: auto;
  overflow-x: hidden;
  padding-right: 8px;
}

.news-box h4 {
  font-size: 1rem;
  margin-bottom: 0.7rem;
}

.news-scroll-box .card {
  margin-bottom: 0.55rem !important;
  border-width: 1px !important;
  overflow: hidden;
}

.news-scroll-box .card-body {
  padding: 0.7rem;
}

.news-scroll-box .card-title {
  font-size: 0.85rem !important;
  line-height: 1.3;
  margin-bottom: 0.35rem;
  overflow-wrap: anywhere;
}

.news-scroll-box .card-text {
  font-size: 0.74rem;
  line-height: 1.35;
  margin-bottom: 0.45rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  overflow-wrap: anywhere;
}

.news-scroll-box .btn {
  padding: 0.18rem 0.48rem;
  font-size: 0.72rem;
}

.news-scroll-box::-webkit-scrollbar {
  width: 6px;
}

.news-scroll-box::-webkit-scrollbar-thumb {
  background-color: #ff9f43;
  border-radius: 10px;
}

.history-art {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 8px;
  border: 2px solid #ff9f43;
}

.navbar .nav-link.active {
  color: #ff9f43 !important;
  font-weight: 700;
}

.history-box p,
.history-box small,
.history-box h5 {
  overflow-wrap: anywhere;
}

.site-shell {
  background: rgba(12, 12, 12, 0.55) !important;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-top-color: rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(29, 185, 84, 0.35);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(12px) saturate(140%);
  -webkit-backdrop-filter: blur(12px) saturate(140%);
}

.site-header {
  gap: 1.25rem;
  margin: 0 1rem 0.75rem;
  border-radius: 18px;
}

.site-nav {
  margin: 0 1rem 0.75rem;
  border-radius: 18px;
}

.navbar .nav-link {
  color: rgba(255, 255, 255, 0.92) !important;
  border-radius: 999px;
  margin: 0.15rem 0.2rem;
  transition: background-color 0.15s ease, color 0.15s ease;
}

.navbar .nav-link:hover,
.navbar .nav-link:focus {
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff !important;
}

.staff-box {
  background: rgba(0, 0, 0, 0.85);
  border: 2px solid #ff9f43;
  border-radius: 10px;
  padding: 20px;
  min-height: 400px;
}

.staff-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
}

.staff-card {
  font: inherit;
  background: rgba(16, 16, 16, 0.9);
  border: 1px solid #ff9f43;
  border-radius: 10px;
  padding: 1.2rem;
  min-height: 260px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 100%;
  color: #fff;
  text-align: center;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}

.staff-card:hover,
.staff-card:focus {
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.35);
  border-color: #ffd39b;
  outline: none;
}

.staff-card.is-selected {
  border-color: #ffd39b;
  box-shadow: 0 0 0 2px rgba(124, 255, 191, 0.25);
}

.staff-avatar {
  width: 120px;
  height: 120px;
  object-fit: cover;
  border-radius: 50%;
  border: 3px solid #ff9f43;
  background-color: #111;
  margin-bottom: 0.9rem;
}

.staff-name {
  font-size: 1.2rem;
  margin-bottom: 0.4rem;
}

.staff-role {
  color: #bfbfbf;
  margin-bottom: 0;
  font-size: 0.95rem;
}

.staff-detail {
  background: rgba(16, 16, 16, 0.95);
  border: 1px solid #ff9f43;
  border-radius: 10px;
  padding: 1rem;
  min-height: 170px;
}

.staff-detail-placeholder {
  color: #bfbfbf;
}

.staff-detail-content {
  display: block;
}

.staff-detail-kicker {
  color: #ff9f43;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.75rem;
}

.staff-detail-role {
  color: #bfbfbf;
}

.about-box {
  background: rgba(0, 0, 0, 0.85);
  border: 2px solid #ff9f43;
  border-radius: 10px;
  padding: 24px;
  min-height: 260px;
}

.about-copy {
  color: #f0f0f0;
  font-size: 1.05rem;
  line-height: 1.7;
  max-width: 900px;
}

footer {
  background-color: #101010;
  padding: 1rem;
  text-align: center;
  font-size: 0.9rem;
  color: #ccc;
  border-top: 2px solid #ff9f43;
  margin-top: auto;
}

@media screen and (max-width: 768px) {
  .main-sections {
    grid-template-columns: 1fr;
  }

  .news-box,
  .ad-box,
  .history-box {
    grid-column: auto;
    grid-row: auto;
    min-height: 500px;
    height: auto;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }

  .ad-display {
    min-height: 190px;
  }


  .now-playing-header {
    flex-direction: column;
    text-align: center;
  }

  .album-art-large,
  .dj-avatar-large {
    width: 80px;
    height: 80px;
  }

  .staff-grid {
    grid-template-columns: 1fr;
  }

  .navbar .nav-link {
    margin: 0.15rem 0;
  }

}
