* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', Roboto, 'Helvetica Neue', system-ui, sans-serif;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  min-height: 100vh;
  padding: 1.5rem 1rem;
  margin: 0;
  background-image: url('image/background.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  position: relative;
}

body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.55);
  z-index: 0;
  pointer-events: none;
}

.taplink-card {
  max-width: 480px;
  width: 100%;
  background: transparent;
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border-radius: 2.5rem;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3), 0 10px 20px rgba(0, 0, 0, 0.2), inset 0 1px 1px rgba(255, 255, 255, 0.15);
  padding: 2rem 1.5rem 2.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: all 0.2s ease;
  position: relative;
  z-index: 1;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.taplink-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 50%;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.02) 50%, rgba(255, 255, 255, 0) 100%);
  border-radius: 2.5rem 2.5rem 0 0;
  pointer-events: none;
  z-index: -1;
}

h1 {
  font-size: 2.2rem;
  font-weight: 700;
  letter-spacing: -0.5px;
  color: #ffffff;
  margin-bottom: 0.25rem;
  line-height: 1.2;
  text-shadow: 0 2px 15px rgba(0, 0, 0, 0.5);
}

.subtitle {
  font-size: 1.1rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 1.8rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  padding-bottom: 1.2rem;
  width: 100%;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.4);
}

/* ================================================ */
/* 🔝 НАВИГАЦИОННЫЕ КНОПКИ-ЯКОРЯ */
/* ================================================ */
.nav-sticky-wrapper {
  position: sticky;
  top: 10px;
  z-index: 100;
  width: 100%;
  max-width: 480px;
  margin-bottom: 1.5rem;
}

.nav-buttons {
  display: flex;
  gap: 0.5rem;
  width: 100%;
  background: transparent;
  padding: 0.5rem;
  border-radius: 2rem;
  transition: background 0.3s ease, backdrop-filter 0.3s ease;
}

.nav-buttons.scrolled {
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.nav-btn {
  flex: 1;
  padding: 0.5rem 0.3rem;
  border-radius: 2rem;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: white;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.8rem;
  text-align: center;
  transition: 0.2s;
  border: 1px solid rgba(255, 255, 255, 0.2);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  cursor: pointer;
}

.nav-btn:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-1px);
}



/* Галерея с точками внутри */
.gallery-wrapper {
  width: 100%;
  margin-bottom: 2rem;
  position: relative;
}

.gallery {
  width: 100%;
  border-radius: 2rem;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  aspect-ratio: 3 / 2;
  position: relative;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: opacity 0.4s ease;
}

/* Точки навигации - просто точки без фона */
.gallery-dots {
  position: absolute;
  bottom: 15px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  z-index: 5;
}

.gallery-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.5);
  transition: background-color 0.3s ease, transform 0.2s ease;
  cursor: pointer;
  border: none;
  padding: 0;
}

.gallery-dot.active {
  background-color: #ffffff;
  transform: scale(1.3);
  width: 10px;
  height: 10px;
}

.about-text {
  width: 100%;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-radius: 1.8rem;
  padding: 0.2rem 1.2rem;
  margin-bottom: 2rem;
  font-size: 1rem;
  line-height: 1.6;
  color: #ffffff;
  white-space: pre-wrap;
  word-break: break-word;
  text-align: left;
  border: 1px solid rgba(255, 255, 255, 0.15);
  text-shadow: 0 1px 5px rgba(0, 0, 0, 0.4);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.price-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-radius: 1.5rem;
  padding: 1rem 1.4rem;
  margin-bottom: 0.8rem;
  font-weight: 600;
  font-size: 1.1rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.price-label {
  color: #ffffff;
  text-align: left;
  text-shadow: 0 1px 5px rgba(0, 0, 0, 0.4);
}

.price-value {
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  color: white;
  padding: 0.4rem 1.2rem;
  border-radius: 2rem;
  font-weight: 600;
  font-size: 1.1rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.2);
  text-shadow: 0 1px 5px rgba(0, 0, 0, 0.4);
}

.prices-block {
  width: 100%;
  margin-bottom: 2rem;
}

.messenger-grid {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  margin-bottom: 2rem;
}

.messenger-row {
  display: flex;
  gap: 0.7rem;
  width: 100%;
}

.btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.9rem 0.5rem;
  border-radius: 2.5rem;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  transition: 0.3s;
  flex: 1;
  cursor: pointer;
  letter-spacing: 0.3px;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  color: white;
}

/* Стиль для PNG иконок в кнопках мессенджеров - оригинальные цвета */
.btn .btn-icon {
  width: 20px;
  height: 20px;
  object-fit: contain;
  flex-shrink: 0;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
  filter: brightness(1.1);
}

/* Цвета мессенджеров */
.btn-telegram { background: #0088cc; }
.btn-whatsapp { background: #25D366; }
.btn-signal { background: #3A76F0; }
.btn-discord { background: #5865F2; }
.btn-viber { background: #7360F2; }
.btn-vk { background: #0077FF; }

/* Сетка для видео учеников */
.video-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  width: 100%;
  margin-bottom: 1.5rem;
}

.video-item {
  aspect-ratio: 16 / 9;
  border-radius: 12px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 6px 25px rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.15);
  position: relative;
  cursor: pointer;
  transition: transform 0.2s ease;
}

.video-item:hover {
  transform: scale(1.02);
}

.video-preview {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.play-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.2);
  transition: background 0.2s ease;
}

.video-item:hover .play-overlay {
  background: rgba(0, 0, 0, 0.4);
}

.video-item iframe {
  width: 100%;
  height: 100%;
  border: 0;
  position: absolute;
  top: 0;
  left: 0;
}

.section-title {
  font-weight: 700;
  font-size: 1.3rem;
  margin: 1.5rem 0 1rem;
  color: #ffffff;
  width: 100%;
  text-align: left;
  letter-spacing: -0.2px;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.5);
}

.uppercase {
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Контейнер для соцсетей */
#socialLinks {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.8rem;
}

/* Соцсети - все кнопки одинаковой высоты */
.social-full-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  border-radius: 3rem;
  padding: 0.9rem 1.5rem;
  width: 100%;
  min-height: 64px;
  height: 64px;
  text-decoration: none;
  color: #ffffff;
  font-weight: 600;
  transition: 0.3s;
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
  position: relative;
  margin-bottom: 0;
  overflow: hidden;
}



/* ✨ Анимированный блик для кнопки BOOSTY */
.social-boost::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    45deg,
    transparent 30%,
    rgba(255, 255, 255, 0.1) 40%,
    rgba(255, 255, 255, 0.3) 50%,
    rgba(255, 255, 255, 0.1) 60%,
    transparent 70%
  );
  animation: shine 3s infinite;
  pointer-events: none;
}

@keyframes shine {
  0% {
    transform: translateX(-100%) rotate(45deg);
  }
  100% {
    transform: translateX(100%) rotate(45deg);
  }
}

/* Стиль для PNG иконок в кнопках соцсетей - оригинальные цвета */
.social-full-btn .btn-icon {
  width: 28px;
  height: 28px;
  object-fit: contain;
  border-radius: 6px;
  filter: drop-shadow(0 2px 6px rgba(0,0,0,0.3));
  position: absolute;
  left: 1.5rem;
  flex-shrink: 0;
  z-index: 2;
}

.social-full-btn .social-text {
  position: relative;
  z-index: 2;
}

.social-full-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
  filter: brightness(1.1);
}

.social-text {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  line-height: 1.3;
  text-align: center;
  width: 100%;
  min-height: 40px;
  justify-content: center;
}

.social-title {
  font-weight: 700;
  font-size: 1rem;
  line-height: 1.2;
}

.social-desc {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.2;
  margin-top: 2px;
}

/* Цвета соцсетей */
.social-boost { background: #1a1a1a; }
.social-instagram { background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888); }
.social-youtube { background: #FF0000; }
.social-dzen { background: #2C2C2C; }
.social-tiktok { background: #000000; }

.accordion {
  width: 100%;
  margin-bottom: 1.5rem;
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 1.5rem;
  padding: 0.5rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.accordion-item {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.accordion-item:last-child {
  border-bottom: none;
}

.accordion-header {
  width: 100%;
  background: transparent;
  border: none;
  font-weight: 700;
  font-size: 1rem;
  padding: 1rem 0.5rem;
  text-align: left;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  color: #ffffff;
  text-shadow: 0 1px 5px rgba(0, 0, 0, 0.4);
  transition: 0.2s;
}

.accordion-header:hover {
  color: #f0f0f0;
}

.accordion-header i {
  color: rgba(255, 255, 255, 0.7);
  transition: transform 0.3s ease;
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.3s ease;
  padding: 0 0.5rem;
  color: #ffffff;
  font-size: 0.95rem;
  line-height: 1.5;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 1rem;
  margin-bottom: 0.2rem;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
  white-space: pre-wrap;
  text-align: left;
}

.accordion-content.open {
  max-height: 800px;
  padding: 0.8rem 0.8rem;
}

.offer-btn {
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: white;
  width: 100%;
  border-radius: 3rem;
  padding: 1rem;
  font-weight: 700;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  margin: 1.8rem 0 1.5rem;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.25);
  transition: 0.3s;
  border: 1px solid rgba(255, 255, 255, 0.3);
  text-shadow: 0 1px 5px rgba(0, 0, 0, 0.4);
}

.offer-btn:hover {
  background: rgba(255, 255, 255, 0.25);
  transform: translateY(-2px);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.35);
}

.offer-sub {
  font-size: 0.75rem;
  font-weight: 400;
  opacity: 0.9;
}

#myMusicContainer {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.media-embed {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 1.5rem;
  overflow: hidden;
  margin-bottom: 1.5rem;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.media-embed iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

iframe {
  width: 100%;
}

.audio-wrapper {
  width: 100%;
  margin-bottom: 1.2rem;
}

.footer-text {
  margin-top: 1rem;
  color: rgba(255, 255, 255, 0.9);
  font-size: 1rem;
  font-weight: 600;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.6);
  position: relative;
  z-index: 1;
  letter-spacing: 1px;
}

@media (max-width: 400px) {
  body {
    padding: 1rem 0.8rem;
  }
  .taplink-card {
    padding: 1.8rem 1rem;
    border-radius: 2rem;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
  }
  .btn {
    font-size: 0.9rem;
    padding: 0.8rem 0.3rem;
  }
  .social-full-btn {
    padding: 0.8rem 1rem;
    height: 60px;
    min-height: 60px;
  }
  .social-full-btn .btn-icon {
    left: 1rem;
    width: 24px;
    height: 24px;
  }
  .social-title {
    font-size: 0.9rem;
  }
  .social-desc {
    font-size: 0.7rem;
  }
  .video-grid {
    gap: 8px;
  }
  .gallery-dots {
    bottom: 10px;
    gap: 0.4rem;
  }
  .nav-btn {
    font-size: 0.7rem;
    padding: 0.4rem 0.2rem;
  }
}

/* ================================================ */
/* 🔥 РОК-АНИМАЦИИ ДЛЯ NOTBAD GUITAR */
/* ================================================ */

/* --- 1. Плавающие частицы (искры) на фоне --- */
/* ================================================ */
/* 🔦 СКОЛЬЗЯЩИЕ ЛУЧИ ПРОЖЕКТОРОВ */
/* ================================================ */
.light-beams-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.light-beam {
  position: absolute;
  width: 4px;
  height: 130%;
  background: linear-gradient(180deg, 
    rgba(255, 255, 255, 0) 0%, 
    rgba(255, 255, 255, 0.05) 15%,
    rgba(255, 255, 255, 0.35) 40%, 
    rgba(255, 255, 255, 0.5) 50%, 
    rgba(255, 255, 255, 0.35) 60%,
    rgba(255, 255, 255, 0.05) 85%,
    rgba(255, 255, 255, 0) 100%);
  filter: blur(8px);
  box-shadow: 
    0 0 20px rgba(255, 255, 255, 0.2),
    0 0 40px rgba(255, 255, 255, 0.1),
    0 0 80px rgba(255, 255, 255, 0.05);
  animation: sweepBeam 8s infinite linear;
  opacity: 0;
  transform-origin: top center;
  border-radius: 50%;
}

.light-beam:nth-child(1) { left: 5%; animation-delay: 0s; animation-duration: 9s; }
.light-beam:nth-child(2) { left: 20%; animation-delay: 2s; animation-duration: 11s; }
.light-beam:nth-child(3) { left: 35%; animation-delay: 4s; animation-duration: 8s; }
.light-beam:nth-child(4) { left: 50%; animation-delay: 1s; animation-duration: 10s; }
.light-beam:nth-child(5) { left: 65%; animation-delay: 3s; animation-duration: 12s; }
.light-beam:nth-child(6) { left: 80%; animation-delay: 5s; animation-duration: 7s; }
.light-beam:nth-child(7) { left: 90%; animation-delay: 6s; animation-duration: 9s; }

@keyframes sweepBeam {
  0% { 
    transform: rotate(-10deg) translateX(-150px);
    opacity: 0;
  }
  15% {
    opacity: 0.7;
  }
  35% {
    opacity: 0.4;
  }
  55% {
    opacity: 0.9;
  }
  75% {
    opacity: 0.3;
  }
  90% {
    opacity: 0.6;
  }
  100% { 
    transform: rotate(10deg) translateX(150px);
    opacity: 0;
  }
}

/* --- 2. Агрессивное появление блоков (Blur + вспышка) --- */
.fade-up {
  opacity: 0;
  filter: blur(15px);
  transform: translateY(40px) scale(0.95);
  transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94), 
              transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94), 
              filter 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.fade-up.visible {
  opacity: 1;
  filter: blur(0);
  transform: translateY(0) scale(1);
}

/* --- 3. Глитч-эффект при наведении на кнопки --- */
.btn, .social-full-btn, .nav-btn {
  position: relative;
  overflow: hidden;
}

.btn::after, .social-full-btn::after, .nav-btn::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    45deg,
    transparent 30%,
    rgba(255, 255, 255, 0.1) 40%,
    rgba(255, 255, 255, 0.3) 50%,
    rgba(255, 255, 255, 0.1) 60%,
    transparent 70%
  );
  transform: translateX(-100%) rotate(45deg);
  transition: 0.5s;
}

.btn:hover::after, .social-full-btn:hover::after, .nav-btn:hover::after {
  transform: translateX(100%) rotate(45deg);
}

/* Небольшое дрожание при наведении */
.btn:hover, .social-full-btn:hover {
  animation: shake 0.3s ease-in-out;
}

@keyframes shake {
  0%, 100% { transform: translateY(-2px) rotate(0deg); }
  25% { transform: translateY(-2px) rotate(0.5deg); }
  75% { transform: translateY(-2px) rotate(-0.5deg); }
}

/* --- 4. Анимированный эквалайзер (под музыкой) --- */
.equalizer {
  display: flex;
  align-items: flex-end;
  gap: 3px;
  height: 40px;
  margin: 0.5rem 0;
  justify-content: center;
}

.equalizer-bar {
  width: 4px;
  background: #ffffff;
  border-radius: 2px;
  animation: equalize 1.2s infinite ease-in-out;
}

.equalizer-bar:nth-child(1) { height: 15px; animation-delay: 0s; }
.equalizer-bar:nth-child(2) { height: 30px; animation-delay: 0.1s; }
.equalizer-bar:nth-child(3) { height: 20px; animation-delay: 0.2s; }
.equalizer-bar:nth-child(4) { height: 35px; animation-delay: 0.3s; }
.equalizer-bar:nth-child(5) { height: 25px; animation-delay: 0.4s; }
.equalizer-bar:nth-child(6) { height: 15px; animation-delay: 0.5s; }
.equalizer-bar:nth-child(7) { height: 28px; animation-delay: 0.6s; }
.equalizer-bar:nth-child(8) { height: 10px; animation-delay: 0.7s; }

@keyframes equalize {
  0%, 100% { transform: scaleY(1); }
  50% { transform: scaleY(0.4); }
}

/* --- 5. Параллакс-затемнение фона при скролле --- */
body::after {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(ellipse at center, transparent 30%, rgba(0,0,0,0.4) 100%);
  pointer-events: none;
  z-index: 0;
}

/* --- 6. Анимированные заголовки --- */
.section-title {
  position: relative;
  transition: transform 0.3s ease, text-shadow 0.3s ease;
}

.section-title.visible {
  animation: titleReveal 0.6s ease-out;
}

@keyframes titleReveal {
  0% { letter-spacing: -2px; opacity: 0; }
  100% { letter-spacing: -0.2px; opacity: 1; }
}


/* ================================================ */
/* 🔝 КНОПКА "НАВЕРХ" С ОТПЕЧАТКОМ ПАЛЬЦА */
/* ================================================ */
.scroll-to-top {
  display: block;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: rgba(30, 30, 30, 0.7);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border: 2px solid rgba(255, 255, 255, 0.25);
  color: white;
  cursor: pointer;
  transition: all 0.3s ease;
  margin: 1.5rem auto 1rem;
  padding: 0;
  box-shadow: 
    0 4px 20px rgba(0, 0, 0, 0.3),
    inset 0 0 20px rgba(255, 255, 255, 0.05);
  -webkit-tap-highlight-color: transparent;
  outline: none;
}

.scroll-to-top svg {
  display: block;
  margin: 0 auto;
}

.scroll-to-top:hover {
  background: rgba(50, 50, 50, 0.8);
  border-color: rgba(255, 255, 255, 0.4);
  box-shadow: 
    0 6px 25px rgba(0, 0, 0, 0.4),
    0 0 30px rgba(255, 255, 255, 0.1),
    inset 0 0 20px rgba(255, 255, 255, 0.08);
}

.scroll-to-top:active {
  transform: scale(0.95);
  background: rgba(40, 40, 40, 0.9);
}

/* Для мобильных */
@media (max-width: 400px) {
  .scroll-to-top {
    width: 55px;
    height: 55px;
  }
}
