* {
  box-sizing: border-box;
}

body {
  background: linear-gradient(135deg, #1f1f1f, #2c2c2c);
  color: white;
  font-family: "Segoe UI", sans-serif;
  margin: 0;
  padding: 20px 15px;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 100vh;
}

.header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.station-logo {
  width: 50px;
  height: 50px;
  object-fit: contain;
  border-radius: 8px;
  filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.3));
}

h1 {
  margin: 0;
  font-size: 2em;
  line-height: 1.2;
}

@keyframes pulse {
  0% {
    opacity: 1;
    transform: scale(1);
  }

  50% {
    opacity: 0.6;
    transform: scale(1.02);
  }

  100% {
    opacity: 1;
    transform: scale(1);
  }
}

.player-wrapper {
  margin: 0;
}

.songs-title {
  margin: 20px 0 10px;
  font-weight: 500;
  color: #ddd;
}

.my_lastsongs {
  max-width: 500px;
  width: 100%;
}

.my_songdivs {
  margin-bottom: 7px;
}

.song-title {
  color: #ffb347;
}

.my_lastsonghtml {
  display: none;
}

.my_songdivs:nth-child(n + 6) {
  display: none;
}

.my_lastsonghtml > div {
  display: flex;
  gap: 8px;
  align-items: center;
  text-align: left;
  margin: 3px;
}

footer {
  font-size: 0.75em;
  color: #888;
  opacity: 0.7;
}

a {
  color: white !important;
  text-decoration: none;
}

@media (max-width: 480px) {
  body {
    padding: 15px 10px;
  }

  .header {
    gap: 10px;
  }

  .station-logo {
    width: 40px;
    height: 40px;
  }

  h1 {
    font-size: 1.6em;
  }
}

.social-section {
  margin-top: 30px;
  margin-bottom: 15px;
  text-align: center;
}

.social-text {
  color: #aaa;
  font-size: 0.9em;
  margin-top: 0;
  margin-bottom: 8px;
}

.social-links {
  display: flex;
  gap: 20px;
  justify-content: center;
  align-items: center;
}

.social-link {
  display: inline-block;
  transition:
    transform 0.2s ease,
    opacity 0.2s ease;
  opacity: 0.8;
}

.social-link:hover {
  transform: scale(1.1);
  opacity: 1;
}

.social-link svg {
  width: 48px;
  height: 48px;
}

.social-link.vk svg {
  width: 53px;
  height: auto;
}

.social-link.vk {
  color: #4c75a3;
}

.social-link.telegram {
  color: #26a5e4;
}

@media (max-width: 480px) {
  .social-section {
    margin-top: 20px;
    margin-bottom: 10px;
  }

  .social-text {
    font-size: 0.85em;
    margin-bottom: 10px;
  }

  .social-links {
    gap: 15px;
  }

  .social-link {
    opacity: 1;
  }

  .social-link svg {
    width: 35px;
    height: 35px;
  }

  .social-link.vk svg {
    width: 40px;
    height: auto;
  }
}

.current-song-links {
  background: rgba(255, 180, 71, 0.08);
  border-radius: 12px;
  padding: 10px 15px;
  margin: 20px 0 0;
  width: 100%;
  max-width: 500px;
  backdrop-filter: blur(2px);
}

.current-song-title {
  margin: 0 0 12px 0;
  color: #ffb347;
  font-weight: 600;
  font-size: 0.8rem;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.service-links {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
}

.service-links a {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 8px 16px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 40px;
  transition: all 0.25s ease;
  border: 1px solid rgba(255, 255, 255, 0.05);
  color: white !important;
  text-decoration: none;
  font-size: 0.9rem;
}

.service-links a:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-3px);
  border-color: rgba(255, 255, 255, 0.15);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.service-links svg {
  width: 24px;
  height: 24px;
}

@media (max-width: 480px) {
  .service-links {
    gap: 12px;
  }

  .service-links a {
    padding: 6px 12px;
    font-size: 0.8rem;
  }

  .service-links a:hover {
    transform: none;
  }

  .service-links svg {
    width: 20px;
    height: 20px;
  }
}
