:root {
  --bg-lite: #3a1f10;
  --bg-dark: #1a0f0a;
  --text-light: #f5e6d3;
  --text-dark: #b89b85;
  --gold: #d4a373;
  --gold-hover: #e0b88a;
  --svg-links: #ffffff;
  --track-bg: rgba(255, 255, 255, 0.1);
  --alert-bg: rgba(0, 0, 0, 0.5)
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, Tahona, Verdana, sans-serif;
}
.usnone {
  -webkit-touch-callout: none; /* iOS Safari */
  -webkit-user-select: none;   /* Chrome/Safari/Opera */
  -khtml-user-select: none;    /* Konqueror */
  -moz-user-select: none;      /* Firefox */
  -ms-user-select: none;       /* Internet Explorer/Edge */
  user-select: none;           /* Non-prefixed version */
}
body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: var(--text-light);
  /* background: radial-gradient(circle at center, var(--bg-lite) 0%, var(--bg-dark) 100%); */
  /* background: url('img.jpg') no-repeat center center/cover; */
  background: url('/img/bg/coffee.webp') no-repeat center center/cover;
  padding: 20px;
  overflow-x: hidden;
  -webkit-tap-highlight-color: transparent;
}
/* Шапка */
.logo-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  color: var(--gold);
  text-align: center;
}
.logo-icon {
  width: 60px;
  height: 60px;
  margin-bottom: 10px;
  fill: var(--gold);
}
.logo-container img {
  width: 100%;
  max-width: 500px;
}
/* Плеер */
.player-container {
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--gold);
  border-radius: 20px;
  padding: 25px;
  display: flex;
  gap: 25px;
  width: 100%;
  min-width: 200px;
  max-width: 750px;
  box-shadow: 0 15px 35px rgba(0,0,0,0.6);
  z-index: 2;
  margin: 40px 0;
}
.player-play {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}
#play_button {
  width: 100px;
  height: 100px;
  color: var(--bg-dark);
  border-radius: 50%;
  background: var(--gold);
  background-repeat: no-repeat;
  background-position: 50%;
  background-size: contain;
  cursor: pointer;
}
#play_button.play {
  background-image: url("data:image/svg+xml,%3Csvg width='24' height='24' version='1.1' viewBox='9 9 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23000000'%3E%3Cpath d='m17.8 26.9c-.4.3-.8.1-.8-.5v-10.8c0-.6.4-.8.8-.4l8 5.4c.3.2.3.6 0 .8l-8 5.5z' fill='%23ffffff'/%3E%3C/g%3E%3C/svg%3E%0A");
}
#play_button.pause {
  background-image: url("data:image/svg+xml,%3Csvg width='24' height='24' version='1.1' viewBox='9 9 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23000000'%3E%3Cpath d='m17 15.6c0-.3.3-.6.6-.6h1.8c.3 0 .6.3.6.6v10.8c0 .3-.3.6-.6.6h-1.8c-.3 0-.6-.3-.6-.6v-10.8zm5 0c0-.3.3-.6.6-.6h1.8c.3 0 .6.3.6.6v10.8c0 .3-.3.6-.6.6h-1.8c-.3 0-.6-.3-.6-.6v-10.8z' fill='%23ffffff'/%3E%3C/g%3E%3C/svg%3E%0A");
}
.player-cover {
  width: 180px;
  height: 180px;
  border-radius: 12px;
  background: #2a1a10;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  cursor: pointer;
  flex-shrink: 0;
}
.player-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.player-cover img[src*="generic_song"] {
  filter: hue-rotate(190deg);
}
.player-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
  flex-grow: 1;
  overflow: hidden;
}
.player-now-playing {
  display: none;
  font-size: 12px;
  color: var(--text-dark);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 5px;
}
.player-track-title {
  font-size: 22px;
  font-weight: bold;
  margin-bottom: 5px;
  text-transform: capitalize;
}
.player-track-artist {
  font-size: 16px;
  color: var(--text-dark);
  margin-bottom: 20px;
  text-transform: capitalize;
}
.player-progress-container {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  color: var(--text-dark);
  margin-bottom: 20px;
}
.player-progress {
  width: 100%;
  height: 4px;
  background: var(--track-bg);
  border-radius: 2px;
}
.player-progress-bar {
  height: inherit;
  border-radius: inherit;
  transition: 1.0s;
  background-color: var(--gold);
}
.player-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.player-last-played-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--gold);
  cursor: pointer;
}
.player-last-played-icon svg {
  fill: white;
  transform: scale(70%);
}
.player-volume-icon {
  width: 20px;
  height: 20px;
  fill: currentColor;
  flex-shrink: 0;
}
.player-volume-control {
  display: flex;
  align-items: center;
  gap: 10px;
}
.player-volume-bar {
  max-width: 120px;
}
input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 4px;
  background: var(--track-bg);
  border-radius: 2px;
  outline: none;
  cursor: pointer;
  background-image: linear-gradient(var(--gold), var(--gold));
  background-size: 0% 100%;
  background-repeat: no-repeat;
}
input[type="range"]::-moz-range-thumb {
  width: 14px;
  height: 14px;
  background: #fff;
  border: none;
  border-radius: 50%;
  box-shadow: 0 0 5px rgba(0,0,0,0.5);
  transition: transform 0.1s ease;
}
#volume_set::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 14px;
  height: 14px;
  background: #fff;
  border: none;
  border-radius: 50%;
  box-shadow: 0 0 5px rgba(0,0,0,0.5);
  transition: transform 0.1s ease;
}
/* Подвал */
.footer-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  color: var(--gold);
  text-align: center;
}
.footer-icon {
  height: 20px;
  fill: var(--gold);
}
.footer-title {
  font-size: 36px;
  margin-bottom: 15px;
  text-shadow: 1px 1px 3px rgba(0,0,0,0.8);  
}
.footer-subtitle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 16px;
  color: var(--text-light);
  margin-bottom: 25px;
  cursor: pointer;
}
.footer-links {
  display: flex;
  justify-content: center;
  gap: 15px;
}
.footer-button {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--gold);
  cursor: pointer;
}
.footer-button.vk svg {
  
}
.footer-button.tg svg {
  transform: scale(0.8);
}
/* Модальное окно */    
.alert-layer {
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background-color: var(--alert-bg);
  display: grid;
  align-items: center;
  justify-content: center;
  position: fixed;
  overflow: auto;
  z-index: 10000;
}
.alert-wrapper {
  max-width: 750px;
  min-width: 200px;
  margin: 20px;
  padding: 20px;
  color: var(--text-light);
  border-radius: 10px;
  background-color: var(--bg-dark);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.alert-last-container {
  display: flex;
  align-items: center;
  gap: 20px;
}
.alert-title {
  text-transform: capitalize;
}
.alert-artist {
  color: var(--text-dark);
  text-transform: capitalize;
}
.alert-time span {
  color: var(--text-dark);
}
.alert-content {
  text-align: center;
}
.alert-content img {
  border: 1px solid var(--border-color);
  border-radius: 6px;
}
.alert-text {
  width: 100%;
}
.alert-text .modalimg {
  width: 100%;
  max-width: 70vh;
  display: block;
}
.alert-button {
  margin-top: 20px;
  /* padding: 8px 24px; */
  line-height: 40px;
  padding: 0 20px;
  border-radius: 5px;
  color: white;
  font-weight: bold;
  background: var(--gold);
  cursor: pointer;
  -webkit-user-select
  user-select: none;
}
/* Адаптивность */
@media (max-width: 700px) {
  .player-container {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .player-info {
    width: 100%;
  }
}