/* === Global Variables === */
:root {
    --dark-blue: #1A237E;
    --purple: #7E57C2;
    --teal: #26A69A;
    --gold: #FFD700;
    --dark-bg: #121212;
    --light-text: #E0E0E0;
    --gray: #263238;
    --pink: #EC407A;
    --cyan: #00ACC1;
    --warning-red: #E53935;
}

/* === Global Reset & Base Styles === */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--light-text);
    background-color: var(--dark-bg);
    overflow-x: hidden;
    line-height: 1.6;
    width: 100%;
    max-width: 100%;
}

h1, h2, h3, h4 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  position: relative; /* Добавляем для корректного позиционирования */
}

body {
  overflow-y: scroll; /* Фиксирует скроллбар */
}

@media (max-width: 767px) {
  html, body {
    width: 100%;
    overflow-x: hidden;
  }
  .container {
    padding: 0 15px;
    width: 100% !important;
    max-width: 100% !important;
  }
}

/* === Animations === */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

@keyframes gradient {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@keyframes ripple {
    0% { transform: scale(0, 0); opacity: 1; }
    100% { transform: scale(20, 20); opacity: 0; }
}

@keyframes rgb-flow {
    0% { background-position: 0% 50%; }
    100% { background-position: 100% 50%; }
}

@keyframes text-flicker {
    0% { opacity: 0.9; text-shadow: 0 0 5px rgba(255,255,255,0.2); }
    100% { opacity: 1; text-shadow: 0 0 10px rgba(255,255,255,0.4); }
}

@keyframes wave {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50px); }
}

@keyframes pulse-glow {
    0% { box-shadow: 0 0 10px rgba(255,215,0,0.3); }
    100% { box-shadow: 0 0 20px rgba(126,87,194,0.7); }
}

@keyframes pulseBtn {
    0% { transform: scale(1); box-shadow: 0 10px 20px rgba(0,0,0,0.2); }
    50% { transform: scale(1.05); box-shadow: 0 15px 30px rgba(0,0,0,0.3); }
    100% { transform: scale(1); box-shadow: 0 10px 20px rgba(0,0,0,0.2); }
}

@keyframes highlight {
    0% { box-shadow: 0 0 0 0 rgba(255,215,0,0); }
    50% { box-shadow: 0 0 0 10px rgba(255,215,0,0.3); }
    100% { box-shadow: 0 0 0 3px rgba(255,215,0,0.5); }
}

/* Mobile viewport fix */
@viewport {
    width: device-width;
    zoom: 1.0;
}

@-ms-viewport {
    width: device-width;
}

/* Responsive adjustments */
@media (max-width: 767px) {
  html, body {
    overflow-x: clip; /* более современная альтернатива */
  }
}
    
    .container {
        width: 100%;
        max-width: 100%;
        padding: 0 15px;
        box-sizing: border-box;
    }
    
    .hero-content h1 {
        font-size: 2rem !important;
        line-height: 1.2 !important;
    }
    
    .unified-player {
        transform: scale(0.9);
        transform-origin: top center;
        margin: 0 -10px;
    }
    
    .services-grid {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }
    
    
.track-builder, 
.contact-form-wrapper {
  width: 100% !important;
  margin-bottom: 0 !important; /* Убираем отступ снизу */
  height: auto !important;
}

@media (max-width: 992px) {
  .contact-container {
    grid-template-columns: 1fr !important; /* На мобильных — один столбец */
  }
  
  .right-column {
    order: -1; /* Форма будет выше на мобильных */
  }
}
    
.contact-methods-grid {
  grid-column: 1 / -1; /* Растягиваем на всю ширину */
  margin-top: 30px !important;
}
    
.footer-content {
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
}
@media (max-width: 992px) {
  .footer-content {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 576px) {
  .footer-content {
    grid-template-columns: 1fr;
  }
}
}

/* === Reusable Components === */
.btn {
    display: inline-block;
    padding: 15px 30px;
    background: linear-gradient(45deg, var(--purple), var(--teal));
    color: white;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    position: relative;
    overflow: hidden;
    transform: translateY(0);
}

.btn:hover {
    transform: translateY(-3px) scale(1.03);
    box-shadow: 0 8px 25px rgba(0,0,0,0.3);
}

.btn:active {
    transform: translateY(1px) scale(0.98);
}

.btn:after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 5px;
    height: 5px;
    background: rgba(255,255,255,0.5);
    opacity: 0;
    border-radius: 100%;
    transform: scale(1,1) translate(-50%);
    transform-origin: 50% 50%;
}

.btn:focus:not(:active)::after {
    animation: ripple 1s ease-out;
}

.btn-music {
  background: linear-gradient(45deg, var(--pink), var(--purple));
  padding: 15px 30px;
  border-radius: 50px;
  color: white;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.2);
  transition: all 0.3s;
}
.btn-music:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.3);
}
.btn-music i {
  font-size: 1.2em;
}

.card {
    background: rgba(255,255,255,0.05);
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.1);
}

.card:hover {
    transform: translateY(-5px);
    background: rgba(255,255,255,0.1);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

.card-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--gold);
    margin-bottom: 5px;
}

.card-subtitle {
    font-size: 1rem;
    opacity: 0.9;
    margin-bottom: 15px;
}

.card-divider {
    width: 50px;
    height: 2px;
    background: rgba(255,255,255,0.2);
    margin: 15px auto;
}

.card-highlight {
    font-size: 1.8rem;
    font-weight: 800;
    color: white;
    margin-bottom: 5px;
}

/* === Layout Components === */
.video-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

.video-background video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    object-fit: cover;
    opacity: 0.4;
}

.section-title {
    text-align: center;
    margin-bottom: 80px;
}

.section-title h2 {
    font-size: 42px;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.section-title h2:after {
    content: '';
    position: absolute;
    width: 50px;
    height: 3px;
    background: linear-gradient(45deg, var(--purple), var(--teal));
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 3px;
}

.section-title p {
    max-width: 700px;
    margin: 0 auto;
    font-size: 18px;
}

/* === Header === */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 25px 0;
    z-index: 100;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}

header.scrolled {
    background-color: rgba(26,35,126,0.85);
    padding: 15px 0;
    box-shadow: 0 5px 20px rgba(0,0,0,0.2);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
  font-size: 28px; /* Общий размер логотипа */
  font-weight: 700;
  font-family: 'Montserrat', sans-serif;
  text-decoration: none;
  transition: transform 0.3s ease;
  display: inline-flex;
  align-items: baseline; /* Важно для выравнивания по базовой линии */
}

.logo > span, 
.logo > .gold-iz {
  font-size: 1em; /* Наследует размер от .logo */
  line-height: 1; /* Убираем лишние отступы */
}

/* Дополнительно можно явно задать одинаковый размер */
.logo,
.logo > span,
.logo > .gold-iz {
  font-size: 36px; /* Или любой другой нужный размер */
}

.logo:hover {
    transform: scale(1.05);
}

.logo span {
    color: var(--gold);
    transition: color 0.3s ease;
}

.logo:hover span {
    color: var(--teal);
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 30px;
    position: relative;
}

nav ul li a {
    color: var(--light-text);
    font-weight: 500;
    transition: color 0.3s;
    position: relative;
    padding: 5px 0;
}

nav ul li a:hover {
    color: var(--gold);
}

nav ul li a:after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--gold);
    transition: width 0.3s;
}

nav ul li a:hover:after {
    width: 100%;
}

/* === Hero Section === */
#hero {
  min-height: 100vh;
  position: relative;
  overflow: hidden;
}

.hero-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  max-width: 800px;
  padding: 0 20px;
  box-sizing: border-box;
}

.hero-content h1 {
    font-size: 64px;
    margin-bottom: 20px;
    line-height: 1.2;
    animation: fadeInUp 1s ease;
    color: white;
}

@media (max-width: 768px) {
  #hero .unified-player {
    margin-top: 30px !important;
    position: relative;
    top: 20px; /* Дополнительный сдвиг вниз */
  }
}

.hero-content h1 span {
    color: var(--gold);
    display: inline-block;
    margin-top: 10px;
    background: linear-gradient(45deg, var(--gold), var(--teal), var(--pink));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-size: 300% 300%;
    animation: gradient 8s ease infinite;
}

.hero-content p {
    font-size: 20px;
    margin-bottom: 40px;
    opacity: 0.9;
    animation: fadeInUp 1s ease 0.2s forwards;
    opacity: 0;
}

.hero-title {
    text-align: center;
    margin: 0 auto 40px;
    max-width: 1200px;
    padding: 0 20px;
}

.hero-title h1 {
    font-size: 9.5rem;
    font-weight: 900;
    margin-bottom: 15px;
    line-height: 1.15;
    letter-spacing: -0.5px;
    text-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

.rgb-text {
    display: inline-block;
    font-size: 1.1em;
    vertical-align: middle;
    background: linear-gradient(90deg, #ff0000, #ff00ff, #0000ff, #00ffff, #00ff00, #ffff00, #ff0000);
    background-size: 400% 400%;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    animation: rgb-flow 6s linear infinite;
    font-weight: 900;
    padding: 0 5px;
    text-shadow: 0 0 10px rgba(255,255,255,0.3);
    position: relative;
}

.rgb-text::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: -5px;
    height: 2px;
    background: linear-gradient(90deg, #ff0000, #ff00ff, #0000ff, #00ffff, #00ff00, #ffff00, #ff0000);
    background-size: 400% 400%;
    animation: rgb-flow 6s linear infinite;
    border-radius: 2px;
}

.hypno-subtitle {
    font-size: 4.8rem !important;
    font-weight: 300;
    font-family: 'Inter', sans-serif;
    color: rgba(255,255,255,0.9);
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    padding-top: 25px;
    line-height: 1.4;
    animation: text-flicker 3s infinite alternate;
}

.hypno-subtitle:before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: linear-gradient(90deg, #7e57c2, #26a69a, #ffd700);
    border-radius: 3px;
}

/* === Player Components === */
.unified-player {
    max-width: 600px;
    width: 100%;
    margin: 40px auto;
    background: rgba(20,20,30,0.3);
    border-radius: 20px;
    padding: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.1);
    transition: all 0.5s cubic-bezier(0.25,0.8,0.25,1);
    height: auto;
    min-height: 280px;
}

.unified-player:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.4);
}

.player-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding-bottom: 15px;
}

.player-tabs {
    display: flex;
    gap: 10px;
}

.player-tab {
    padding: 8px 15px;
    border-radius: 20px;
    background: rgba(255,255,255,0.1);
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s;
}

.player-tab:hover {
    background: rgba(255,255,255,0.2);
    transform: translateY(-2px);
}

.player-tab.active {
    background: linear-gradient(45deg, var(--purple), var(--teal));
    color: white;
    transform: translateY(-2px);
}

.player-now-playing {
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 5px;
    width: 100%;
}

.track-title {
    font-weight: 700;
    font-size: 24px;
    color: var(--gold);
    transition: color 0.3s ease;
}

.track-artist {
    font-size: 20px;
    opacity: 0.9;
    transition: opacity 0.3s ease;
}

.player-body {
    display: flex;
    align-items: center;
    gap: 30px;
    position: relative;
}

.vinyl-container {
    width: 120px;
    height: 120px;
    flex-shrink: 0;
    margin: 0 auto;
}

.vinyl {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: radial-gradient(circle, #222, #000);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    box-shadow: 0 5px 30px rgba(0,0,0,0.6);
    animation: rotate 20s linear infinite;
    animation-play-state: paused;
    transition: transform 0.5s;
}

.vinyl:hover {
    transform: scale(1.05);
}

.vinyl-inner {
    width: 40%;
    height: 40%;
    background: linear-gradient(45deg, #333, #111);
    border-radius: 50%;
    position: absolute;
    z-index: 2;
    border: 2px solid #444;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.vinyl-inner img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    transition: opacity 0.5s;
}

.player-controls {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    gap: 15px;
    width: 100%;
}

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

.play-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--gold);
    color: #121212;
    border: none;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 5px 15px rgba(255,215,0,0.3);
    animation: pulse 2s infinite;
    transform: scale(1);
}

.play-btn.played {
  animation: none !important;
}

.play-btn:hover {
    animation: none;
    transform: scale(1.1);
    box-shadow: 0 0 20px rgba(255,215,0,0.5);
}

.play-btn:active {
    transform: scale(0.95);
}

/* Стиль для вкладки REMIXS */
/* Стиль для вкладки REMIXS - аналогичный стилю битов */
.player-tab[data-tab="remixs"] {
    background: rgba(255,255,255,0.1);
    color: white;
    transition: all 0.3s;
}

.player-tab[data-tab="remixs"]:hover {
    background: rgba(255,255,255,0.2);
    transform: translateY(-2px);
}

.player-tab[data-tab="remixs"].active {
    background: linear-gradient(45deg, var(--purple), var(--teal));
    color: white;
    transform: translateY(-2px);
}

/* Добавьте эти стили в ваш CSS */
.play-btn i, 
.mini-play-btn i,
.compact-play-btn i {
    font-size: 18px;
    width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.play-btn .icon-play, 
.play-btn .icon-pause {
  position: absolute;
  transition: opacity 0.3s ease;
}

.play-btn .icon-play {
  opacity: 1;
}

.play-btn.playing .icon-play {
  opacity: 0;
}

.play-btn .icon-pause {
  opacity: 0;
}

.play-btn.playing .icon-pause {
  opacity: 1;
}

.play-btn i { font-size: 1.2rem; } /* Для основного плеера */
.mini-play-btn i { font-size: 0.9rem; } /* Для мини-плеера */
.compact-play-btn i { font-size: 1rem; } /* Для плееров в карточках */

.control-btn {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    border: none;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.control-btn:hover {
    background: rgba(255,255,255,0.2);
    transform: translateX(0) scale(1.1);
}

.control-btn:active {
    transform: scale(0.9);
}

.progress-container {
    margin-bottom: 15px;
    width: 100%;
}

.progress-bar {
    -webkit-appearance: none;
    width: 100%;
    height: 6px;
    background: rgba(255,255,255,0.2);
    border-radius: 3px;
    margin-bottom: 5px;
    cursor: pointer;
    transition: height 0.2s;
}

.progress-bar::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 14px;
    height: 14px;
    background: var(--gold);
    border-radius: 50%;
    transition: all 0.2s;
}

.progress-bar:hover {
    height: 8px;
}

.progress-bar:hover::-webkit-slider-thumb {
    width: 16px;
    height: 16px;
}

.time-info {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    opacity: 0.7;
}

.visualizer-container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 80px;
    gap: 3px;
    margin: 15px 0;
    position: relative;
    width: 100%;
}

.visualizer-bar {
    width: 5px;
    height: 5%;
    background: linear-gradient(to top, var(--purple), var(--teal), var(--pink));
    border-radius: 3px 3px 0 0;
    transition: height 0.05s ease-out, opacity 0.3s ease;
    opacity: 0.8;
}

/* === Visualizer Message - Mobile Fix === */
.visualizer-message {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    background: rgba(30, 30, 40, 0.95);
    backdrop-filter: blur(8px);
    border-radius: 12px;
    padding: 10px 15px;
    font-size: 14px;
    color: white;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 2;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 215, 0, 0.4);
    pointer-events: none;
    max-width: 90%;
    text-align: center;
    line-height: 1.4;
    white-space: normal;
    width: max-content;
    min-width: 60%;
    max-width: 85%;
}

.visualizer-message.visible {
    opacity: 1;
}

@media (max-width: 768px) {
    .visualizer-message {
        position: absolute;
        bottom: auto;
        left: 50%;
        top: 50%;
        transform: translate(-50%, -50%);
        width: 80%;
        max-width: 280px;
        padding: 12px 15px;
        font-size: 13px;
        background: rgba(20, 20, 30, 0.95);
        border: 1px solid rgba(255, 215, 0, 0.5);
        box-shadow: 0 5px 20px rgba(0, 0, 0, 0.4);
    }

    .visualizer-container {
        position: relative;
        min-height: 80px;
        padding-bottom: 20px;
    }
    
    /* Защита от наложения на кнопку */
    .player-footer {
        position: relative;
        z-index: 3;
    }
}

.player-footer {
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.player-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 25px;
    background: linear-gradient(45deg, var(--pink), var(--purple));
    color: white;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.player-cta:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 25px rgba(0,0,0,0.3);
}

.player-cta:after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: 0.5s;
}

.player-cta:hover:after {
    left: 100%;
}

.platforms {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.platforms-label {
    font-size: 14px;
    opacity: 0.8;
    margin-right: 10px;
}

.platforms i {
    font-size: 16px;
    color: rgba(255,255,255,0.7);
    transition: all 0.3s;
}

.platforms i:hover {
    color: var(--gold);
    transform: translateY(-2px);
}

/* Mini Player */
.mini-player {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(20,20,30,0.5);
    backdrop-filter: blur(10px);
    border-top: 1px solid rgba(255,255,255,0.1);
    z-index: 990;
    transition: all 0.4s cubic-bezier(0.25,0.8,0.25,1);
    box-shadow: 0 -5px 20px rgba(0,0,0,0.3);
    padding: 10px 0;
    opacity: 0.8;
    display: none;
}

.mini-player.visible {
    display: block;
}

.mini-player:hover {
    opacity: 1;
    background: rgba(20,20,30,0.9);
}

.mini-player-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.mini-cover {
    width: 40px;
    height: 40px;
    border-radius: 5px;
    overflow: hidden;
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.mini-cover:hover {
    transform: scale(1.1);
}

.mini-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.mini-track-info {
    flex: 1;
    min-width: 0;
}

.mini-track-title {
    font-weight: 600;
    font-size: 14px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.mini-track-artist {
    font-size: 12px;
    opacity: 0.7;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.mini-controls {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 15px;
}

.mini-play-btn {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: var(--gold);
    color: #121212;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s;
}

.mini-play-btn:hover {
    transform: scale(1.1);
}

.mini-prev-btn,
.mini-next-btn {
    width: 25px;
    height: 25px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    border: none;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 10px;
}

.mini-prev-btn:hover,
.mini-next-btn:hover {
    background: rgba(255,255,255,0.2);
    transform: scale(1.1);
}

.mini-progress-container {
    flex: 1;
    max-width: 300px;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.mini-progress-bar {
    -webkit-appearance: none;
    width: 100%;
    height: 4px;
    background: rgba(255,255,255,0.2);
    border-radius: 2px;
    cursor: pointer;
    transition: height 0.2s;
}

.mini-progress-bar:hover {
    height: 6px;
}

.mini-progress-bar::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 10px;
    height: 10px;
    background: var(--gold);
    border-radius: 50%;
}

.mini-time-info {
    display: flex;
    justify-content: space-between;
    font-size: 11px;
    opacity: 0.7;
}

.mini-visualizer {
    display: flex;
    align-items: center;
    gap: 2px;
    height: 20px;
    width: 100px;
    margin-left: 10px;
}

.mini-visualizer-bar {
    width: 3px;
    height: 5px;
    background: linear-gradient(to top, var(--purple), var(--teal));
    border-radius: 2px 2px 0 0;
    transition: height 0.05s ease-out;
    opacity: 0.8;
}

/* === Content Sections === */
#about {
    background-color: var(--gray);
    clip-path: polygon(0 5%, 100% 0, 100% 95%, 0 100%);
    padding: 150px 0;
}

.about-content {
    display: flex;
    align-items: flex-start;
    gap: 50px;
}

.about-text {
    flex: 1;
}

.about-text h3 {
    font-size: 32px;
    margin-bottom: 20px;
}

.about-text p {
    margin-bottom: 20px;
    font-size: 17px;
}

.name-concept {
    background: rgba(255,255,255,0.05);
    backdrop-filter: blur(10px);
    border-radius: 10px;
    padding: 30px;
    margin: 40px 0;
    border-left: 3px solid var(--gold);
    position: relative;
    overflow: hidden;
    transition: transform 0.3s;
}

.name-concept:hover {
    transform: translateY(-5px);
}

.name-concept:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 3px;
    height: 100%;
    background: linear-gradient(to bottom, var(--purple), var(--teal));
    animation: shine 3s infinite;
}

.name-concept h4 {
    font-size: 24px;
    margin-bottom: 20px;
    color: var(--gold);
}

.name-concept ul {
    list-style: none;
}

.name-concept li {
    margin-bottom: 12px;
    font-size: 16px;
    position: relative;
    padding-left: 30px;
    transition: transform 0.3s;
}

.name-concept li:hover {
    transform: translateX(5px);
}

.name-concept li:before {
    content: '•';
    position: absolute;
    left: 10px;
    color: var(--gold);
    font-size: 20px;
}

.about-image {
    flex: 1;
    position: relative;
    transition: transform 0.5s;
}

.about-image:hover {
    transform: scale(1.02);
}

.about-image img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
    transition: transform 0.5s;
}

.studio-facts {
    margin-top: 30px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.fact-item {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(255,255,255,0.05);
    padding: 10px 15px;
    border-radius: 8px;
    transition: all 0.3s;
}

.fact-item p {
    margin: 0;
    font-size: 14px;
    line-height: 1.4;
}

.fact-item:hover {
    background: rgba(255,255,255,0.1);
    transform: translateX(5px);
}

.fact-item i {
    color: var(--gold);
    font-size: 18px;
    min-width: 25px;
}

.how-it-works {
    position: relative;
    padding: 100px 0;
    background: rgba(0,0,0,0.3);
    backdrop-filter: blur(5px);
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.step-card {
    background: rgba(255,255,255,0.05);
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.1);
}

.step-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.3);
    background: rgba(255,255,255,0.1);
}

.step-number {
    width: 50px;
    height: 50px;
    background: linear-gradient(45deg, var(--purple), var(--teal));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 24px;
    margin: 0 auto 20px;
    transition: all 0.5s;
}

.step-card:hover .step-number {
    transform: rotate(360deg) scale(1.2);
}

.step-card h3 {
    font-size: 22px;
    margin-bottom: 10px;
    color: var(--gold);
}

.step-card p {
    opacity: 0.8;
    font-size: 16px;
}

.stats-section {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin: 60px 0;
}

.stat-item {
    background: rgba(255,255,255,0.05);
    border-radius: 15px;
    padding: 25px;
    text-align: center;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.1);
}

.stat-item:hover {
    transform: translateY(-5px);
    background: rgba(255,255,255,0.1);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

.stat-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 15px;
    position: relative;
}

.stat-icon i {
    font-size: 30px;
    color: var(--gold);
    transition: all 0.3s;
}

.stat-item:hover .stat-icon i {
    transform: scale(1.2);
}

.stat-content {
    margin-top: 15px;
}

.stat-content h3 {
    font-size: 18px;
    margin-bottom: 10px;
    color: var(--gold);
}

.stat-content p {
    font-size: 14px;
    opacity: 0.8;
    margin-bottom: 15px;
}

.stat-value {
    font-size: 36px;
    font-weight: 700;
    color: var(--gold);
    font-family: 'Montserrat', sans-serif;
    position: relative;
    display: inline-block;
}

.stat-value span {
    position: relative;
    z-index: 2;
}

.stat-value:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 0;
    background: rgba(255,215,0,0.2);
    z-index: 1;
    transition: height 1s ease-out;
}

.stat-item:hover .stat-value:after {
    height: 100%;
}

/* === About Section - Mobile Fix === */
@media (max-width: 767px) {
  #about {
    clip-path: none;
    padding: 80px 0;
  }

  .about-content {
    flex-direction: column;
    gap: 30px;
  }

  .about-text, 
  .about-image {
    flex: none;
    width: 100%;
    padding: 0 15px;
  }

  .about-image img {
    max-width: 100%;
    height: auto;
  }

  .name-concept {
    margin: 20px 0;
    padding: 20px;
  }

  .studio-facts {
    margin-top: 20px;
  }

  .fact-item {
    padding: 8px 12px;
  }
}

.about-btn-icon {
  flex-shrink: 0;
  margin-right: 10px;
}

.about-btn-download .about-btn-icon {
  stroke: white;
}

.about-btn-order .about-btn-icon {
  stroke: white;
}

/* Hypno Income Section */
.hypno-header {
  position: relative;
  text-align: center;
  margin-bottom: 60px;
}

.glitch-text {
  font-size: 3.2rem;
  font-weight: 900;
  position: relative;
  color: transparent;
  background: linear-gradient(45deg, #ff00cc, #3333ff, #00ff99);
  -webkit-background-clip: text;
  background-clip: text;
  animation: glitch 5s infinite alternate;
}

.glitch-text::before {
  content: attr(data-text);
  position: absolute;
  left: -2px;
  text-shadow: 2px 0 #ff00cc;
  clip: rect(0, 900px, 0, 0);
  animation: glitch-anim 3s infinite linear alternate-reverse;
}

@keyframes glitch {
  0% { text-shadow: 0 0 10px rgba(255,0,204,0.8); }
  50% { text-shadow: 0 0 15px rgba(51,51,255,0.8); }
  100% { text-shadow: 0 0 20px rgba(0,255,153,0.8); }
}

.typewriter {
  font-size: 1.3rem;
  overflow: hidden;
  border-right: 3px solid var(--gold);
  white-space: nowrap;
  margin: 0 auto;
  letter-spacing: 1px;
  animation: typing 3.5s steps(40, end), blink-caret 0.75s step-end infinite;
}

.highlight-rainbow {
  background: linear-gradient(90deg, #ff0000, #ff9900, #33cc33, #3399ff, #cc66ff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-weight: 700;
  animation: rainbow 8s linear infinite;
}

.hypno-pulse {
  width: 120px;
  height: 3px;
  background: linear-gradient(90deg, #ff00cc, #3333ff);
  margin: 20px auto;
  border-radius: 50%;
  filter: blur(1px);
  animation: pulse-glow 2s ease-in-out infinite alternate;
}

/* Выше стиль для заголовка */
.hypno-income-section {
  background: linear-gradient(135deg, #0f0c29 0%, #1A237E 100%);
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}

.hypno-income-section:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 70% 30%, rgba(126, 87, 194, 0.3) 0%, transparent 50%);
  z-index: 1;
}

.hypno-title-wrapper {
  text-align: center;
  margin-bottom: 60px;
  position: relative;
  z-index: 2;
}

.hypno-main-title {
  font-size: 2.5rem;
  font-weight: 800;
  color: white;
  margin-bottom: 20px;
  text-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

.hypno-word {
  background: linear-gradient(45deg, #FFD700, #7E57C2);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: wordGlow 3s infinite alternate;
}

@keyframes wordGlow {
  0% { text-shadow: 0 0 10px rgba(255,215,0,0.3); }
  100% { text-shadow: 0 0 20px rgba(126,87,194,0.7); }
}

.income-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin: 0 auto;
  max-width: 1200px;
}

.income-card {
  background: rgba(255,255,255,0.05);
  border-radius: 15px;
  padding: 30px;
  text-align: center;
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease;
  position: relative;
  border: 1px solid rgba(255,255,255,0.1);
}

.income-card.active {
  opacity: 1;
  transform: translateY(0);
}

.card-icon {
  width: 70px;
  height: 70px;
  margin: 0 auto 20px;
  background: rgba(255,215,0,0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  color: var(--gold);
}

.pulse {
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.1); }
  100% { transform: scale(1); }
}

.card-badge {
  position: absolute;
  top: -10px;
  right: 20px;
  background: var(--teal);
  color: white;
  padding: 5px 15px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
}

.disclaimer {
  max-width: 800px;
  margin: 40px auto;
  text-align: center;
  opacity: 0;
  transition: opacity 1s ease;
}

.disclaimer.fade-in {
  opacity: 0.7;
}

.cta-pulse-button {
  position: relative;
  background: linear-gradient(45deg, #7E57C2, #FFD700);
  color: #121212;
  border: none;
  padding: 18px 45px;
  border-radius: 50px;
  font-size: 1.2rem;
  font-weight: 600;
  cursor: pointer;
  overflow: hidden;
  transition: all 0.3s;
  box-shadow: 0 10px 30px rgba(126, 87, 194, 0.5);
  z-index: 2;
  display: block;
  margin: 0 auto;
}

.cta-pulse-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(126, 87, 194, 0.7);
}

.pulse-ring {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50px;
  background: rgba(255,255,255,0.2);
  top: 0;
  left: 0;
  animation: pulse 2s infinite;
  z-index: -1;
}

/* Обновлённые стили для текста */
.section-slogan {
  font-size: 2rem;
  font-weight: 700;
  color: white;
  text-align: center;
  margin-bottom: 60px;
  position: relative;
}

.section-slogan:after {
  content: "";
  position: absolute;
  width: 100px;
  height: 3px;
  background: linear-gradient(45deg, var(--purple), var(--teal));
  bottom: -20px;
  left: 50%;
  transform: translateX(-50%);
}

/* Стили карточек */
.card-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 5px;
}

.card-subtitle {
  font-size: 1rem;
  opacity: 0.9;
  margin-bottom: 15px;
}

.card-divider {
  width: 50px;
  height: 2px;
  background: rgba(255,255,255,0.2);
  margin: 15px auto;
}

.card-highlight {
  font-size: 1.8rem;
  font-weight: 800;
  color: white;
  margin-bottom: 5px;
}

.card-highlight .per-show {
  font-size: 1rem;
  color: rgba(255,255,255,0.7);
  font-weight: normal;
}

/* Адаптивность */
@media (max-width: 768px) {
  .section-slogan {
    font-size: 1.5rem;
  }
  .card-title {
    font-size: 1.3rem;
  }
  .card-highlight {
    font-size: 1.5rem;
  }
}

/* Иконки платформ */
.card-platforms {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin: 15px 0;
  opacity: 0.8;
}

.card-platforms i {
  font-size: 18px;
  color: var(--gold);
  transition: all 0.3s;
}

.card-platforms i:hover {
  transform: scale(1.2);
  opacity: 1;
}

/* Иконки перед суммой */
.card-highlight i {
  margin-right: 10px;
  color: var(--teal);
}

/* Уточнение "за 1 млн потоков" */
.per-show {
  display: block;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.7);
  margin-top: 5px;
  font-weight: normal;
  position: relative;
  padding-left: 20px;
}

.per-show:before {
  content: "•";
  position: absolute;
  left: 5px;
  color: var(--pink);
}

/* Фикс для кнопки */
.cta-wrapper {
  text-align: center;
  margin-top: 40px;
  position: relative;
  z-index: 2;
}

/* Отключаем анимацию после клика */
.cta-pulse-button.clicked .pulse-ring {
  animation: none;
  opacity: 0;
}

/* иконки в карточках */
.income-card .platforms-label {
  font-size: 12px;
  color: #888;
  margin-top: 8px;
  text-align: center;
  line-height: 1.3;
  padding: 0 5px;
}

@media (max-width: 768px) {
  .income-card .platforms-label {
    font-size: 11px;
  }
}

/* === Hypno Section === */
.hypno-section {
  background: linear-gradient(45deg, var(--dark-blue), var(--gray));
  border-radius: 15px;
  padding: 60px;
  text-align: center;
  margin: 80px 0;
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s;
}

.hypno-section:hover {
  transform: translateY(-5px);
}

.hypno-section:before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0) 70%);
  animation: pulse 8s infinite linear;
  z-index: 0;
}

.hypno-section h3 {
  font-size: 32px;
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
}

.hypno-section p {
  font-size: 18px;
  max-width: 700px;
  margin: 0 auto 30px;
  position: relative;
  z-index: 1;
}

/* Pulse Button */
.pulse-btn {
  display: inline-block;
  padding: 18px 45px;
  background: linear-gradient(45deg, var(--pink), var(--purple));
  color: white;
  border-radius: 50px;
  font-weight: 600;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  border: none;
  cursor: pointer;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
  z-index: 1;
  animation: pulseBtn 2s infinite;
}

.pulse-btn:hover {
  animation: none;
  transform: scale(1.05);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.pulse-btn:active {
  transform: scale(0.98);
}

/* === Services Section === */
.services-grid {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)) !important;
  gap: 30px !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
}

.service-card {
  min-width: 0 !important;
  break-inside: avoid;
}

@media (max-width: 992px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .services-grid {
        grid-template-columns: 1fr;
    }
}

.service-card {
    background: linear-gradient(135deg, rgba(30, 30, 40, 0.8), rgba(40, 40, 60, 0.6));
    border-radius: 16px;
    padding: 25px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    position: relative;
    overflow: visible; /* Меняем на visible */
    display: flex;
    flex-direction: column;
    height: 100%;
    width: 100%; /* Добавляем явное указание ширины */
    box-sizing: border-box; /* Важно для правильного расчета размеров */
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(126, 87, 194, 0.4);
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--purple), var(--teal));
}

.service-header {
  margin-bottom: 15px;
  position: relative;
  min-height: 80px;
}

.service-title {
  font-size: 22px;
  color: var(--gold);
  margin-bottom: 5px;
  line-height: 1.3;
}

.service-subtitle {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.8);
  display: block;
  font-style: italic;
  background: linear-gradient(45deg, var(--purple), var(--teal));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 600;
  margin-bottom: 15px;
}

.service-description {
  font-size: 15px;
  line-height: 1.6;
  margin-bottom: 20px;
  position: relative;
  padding-left: 20px;
  flex-grow: 1;
}

.service-description::before {
  content: '»';
  position: absolute;
  left: 0;
  color: var(--teal);
  font-size: 24px;
  line-height: 1;
}

/* Стили для бейджей в карточках услуг */
.service-badge {
    position: absolute;
    top: -12px; 
    right: 20px;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    z-index: 10; /* Увеличиваем z-index */
    box-shadow: 0 3px 10px rgba(0,0,0,0.2);
    transform: translateZ(10px); 
}

.guarantee-badge {
    background: linear-gradient(45deg, var(--gold), #ffea00);
    color: #121212;
    animation: pulseGlow 2s infinite;
}

.science-badge {
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(5px);
    color: white;
    border: 1px solid rgba(255,255,255,0.3);
}

/* Анимация для горящего бейджа */
@keyframes pulseGlow {
    0% { box-shadow: 0 0 5px rgba(255,215,0,0.5); }
    50% { box-shadow: 0 0 15px rgba(255,215,0,0.8); }
    100% { box-shadow: 0 0 5px rgba(255,215,0,0.5); }
}

/* Адаптация для мобильных */
@media (max-width: 768px) {
    .service-badge {
        top: -10px;
        right: 15px;
        font-size: 10px;
        padding: 4px 12px;
    }
}

/* Стили для секции услуг */
#services {
    padding: 100px 0;
    background: linear-gradient(135deg, #121218 0%, #1a1a2e 100%);
}

/* Бейджи для карточек */
.service-badge {
    position: absolute;
    top: -15px;
    right: 20px;
    padding: 8px 15px;
    border-radius: 30px;
    font-size: 12px;
    font-weight: 700;
    z-index: 10;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    display: flex;
    align-items: center;
    gap: 8px;
}

.service-badge i {
    font-size: 14px;
}

.service-badge-popular {
    background: linear-gradient(45deg, #FFD700, #FFA500);
    color: #121212;
    animation: pulse 2s infinite;
}

.service-badge-unique {
    background: linear-gradient(45deg, #7E57C2, #9C27B0);
    color: white;
}

.service-badge-science {
    background: linear-gradient(45deg, #26A69A, #4CAF50);
    color: white;
}

/* Заголовок услуги */
.service-title {
    font-size: 22px;
    color: var(--gold);
    margin-bottom: 5px;
    line-height: 1.3;
}

/* Подзаголовок услуги */
.service-subtitle {
    display: block;
    font-size: 16px;
    color: rgba(255, 255, 255, 0.8);
    font-style: italic;
    background: linear-gradient(45deg, var(--purple), var(--teal));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 600;
    margin-bottom: 15px;
}

/* Описание услуги */
.service-description {
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 20px;
    position: relative;
    padding-left: 20px;
}

.service-description::before {
    content: '»';
    position: absolute;
    left: 0;
    color: var(--teal);
    font-size: 24px;
    line-height: 1;
}

/* Футер карточки */
.service-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
    padding-top: 15px;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.service-slot {
    font-size: 12px;
    color: var(--teal);
    font-weight: 500;
}

/* Анимация для популярного бейджа */
@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

/* Адаптация для мобильных */
@media (max-width: 768px) {
    #services {
        padding: 60px 0;
    }
    
    .service-badge {
        top: -12px;
        right: 15px;
        font-size: 11px;
        padding: 6px 12px;
    }
    
    .service-title {
        font-size: 20px;
    }
    
    .service-subtitle {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .service-footer {
        flex-direction: column;
        gap: 10px;
    }
    
    .service-slot {
        order: 1;
    }
    
    .btn {
        width: 100%;
    }
}

/* Стили для кнопок услуг */
.service-footer {
  display: flex;
  gap: 10px;
  margin-top: 20px;
}

.service-btn {
  flex: 1;
  padding: 12px;
  border-radius: 8px;
  font-weight: 600;
  text-align: center;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.service-btn-order {
  background: linear-gradient(45deg, var(--purple), var(--teal));
  color: white;
  box-shadow: 0 4px 15px rgba(126, 87, 194, 0.3);
}

.service-btn-discuss {
  background: rgba(255,255,255,0.1);
  color: white;
  border: 1px solid rgba(255,255,255,0.2);
}

.service-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.3);
}

.service-btn:active {
  transform: translateY(1px);
}

@media (max-width: 576px) {
  .service-footer {
    flex-direction: column;
  }
}

/* === Service Compact Players === */
.compact-player {
  position: relative;
  width: 100%;
  max-width: 100%;
  margin: 15px 0;
  background: rgba(20, 20, 30, 0.7);
  border-radius: 12px;
  padding: 15px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
  overflow: hidden;
}

.compact-player:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 25px rgba(126, 87, 194, 0.3);
  border-color: rgba(255, 255, 255, 0.25);
}

.compact-player audio {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.track-info {
  font-size: 14px;
  color: var(--gold);
  text-align: center;
  margin-bottom: 10px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  transition: all 0.3s ease;
  position: relative;
  padding: 0 20px;
}

.track-info::before,
.track-info::after {
  content: '"';
  color: rgba(255, 215, 0, 0.5);
  font-size: 18px;
  position: absolute;
}

.track-info::before {
  left: 0;
}

.track-info::after {
  right: 0;
}

.compact-player.currently-playing {
    box-shadow: 0 0 0 2px var(--gold);
}

/* Кнопка play/pause */
.compact-play-btn {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--gold);
    color: #121212;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s;
    border: none;
}

.compact-play-btn.playing {
    background: var(--pink);
}

/* Прогресс-бар */
.compact-progress {
    -webkit-appearance: none;
    width: 100%;
    height: 4px;
    background: rgba(255,255,255,0.2);
    border-radius: 2px;
    cursor: pointer;
    margin: 10px 0;
}

.compact-progress::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 12px;
    height: 12px;
    background: var(--gold);
    border-radius: 50%;
}

/* Время воспроизведения */
.compact-time {
    font-size: 12px;
    color: rgba(255,255,255,0.7);
    text-align: center;
}

/* Сообщения об ошибках */
.player-message {
    position: absolute;
    bottom: -25px;
    left: 0;
    right: 0;
    background: var(--warning-red);
    color: white;
    padding: 5px;
    border-radius: 4px;
    font-size: 11px;
    text-align: center;
    z-index: 10;
}

.waveform-container {
  width: 100%;
  height: 60px;
  background: rgba(0, 0, 0, 0.2);
  border-radius: 8px;
  margin: 10px 0;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}

.waveform {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, 
    rgba(126, 87, 194, 0.4) 0%, 
    rgba(38, 166, 154, 0.4) 50%,
    rgba(255, 215, 0, 0.4) 100%);
  clip-path: polygon(
    0% 50%, 
    5% 35%, 
    10% 65%, 
    15% 45%, 
    20% 55%, 
    25% 35%, 
    30% 65%, 
    35% 45%, 
    40% 55%, 
    45% 35%, 
    50% 65%, 
    55% 45%, 
    60% 55%, 
    65% 35%, 
    70% 65%, 
    75% 45%, 
    80% 55%, 
    85% 35%, 
    90% 65%, 
    95% 45%, 
    100% 50%
  );
  animation: wave 3s infinite linear paused;
  transition: all 0.3s ease;
  opacity: 0.8;
}

.compact-controls {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding-top: 5px;
}

.compact-play-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), #ffea00);
  color: #121212;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s;
  flex-shrink: 0;
  box-shadow: 0 4px 10px rgba(255, 215, 0, 0.3);
  position: relative;
  overflow: hidden;
  border: none;
}

.compact-play-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 0 20px rgba(255, 215, 0, 0.5);
}

.compact-play-btn:active {
  transform: scale(0.95);
}

.compact-play-btn::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: rgba(255, 255, 255, 0.1);
  transform: rotate(45deg);
  transition: all 0.5s;
}

.compact-play-btn:hover::after {
  left: 100%;
}

.compact-prev-btn,
.compact-next-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  border: none;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s;
  flex-shrink: 0;
  font-size: 12px;
}

.compact-prev-btn:hover,
.compact-next-btn:hover {
  background: rgba(126, 87, 194, 0.5);
  transform: scale(1.1);
}

.compact-prev-btn:active,
.compact-next-btn:active {
  transform: scale(0.95);
}

.compact-progress {
  flex: 1;
  height: 5px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 3px;
  cursor: pointer;
  min-width: 50px;
  transition: height 0.2s;
  -webkit-appearance: none;
}

.compact-progress:hover {
  height: 7px;
}

.compact-progress::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 14px;
  height: 14px;
  background: var(--gold);
  border-radius: 50%;
  transition: all 0.2s;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.3);
  cursor: pointer;
}

.compact-progress:hover::-webkit-slider-thumb {
  width: 16px;
  height: 16px;
}

.compact-time {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.8);
  min-width: 85px;
  text-align: center;
  flex-shrink: 0;
  transition: all 0.3s;
  font-family: 'Courier New', monospace;
  letter-spacing: 1px;
}

.compact-time:hover {
  color: white;
}

/* === Testimonials Section === */
.testimonials {
  background-color: var(--dark-blue);
  padding: 100px 0;
  clip-path: polygon(0 5%, 100% 0, 100% 95%, 0 100%);
}

.testimonials-slider {
  display: flex;
  gap: 30px;
  overflow-x: auto;
  padding: 20px 0;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}

.testimonial {
  min-width: 350px;
  scroll-snap-align: start;
}

.testimonial-content {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  padding: 30px;
  height: 100%;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: transform 0.3s;
}

.testimonial:hover .testimonial-content {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.testimonial-content p {
  font-style: italic;
  margin-bottom: 20px;
  position: relative;
}

.testimonial-content p:before,
.testimonial-content p:after {
  content: '"';
  font-size: 24px;
  color: var(--gold);
  opacity: 0.5;
}

.client-info {
  display: flex;
  align-items: center;
  gap: 15px;
}

.client-info img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
  transition: transform 0.3s;
}

.testimonial:hover .client-info img {
  transform: scale(1.1);
}

.client-info h4 {
  font-size: 18px;
  margin-bottom: 5px;
}

.client-info span {
  font-size: 14px;
  opacity: 0.7;
}

.client-quote {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
    margin-top: 10px;
    line-height: 1.4;
    padding: 0 15px;
    font-style: italic;
    text-align: center;
}

@media (max-width: 768px) {
    .client-quote {
        font-size: 13px;
        padding: 0 10px;
    }
}

/* Источники отзывов */
.testimonial-source {
  margin-top: 15px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.7);
  display: flex;
  align-items: center;
  gap: 5px;
  line-height: 1.4;
}

.source-label {
  font-style: italic;
}

.source-link {
  color: var(--gold);
  text-decoration: none;
  transition: all 0.3s ease;
  border-bottom: 1px dotted rgba(255, 215, 0, 0.3);
  word-break: break-word;
}

.source-link:hover {
  color: var(--teal);
  border-bottom-color: var(--teal);
}

@media (max-width: 768px) {
  .testimonial-source {
    flex-direction: column;
    align-items: flex-start;
    gap: 3px;
  }
}

/* Общие стили для всех отзывов */
.testimonials-section {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.text-testimonials {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.video-testimonials {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  margin-top: 20px;
}

.video-wrapper {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  transition: transform 0.3s;
}

.video-wrapper:hover {
  transform: translateY(-5px);
}

video {
  width: 100%;
  height: auto;
  border: 1px solid rgba(255,215,0,0.3);
}

.client-name {
  text-align: center;
  margin-top: 10px;
  font-weight: 600;
  color: var(--gold);
}

.video-play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60px;
  height: 60px;
  background: rgba(0, 0, 0, 0.7);
  border: none;
  border-radius: 50%;
  color: white;
  font-size: 24px;
  cursor: pointer;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
}

.video-play-btn::before {
  content: '';
  display: block;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 15px 0 15px 26px;
  border-color: transparent transparent transparent #fff;
  margin-left: 5px;
}

.video-testimonial {
  position: relative;
  width: 100%;
  cursor: pointer;
}

/* === Contact Section === */
#contact .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
    grid-template-areas: 
        "builder form"
        "contacts contacts";
    gap: 30px;
    width: 100%;
    margin: 0;
    padding: 0;
    gap: 30px;
    width: 100%;
}

.track-builder {
    grid-area: builder;
    background: rgba(30, 30, 40, 0.7);
    border-radius: 15px;
    padding: 25px;
}

.contact-form-wrapper {
    grid-area: form;
    background: rgba(30, 30, 40, 0.7);
    border-radius: 15px;
    padding: 25px;
}

.contact-methods-grid {
    grid-area: contacts;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
}

/* Адаптация */
@media (max-width: 992px) {
    .contact-container {
        grid-template-columns: 1fr;
        grid-template-areas: 
            "builder"
            "form"
            "contacts";
    }
    .contact-methods-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Мобильная адаптация */
@media (max-width: 768px) {
    .contact-methods-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .contact-methods-grid {
        grid-template-columns: 1fr;
    }
    
    .track-builder,
    .contact-form-wrapper {
        padding: 20px;
    }
}

/* === Track Builder Styles === */
.builder-header {
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.builder-header h3 {
    font-size: 1.5rem;
    color: var(--gold);
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.progress-steps {
    display: flex;
    gap: 8px;
    justify-content: center;
}

.step-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transition: all 0.3s;
    cursor: pointer;
}

.step-dot.active {
    background: var(--gold);
    transform: scale(1.2);
}

.step-dot.completed {
    background: var(--teal);
}

.builder-step {
    display: none;
    flex: 1;
    padding: 10px 0;
    animation: fadeIn 0.5s ease;
    min-height: 300px;
}

.builder-step.active {
    display: block;
}

.builder-step h4 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: var(--gold);
    text-align: center;
}

/* Добавьте в CSS */
.contact-header {
  text-align: center;
  margin-bottom: 40px;
  animation: fadeInUp 1s ease;
}

.contact-title {
  font-size: 2.5rem;
  font-weight: 800;
  background: linear-gradient(45deg, var(--gold), var(--teal));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 15px;
  animation: gradient 8s ease infinite;
}

.contact-subtitle {
  font-size: 1.2rem;
  color: rgba(255,255,255,0.8);
  max-width: 600px;
  margin: 0 auto;
  position: relative;
  padding-bottom: 20px;
}

.contact-subtitle:after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background: linear-gradient(90deg, var(--purple), var(--teal));
}

@media (max-width: 768px) {
  .contact-container {
    display: flex;
    flex-direction: column;
  }
  
  .track-builder {
    order: 1;
  }
  
  .contact-form-wrapper {
    order: 2;
  }
  
  .contact-methods-grid {
    order: 3;
  }
}

@media (max-width: 768px) {
  /* Шаг 1 - Настроение */
  .mood-selector {
    grid-template-columns: 1fr 1fr !important;
    gap: 8px !important;
  }
  
  .effect-option {
    padding: 10px !important;
    font-size: 13px !important;
    min-height: auto !important;
  }
  
  .effect-icon {
    font-size: 16px !important;
    margin-right: 8px !important;
  }
  
  .effect-checkbox {
    width: 16px !important;
    height: 16px !important;
  }
}

/* Шаг 3 - Эффекты */
  .genre-carousel {
    grid-template-columns: 1fr 1fr !important;
    gap: 8px !important;
  }
  
  .effect-option {
    padding: 10px !important;
    font-size: 13px !important;
    min-height: auto !important;
  }
  
  .effect-icon {
    font-size: 16px !important;
    margin-right: 8px !important;
  }
  
  .effect-checkbox {
    width: 16px !important;
    height: 16px !important;
  }
}
  
  /* Шаг 5 - Эффекты */
  .effects-grid {
    grid-template-columns: 1fr 1fr !important;
    gap: 8px !important;
  }
  
  .effect-option {
    padding: 10px !important;
    font-size: 13px !important;
    min-height: auto !important;
  }
  
  .effect-icon {
    font-size: 16px !important;
    margin-right: 8px !important;
  }
  
  .effect-checkbox {
    width: 16px !important;
    height: 16px !important;
  }
}

/* Для всех устройств компактные контакты */
/* Для всех устройств */
.contact-methods-grid {
  grid-template-columns: repeat(4, 1fr) !important;
  gap: 12px !important;
}

.contact-method {
  padding: 12px !important;
  min-height: auto !important;
}

.contact-icon {
  width: 30px !important;
  height: 30px !important;
  font-size: 14px !important;
  margin-bottom: 8px !important;
}

.contact-label {
  font-size: 11px !important;
  margin-bottom: 2px !important;
}

.contact-value {
  font-size: 13px !important;
}

/* Для мобильных */
@media (max-width: 768px) {
  .contact-methods-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 8px !important;
  }
  
  .contact-method {
    padding: 10px !important;
  }
  
  .contact-icon {
    width: 24px !important;
    height: 24px !important;
    font-size: 12px !important;
  }
}

/* === Form Styles === */
.contact-form .form-group {
    margin-bottom: 20px;
}

.contact-form label {
    display: block;
    margin-bottom: 8px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
}

.contact-form .form-control {
    width: 100%;
    padding: 12px 15px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: white;
    transition: all 0.3s;
}

.contact-form .form-control:focus {
    outline: none;
    border-color: var(--gold);
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 0 0 2px rgba(255, 215, 0, 0.2);
}

.contact-form textarea.form-control {
    min-height: 150px;
    resize: vertical;
}

.submit-btn {
    display: block;
    width: 100%;
    padding: 15px;
    background: linear-gradient(45deg, var(--purple), var(--teal));
    color: white;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    margin-top: 20px;
    box-shadow: 0 5px 15px rgba(126, 87, 194, 0.3);
}

.submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

/* === Animations === */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* === Mobile Adjustments === */
@media (max-width: 767px) {
    body {
        overflow-y: scroll;
    }
    
    .container {
        padding: 0 15px;
    }
}

/* === Track Builder Styles === */
.track-builder {
    background: rgba(30, 30, 40, 0.7);
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.builder-header {
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.builder-header h3 {
    font-size: 1.5rem;
    color: var(--gold);
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.progress-steps {
    display: flex;
    gap: 8px;
    justify-content: center;
}

.step-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transition: all 0.3s;
    cursor: pointer;
}

.step-dot.active {
    background: var(--gold);
    transform: scale(1.2);
}

.step-dot.completed {
    background: var(--teal);
}

.builder-step {
    display: none;
    flex: 1;
    padding: 10px 0;
    animation: fadeIn 0.5s ease;
    min-height: 300px;
}

.builder-step.active {
    display: block;
}

.builder-step h4 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: var(--gold);
    text-align: center;
}

/* === Contact Section Updates === */
.track-builder {
    position: relative;
    padding-bottom: 80px; /* Space for contacts */
}

.builder-contacts {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(30, 30, 40, 0.7);
    border-radius: 0 0 15px 15px;
    padding: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.builder-contacts h4 {
    font-size: 16px;
    margin-bottom: 10px;
    color: var(--gold);
    display: flex;
    align-items: center;
    gap: 8px;
}

.builder-contact-methods {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.builder-contact-link {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
    transition: all 0.3s;
    padding: 8px;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.05);
}

.builder-contact-link:hover {
    color: var(--gold);
    background: rgba(255, 215, 0, 0.1);
    transform: translateY(-2px);
}

.builder-contact-link i {
    font-size: 16px;
    width: 20px;
    text-align: center;
}

.builder-nav-btn {
  transition: all 0.3s ease;
  transform: translateY(0);
}

.builder-nav-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

/* Hide success message by default */
#form-success {
    display: none;
    opacity: 0;
    max-height: 0;
    padding: 0;
    margin: 0;
    transition: all 0.5s ease;
}

#form-success.visible {
    display: block;
    opacity: 1;
    max-height: 100px;
    padding: 15px;
    margin: 15px 0;
}

/* Mood Selector */
.mood-selector {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-bottom: 20px;
}

.mood-option, .genre-option {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    padding: 20px 15px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s;
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.mood-option:hover, .genre-option:hover {
    background: rgba(126, 87, 194, 0.2);
    transform: translateY(-3px);
}

.mood-option.active, .genre-option.active {
    background: rgba(126, 87, 194, 0.3);
    border-color: var(--purple);
    box-shadow: 0 0 0 2px var(--gold);
}

.mood-icon {
    width: 40px;
    height: 40px;
    fill: var(--gold);
}

.mood-option span {
    font-size: 0.9rem;
}

/* BPM Selector */
.bpm-selector {
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center;
}

.bpm-visualizer {
    display: flex;
    justify-content: space-between;
    width: 100%;
    gap: 10px;
}

.bpm-bar {
    flex: 1;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    padding: 15px 10px;
    text-align: center;
    transition: all 0.3s;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    opacity: 0.6;
}

.bpm-bar.active {
    background: rgba(255, 215, 0, 0.1);
    opacity: 1;
    border: 1px solid rgba(255, 215, 0, 0.3);
}

.bpm-bar i {
    font-size: 24px;
    color: var(--gold);
}

.bpm-bar span {
    font-size: 0.8rem;
    line-height: 1.3;
}

.bpm-slider {
    -webkit-appearance: none;
    width: 100%;
    height: 6px;
    background: linear-gradient(90deg, #7E57C2, #26A69A, #FFD700);
    border-radius: 3px;
    outline: none;
    margin: 20px 0;
}

.bpm-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #FFD700;
    cursor: pointer;
    transition: all 0.2s;
}

.bpm-slider::-moz-range-thumb {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #FFD700;
    cursor: pointer;
}

.bpm-labels {
    display: flex;
    justify-content: space-between;
    margin-top: 10px;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.7);
}

.bpm-label {
    text-align: center;
    padding: 5px;
    border-radius: 5px;
    transition: all 0.3s;
}

.bpm-label.active {
    color: #FFD700;
    background: rgba(255, 215, 0, 0.1);
}

.bpm-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--gold);
    margin-bottom: 10px;
    text-align: center;
    margin: 10px 0;
}

/* Tap BPM Button */
.tap-bpm-btn {
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: white;
    padding: 12px 20px;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    gap: 8px;
}

.tap-bpm-btn:hover {
    background: rgba(126, 87, 194, 0.5);
}

.tap-bpm-btn i {
    margin-right: 8px;
}

.tap-circle {
    position: absolute;
    width: 10px;
    height: 10px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    top: 50%;
    left: 20px;
    transform: translate(-50%, -50%);
    transition: all 0.5s;
    pointer-events: none;
}

.tap-bpm-value {
    margin-left: 8px;
    font-weight: 600;
    color: #FFD700;
}

.tap-bpm-btn.tap-animate {
    animation: tapPulse 0.5s ease;
}

@keyframes tapPulse {
    0% { transform: scale(1); }
    50% { transform: scale(0.95); }
    100% { transform: scale(1); }
}

/* Genre Selector */
.genre-carousel {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.genre-icon {
    width: 40px;
    height: 40px;
    fill: var(--gold);
}

/* Reference Upload */
.reference-upload {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.link-input {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 15px;
}

.link-input input {
    width: 100%;
    padding: 12px 15px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    color: white;
    transition: all 0.3s;
    margin-bottom: 10px;
}

.link-input input:focus {
    outline: none;
    border-color: var(--gold);
    background: rgba(255, 255, 255, 0.15);
}

.add-link-btn {
    background: var(--teal);
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
}

.add-link-btn:hover {
    background: #1c8a7f;
}

.no-ref-wrapper {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.no-ref-btn {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    padding: 12px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    margin-top: 10px;
}

.no-ref-btn:hover {
    border-color: var(--gold);
    color: var(--gold);
}

/* Upload Area */
.upload-area {
    border: 2px dashed rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s;
    margin-bottom: 15px;
    position: relative;
    overflow: hidden;
}

.upload-area:hover {
    border-color: var(--gold);
    background: rgba(255, 255, 255, 0.05);
}

.upload-icon {
    width: 50px;
    height: 50px;
    fill: rgba(255, 255, 255, 0.5);
    margin-bottom: 15px;
    transition: all 0.3s;
}

.upload-area:hover .upload-icon {
    fill: var(--gold);
}

#audio-upload {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
}

/* Effects Grid */
.effects-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.effect-option {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    padding: 12px;
    cursor: pointer;
    transition: all 0.3s;
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    gap: 10px;
}

.effect-option:hover {
    background: rgba(126, 87, 194, 0.2);
}

.effect-option.active {
    background: rgba(126, 87, 194, 0.3);
    border-color: var(--teal);
    box-shadow: 0 0 0 2px var(--purple);
}

.effect-checkbox {
    width: 18px;
    height: 18px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 4px;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.effect-option.active .effect-checkbox {
    background: var(--teal);
    border-color: var(--teal);
}

.effect-option.active .effect-checkbox:after {
    content: '\f00c';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    color: white;
    font-size: 10px;
}

.effect-icon {
    color: var(--gold);
    font-size: 18px;
    width: 24px;
    text-align: center;
}

/* Builder Navigation */
.builder-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.builder-prev-btn,
.builder-next-btn,
.builder-submit-btn {
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: white;
    padding: 10px 20px;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 8px;
}

.builder-prev-btn:disabled,
.builder-next-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    background: rgba(255,255,255,0.1) !important;
}

.builder-prev-btn:hover:not(:disabled),
.builder-next-btn:hover:not(:disabled) {
    background: rgba(126, 87, 194, 0.5);
    transform: translateY(-2px);
}

.builder-submit-btn {
    background: linear-gradient(45deg, var(--purple), var(--teal));
    font-weight: 600;
    display: none;
}

.builder-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(126, 87, 194, 0.4);
}

.step-counter {
    font-size: 0.9rem;
    opacity: 0.8;
}

.effect-option {
  cursor: pointer;
  transition: all 0.3s ease;
}

.effect-option.active {
  background-color: rgba(38, 166, 154, 0.1);
}

.effect-checkbox {
  width: 18px;
  height: 18px;
  border: 2px solid #ccc;
  border-radius: 4px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-right: 10px;
  transition: all 0.3s ease;
}

.effect-checkbox i {
  font-size: 12px;
  color: white;
}

/* Builder Messages */
.builder-message {
    padding: 12px;
    border-radius: 8px;
    margin-top: 10px;
    font-size: 0.9rem;
    text-align: center;
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    transition: all 0.5s;
}

.builder-message.success {
    background: rgba(46, 125, 50, 0.2);
    border: 1px solid rgba(46, 125, 50, 0.5);
    color: #81C784;
    opacity: 1;
    max-height: 100px;
    padding: 15px;
}

.builder-message.error {
    background: rgba(198, 40, 40, 0.2);
    border: 1px solid rgba(198, 40, 40, 0.5);
    color: #EF9A9A;
    opacity: 1;
    max-height: 100px;
}

.builder-message i {
    margin-right: 8px;
}

/* Form Styles */
.contact-form-wrapper {
    margin-bottom: 30px;
}

.contact-form .form-group {
    margin-bottom: 20px;
}

.contact-form label {
    display: block;
    margin-bottom: 8px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
}

.contact-form .form-control {
    width: 100%;
    padding: 12px 15px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: white;
    transition: all 0.3s;
}

.contact-form .form-control:focus {
    outline: none;
    border-color: var(--gold);
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 0 0 2px rgba(255, 215, 0, 0.2);
}

.contact-form textarea.form-control {
    min-height: 150px;
    resize: vertical;
}

.captcha-container {
    margin: 25px 0;
}

.captcha-question {
    font-size: 16px;
    margin-bottom: 8px;
    color: var(--gold);
    font-weight: 600;
}

/* Submit Buttons */
.submit-btn, .rocket-btn {
    display: block;
    width: 100%;
    padding: 15px;
    background: linear-gradient(45deg, var(--purple), var(--teal));
    color: white;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    text-align: center;
    margin-top: 20px;
    box-shadow: 0 5px 15px rgba(126, 87, 194, 0.3);
}

.rocket-btn {
    background: linear-gradient(45deg, #FF6B6B, #FFA3A3);
    position: relative;
    overflow: hidden;
}

.rocket-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(255, 107, 107, 0.4);
}

.rocket-btn::after {
    content: '\f135';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0;
    transition: all 0.3s;
}

.rocket-btn:hover::after {
    opacity: 1;
    right: 15px;
    animation: rocket 0.5s infinite alternate;
}

@keyframes rocket {
    from { transform: translateY(-50%) translateX(0); }
    to { transform: translateY(-50%) translateX(5px); }
}

/* Form Messages */
.form-message {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10000;
    padding: 20px 30px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    max-width: 90%;
    width: auto;
    text-align: center;
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
}

.form-message.success {
    background: rgba(46, 125, 50, 0.9);
    color: #fff;
    border: 1px solid rgba(255,255,255,0.2);
}

.form-message i {
    margin-right: 8px;
}

.form-message.error {
    background: rgba(198, 40, 40, 0.9);
    color: #fff;
    border: 1px solid rgba(255,255,255,0.2);
}

.form-message.visible {
    opacity: 1;
    pointer-events: auto;
}

/* === Contact Methods === */
.direct-contacts {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 15px;
    padding: 25px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-method {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.05);
    transition: all 0.3s;
    margin-bottom: 10px;
    color: white;
    text-decoration: none;
}

.contact-method:hover {
    background: rgba(126, 87, 194, 0.3);
    transform: translateY(-3px);
}

.contact-method.email-contact {
    display: flex;
    align-items: center;
    padding: 15px;
    background: rgba(255, 215, 0, 0.1);
    border: 1px solid rgba(255, 215, 0, 0.2);
    margin-bottom: 20px;
}

.contact-icon {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    color: var(--gold);
    flex-shrink: 0;
}

.contact-details {
    display: flex;
    flex-direction: column;
}

.contact-label {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 3px;
}

.contact-value {
    color: white;
    font-weight: 500;
}

.contact-methods-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin-bottom: 20px;
}

.contact-methods-grid .contact-method {
    flex-direction: column;
    text-align: center;
    padding: 15px 10px;
    margin-bottom: 0;
}

.contact-methods-grid .contact-icon {
    margin-bottom: 8px;
}

.qr-code {
    text-align: center;
    margin-top: 25px;
    padding-top: 25px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.qr-code img {
    width: 150px;
    height: 150px;
    background: white;
    padding: 10px;
    border-radius: 10px;
    margin-bottom: 10px;
}

.qr-code p {
    font-size: 13px;
    opacity: 0.8;
}

/* Стили для добавленных ссылок */
.added-links {
    margin-top: 15px;
}

.added-link {
    display: flex;
    align-items: center;
    background: rgba(255,255,255,0.05);
    padding: 8px 12px;
    border-radius: 5px;
    margin-bottom: 8px;
    position: relative;
    padding-right: 30px;
}

.added-link a {
    color: var(--gold);
    text-decoration: none;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    flex-grow: 1;
}

.remove-link {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,0,0,0.2);
    border: none;
    color: white;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s;
}

.remove-link:hover {
    background: rgba(255,0,0,0.5);
    transform: translateY(-50%) scale(1.1);
}

/* Стили для горящей надписи */
.fast-request-title {
    animation: textGlow 2s infinite alternate;
}

@keyframes textGlow {
    0% { text-shadow: 0 0 5px rgba(255,215,0,0.3); }
    100% { text-shadow: 0 0 15px rgba(255,215,0,0.8); }
}

/* Стили для кнопки прикрепления файла */
.vocal-file-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 20px;
    background: linear-gradient(45deg, var(--purple), var(--teal));
    color: white;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    width: 100%;
    margin-top: 15px;
}

.vocal-file-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.3);
}

.vocal-file-btn.success {
    background: linear-gradient(45deg, var(--teal), var(--cyan));
}

.vocal-file-btn i {
    transition: transform 0.3s;
}

.vocal-file-btn:hover i {
    transform: scale(1.2);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .contact-container {
        flex-direction: column;
    }
    
    .mood-selector,
    .genre-carousel,
    .effects-grid {
        grid-template-columns: 1fr;
    }
    
    .builder-nav {
        flex-direction: column;
        gap: 15px;
    }
    
    .builder-prev-btn,
    .builder-next-btn,
    .builder-submit-btn {
        width: 100%;
        justify-content: center;
    }
    
    .contact-methods-grid {
        grid-template-columns: 1fr;
    }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* === Footer === */
footer {
    background: linear-gradient(135deg, #0f0c29, #302b63, #24243e);
    padding: 80px 0 20px;
    position: relative;
}

footer:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(45deg, var(--purple), var(--teal));
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 60px;
}

.footer-col {
    padding: 0 15px;
}

.footer-logo {
    font-size: 28px;
    font-weight: 700;
    color: white;
    display: inline-block;
    margin-bottom: 20px;
    transition: transform 0.3s;
}

.footer-logo:hover {
    transform: scale(1.05);
}

.footer-logo span {
    color: var(--gold);
    transition: color 0.3s;
}

.footer-logo:hover span {
    color: var(--teal);
}

.footer-description {
    margin-bottom: 20px;
    opacity: 0.8;
    line-height: 1.6;
}

.footer-social {
    display: flex;
    gap: 15px;
}

.social-icon {
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.social-icon:hover {
    background-color: var(--purple);
    transform: translateY(-3px) scale(1.1);
}

.social-icon i {
    font-size: 18px;
    color: white;
}

.footer-col h4 {
    font-size: 20px;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
}

.footer-col h4:after {
    content: '';
    position: absolute;
    width: 40px;
    height: 2px;
    background: var(--gold);
    bottom: 0;
    left: 0;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: var(--light-text);
    opacity: 0.8;
    transition: all 0.3s;
    position: relative;
    padding-left: 15px;
}

.footer-links a:before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--gold);
}

.footer-links a:hover {
    opacity: 1;
    color: var(--gold);
    padding-left: 20px;
}

.subscribe-form {
    display: flex;
    margin-top: 20px;
}

.subscribe-form input {
    flex: 1;
    padding: 12px 15px;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    border-radius: 5px 0 0 5px;
    color: white;
    transition: all 0.3s;
}

.subscribe-form input:focus {
    outline: none;
    background: rgba(255, 255, 255, 0.2);
}

.subscribe-form button {
    background: var(--gold);
    color: #121212;
    border: none;
    padding: 0 20px;
    border-radius: 0 5px 5px 0;
    cursor: pointer;
    transition: all 0.3s;
}

.subscribe-form button:hover {
    background: #ffea00;
    transform: scale(1.05);
}

.distribution-platforms {
    text-align: center;
    padding: 30px 0;
    border-top: 1px solid rgba(255,255,255,0.1);
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.distribution-platforms p {
    font-size: 18px;
    margin-bottom: 20px;
    color: var(--gold);
}

.platform-icons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 20px;
}

.platform-icons i {
    font-size: 24px;
    color: rgba(255,255,255,0.7);
    transition: all 0.3s;
}

.platform-icons i:hover {
    transform: translateY(-3px);
    opacity: 1;
    color: var(--gold);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.copyright {
    font-size: 14px;
    opacity: 0.7;
}

.footer-legal {
    display: flex;
    gap: 20px;
}

.footer-legal a {
    font-size: 14px;
    color: white;
    opacity: 0.7;
    transition: opacity 0.3s;
}

.footer-legal a:hover {
    opacity: 1;
}

/* === Navigation Buttons === */
.nav-buttons {
  position: fixed;
  right: 20px;
  bottom: 100px;
  width: 50px;
  height: auto;
  z-index: 999;
  margin: 0;
  padding: 0;
  transform: translateZ(0);
}

.nav-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(126, 87, 194, 0.8);
    border: none;
    color: white;
    font-size: 18px;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transform: scale(1);
}

.nav-btn:hover {
    background: var(--purple);
    transform: scale(1.1);
}

.nav-btn:active {
    transform: scale(0.95);
}

/* === Tooltips === */
.tooltip {
    position: absolute;
    background: rgba(126, 87, 194, 0.5);
    backdrop-filter: blur(5px);
    border-radius: 10px;
    padding: 15px;
    max-width: 250px;
    z-index: 1000;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    pointer-events: none;
}

.tooltip.visible {
    opacity: 0.9;
    transform: translateY(0);
    pointer-events: auto;
    transition: opacity 0.5s ease, transform 0.4s ease;
}

.tooltip-close {
    position: absolute;
    top: 5px;
    right: 5px;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: white;
    cursor: pointer;
    font-size: 12px;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s;
    z-index: 2;
}

.tooltip-close:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

.tooltip-content {
    font-size: 14px;
    line-height: 1.4;
}

/* === Popup Styles === */
.vocal-popup,
.beats-popup,
.remixs-popup,
.contact-popup {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(30, 30, 40, 0.95);
    padding: 25px;
    border-radius: 15px;
    z-index: 1000;
    max-width: 300px;
    width: 90%;
    text-align: center;
    box-shadow: 0 5px 30px rgba(0,0,0,0.5);
    display: none;
    border: 1px solid var(--gold);
}

.vocal-popup.visible,
.beats-popup.visible,
.beats-remixs.visible,
.contact-popup.visible {
    display: block;
    animation: fadeIn 0.5s;
}

.vocal-popup p,
.beats-popup p,
.remixs-popup p,
.contact-popup p {
    margin-bottom: 20px;
    font-size: 16px;
    line-height: 1.5;
    color: white;
}

.vocal-popup-btn,
.remixs-popup-btn,
.beats-popup-btn {
    background: var(--gold);
    color: #121212;
    border: none;
    padding: 10px 25px;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 16px;
}

.vocal-popup-btn:hover,
.remixs-popup-btn:hover,
.beats-popup-btn:hover {
    transform: scale(1.05);
    background: #ffea00;
}

.contact-popup-close {
    position: absolute;
    top: 5px;
    right: 5px;
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    font-size: 16px;
    width: 25px;
    height: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s;
}

.contact-popup-close:hover {
    background: rgba(255,255,255,0.2);
}

/* Warning popup styles */
.warning-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1001;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
}

.warning-popup.visible {
    opacity: 1;
    pointer-events: auto;
}

.warning-content {
    background: rgba(30, 30, 40, 0.95);
    padding: 30px;
    border-radius: 15px;
    max-width: 400px;
    width: 90%;
    text-align: center;
    box-shadow: 0 10px 40px rgba(0,0,0,0.5);
    border: 2px solid var(--warning-red);
    animation: pulseWarning 2s infinite;
}

@keyframes pulseWarning {
    0% { box-shadow: 0 0 0 0 rgba(229, 57, 53, 0.4); }
    70% { box-shadow: 0 0 0 15px rgba(229, 57, 53, 0); }
    100% { box-shadow: 0 0 0 0 rgba(229, 57, 53, 0); }
}

.warning-content h4 {
    color: var(--warning-red);
    font-size: 24px;
    margin-bottom: 15px;
}

.warning-content p {
    margin-bottom: 25px;
    font-size: 16px;
    line-height: 1.5;
}

.warning-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
}

.warning-confirm,
.warning-cancel {
    padding: 10px 20px;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    border: none;
}

.warning-confirm {
    background: var(--warning-red);
    color: white;
}

.warning-confirm:hover {
    background: #c62828;
    transform: translateY(-2px);
}

.warning-cancel {
    background: rgba(255,255,255,0.1);
    color: white;
}

.warning-cancel:hover {
    background: rgba(255,255,255,0.2);
    transform: translateY(-2px);
}

/* First Visit Popup Styles */
.first-visit-popup {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(5px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  padding: 20px;
  box-sizing: border-box;
}

.first-visit-popup.active {
  opacity: 1;
  visibility: visible;
}

.first-visit-popup .popup-content {
  background: linear-gradient(135deg, #1A237E 0%, #121212 100%);
  border-radius: 15px;
  padding: 30px;
  max-width: 500px;
  width: 100%;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  border: 1px solid var(--gold);
  position: relative;
  animation: pulseGlow 2s infinite alternate;
}

.first-visit-popup h3 {
  color: var(--gold);
  font-size: 1.5rem;
  margin-bottom: 20px;
  text-align: center;
}

.first-visit-popup p {
  margin-bottom: 15px;
  line-height: 1.6;
}

.first-visit-popup ul {
  margin: 20px 0;
  padding-left: 20px;
}

.first-visit-popup li {
  margin-bottom: 10px;
  position: relative;
  padding-left: 30px;
}

.first-visit-popup li:before {
  content: '';
  position: absolute;
  left: 0;
  top: 5px;
  width: 20px;
  height: 20px;
  background-size: contain;
  background-repeat: no-repeat;
}

.popup-understand-btn {
  display: block;
  width: 100%;
  padding: 15px;
  background: linear-gradient(45deg, var(--purple), var(--teal));
  color: white;
  border: none;
  border-radius: 50px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
  margin-top: 20px;
  font-size: 1rem;
  text-align: center;
}

.popup-understand-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

/* Mobile adaptations */
@media (max-width: 576px) {
  .first-visit-popup .popup-content {
    padding: 20px;
  }
  
  .first-visit-popup h3 {
    font-size: 1.3rem;
  }
  
  .first-visit-popup li {
    font-size: 0.9rem;
  }
  
  .popup-understand-btn {
    padding: 12px;
    font-size: 0.9rem;
  }
}

.first-visit-popup {
  display: none; /* Начальное состояние - скрыт */
}

.first-visit-popup.active {
  display: flex; /* Показываем через flex когда активно */
  opacity: 1;
  visibility: visible;
}

/* === Hypno Button Styles === */
.hypno-btn {
    position: relative;
    display: block;
    width: 100%;
    max-width: 300px;
    margin: 0 auto 30px;
    padding: 20px;
    background: linear-gradient(45deg, var(--purple), var(--teal));
    color: white;
    border: none;
    border-radius: 50px;
    font-size: 18px;
    font-weight: 600;
    text-align: center;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    transition: all 0.5s;
    animation: pulseGlow 2s infinite;
}

.hypno-text {
    position: relative;
    z-index: 2;
}

.hypno-circle {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 0;
    height: 0;
    background: rgba(255,255,255,0.2);
    border-radius: 50%;
    opacity: 0;
    transition: all 1s;
}

.hypno-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.4);
}

.hypno-btn:hover .hypno-circle {
    width: 300px;
    height: 300px;
    opacity: 1;
}

.hypno-btn:active {
    transform: translateY(1px);
}

/* === Responsive Adjustments === */
@media (max-width: 768px) {
    .services-grid {
        grid-template-columns: 1fr;
        padding: 0 15px;
        gap: 20px;
    }
    
    .service-card {
        padding: 20px;
    }
}

@media (max-width: 992px) {
    .contact-container {
        flex-direction: column;
    }
    
    .contact-methods-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .track-builder, .contact-column {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }
    
    .hero-content h1 {
        font-size: 36px;
        display: none;
    }
    
    .hero-content p {
        display: none;
    }
    
    .player-header {
        flex-direction: column;
    }
    
    .player-tabs {
        margin-bottom: 15px;
    }
    
    .player-body {
        flex-direction: column;
    }
    
    .track-title, .track-artist {
        display: inline !important;
    }
    
    .track-artist:before {
        content: " - ";
    }
    
    .unified-player {
        width: 100%;
        max-width: 100%;
        margin: 20px auto;
        padding: 15px;
        opacity: 0.5;
        transition: opacity 0.3s;
    }
    
    .unified-player:hover {
        opacity: 1;
    }
    
    .player-now-playing {
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        width: 100%;
    }
    
    .vinyl-container {
        margin: 0 auto;
    }
    
    .mini-player {
        height: 60px;
    }
    
    .mini-player-content {
        padding: 10px;
    }
    
    .mini-cover {
        width: 40px;
        height: 40px;
    }
    
    .mini-controls {
        margin: 0 10px;
    }
    
    .mini-progress-container {
        display: none;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .steps-grid {
        grid-template-columns: 1fr;
    }
    
    .visualizer-container {
        width: 100%;
    }
    
    nav ul li.desktop-only {
        display: none;
    }
    
    nav ul li {
        margin-left: 15px;
    }
    
    .section-title h2 {
        font-size: 32px;
    }
    
    .btn {
        padding: 12px 25px;
    }
    
    .hypno-section {
        padding: 40px 20px;
    }
    
    .hypno-section h3 {
        font-size: 24px;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 15px;
    }
    
    .stat-item {
        width: 50%;
        padding: 15px;
    }
    
    .nav-buttons {
        bottom: 80px;
        right: 10px;
    }
    
    .nav-btn {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
    
    .contact-methods-grid {
        grid-template-columns: 1fr;
    }
    
    .compact-player {
        margin: 10px 0;
    }
    
    .compact-controls {
        gap: 8px;
    }
    
    .compact-prev-btn,
    .compact-next-btn,
    .compact-play-btn {
        width: 20px;
        height: 20px;
        font-size: 8px;
    }
    
    .compact-play-btn {
        width: 25px;
        height: 25px;
        font-size: 10px;
    }
    
    .compact-progress {
        height: 3px;
    }
    
    .compact-time {
        font-size: 10px;
        min-width: 35px;
    }
    
    .visualizer-message {
        max-width: 90%;
        white-space: normal;
        font-size: 14px;
        padding: 10px 15px;
    }
}

/* Стили для кнопки play/pause */
.compact-play-btn {
    transition: all 0.3s ease;
    background: var(--gold);
}

.compact-play-btn.playing {
    background: var(--pink);
}

/* Иконки */
.icon-play, .icon-pause {
    font-size: 14px;
}

/* Сообщения об ошибках */
.player-message {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(229, 57, 53, 0.9);
    color: white;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 12px;
    z-index: 10;
}

.first-visit-popup {
  display: none;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.first-visit-popup.active {
  display: flex;
  opacity: 1;
}

/* Анимация для плавного появления */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* Отложите сложные анимации */
.hero-content {
  animation: fadeIn 1s ease 0.3s both;
}

@font-face {
  font-family: 'Montserrat';
  src: local('Montserrat Bold'), local('Montserrat-Bold'),
       url('/fonts/montserrat-bold.woff2') format('woff2');
  font-weight: 700;
  font-display: swap;
}

@font-face {
  font-family: 'Inter';
  src: local('Inter Regular'), local('Inter-Regular'),
       url('/fonts/inter-regular.woff2') format('woff2');
  font-weight: 400;
  font-display: swap;
}

.icon {
  width: 1em;
  height: 1em;
  fill: currentColor;
  vertical-align: middle;
}

/* Примеры конкретных иконок */
.play-btn .icon {
  width: 1.2em;
  height: 1.2em;
}

.icon.spinner {
  animation: spin 1s linear infinite;
}

@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

[data-lazy], [data-src] {
  opacity: 0;
  transition: opacity 0.3s ease;
}

[data-lazy].loaded, [data-src].loaded {
  opacity: 1;
}

/* Добавьте в конец CSS */
@media (max-width: 768px) {
  .contact-container {
    display: flex;
    flex-direction: column;
  }
  
  .track-builder {
    order: 1 !important;
    margin-bottom: 20px;
  }
  
  .contact-form-wrapper {
    order: 2 !important;
    margin-bottom: 20px;
  }
  
  .contact-methods-grid {
    order: 3 !important;
  }
}

/* 2 кнопки в обо мне */
.about-buttons {
  display: flex;
  justify-content: space-between;
  margin-top: 30px;
  gap: 20px;
}

.about-btn {
  flex: 1;
  padding: 15px;
  border-radius: 8px;
  font-weight: 600;
  text-align: center;
  transition: all 0.3s ease;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.about-btn-download {
  background: linear-gradient(45deg, var(--purple), var(--teal));
  color: white;
}

.about-btn-order {
  background: linear-gradient(45deg, var(--pink), var(--purple));
  color: white;
}

.about-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.3);
}

.about-btn:active {
  transform: translateY(1px);
}

@media (max-width: 768px) {
  .about-buttons {
    flex-direction: column;
  }
}

/* В обо мне LIJIL надпись */

.lijil-highlight {
  font-size: 1.5em;                /* В 1.5 раза больше */
  font-weight: 800;                /* Супер-жирный (в 2 раза жирнее <b>) */
  color: #7CFC00;                  /* Ярко-салатовый (цвет LawnGreen) */
  text-shadow: 
    0 0 5px rgba(124, 252, 0, 0.7), /* Свечение */
    0 2px 4px rgba(0,0,0,0.3);      /* Тень для объема */
  display: inline-block;
  transform: translateY(-1px);
  animation: lijilGlow 1.5s infinite alternate;
}

@keyframes lijilGlow {
  from {
    text-shadow: 
      0 0 5px rgba(124, 252, 0, 0.7),
      0 2px 4px rgba(0,0,0,0.3);
  }
  to {
    text-shadow: 
      0 0 15px rgba(124, 252, 0, 0.9),
      0 4px 8px rgba(0,0,0,0.4);
  }
}

/* В обо мне REMIZ надпись */
.rem-part {
  font-size: 1.5em;
  font-weight: 800;
  color: white;
  text-shadow: 
    0 0 8px rgba(255, 255, 255, 0.7),
    0 2px 4px rgba(0, 0, 0, 0.5);
  display: inline-block;
}

.gold-iz {
  font-size: 1.5em;
  font-weight: 800;
  color: var(--gold);
  text-shadow: 
    0 0 10px rgba(255, 215, 0, 0.8),
    0 2px 6px rgba(0, 0, 0, 0.4);
  display: inline-block;
  animation: goldPulse 2s infinite alternate;
}

@keyframes goldPulse {
  from {
    text-shadow: 
      0 0 10px rgba(255, 215, 0, 0.8),
      0 2px 6px rgba(0, 0, 0, 0.4);
  }
  to {
    text-shadow: 
      0 0 20px rgba(255, 215, 0, 1),
      0 4px 12px rgba(0, 0, 0, 0.6);
  }
}

.gold-iz {
  background: linear-gradient(45deg, var(--gold), #ffea00);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: none;
}

.gold-iz {
  color: transparent;
  -webkit-text-stroke: 1px var(--gold);
  text-shadow: 
    0 0 15px var(--gold),
    0 0 30px rgba(255, 215, 0, 0.5);
}

.gold-iz {
  position: relative;
  color: var(--gold);
  z-index: 1;
}
.gold-iz::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle, rgba(255,215,0,0.8) 0%, transparent 70%);
  z-index: -1;
  animation: goldBurn 1.5s infinite alternate;
}
@keyframes goldBurn {
  from { opacity: 0.7; }
  to { opacity: 1; }
}

@keyframes pulseTab {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.1); box-shadow: 0 0 15px var(--gold); }
}
.player-tab.first-visit { animation: pulseTab 2s 3; }

.tooltip-label {
  position: absolute;
  bottom: -25px;
  font-size: 12px;
  opacity: 0;
  transition: opacity 0.3s;
}
.control-btn:hover .tooltip-label { opacity: 1; }

.player-container {
  position: relative;
  z-index: 5;
}

.player-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.8);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 6;
  cursor: pointer;
  transition: opacity 0.3s ease;
}

.player-overlay.fade-out {
  opacity: 0;
  pointer-events: none; /* Клики проходят сквозь */
}

.unified-player {
  position: relative;
  z-index: 5; /* Основной z-index плеера */
  opacity: 1 !important; /* Отменяем любые перекрывающие opacity */
}

.player-overlay h3 {
  color: white;
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  gap: 10px;
  text-align: center;
  margin-bottom: 20px;
}

.note-icon {
  fill: var(--gold);
  width: 30px;
  height: 30px;
}



@keyframes pulse {
  0% { transform: scale(0.8); opacity: 0.7; }
  50% { transform: scale(1.1); opacity: 1; }
  100% { transform: scale(0.8); opacity: 0.7; }
}

.player-overlay.fade-out {
  animation: fadeOut 0.5s forwards;
}

@keyframes fadeOut {
  to { opacity: 0; visibility: hidden; }
}

/* Анимация 3 вкладок в плеере */
@keyframes pulseTab {
  0%, 100% { transform: scale(1); box-shadow: 0 0 0 rgba(255,215,0,0); }
  50% { transform: scale(1.05); box-shadow: 0 0 15px var(--gold); }
}

.player-tab.highlight {
  animation: pulseTab 2s ease-in-out 3;
  position: relative;
}

/* Подсказка */
/* Стили для подсказок */
.tab-tooltip {
  position: absolute;
  top: -45px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, #1A237E, #7E57C2);
  color: white;
  padding: 10px 15px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
  opacity: 0;
  transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  box-shadow: 0 5px 15px rgba(0,0,0,0.2);
  pointer-events: none;
  z-index: 100;
  width: max-content;
  max-width: 200px;
  text-align: center;
  line-height: 1.4;
}

/* Треугольник под подсказкой */
.tab-tooltip:after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-top: 6px solid #7E57C2;
}

/* Анимация подсказки при появлении */
.player-tab:hover .tab-tooltip {
  opacity: 1;
  transform: translateX(-50%) translateY(-5px);
}

/* Анимация вкладок */
@keyframes gentlePulse {
  0%, 100% { 
    transform: scale(1);
    box-shadow: 0 0 0 rgba(255,215,0,0);
  }
  50% { 
    transform: scale(1.03);
    box-shadow: 0 0 12px rgba(255,215,0,0.4);
  }
}

.player-tab.highlight {
  animation: gentlePulse 2.5s ease-in-out infinite;
  position: relative;
}

/* Стиль для кнопки play */
.play-btn.pulsing {
  animation: playPulse 1.5s ease-in-out infinite;
}

@keyframes playPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.1); }
}

/* Плавное появление вкладок */
.player-tab {
  opacity: 0.9;
  transition: all 0.3s ease;
}

.player-tab.highlight {
  opacity: 1;
}

/* Микроинтеракции при наведении */
.player-tab:not(.highlight):hover {
  transform: translateY(-2px);
  opacity: 1;
}

/* Стиль для активной вкладки */
.player-tab.active {
  background: linear-gradient(45deg, var(--purple), var(--teal));
  color: white;
  transform: scale(1.05);
}

@media (max-width: 768px) {
  /* Для основных вкладок */
  .player-tab .tab-tooltip {
    top: auto;
    bottom: -50px; /* Позиция под кнопкой */
    left: 50%;
    transform: translateX(-50%);
  }

  /* Переворачиваем "хвостик" подсказки */
  .player-tab .tab-tooltip:after {
    top: -5px;
    bottom: auto;
    border-top: none;
    border-bottom: 6px solid #7E57C2;
  }

  /* Для кнопок prev/next */
  .prev-btn .nav-tooltip,
  .next-btn .nav-tooltip {
    top: auto;
    bottom: -40px;
  }
}