body {
  background-color: #0b1a0b;
  background-image: linear-gradient(rgba(0, 255, 0, 0.05) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(0, 255, 0, 0.05) 1px, transparent 1px);
  background-size: 20px 20px;
  color: #00ff00;
  font-family: 'Source Code Pro', monospace;
  padding: 20px;
  text-align: center;
}

.logo-header {
  font-size: 2rem;
  text-shadow: 0 0 5px #00ff00;
  margin-bottom: 20px;
}

.logo-header.terminal-style {
  display: inline-block;
  background-color: rgb(0, 23, 0);
  color: #00ff00;
  padding: 15px 25px;
  border: 2px solid #00ff00;
  box-shadow: 0 0 12px #00ff00;
  font-family: 'Source Code Pro', monospace;
  font-size: 1.5rem;
  position: relative;
  white-space: nowrap;
  text-align: left;
  line-height: 1.4;
  max-width: 100%;
  overflow-x: auto;
}

.logo-header.terminal-style::before {
  content: "tux@tux_net:~$ ";
  font-weight: bold;
  color: #00dd00;
}

.logo-header.terminal-style::after {
  content: "_";
  animation: blink 1s steps(2, start) infinite;
  margin-left: 4px;
}

@keyframes blink {
  to {
    visibility: hidden;
  }
}

.player-container {
  max-width: 600px;
  margin: 0 auto;
  background-color: rgb(0, 23, 0);
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 0 10px #00ff00;
  position: relative;
}

.player-header {
  display: flex;
  align-items: center;
  gap: 15px;
}

.album-thumb {
  width: 110px;
  height: 110px;
  border-radius: 8px;
  object-fit: cover;
}

.track-info {
  flex: 1;
  text-align: left;
  min-width: 0;
}

.track-title {
  font-size: 1.2rem;
  margin-bottom: 5px;
  word-break: break-word;
  white-space: normal;
  overflow-wrap: anywhere;
  max-width: 100%;
  line-height: 1.3;
}

.track-album {
  font-size: 0.9rem;
  color: #77ff77;
  margin-top: 5px;
}

.custom-button {
  background: #003300;
  border: 2px solid #00ff00;
  border-radius: 0;
  width: 56px;
  height: 56px;
  font-size: 2.4rem;
  color: #00ff00;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  margin: 40px 0px 0px;
}

.icon-row {
  margin-top: 15px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.left-icons, .right-controls {
  display: flex;
  align-items: center;
  gap: 15px;
  flex-wrap: wrap;
}

.icon-row i {
  font-size: 1.5rem;
  color: #00ff00;
  transition: color 0.3s;
  cursor: pointer;
}

.icon-row i:hover {
  filter: brightness(150%);
}

.volume-slider {
  width: 100px;
}

select#stationSelect {
  background: #002200;
  color: #00ff00;
  border: 2px solid #00ff00;
  border-radius: 5px;
  padding: 6px 12px;
  font-family: 'Source Code Pro', monospace;
  font-size: 1rem;
  box-shadow: 0 0 10px rgba(0, 255, 0, 0.3);
}

select#stationSelect option {
  background: #001100;
  color: #00ff00;
}

#tuxWrapper {
  position: fixed;
  bottom: 20px;
  right: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
}

#tuxTooltip {
  background: rgba(0, 0, 0, 0.75);
  color: #fff;
  padding: 4px 8px;
  border-radius: 5px;
  font-size: 0.75rem;
  opacity: 0;
  transition: opacity 0.3s;
  pointer-events: none;
}

#toggleTux {
  width: 70px;
}

#ircChat {
  margin: 35px auto 0;
  width: 100%;
  max-width: 1000px;
  height: 480px;
  border: none;
  border-radius: 12px;
  display: block;
  transition: opacity 0.4s ease;
  opacity: 1;
}

#ircChat.hidden {
  opacity: 0;
  pointer-events: none;
}

@media (max-width: 600px) {
  .player-header {
    flex-direction: column;
  }
  .track-info {
    text-align: center;
  }
  .icon-row {
    flex-direction: column;
    gap: 10px;
  }
  .logo-header.terminal-style {
    flex-direction: column;
 }
}

.album-thumb {
  width: 110px;
  height: 110px;
  border-radius: 8px;
  object-fit: cover;
  transition: opacity 0.5s ease-in-out;
  opacity: 1;
}
.album-thumb.fade-out {
  opacity: 0;
}

.track-listeners {
  font-size: 0.9rem;
  color: #66ff66; /* main text color */
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 10px 0px 0px;
}

.track-listeners i {
  color: inherit; /* use same color as text */
}
