/* =====================
   GLOBAL
   ===================== */

@import url('https://fonts.googleapis.com/css2?family=VT323&family=Inconsolata:wdth,wght@75..125,200..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Share+Tech+Mono&family=Inconsolata:wdth,wght@75..125,200..900&family=Inter:wght@300;400;500&display=swap');


body {
  background-color: #101820;
  color: #c8d4dc;
  font-family: "Inter", sans-serif;
  font-weight: 400;
  font-size: 15px;
  line-height: 1.9;
  margin: 0;
  padding: 0;
  background-image: repeating-linear-gradient(
    0deg,
    rgba(0, 0, 0, 0.12) 0px,
    rgba(0, 0, 0, 0.12) 1px,
    transparent 1px,
    transparent 5px
  );
}

a {
  color: #90b0c0;
  text-decoration: none;
}

a:hover {
  color: #c8d4dc;
}

/* =====================
   LAYOUT
   ===================== */

header, footer {
  max-width: 1100px;
  margin: 0 auto;
  padding: 24px 48px;
}

/* =====================
   IFRAME
   ===================== */

#content-frame {
  display: block;
  width: 100%;
  border: none;
  border-top: 2px solid #333355;
}

/* =====================
   WIDGETS ROW
   ===================== */

#widgets-row {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  margin-top: 16px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

#widgets-row #radio-player {
  flex: 2;
  min-width: 260px;
  margin-top: 0;
}

/* =====================
   STATUS BOX
   ===================== */

#status-box {
  flex: 1;
  min-width: 180px;
  border: 1px solid #263040;
  border-top: 3px solid #5890b0;
  background-color: #182433;
  padding: 12px 16px;
}

#status-title {
  font-family: "VT323", monospace;
  font-size: 1.2em;
  color: #90b0c0;
  border-bottom: 1px solid #263040;
  padding-bottom: 8px;
  margin-bottom: 14px;
  letter-spacing: 2px;
}

#status-content {
  display: flex;
  align-items: center;
  gap: 12px;
}

#status-light {
  width: 10px;
  height: 10px;
  min-width: 10px;
  border-radius: 50%;
  background: #4a9960;
  box-shadow: 0 0 4px #4a9960;
  animation: pulse-light 3s ease-in-out infinite;
}

@keyframes pulse-light {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.4; }
}

#status-text {
  font-size: 1em;
  color: #607888;
  line-height: 1.8;
}

#status-activity strong {
  color: #90b0c0;
  font-weight: bold;
}

/* =====================
   MUSIC PLAYER
   ===================== */

#radio-player {
  border: 1px solid #263040;
  border-top: 3px solid #5890b0;
  background-color: #182433;
  padding: 12px 16px;
  margin-top: 16px;
  max-width: 560px;
}

#radio-title {
  font-family: "VT323", monospace;
  font-size: 1.2em;
  color: #90b0c0;
  border-bottom: 1px solid #263040;
  padding-bottom: 8px;
  margin-bottom: 10px;
  letter-spacing: 2px;
}

#radio-screen {
  background-color: #0c1418;
  border: 1px solid #263040;
  padding: 10px 14px;
  margin-bottom: 12px;
}

#radio-station-name {
  font-family: "VT323", monospace;
  font-size: 1.2em;
  color: #5890b0;
  margin-bottom: 6px;
  letter-spacing: 1px;
}

#radio-song-name {
  font-size: 0.95em;
  color: #c8d4dc;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

#radio-bottom {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

#station-select {
  font-family: "VT323", monospace;
  font-size: 1.1em;
  background-color: #0c1418;
  color: #90b0c0;
  border: 1px solid #263040;
  padding: 6px 8px;
  cursor: pointer;
  flex: 1;
  min-width: 160px;
}

#station-select:hover,
#station-select:focus {
  border-color: #5890b0;
  color: #c8d4dc;
  outline: none;
}

#radio-controls {
  display: flex;
  gap: 8px;
}

#radio-controls button {
  font-family: "VT323", monospace;
  font-size: 1.1em;
  background: transparent;
  color: #90b0c0;
  border: 1px solid #3a5060;
  padding: 6px 12px;
  cursor: pointer;
}

#radio-controls button:hover {
  background-color: #263040;
  color: #c8d4dc;
  border-color: #5890b0;
}

/* =====================
   HEADER
   ===================== */

header {
  border-bottom: 1px solid #263040;
  margin-bottom: 32px;
  text-align: center;
}

header h1 {
  font-family: "VT323", monospace;
  font-size: 3.2em;
  color: #c8d4dc;
  text-shadow: 2px 2px 0px #0c1418;
  letter-spacing: 4px;
  margin-bottom: 16px;
}

/* =====================
   NAV
   ===================== */

nav {
  font-family: "VT323", monospace;
  font-size: 1.3em;
  margin-top: 12px;
  margin-bottom: 8px;
}

nav a {
  margin: 0 10px;
  color: #607888;
  border: 1px solid #263040;
  padding: 4px 10px;
}

nav a:hover {
  background-color: #263040;
  color: #c8d4dc;
  border-color: #5890b0;
  text-shadow: none;
}

nav a.active {
  color: #c8d4dc;
  border-color: #5890b0;
  background-color: rgba(88, 144, 176, 0.1);
}

/* =====================
   MAIN CONTENT
   ===================== */

main p {
  margin-bottom: 16px;
}

.box {
  border: 1px solid #263040;
  border-top: 3px solid #5890b0;
  padding: 16px;
  margin-bottom: 24px;
  background-color: #182433;
  overflow: auto;
}

.box-title {
  font-family: "VT323", monospace;
  font-size: 1.2em;
  color: #90b0c0;
  margin-bottom: 12px;
  border-bottom: 1px solid #263040;
  padding-bottom: 6px;
  letter-spacing: 1px;
}

/* =====================
   FOOTER
   ===================== */

footer {
  border-top: 1px solid #263040;
  margin-top: 48px;
  text-align: center;
  font-size: 0.7em;
  color: #2e4050;
}