body 
{
background-image:url(/img/fon2.1.jpg);
background-repeat: no-repeat;
background-position: center;
background-attachment: scroll;
background-size: inherit; 
background-color:#000000;
color:#ffffff;font-size:10pt;
font-family:Tahoma,Geneva,sans-serif;
margin:0;
padding:0;}

/* Ссылки */
a {
  color: #fff;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* Текст */
p {
  margin: 3px 0;
  font-size: 11px;
  text-align: justify;
}

/* Изображения */
img {
  margin: 0;
  border-radius: 0;
}

/* Контейнер */
.main {
  width: 1200px;
  margin: 0 auto;
}

/* Шапка */
.head {
  height: 366px;
  background: url(/img/LOGO_radio_navala.jpg) no-repeat center;
  background-size: cover;
}

/* CD блок */
.cd-wrapper {
  position: relative;
  width: 336px;
}

.CD {
  display: block;
  width: 336px;
  margin: 1px 0 0 14px;
}

.cover {
  position: absolute;
  top: 11px;
  left: 44px;
  width: 300px;
  height: 300px;
  background-size: cover;
  z-index: 2;
}

.top-overlay {
  position: absolute;
  top: 0px;
  left: 13px;
  width: 337px;
  height: 320px;
  z-index: 3; /* Увеличил, чтобы точно было выше всего */
  pointer-events: none;
  display: block !important; /* Гарантируем отображение */
}

.top-overlay img {
  width: 100%;
  height: 100%; /* Растягиваем картинку на весь блок */
  object-fit: contain; /* Чтобы картинка не искажалась */
  display: block;
}

.radio-block {
  margin-top: 0px;
}

.player-row {
  display: flex;
  align-items: flex-start; /* важно */
  gap: 7px;
}

.now-playing {
  margin-top: 5px; /* опускает вниз */
}


/* Зараз в ефірі */
.now-playing {
  display: block;
  width: fit-content;
  margin: 0 auto;
  padding: 15px 20px;
  transform: translateX(13px); /* 👈 двигаем влево */

  background: linear-gradient(145deg, #1a1a1a, #000);
  border: 2px solid #444;
  border-radius: 6px;

  box-shadow: 
    0 0 10px rgba(0,0,0,0.8),   /* тень */
    inset 0 0 8px rgba(255,255,255,0.05); /* внутренний блик */

  position: relative;
  text-align: center;
}

.now-playing::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 40%;
  transform: perspective(500px) rotateX(2deg);
  background: linear-gradient(
    to bottom,
    rgba(255,255,255,0.15),
    transparent
  );

  border-radius: 6px 6px 0 0;
  pointer-events: none;
}

.now-playing .title {
  font-weight: bold;
  font-size: 20px;
  color: #f5c542;
}

.now-playing .song {
  display: inline-block;
  text-align: center;
  padding: 6px 12px;
  border: 1px solid #f5c542;
  border-radius: 18px;
  background: rgba(245,197,66,0.1);

  line-height: 1.3;
  font-size: 18px;
  color: #f5c542;

  max-width: none;        /* 👈 убрать ограничение */
  white-space: nowrap;    /* 👈 в одну строку */
}

.live {
  color: #ff3b3b;
  margin-left: 0px;
  font-size: 20px;
  font-weight: bold;
  animation: pulse 1s infinite;
}

@keyframes pulse {
  0%   { opacity: 1; }
  50%  { opacity: 0.3; }
  100% { opacity: 1; }
}

.song-custom {
  text-align: center;
}

.artist {
  color: #ffd700;
  font-size: 20px;
  font-weight: bold;
  margin-top: 6px;
}

.track {
  color: #ffd700;
  font-size: 20px;
  font-weight: bold;
}




/* 20 останніх пісень ефіру */
.history-title {
  margin-bottom: 4px;
  font-size: 1px;
  color: #e7e7e7;
  margin-left: 0px; /* двигает влево */
}

.song-item {
  margin-bottom: 5px;
  font-family: Arial, monospace;
  text-align: left;
}

.song-time {
  color: #aaa;
  margin-right: 5px;
}

.song-name {
  color: #fff;
}

/* Таблица */
.cnt_tb_3 {
  width: 844px;
  padding-right: 0;
}

.cnt_tb_2 {
  width: 347px;
  vertical-align: top;
}

.cnt_tb_3,
.cnt_tb_4 {
  vertical-align: top;
}

.top-bar {
  display: flex;
  align-items: center;
  gap: 6px; /* расстояние между иконками */
}

.top-bar a img {
  display: block;
}

#donate-button-container {

}

/* Футер */
.footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.footer-line img {
  max-width: 100%;
  height: auto;
}

.footer-text {
  margin-top: 5px;
  color: #ccc;
}

/* Убираем горизонтальный скролл */
html, body {
  overflow-x: hidden;
}
