/* ===== Базовые стили ===== */
:root {
    --primary-color: #ff6b9d;
    --secondary-color: #c44569;
    --accent-color: #f8b500;
    --bg-dark: #0a0a0a;
    --bg-darker: #050505;
    --bg-card: #1a1a1a;
    --text-primary: #ffffff;
    --text-secondary: #b0b0b0;
    --text-muted: #666666;
    --border-color: #2a2a2a;
    --gradient-1: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-2: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --gradient-3: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

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

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%; /* Предотвращает автоматическое изменение размера текста на iOS */
    -webkit-font-smoothing: antialiased; /* Сглаживание шрифтов */
    -moz-osx-font-smoothing: grayscale;
}

/* Оптимизация для производительности */
* {
    -webkit-tap-highlight-color: transparent;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===== Навигация ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(10, 10, 10, 0.85);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    z-index: 1000;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.navbar.scrolled {
    background: rgba(10, 10, 10, 0.98);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}

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

.logo {
    font-size: 1.8rem;
    font-weight: bold;
    background: var(--gradient-2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-decoration: none;
    transition: transform 0.3s ease;
}

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

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-2);
    transition: width 0.3s ease;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--text-primary);
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
    width: 100%;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    gap: 5px;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--text-primary);
    transition: all 0.3s ease;
}

/* ===== Hero секция ===== */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: #0a0a0a;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    filter: brightness(0.4) contrast(1.1) saturate(1.2);
    animation: heroImageZoom 20s ease-in-out infinite;
    transform: scale(1.1);
    will-change: transform; /* Оптимизация для производительности */
}

/* Отключаем анимацию на мобильных для экономии батареи */
@media (max-width: 768px) {
    .hero-image {
        animation: none;
        transform: scale(1);
    }
    
    @media (prefers-reduced-motion: reduce) {
        .hero-image {
            animation: none;
        }
    }
}

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

.hero-image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 30% 50%, rgba(255, 107, 157, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 70% 50%, rgba(248, 181, 0, 0.1) 0%, transparent 50%),
        linear-gradient(180deg, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0.7) 100%);
    z-index: 2;
}

.hero-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    background-image: 
        radial-gradient(2px 2px at 20% 30%, rgba(255, 255, 255, 0.3), transparent),
        radial-gradient(2px 2px at 60% 70%, rgba(255, 107, 157, 0.2), transparent),
        radial-gradient(1px 1px at 50% 50%, rgba(248, 181, 0, 0.3), transparent),
        radial-gradient(1px 1px at 80% 10%, rgba(255, 255, 255, 0.2), transparent);
    background-size: 200% 200%;
    animation: particlesMove 20s ease infinite;
    opacity: 0.6;
    will-change: background-position; /* Оптимизация */
}

/* Упрощаем частицы на мобильных */
@media (max-width: 768px) {
    .hero-particles {
        background-image: 
            radial-gradient(1px 1px at 30% 40%, rgba(255, 255, 255, 0.2), transparent),
            radial-gradient(1px 1px at 70% 60%, rgba(255, 107, 157, 0.15), transparent);
        animation-duration: 30s;
    }
}

@keyframes particlesMove {
    0%, 100% {
        background-position: 0% 0%, 100% 100%, 50% 50%, 80% 20%;
    }
    50% {
        background-position: 100% 100%, 0% 0%, 80% 80%, 20% 60%;
    }
}

.hero-gradient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.4;
    animation: orbFloat 15s ease-in-out infinite;
    z-index: 2;
}

.orb-1 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255, 107, 157, 0.6) 0%, transparent 70%);
    top: -200px;
    left: -200px;
    animation-delay: 0s;
}

.orb-2 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(248, 181, 0, 0.5) 0%, transparent 70%);
    bottom: -150px;
    right: -150px;
    animation-delay: 5s;
}

.orb-3 {
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, rgba(102, 126, 234, 0.4) 0%, transparent 70%);
    top: 50%;
    right: 10%;
    animation-delay: 10s;
}

@keyframes orbFloat {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    33% {
        transform: translate(30px, -30px) scale(1.1);
    }
    66% {
        transform: translate(-20px, 20px) scale(0.9);
    }
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    animation: fadeInUp 1.2s ease;
    padding: 0 20px;
}

.hero-badge {
    display: inline-block;
    padding: 8px 20px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    color: var(--text-primary);
    font-size: 0.9rem;
    margin-bottom: 2rem;
    animation: badgePulse 3s ease-in-out infinite;
}

@keyframes badgePulse {
    0%, 100% {
        box-shadow: 0 0 20px rgba(255, 107, 157, 0.3);
    }
    50% {
        box-shadow: 0 0 30px rgba(255, 107, 157, 0.6);
    }
}

.hero-title {
    font-size: 6rem;
    font-weight: 900;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.hero-title-line {
    display: block;
    background: linear-gradient(135deg, #ffffff 0%, #f8b500 50%, #ff6b9d 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 40px rgba(255, 255, 255, 0.5);
    animation: titleGlow 3s ease-in-out infinite;
    position: relative;
}

.hero-title-line:first-child {
    animation-delay: 0s;
}

.hero-title-line:last-child {
    animation-delay: 0.3s;
}

@keyframes titleGlow {
    0%, 100% {
        filter: drop-shadow(0 0 10px rgba(255, 107, 157, 0.5));
    }
    50% {
        filter: drop-shadow(0 0 20px rgba(248, 181, 0, 0.8));
    }
}

.hero-subtitle {
    font-size: 1.8rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 3rem;
    font-weight: 300;
    letter-spacing: 2px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    animation: fadeInUp 1.4s ease;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 1.6s ease;
}

.hero-buttons .btn {
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.hero-buttons .btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.hero-buttons .btn:hover::before {
    width: 300px;
    height: 300px;
}

.hero-buttons .btn span {
    position: relative;
    z-index: 1;
}

.hero-scroll {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    text-align: center;
    color: rgba(255, 255, 255, 0.8);
    animation: bounce 2s infinite;
    cursor: pointer;
    transition: all 0.3s ease;
}

.hero-scroll:hover {
    color: var(--text-primary);
    transform: translateX(-50%) translateY(-5px);
}

.hero-scroll span {
    display: block;
    font-size: 0.9rem;
    margin-bottom: 10px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.scroll-arrow {
    width: 24px;
    height: 24px;
    border-right: 3px solid currentColor;
    border-bottom: 3px solid currentColor;
    transform: rotate(45deg);
    margin: 0 auto;
    animation: arrowPulse 2s ease-in-out infinite;
}

@keyframes arrowPulse {
    0%, 100% {
        opacity: 0.6;
        transform: rotate(45deg) translateY(0);
    }
    50% {
        opacity: 1;
        transform: rotate(45deg) translateY(5px);
    }
}

/* ===== Кнопки ===== */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    touch-action: manipulation; /* Улучшенная поддержка touch */
    -webkit-tap-highlight-color: transparent; /* Убираем подсветку при клике на мобильных */
}

.btn-primary {
    background: var(--gradient-2);
    color: var(--text-primary);
    box-shadow: 0 4px 15px rgba(255, 107, 157, 0.4);
    position: relative;
    overflow: hidden;
}

.btn-primary::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn-primary:hover::after {
    width: 300px;
    height: 300px;
}

.btn-primary:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 25px rgba(255, 107, 157, 0.6);
}

.btn-primary span {
    position: relative;
    z-index: 1;
}

.btn-secondary {
    background: transparent;
    color: var(--text-primary);
    border: 2px solid var(--primary-color);
    position: relative;
    overflow: hidden;
}

.btn-secondary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--primary-color);
    transition: left 0.3s ease;
    z-index: 0;
}

.btn-secondary:hover::before {
    left: 0;
}

.btn-secondary span {
    position: relative;
    z-index: 1;
    transition: color 0.3s ease;
}

.btn-secondary:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 25px rgba(255, 107, 157, 0.4);
}

/* ===== Секции ===== */
section {
    padding: 80px 0;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 3rem;
    text-align: center;
    background: var(--gradient-2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.page-header {
    padding: 120px 0 60px;
    text-align: center;
    background: var(--bg-darker);
}

.page-header h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.page-header p {
    color: var(--text-secondary);
    font-size: 1.2rem;
}

.page-content {
    min-height: calc(100vh - 200px);
}

/* ===== Новости ===== */
.latest-news {
    background: var(--bg-darker);
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.news-card {
    background: var(--bg-card);
    border-radius: 15px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--border-color);
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(255, 107, 157, 0.2);
}

.news-card-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    background: var(--gradient-2);
}

.news-card-content {
    padding: 1.5rem;
}

.news-card-date {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.news-card-title {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.news-card-excerpt {
    color: var(--text-secondary);
    line-height: 1.6;
}

.news-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
}

/* ===== Музыка ===== */
.featured-music {
    background: var(--bg-darker);
}

.songs-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.song-card {
    background: var(--bg-card);
    border-radius: 15px;
    padding: 1.5rem;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    cursor: pointer;
}

.song-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
    box-shadow: 0 10px 30px rgba(255, 107, 157, 0.2);
}

.song-cover {
    width: 100%;
    aspect-ratio: 1;
    border-radius: 10px;
    object-fit: cover;
    margin-bottom: 1rem;
    background: var(--gradient-2);
}

.song-title {
    font-size: 1.1rem;
    margin-bottom: 0.3rem;
}

.song-artist {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.song-duration {
    color: var(--text-muted);
    font-size: 0.85rem;
    margin-top: 0.5rem;
}

.player-container {
    background: var(--bg-card);
    border-radius: 20px;
    padding: 2rem;
    margin-bottom: 3rem;
    border: 1px solid var(--border-color);
}

.player-main {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.player-cover {
    width: 300px;
    height: 300px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

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

.player-info {
    text-align: center;
}

.player-info h2 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.player-info p {
    color: var(--text-secondary);
    font-size: 1.1rem;
}

audio {
    width: 100%;
    max-width: 500px;
}

.player-controls {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.btn-player {
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--text-primary);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.btn-player:hover {
    background: var(--primary-color);
    transform: scale(1.1);
}

.btn-play {
    width: 60px;
    height: 60px;
    font-size: 1.5rem;
}

.songs-list-full {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
}

/* ===== Галерея ===== */
.gallery-preview {
    background: var(--bg-darker);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1rem;
    margin-bottom: 3rem;
}

.gallery-grid-full {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1.5rem;
}

.gallery-item {
    position: relative;
    aspect-ratio: 1;
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.gallery-item:hover {
    transform: scale(1.05);
}

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

.gallery-filters {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    justify-content: center;
}

.filter-btn {
    padding: 10px 20px;
    background: var(--bg-card);
    border: 2px solid var(--border-color);
    color: var(--text-secondary);
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--gradient-2);
    border-color: transparent;
    color: var(--text-primary);
}

/* Lightbox */
.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.95);
    z-index: 10000;
    align-items: center;
    justify-content: center;
}

.lightbox.active {
    display: flex;
}

.lightbox img {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
}

    .lightbox-close,
    .lightbox-prev,
    .lightbox-next {
        position: absolute;
        background: rgba(255, 255, 255, 0.1);
        border: none;
        color: var(--text-primary);
        font-size: 2rem;
        width: 50px;
        height: 50px;
        border-radius: 50%;
        cursor: pointer;
        transition: all 0.3s ease;
        touch-action: manipulation; /* Улучшенная поддержка touch */
    }
    
    @media (max-width: 768px) {
        .lightbox-close,
        .lightbox-prev,
        .lightbox-next {
            width: 44px;
            height: 44px;
            font-size: 1.5rem;
        }
        
        .lightbox-close {
            top: 15px;
            right: 15px;
        }
        
        .lightbox-prev {
            left: 15px;
        }
        
        .lightbox-next {
            right: 15px;
        }
    }

.lightbox-close {
    top: 20px;
    right: 20px;
}

.lightbox-prev {
    left: 20px;
}

.lightbox-next {
    right: 20px;
}

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

.lightbox-info {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    color: var(--text-primary);
    text-align: center;
}

/* ===== О Софии ===== */
.about-section {
    background: var(--bg-darker);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
    margin-bottom: 4rem;
    align-items: start;
}

.about-image {
    border-radius: 20px;
    overflow: hidden;
}

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

.about-text h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    background: var(--gradient-2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.about-text p {
    color: var(--text-secondary);
    line-height: 1.8;
    font-size: 1.1rem;
}

.contact-section,
.booking-section {
    margin-top: 4rem;
    padding: 2rem;
    background: var(--bg-card);
    border-radius: 20px;
    border: 1px solid var(--border-color);
}

.contact-section h2,
.booking-section h2 {
    margin-bottom: 2rem;
    font-size: 2rem;
}

.contact-info {
    margin-bottom: 2rem;
}

.contact-info p {
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
}

.social-links,
.social-links-large {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.social-link {
    display: inline-block;
    padding: 10px 20px;
    background: var(--bg-card);
    border: 2px solid var(--border-color);
    border-radius: 25px;
    color: var(--text-primary);
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link:hover {
    border-color: var(--primary-color);
    background: var(--primary-color);
    transform: translateY(-2px);
}

.booking-form {
    display: grid;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    margin-bottom: 0.5rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    padding: 12px;
    background: var(--bg-dark);
    border: 2px solid var(--border-color);
    border-radius: 10px;
    color: var(--text-primary);
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

/* ===== Футер ===== */
.footer {
    background: var(--bg-darker);
    padding: 3rem 0 1rem;
    border-top: 1px solid var(--border-color);
    margin-top: 4rem;
}

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

.footer-section h3,
.footer-section h4 {
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: var(--primary-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
    color: var(--text-muted);
}

/* ===== Пагинация ===== */
.pagination {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 3rem;
}

.pagination button {
    padding: 10px 15px;
    background: var(--bg-card);
    border: 2px solid var(--border-color);
    color: var(--text-primary);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.pagination button:hover,
.pagination button.active {
    background: var(--gradient-2);
    border-color: transparent;
}

/* ===== Анимации ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

/* ===== Адаптивность ===== */
@media (max-width: 1024px) {
    .hero-title {
        font-size: 5rem;
    }
    
    .hero-subtitle {
        font-size: 1.6rem;
    }
    
    .orb-1 {
        width: 300px;
        height: 300px;
    }
    
    .orb-2 {
        width: 250px;
        height: 250px;
    }
    
    .orb-3 {
        width: 200px;
        height: 200px;
    }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        flex-direction: column;
        background: rgba(10, 10, 10, 0.98);
        backdrop-filter: blur(20px);
        width: 100%;
        padding: 2rem;
        transition: left 0.3s ease;
        border-top: 1px solid var(--border-color);
        box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
    }

    .nav-menu.active {
        left: 0;
    }

    .hero {
        min-height: 100vh;
        height: 100vh;
    }
    
    .hero-image {
        object-position: center center;
        filter: brightness(0.35) contrast(1.1) saturate(1.2);
    }
    
    .hero-image-overlay {
        background: 
            radial-gradient(circle at 50% 50%, rgba(255, 107, 157, 0.1) 0%, transparent 60%),
            linear-gradient(180deg, rgba(0,0,0,0.4) 0%, rgba(0,0,0,0.8) 100%);
    }

    .hero-title {
        font-size: 3.5rem;
        line-height: 1.2;
    }
    
    .hero-title-line {
        display: block;
    }

    .hero-subtitle {
        font-size: 1.3rem;
        margin-bottom: 2rem;
        letter-spacing: 1px;
    }
    
    .hero-badge {
        font-size: 0.85rem;
        padding: 6px 16px;
        margin-bottom: 1.5rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
        width: 100%;
        max-width: 100%;
    }
    
    .hero-buttons .btn {
        width: 100%;
        max-width: 280px;
        padding: 14px 28px;
        font-size: 0.95rem;
    }
    
    .hero-scroll {
        bottom: 30px;
    }
    
    .hero-scroll span {
        font-size: 0.8rem;
    }
    
    .scroll-arrow {
        width: 20px;
        height: 20px;
    }
    
    .orb-1, .orb-2, .orb-3 {
        filter: blur(50px);
        opacity: 0.3;
    }
    
    .orb-1 {
        width: 250px;
        height: 250px;
    }
    
    .orb-2 {
        width: 200px;
        height: 200px;
    }
    
    .orb-3 {
        width: 150px;
        height: 150px;
    }
    
    .hero-particles {
        opacity: 0.4;
    }

    .section-title {
        font-size: 2rem;
        margin-bottom: 2rem;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .news-grid,
    .songs-list,
    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .news-grid {
        grid-template-columns: 1fr;
    }
    
    .songs-list {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }
    
    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    }

    .player-cover {
        width: 100%;
        max-width: 300px;
    }
    
    .player-main {
        gap: 1rem;
    }

    .container {
        padding: 0 15px;
    }

    section {
        padding: 60px 0;
    }
    
    .btn {
        padding: 12px 24px;
        font-size: 0.95rem;
    }
    
    .logo {
        font-size: 1.5rem;
    }
    
    .nav-menu {
        gap: 1rem;
    }
    
    .nav-menu a {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .hero {
        min-height: 100vh;
        height: 100dvh; /* Динамическая высота viewport для мобильных */
    }
    
    .hero-image {
        filter: brightness(0.3) contrast(1.1) saturate(1.2);
    }
    
    .hero-title {
        font-size: 2.8rem;
        line-height: 1.1;
        margin-bottom: 1rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
        margin-bottom: 1.5rem;
        letter-spacing: 0.5px;
    }
    
    .hero-badge {
        font-size: 0.75rem;
        padding: 5px 14px;
        margin-bottom: 1rem;
    }
    
    .hero-buttons {
        gap: 0.8rem;
    }
    
    .hero-buttons .btn {
        width: 100%;
        max-width: 260px;
        padding: 12px 24px;
        font-size: 0.9rem;
    }
    
    .hero-scroll {
        bottom: 20px;
    }
    
    .hero-scroll span {
        font-size: 0.75rem;
    }
    
    .scroll-arrow {
        width: 18px;
        height: 18px;
        border-width: 2px;
    }
    
    .orb-1, .orb-2, .orb-3 {
        display: none; /* Скрываем орбы на очень маленьких экранах для производительности */
    }
    
    .hero-particles {
        opacity: 0.3;
    }

    .page-header h1 {
        font-size: 2rem;
    }
    
    .page-header {
        padding: 100px 0 40px;
    }

    .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
    
    .section-title {
        font-size: 1.8rem;
        margin-bottom: 1.5rem;
    }
    
    section {
        padding: 40px 0;
    }
    
    .container {
        padding: 0 12px;
    }
    
    .news-card,
    .song-card {
        padding: 1rem;
    }
    
    .news-card-image {
        height: 180px;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.8rem;
    }
    
    .songs-list {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .navbar {
        padding: 0.8rem 0;
    }
    
    .logo {
        font-size: 1.4rem;
    }
}

/* Поддержка prefers-reduced-motion для доступности */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    .hero-image {
        animation: none !important;
    }
    
    .hero-particles {
        animation: none !important;
    }
    
    .hero-gradient-orb {
        animation: none !important;
    }
}

/* Очень маленькие экраны (ландшафтная ориентация мобильных) */
@media (max-width: 480px) and (max-height: 600px) {
    .hero {
        min-height: 100vh;
        height: 100vh;
    }
    
    .hero-title {
        font-size: 2.5rem;
        margin-bottom: 0.8rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 1.2rem;
    }
    
    .hero-buttons {
        margin-bottom: 0.5rem;
    }
    
    .hero-scroll {
        display: none; /* Скрываем на очень маленьких экранах */
    }
}

/* Планшеты в портретной ориентации */
@media (min-width: 481px) and (max-width: 768px) {
    .hero-title {
        font-size: 4rem;
    }
    
    .hero-subtitle {
        font-size: 1.4rem;
    }
    
    .news-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .songs-list {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Планшеты в альбомной ориентации */
@media (min-width: 769px) and (max-width: 1024px) {
    .hero-title {
        font-size: 5.5rem;
    }
    
    .news-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .songs-list {
        grid-template-columns: repeat(3, 1fr);
    }
}

