* { scroll-behavior: smooth; }

body {
  background: #0a0a0f;
  overflow-x: hidden;
}

.gradient-text {
  background: linear-gradient(135deg, #a855f7, #ec4899, #38bdf8, #fbbf24);
  background-size: 300% 300%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradientShift 6s ease infinite;
}

@keyframes gradientShift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

@keyframes slideUp {
  0% { opacity: 0; transform: translateY(40px); }
  100% { opacity: 1; transform: translateY(0); }
}

@keyframes slideIn {
  0% { opacity: 0; transform: translateX(30px); }
  100% { opacity: 1; transform: translateX(0); }
}

@keyframes scaleIn {
  0% { opacity: 0; transform: scale(0.9); }
  100% { opacity: 1; transform: scale(1); }
}

@keyframes pulseGlow {
  0%, 100% { opacity: 0.6; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.05); }
}

@keyframes shake {
  0%, 100% { transform: translateX(0); }
  20%, 60% { transform: translateX(-8px); }
  40%, 80% { transform: translateX(8px); }
}

.glass {
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.glass-strong {
  background: rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.neon-border {
  position: relative;
}

.neon-border::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, #a855f7, #ec4899, #38bdf8);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.neon-border:hover::before,
.neon-border.selected::before {
  opacity: 1;
}

.service-card {
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.service-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 20px 60px rgba(168, 85, 247, 0.25);
}

.service-card.selected {
  transform: translateY(-4px) scale(1.03);
  box-shadow: 0 0 40px rgba(168, 85, 247, 0.4), 0 0 80px rgba(236, 72, 153, 0.2);
}

.genre-chip,
.instrument-chip,
.language-chip {
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.genre-chip:hover:not(.disabled),
.instrument-chip:hover:not(.disabled),
.language-chip:hover:not(.disabled) {
  transform: scale(1.08);
}

.genre-chip.active,
.instrument-chip.active,
.language-chip.active {
  transform: scale(1.1);
  box-shadow: 0 0 20px rgba(168, 85, 247, 0.6), 0 0 40px rgba(236, 72, 153, 0.3);
  background: linear-gradient(135deg, rgba(168, 85, 247, 0.3), rgba(236, 72, 153, 0.3));
  border-color: rgba(168, 85, 247, 0.8);
}

.genre-chip.disabled,
.instrument-chip.disabled,
.language-chip.disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

#language-other-select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='white'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 1.25rem;
  padding-right: 2.75rem;
}

#language-other-select option {
  background: #1a1a24;
  color: #fff;
}

.expand-link {
  color: rgba(168, 85, 247, 0.9);
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
  transition: color 0.2s ease;
}

.expand-link:hover {
  color: #ec4899;
}

.hero-price-block {
  min-width: 0;
}

.hero-price-old-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 0.375rem;
}

.hero-price-current {
  display: block;
  font-family: 'Unbounded', sans-serif;
  font-size: clamp(1.5rem, 4vw, 1.875rem);
  font-weight: 700;
  line-height: 1.1;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, #a855f7, #ec4899);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.btn-primary::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #c084fc, #f472b6);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.btn-primary:hover::after { opacity: 1; }

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 40px rgba(168, 85, 247, 0.5);
}

.btn-primary span { position: relative; z-index: 1; }

.btn-gold {
  background: linear-gradient(135deg, #fbbf24, #f59e0b);
  transition: all 0.3s ease;
}

.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 40px rgba(251, 191, 36, 0.4);
}

.progress-bar-fill {
  transition: width 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.step-content {
  display: none;
  opacity: 0;
}

.step-content.active {
  display: block;
  animation: slideUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.waveform-bar {
  animation: wave 1.2s ease-in-out infinite;
}

@keyframes wave {
  0%, 100% { height: 20%; }
  50% { height: 100%; }
}

.track-card {
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.track-card:hover {
  transform: scale(1.03);
  box-shadow: 0 0 30px rgba(56, 189, 248, 0.3);
}

.track-card.selected {
  border-color: rgba(56, 189, 248, 0.8);
  box-shadow: 0 0 40px rgba(56, 189, 248, 0.4);
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
}

#particles-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

.content-wrapper { position: relative; z-index: 1; }

.success-check {
  animation: scaleIn 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.playing .waveform-bar { animation-play-state: running; }
.waveform-bar { animation-play-state: paused; }

input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  height: 4px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 2px;
  outline: none;
}

input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: linear-gradient(135deg, #a855f7, #ec4899);
  cursor: pointer;
}

.badge-popular {
  background: linear-gradient(135deg, #fbbf24, #f59e0b);
  animation: pulseGlow 2s ease-in-out infinite;
}

::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: #0a0a0f; }
::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #a855f7, #ec4899);
  border-radius: 3px;
}
