@import url("https://fonts.googleapis.com/css2?family=Oswald:wght@300;400;500;600;700&display=swap");

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary: #00adff;
  --primary-dark: #007ab8;
  --primary-soft: rgba(0, 173, 255, 0.14);
  /* Slated navy (not flat black) so the page matches the #00adff accent */
  --bg: #071d2c;
  --surface: #0c2638;
  --text: #e8f4fc;
  --text-light: #8aa4b5;
  --border: #1e4058;
  --bg-rgb: 7, 29, 44;
  --layout-max-width: 1400px;
  --layout-rail-width: 400px;
  --layout-gap: 2rem;
}

html {
  font-family: "Oswald", sans-serif;
  background: var(--bg);
}

body {
  font-family: "Oswald", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

button,
input,
select,
textarea {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(var(--bg-rgb), 0.94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  padding: 1rem 2rem 1.15rem;
}

.site-header-inner {
  max-width: var(--layout-max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  min-height: 3.5rem;
}

.site-header-brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  color: inherit;
  line-height: 0;
  flex-shrink: 0;
}


.site-logo {
  display: block;
  object-fit: contain;
  object-position: left center;
  flex-shrink: 0;
}


.site-header-brand .site-logo.site-logo--header,
img.site-logo.site-logo--header {
  width: auto;
  height: clamp(52px, min(8vw, 10vh), 120px);
  max-width: min(92vw, 880px);
  min-height: 52px;
}

.playing-brand {
  margin-bottom: 1.25rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  text-align: center;
  width: 100%;
  
  min-height: 6.5rem;
}

.site-logo--rail {
  width: auto;
  height: clamp(48px, min(11vw, 14vh), 140px);
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
  opacity: 0.94;
  object-position: center center;
  transform: scale(1.55);
  transform-origin: center top;
}

.content-brand-lockup {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border);
  width: 100%;
}

.site-logo--section {
  width: auto;
  height: clamp(56px, min(9vw, 11vh), 140px);
  max-width: min(96vw, 920px);
  min-height: 52px;
  opacity: 0.9;
}

.site-footer {
  background: var(--bg);
  padding: 2.5rem 2rem 3rem;
  border-top: 1px solid var(--border);
}

.site-footer-inner {
  max-width: var(--layout-max-width);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.site-logo--footer {
  width: auto;
  height: clamp(48px, min(7vw, 9vh), 112px);
  max-width: min(90vw, 720px);
  min-height: 48px;
  opacity: 0.88;
}

.site-footer .footer-note {
  border-top: none;
  padding: 1rem 0 0;
  margin: 0;
  max-width: 36rem;
}

.site-footer .footer-credit {
  font-size: 0.85rem;
  color: var(--text-light);
  margin: 1.25rem 0 0;
  padding: 0;
  letter-spacing: 0.02em;
}


.hero {
  background: var(--bg);
  min-height: 480px;
  padding: 2rem 2rem 3rem;
  position: relative;
  overflow: visible;
}

.hero-container {
  max-width: var(--layout-max-width);
  margin: 0 auto;
  display: flex;
  gap: var(--layout-gap);
  align-items: flex-start;
  position: relative;
  z-index: 2;
}

.hero-middle {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 2rem;
}

@media (max-width: 1200px) {
  .hero-container {
    flex-wrap: wrap;
  }
}

@media (max-width: 968px) {
  .hero-container {
    flex-direction: column;
    text-align: center;
  }
  .hero-middle {
    flex-direction: column;
  }
}

.show-section {
  animation: fadeInLeft 0.8s ease;
  flex: 1;
}

.dj-avatar-container {
  position: relative;
  width: 200px;
  height: 200px;
  border: 4px solid rgba(255, 255, 255, 0.3);
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 1.5rem;
  box-shadow: 0 8px 24px rgba(var(--bg-rgb), 0.45);
  background: rgba(var(--bg-rgb), 0.65);
}

.dj-avatar {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 2;
}

.dj-avatar-placeholder {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, rgba(0, 173, 255, 0.1), rgba(var(--bg-rgb), 0.92));
}

.dj-placeholder-icon {
  font-size: 4.25rem;
  opacity: 0.92;
  --fa-primary-color: var(--primary);
  --fa-secondary-color: #ffffff;
  --fa-secondary-opacity: 0.35;
}

.on-air-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  color: white;
  padding: 0.4rem 1rem;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 1rem;
}

.on-air-icon {
  font-size: 1.05rem;
  opacity: 0.95;
  --fa-primary-color: #ffffff;
  --fa-secondary-color: var(--primary);
  --fa-secondary-opacity: 1;
}

.show-title {
  font-family: "Oswald", sans-serif;
  font-weight: 700;
  font-size: 2.5rem;
  letter-spacing: 1px;
  color: white;
  margin-bottom: 0.5rem;
  line-height: 1.1;
}

.show-time {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.1rem;
  margin-bottom: 0.35rem;
}

.show-schedule {
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  margin-bottom: 1.25rem;
  max-width: 36rem;
}

.show-schedule[hidden] {
  display: none !important;
}

.hero-controls {
  display: flex;
  flex-direction: row;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
  width: 100%;
  max-width: 100%;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero-volume {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  flex: 1 1 200px;
  min-width: min(100%, 180px);
  max-width: 300px;
  width: auto;
  padding: 0.45rem 0.85rem;
  background: rgba(255, 255, 255, 0.08);
  border: 2px solid rgba(0, 173, 255, 0.28);
  border-radius: 999px;
  box-sizing: border-box;
}

@media (max-width: 968px) {
  .hero-controls {
    justify-content: center;
  }

  .hero-volume {
    max-width: min(100%, 320px);
    flex: 1 1 min(100%, 280px);
  }
}

.listen-live-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 2px solid rgba(0, 173, 255, 0.35);
  cursor: pointer;
  transition: background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
  font-family: inherit;
}

.listen-live-btn:hover {
  background: rgba(0, 173, 255, 0.15);
  border-color: rgba(0, 173, 255, 0.55);
}

.hero-action-icon {
  font-size: 1.05rem;
  --fa-primary-color: #ffffff;
  --fa-secondary-color: var(--primary);
  --fa-secondary-opacity: 0.9;
}

.volume-percent {
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.9rem;
  min-width: 2.5rem;
  text-align: right;
}

#volumeSlider {
  -webkit-appearance: none;
  appearance: none;
  height: 6px;
  flex: 1 1 100px;
  min-width: 72px;
  max-width: 180px;
  background: linear-gradient(to right, var(--primary), var(--primary-dark));
  border-radius: 3px;
  outline: none;
}

#volumeSlider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--primary);
  cursor: pointer;
  border: 2px solid rgba(255, 255, 255, 0.9);
}

#volumeSlider::-moz-range-thumb {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--primary);
  cursor: pointer;
  border: 2px solid rgba(255, 255, 255, 0.9);
}

.volume-icon {
  font-size: 1.1rem;
  color: var(--primary);
  --fa-primary-color: var(--primary);
  --fa-secondary-color: #ffffff;
  --fa-secondary-opacity: 0.85;
}


.playing-section {
  animation: fadeInRight 0.8s ease;
  width: var(--layout-rail-width);
  min-width: 0;
  flex-shrink: 0;
}

@media (max-width: 1200px) {
  .playing-section {
    width: 100%;
    max-width: 420px;
  }
}

.now-playing-card,
.recently-played-card {
  background: rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(12px);
  border: 2px solid rgba(255, 255, 255, 0.22);
  border-radius: 16px;
  padding: 1.5rem;
  margin-bottom: 1.25rem;
}

.now-playing-header,
.recently-played-header {
  font-family: "Oswald", sans-serif;
  font-weight: 600;
  font-size: 1.45rem;
  letter-spacing: 1px;
  color: white;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.card-heading-icon {
  font-size: 1.15rem;
  opacity: 0.95;
  --fa-primary-color: #ffffff;
  --fa-secondary-color: var(--primary);
  --fa-secondary-opacity: 1;
}

.np-progress-wrap {
  margin-top: 0.75rem;
}

.np-progress {
  height: 5px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 99px;
  overflow: hidden;
}

.np-progress span {
  display: block;
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--primary), rgba(0, 173, 255, 0.55));
  border-radius: 99px;
  transition: width 0.4s ease;
}

.np-timing {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.65);
  margin-top: 0.35rem;
}

.current-track {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.album-art-wrap {
  position: relative;
  width: 88px;
  height: 88px;
  flex-shrink: 0;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(var(--bg-rgb), 0.4);
  background: rgba(var(--bg-rgb), 0.55);
}

.track-album-art {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 2;
  border-radius: 10px;
}

.album-art-placeholder {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, rgba(0, 173, 255, 0.12), rgba(var(--bg-rgb), 0.92));
}

.np-art-placeholder-icon {
  font-size: 2.35rem;
  --fa-primary-color: #ffffff;
  --fa-secondary-color: var(--primary);
  --fa-secondary-opacity: 0.95;
}

.track-info {
  flex: 1;
  min-width: 0;
}

.track-title {
  color: white;
  font-family: "Oswald", sans-serif;
  font-weight: 600;
  font-size: 1.35rem;
  letter-spacing: 0.5px;
  margin-bottom: 0.25rem;
  line-height: 1.15;
  word-wrap: break-word;
}

.track-artist {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.95rem;
  font-weight: 300;
}

.recent-track-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.65rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.recent-track-item:last-child {
  border-bottom: none;
}

.recent-track-art {
  width: 50px;
  height: 50px;
  border-radius: 8px;
  object-fit: cover;
  flex-shrink: 0;
  background: rgba(var(--bg-rgb), 0.5);
}

.recent-track-title {
  color: white;
  font-family: "Oswald", sans-serif;
  font-weight: 500;
  font-size: 1.05rem;
  letter-spacing: 0.5px;
  line-height: 1.2;
  word-wrap: break-word;
}

.recent-track-artist {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.88rem;
  font-weight: 300;
}

.recent-track-time {
  color: rgba(255, 255, 255, 0.45);
  font-size: 0.78rem;
  flex-shrink: 0;
  padding-top: 0.15rem;
}


.content-body {
  background: var(--bg);
  padding: 3rem 2rem 4rem;
}

.content-container {
  max-width: var(--layout-max-width);
  margin: 0 auto;
  padding-inline: 0;
}

.section-title {
  font-family: "Oswald", sans-serif;
  font-weight: 700;
  font-size: 2.25rem;
  letter-spacing: 1px;
  color: var(--primary);
  margin-bottom: 1.5rem;
}

.content-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) var(--layout-rail-width);
  gap: var(--layout-gap);
  margin-bottom: 3rem;
  align-items: start;
}

@media (max-width: 968px) {
  .content-split {
    grid-template-columns: 1fr;
  }
}

.request-form,
.top-requested-card {
  background: var(--surface);
  border: 2px solid var(--border);
  border-radius: 12px;
  padding: 2rem;
}

.request-form h3,
.top-requested-card h3 {
  font-family: "Oswald", sans-serif;
  font-weight: 600;
  font-size: 1.75rem;
  color: var(--primary);
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.section-heading-icon {
  font-size: 1.25rem;
  --fa-primary-color: var(--primary);
  --fa-secondary-color: #ffffff;
  --fa-secondary-opacity: 0.35;
}

.label-icon {
  margin-right: 0.35rem;
  opacity: 0.95;
  --fa-primary-color: var(--primary);
  --fa-secondary-color: var(--text-light);
}

.success-message,
.error-message {
  padding: 0.85rem 1rem;
  border-radius: 8px;
  margin-bottom: 1rem;
  display: none;
  font-weight: 600;
  font-size: 0.95rem;
}

.success-message {
  background: #1e7f45;
  color: #fff;
}

.error-message {
  background: #b83232;
  color: #fff;
}

.form-field {
  display: flex;
  flex-direction: column;
  margin-bottom: 1rem;
}

.form-field label {
  font-weight: 600;
  margin-bottom: 0.45rem;
  font-size: 0.95rem;
}

.form-field input,
.form-field textarea {
  background: var(--bg);
  border: 2px solid var(--border);
  border-radius: 8px;
  padding: 0.8rem 0.9rem;
  color: var(--text);
  font-size: 1rem;
  font-family: inherit;
}

.form-field input:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(0, 173, 255, 0.12);
}

.search-container {
  position: relative;
}

.search-results {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--surface);
  border: 2px solid var(--border);
  border-top: none;
  border-radius: 0 0 10px 10px;
  max-height: 300px;
  overflow-y: auto;
  z-index: 200;
  display: none;
  box-shadow: 0 12px 40px rgba(var(--bg-rgb), 0.55);
}

.search-results.active {
  display: block;
}

.search-result-item {
  padding: 0.85rem 1rem;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 0.85rem;
  transition: background 0.15s;
}

.search-result-item:hover {
  background: var(--primary-soft);
}

.search-result-item:last-child {
  border-bottom: none;
}

.search-result-art {
  width: 48px;
  height: 48px;
  border-radius: 8px;
  object-fit: cover;
  flex-shrink: 0;
  background: var(--bg);
}

.search-result-info {
  flex: 1;
  min-width: 0;
}

.search-result-title {
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 0.15rem;
}

.search-result-artist {
  font-size: 0.85rem;
  color: var(--text-light);
}

.submit-btn,
.req-inline-btn {
  background: var(--primary);
  color: #041018;
  border: none;
  border-radius: 8px;
  padding: 0.5rem 1rem;
  font-size: 0.82rem;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  flex-shrink: 0;
  transition: background 0.15s, color 0.15s, box-shadow 0.15s;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
}

.btn-inline-icon {
  font-size: 1rem;
  --fa-primary-color: #041018;
  --fa-secondary-color: #ffffff;
  --fa-secondary-opacity: 0.35;
}

.req-inline-icon {
  font-size: 0.95rem;
}

.submit-btn:hover,
.req-inline-btn:hover {
  background: var(--primary-dark);
  color: #fff;
  box-shadow: 0 4px 14px rgba(0, 173, 255, 0.35);
}

.submit-btn:hover .btn-inline-icon,
.req-inline-btn:hover .req-inline-icon {
  --fa-primary-color: #ffffff;
  --fa-secondary-color: var(--primary);
}

.discord-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  text-decoration: none;
}

#topRequestedChart {
  max-height: 380px;
  overflow-y: auto;
}

.chart-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--border);
}

.chart-item:last-child {
  border-bottom: none;
}

.chart-position {
  font-family: "Oswald", sans-serif;
  font-weight: 700;
  font-size: 1.85rem;
  color: var(--primary);
  min-width: 36px;
  text-align: center;
}

.chart-art {
  width: 50px;
  height: 50px;
  border-radius: 8px;
  object-fit: cover;
  background: var(--bg);
}

.chart-title {
  font-family: "Oswald", sans-serif;
  font-weight: 600;
  font-size: 1.05rem;
  letter-spacing: 0.5px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.chart-artist {
  font-size: 0.88rem;
  color: var(--text-light);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.footer-note {
  text-align: center;
  font-size: 0.8rem;
  color: var(--text-light);
  padding: 1.5rem;
  border-top: 1px solid var(--border);
}

.footer-note a {
  color: var(--primary);
}


.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(var(--bg-rgb), 0.92);
  backdrop-filter: blur(6px);
  z-index: 1000;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.modal-overlay.active {
  display: flex;
}

.modal-panel {
  background: var(--surface);
  border: 2px solid var(--border);
  border-radius: 16px;
  padding: 2rem;
  max-width: 500px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  animation: modalSlideIn 0.3s ease;
}

@keyframes modalSlideIn {
  from {
    opacity: 0;
    transform: translateY(-24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  color: var(--text-light);
  font-size: 1.25rem;
  cursor: pointer;
  line-height: 1;
  padding: 0.35rem;
}

.modal-close:hover {
  color: var(--primary);
}

.modal-title {
  font-family: "Oswald", sans-serif;
  font-weight: 700;
  font-size: 2rem;
  color: var(--primary);
  margin-bottom: 1.25rem;
}

.modal-panel .form-field {
  margin-bottom: 1rem;
}

.modal-panel .submit-btn {
  width: 100%;
  padding: 0.9rem;
  font-size: 1rem;
}

@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-24px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(24px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.hp-field {
  position: absolute;
  left: -9999px;
  opacity: 0;
  width: 1px;
  height: 1px;
}
