* {
      cursor: url('https://kiwivlad.com/img/cursor.png'), auto !important;
    }

#preloader {
      position: fixed;
      inset: 0;
      background-color: #000000dd;
      display: flex;
      justify-content: center;
      align-items: center;
      z-index: 9999;
      backdrop-filter: blur(4px);
    }
    .loader {
      display: flex;
      gap: 12px;
    }
    .loader > div {
      width: 15px;
      height: 15px;
      background: linear-gradient(135deg, #00e1ff, #f000dc);
      border-radius: 50%;
      animation: pulse 1.2s infinite ease-in-out;
    }
    .loader > div:nth-child(1) { animation-delay: 0s; }
    .loader > div:nth-child(2) { animation-delay: 0.2s; }
    .loader > div:nth-child(3) { animation-delay: 0.4s; }
    @keyframes pulse {
      0%, 100% { transform: scale(0.8); opacity: 0.6; }
      50%      { transform: scale(1.2); opacity: 1;   }
    }

/* Музыкальный плеер */
#audio-popup {
  position: fixed;
  top: 1rem;
  left: 1rem;
  transform: translateX(-120%) translateY(-120%);
  background: rgba(0, 0, 0, 0.75);
  border: 2px solid #00ffe0;
  border-radius: 1rem;
  padding: 1rem 1.5rem;
  box-shadow: 0 0 25px #00ffe0cc;
  color: white;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  display: flex;
  align-items: center;
  gap: 1rem;
  min-width: 420px;
  max-width: 460px;
  opacity: 0;
  pointer-events: none;
  transition: transform 0.5s ease, opacity 0.5s ease;
  z-index: 100000;
  backdrop-filter: saturate(180%) blur(8px);
}
#audio-popup.show {
  transform: translateX(0) translateY(0);
  opacity: 1;
  pointer-events: auto;
}
#audio-popup img {
  width: 96px;
  height: 96px;
  border-radius: 1rem;
  border: 2px solid #00e1ff;
  box-shadow: 0 0 15px #00e1ffaa;
  object-fit: cover;
}
#audio-popup .text {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
#audio-popup .now-playing {
  font-size: 0.95rem;
  color: #00e1ff;
  font-weight: 600;
  margin-bottom: 0.25rem;
  letter-spacing: 0.05em;
}
#audio-popup .title {
  font-weight: 900;
  font-size: 1.3rem;
  margin-bottom: 0.15rem;
  background: linear-gradient(270deg, #00e1ff, #f000dc, #00e1ff);
  background-size: 600% 600%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: gradientShift 8s ease infinite;
}
#audio-popup .subtitle {
  font-size: 1rem;
  color: #ccc;
  margin-bottom: 0.5rem;
}
.progress-container {
  position: relative;
  width: 100%;
  height: 8px;
  background: #222;
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 0.8rem;
}
.progress-bar {
  position: absolute;
  top: 0; left: 0;
  height: 100%;
  background: linear-gradient(90deg, #00e1ff, #f000dc);
  width: 0%;
  transition: width 0.2s ease;
}
.progress-indicator {
  position: absolute;
  top: 50%;
  width: 14px;
  height: 14px;
  background: #00e1ff;
  border-radius: 50%;
  box-shadow: 0 0 8px #00e1ffaa;
  transform: translate(-50%, -50%);
  left: 0%;
  transition: left 0.2s linear;
}
.controls {
  display: flex;
  gap: 1rem;
  margin-top: 0.25rem;
}
.control-button {
  width: 32px;
  height: 32px;
  background: transparent;
  border: 2px solid #00e1ff;
  border-radius: 50%;
  color: #00e1ff;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  user-select: none;
  transition: background-color 0.3s ease;
}
.control-button[aria-disabled="true"] {
  cursor: default;
  opacity: 0.4;
}
.control-button:hover:not([aria-disabled="true"]) {
  background-color: #00e1ff22;
}
.control-button svg {
  width: 16px;
  height: 16px;
  stroke: #00e1ff;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
}
@keyframes gradientShift {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* HEADER */

header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(0,0,0,.85);
  backdrop-filter: saturate(180%) blur(12px);
  z-index: 10000;
  display: flex;
  justify-content: center;
  gap: .5rem;
  padding: .75rem 1rem;
  font-weight: 600;
  font-size: .9rem;
  flex-wrap: wrap;
}

header a {
  color: #ffffffcc;
  text-decoration: none;
  padding: .5rem 1rem;
  border-radius: .5rem;
  transition: .35s;
}

header a:hover,
header a.active {
  background: linear-gradient(135deg, #00e1ff, #f000dc);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0,255,255,.45);
}

.order-btn {
  background: linear-gradient(135deg, #00e1ff, #f000dc);
  color: #fff;
  padding: 0.45rem 0.75rem;
  font-weight: 700;
  font-size: 0.99rem;
  border-radius: 30px;
  box-shadow: 0 4px 15px rgba(240, 0, 220, 0.6);
  text-decoration: none;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: inline-block;
  user-select: none;
}

.order-btn:hover,
.order-btn:focus {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 8px 30px rgba(240, 0, 220, 0.85);
  outline: none;
}

/* Анимация крестика */
.burger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.burger.active span:nth-child(2) {
  opacity: 0;
}
.burger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

/* Затемнение фона */
.overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  display: none;
  z-index: 999;
}

.overlay.show {
  display: block;
}

/* Адаптация под мобильные устройства */
@media (max-width: 768px) {
  /* Музыкальный плеер адаптация */
  #audio-popup {
    top: 0.5rem;
    left: 50%;
    transform: translateX(-50%) translateY(-120%);
    min-width: auto;
    max-width: 90vw;
    width: 90vw;
    padding: 0.5rem 1rem;
    border-radius: 0.75rem;
    box-shadow: 0 0 15px #00ffe0cc;
    font-size: 0.9rem;
    gap: 0.6rem;
  }

  #audio-popup.show {
    transform: translateX(-50%) translateY(0);
  }

  #audio-popup img {
    width: 64px;
    height: 64px;
    border-radius: 0.75rem;
    border: 2px solid #00e1ff;
    box-shadow: 0 0 10px #00e1ffaa;
  }

  #audio-popup .now-playing {
    font-size: 0.8rem;
  }

  #audio-popup .title {
    font-size: 1.1rem;
    margin-bottom: 0.1rem;
  }

  #audio-popup .subtitle {
    font-size: 0.85rem;
    margin-bottom: 0.4rem;
  }

  .progress-container {
    height: 6px;
    margin-bottom: 0.6rem;
  }

  .progress-indicator {
    width: 12px;
    height: 12px;
  }

  .controls {
    gap: 0.6rem;
    margin-top: 0.15rem;
  }

  .control-button {
    width: 28px;
    height: 28px;
  }

  .control-button svg {
    width: 14px;
    height: 14px;
  }

  /* HEADER */
  header {
    padding: 0.5rem 0.75rem;
    font-size: 0.85rem;
    gap: 0.4rem;
  }

  header a {
    padding: 0.4rem 0.75rem;
    border-radius: 0.4rem;
  }

  .order-btn {
    padding: 0.35rem 0.6rem;
    font-size: 0.85rem;
    border-radius: 25px;
  }

  /* Навигация для мобильных */
  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    background: rgba(0, 0, 0, 0.95);
    display: none;
    padding: 1rem;
    z-index: 1000;
  }

  .nav-links.show {
    display: flex;
  }

  .burger {
    display: flex;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    z-index: 1001;
  }

  .burger span {
    width: 25px;
    height: 3px;
    background-color: #fff;
    border-radius: 3px;
    transition: 0.3s;
  }
}
