/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #FFD502;
    --primary: #FFD502;
    --primary-dark: #e6c002;
    --primary-gradient: linear-gradient(135deg, #FFD502 0%, #FFA500 100%);
    --text-primary: #1a1a1a;
    --text-secondary: #6b7280;
    --text-on-primary: #1a1a1a;
    --background-white: #ffffff;
    --background-gray: #f8fafc;
    --background-dark: #0f172a;
    --border-color: #e5e7eb;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --shadow-glow: 0 0 20px rgba(255, 213, 2, 0.3);
    --transition: all 0.3s ease;
    --glass-bg: rgba(255, 255, 255, 0.1);
    --glass-border: rgba(255, 255, 255, 0.2);
    --success: #10b981;
    --danger: #ef4444;
    --danger-light: #fee2e2;
    --info: #3b82f6;
    --info-light: #dbeafe;
    --bg-tertiary: #f3f4f6;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background: linear-gradient(135deg, var(--background-white) 0%, rgba(255, 213, 2, 0.02) 100%);
    overflow-x: hidden;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 20% 80%, rgba(255, 213, 2, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 80% 20%, rgba(255, 213, 2, 0.1) 0%, transparent 50%);
    pointer-events: none;
    z-index: -1;
}

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 {
    font-size: 3.5rem;
    font-weight: 700;
}

h2 {
    font-size: 2.5rem;
}

h3 {
    font-size: 1.875rem;
}

p {
    font-size: 1.125rem;
    line-height: 1.7;
    color: var(--text-secondary);
}

.accent {
    color: var(--primary-color);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    font-size: 1rem;
    font-weight: 500;
    text-decoration: none;
    border-radius: 8px;
    transition: var(--transition);
    cursor: pointer;
    border: 2px solid transparent;
    white-space: nowrap;
    pointer-events: auto;
    z-index: 10;
    position: relative;
}

.btn-primary {
    background: var(--primary-gradient);
    color: var(--text-primary);
    border: none;
    position: relative;
    overflow: hidden;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: var(--shadow-md);
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: left 0.6s ease;
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #e6c002 0%, #cc8f00 100%);
    box-shadow: var(--shadow-xl), var(--shadow-glow);
}

.btn-secondary {
    background: linear-gradient(135deg, transparent 0%, rgba(255, 213, 2, 0.05) 100%);
    color: var(--text-primary);
    border: 2px solid var(--primary-color);
    position: relative;
    overflow: hidden;
    font-weight: 600;
}

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

.btn-secondary:hover::before {
    width: 100%;
}

.btn-secondary:hover {
    color: var(--text-primary);
    border-color: var(--primary-color);
}

.btn-outline {
    background-color: transparent;
    color: var(--text-primary);
    border-color: var(--border-color);
    font-size: 0.875rem;
    padding: 8px 16px;
    cursor: pointer;
    pointer-events: auto;
    z-index: 10;
    position: relative;
}

.btn-outline:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

/* Header */
.header {
    background: rgba(255, 255, 255, 0.85);
    border-bottom: 1px solid rgba(255, 213, 2, 0.2);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(20px) saturate(1.8);
    -webkit-backdrop-filter: blur(20px) saturate(1.8);
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.15);
}

.nav {
    padding: 1rem 0;
}

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

.logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
}

.logo-text:hover {
    color: var(--primary-color);
}

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

.nav-link {
    text-decoration: none;
    color: var(--text-secondary);
    font-weight: 500;
    transition: var(--transition);
    position: relative;
    padding: 0.5rem 0;
}

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

.nav-link:hover::after {
    width: 100%;
}

.nav-link:hover {
    color: var(--primary-color);
}

/* Hero Section */
.hero {
    padding-top: 10vh;
    padding-bottom: 15vh;
    background: linear-gradient(135deg, var(--background-white) 0%, var(--background-gray) 50%, rgba(255, 213, 2, 0.1) 100%);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 213, 2, 0.1) 0%, transparent 70%);
    animation: heroGlow 8s ease-in-out infinite;
}

@keyframes heroGlow {
    0%, 100% { transform: scale(1) rotate(0deg); }
    50% { transform: scale(1.1) rotate(180deg); }
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.hero-badge {
    margin-top: 10vh;
    display: inline-block;
    background: var(--primary-gradient);
    color: var(--text-primary);
    padding: 10px 20px;
    border-radius: 25px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 2rem;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.hero-badge::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.6s ease;
}

.hero-badge:hover::before {
    left: 100%;
}

.hero-title {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 4rem;
    flex-wrap: wrap;
}

.hero-stats {
    display: flex;
    gap: 3rem;
    justify-content: center;
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.875rem;
    color: var(--text-secondary);
    font-weight: 500;
}

/* Stats Section */
.stats-section {
    padding: 4rem 0;
    background-color: var(--background-gray);
}

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

.stat-card {
    background: linear-gradient(135deg, var(--background-white) 0%, rgba(255, 213, 2, 0.03) 100%);
    padding: 2.5rem 2rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 213, 2, 0.1);
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--primary-gradient);
    opacity: 0;
    transition: var(--transition);
}

.stat-card:hover::before {
    opacity: 1;
}

.stat-card:hover {
    box-shadow: var(--shadow-xl);
    border-color: rgba(255, 213, 2, 0.3);
}

.stat-card .stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.stat-card .stat-label {
    font-size: 1rem;
    color: var(--text-secondary);
}

/* Section styling */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.section-badge {
    display: inline-block;
    background: var(--primary-gradient);
    color: var(--text-primary);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 1rem;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.section-badge::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.6s ease;
}

.section-badge:hover::before {
    left: 100%;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--text-secondary);
}

/* About Section */
.about-section {
    padding: 6rem 0;
    background-color: var(--background-white);
}

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

.feature-card {
    background: linear-gradient(135deg, var(--background-gray) 0%, rgba(255, 213, 2, 0.08) 100%);
    padding: 2rem;
    border-radius: 16px;
    border: 1px solid rgba(255, 213, 2, 0.1);
    background-clip: padding-box;
    position: relative;
    transition: var(--transition);
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 1px;
    background: linear-gradient(135deg, var(--primary-color), transparent, var(--primary-color));
    border-radius: 16px;
    mask: linear-gradient(white 0 0) content-box, linear-gradient(white 0 0);
    mask-composite: subtract;
    -webkit-mask-composite: xor;
    opacity: 0;
    transition: var(--transition);
    pointer-events: none;
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-card:hover {
    box-shadow: var(--shadow-xl);
    background: linear-gradient(135deg, var(--background-white) 0%, rgba(255, 213, 2, 0.12) 100%);
}

.feature-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    background: var(--primary-gradient);
    color: var(--text-primary);
    border-radius: 50%;
    margin-bottom: 1.5rem;
    position: relative;
    box-shadow: var(--shadow-md);
}

.feature-icon::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, var(--primary-color), transparent, var(--primary-color));
    border-radius: 50%;
    z-index: -1;
    opacity: 0;
    transition: var(--transition);
}

.feature-card:hover .feature-icon::before {
    opacity: 1;
}

.feature-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.feature-description {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Revenue Section */
.revenue-section {
    padding: 6rem 0;
    background-color: var(--background-gray);
}

.revenue-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.revenue-chart {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.chart-segment {
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    transition: var(--transition);
}

.artist-segment {
    background: var(--primary-gradient);
    color: var(--text-primary);
    flex: 4;
    position: relative;
    overflow: hidden;
}

.artist-segment::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    0% { left: -100%; }
    100% { left: 100%; }
}

.label-segment {
    background: linear-gradient(135deg, var(--background-white) 0%, rgba(255, 213, 2, 0.05) 100%);
    color: var(--text-primary);
    border: 2px solid var(--primary-color);
    flex: 1;
    position: relative;
}

.segment-percent {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.segment-label {
    font-size: 0.875rem;
    font-weight: 500;
}

.revenue-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.revenue-subtitle {
    font-size: 1.125rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.revenue-number {
    font-size: 4rem;
    font-weight: 700;
    color: var(--primary-color);
}

/* Experience Section */
.experience-section {
    padding: 6rem 0;
    background-color: var(--background-white);
}

.experience-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    align-items: center;
}

.experience-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.experience-lead {
    font-size: 1.25rem;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.experience-description {
    color: var(--text-secondary);
    line-height: 1.7;
}

.experience-year {
    text-align: center;
    padding: 3rem 2rem;
    background: linear-gradient(135deg, var(--primary-color) 0%, rgba(255, 213, 2, 0.8) 100%);
    border-radius: 20px;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.experience-year::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    animation: pulse 4s ease-in-out infinite;
}

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

.year-number {
    font-size: 4rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem;
    position: relative;
    z-index: 2;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.year-label {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    position: relative;
    z-index: 2;
}

.year-description {
    font-size: 0.875rem;
    color: var(--text-primary);
    position: relative;
    z-index: 2;
    opacity: 0.9;
}

/* Playlists & Artists Sections */
.playlists-section,
.artists-section {
    padding: 6rem 0;
    background-color: var(--background-gray);
    overflow: hidden;
}

/* Фиксированная высота для секции артистов */
.artists-section {
    min-height: 650px;
    position: relative;
    padding: 4rem 0;
}

/* Carousel Container */
.carousel-container {
    position: relative;
    width: 100%;
    overflow: hidden;
    padding: 4rem 0;
    min-height: 500px;
}

.carousel-container::before,
.carousel-container::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 100px;
    z-index: 10;
    pointer-events: none;
}

.carousel-container::before {
    left: 0;
    background: linear-gradient(to right, var(--background-gray) 0%, transparent 100%);
}

.carousel-container::after {
    right: 0;
    background: linear-gradient(to left, var(--background-gray) 0%, transparent 100%);
}

.playlists-carousel,
.artists-carousel {
    display: flex;
    gap: 2rem;
    -webkit-animation: scrollCarousel 60s linear infinite;
    -moz-animation: scrollCarousel 60s linear infinite;
    -o-animation: scrollCarousel 60s linear infinite;
    animation: scrollCarousel 60s linear infinite;
    width: max-content;
    will-change: transform;
    -webkit-transform: translate3d(0, 0, 0);
    -moz-transform: translate3d(0, 0, 0);
    -ms-transform: translate3d(0, 0, 0);
    -o-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
    align-items: flex-start;
    /* Fallback для старых браузеров */
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    -webkit-perspective: 1000px;
    perspective: 1000px;
}

.playlists-carousel:hover,
.artists-carousel:hover {
    -webkit-animation-play-state: paused;
    -moz-animation-play-state: paused;
    -o-animation-play-state: paused;
    animation-play-state: paused;
}

/* Smooth pause/resume transition */
.playlists-carousel,
.artists-carousel {
    -webkit-transition: animation-play-state 0.3s ease;
    -moz-transition: animation-play-state 0.3s ease;
    -o-transition: animation-play-state 0.3s ease;
    transition: animation-play-state 0.3s ease;
}

@-webkit-keyframes scrollCarousel {
    0% {
        -webkit-transform: translateX(0);
        transform: translateX(0);
    }
    100% {
        -webkit-transform: translateX(-50%);
        transform: translateX(-50%);
    }
}

@-moz-keyframes scrollCarousel {
    0% {
        -moz-transform: translateX(0);
        transform: translateX(0);
    }
    100% {
        -moz-transform: translateX(-50%);
        transform: translateX(-50%);
    }
}

@-o-keyframes scrollCarousel {
    0% {
        -o-transform: translateX(0);
        transform: translateX(0);
    }
    100% {
        -o-transform: translateX(-50%);
        transform: translateX(-50%);
    }
}

@keyframes scrollCarousel {
    0% {
        -webkit-transform: translateX(0);
        -moz-transform: translateX(0);
        -ms-transform: translateX(0);
        -o-transform: translateX(0);
        transform: translateX(0);
    }
    100% {
        -webkit-transform: translateX(-50%);
        -moz-transform: translateX(-50%);
        -ms-transform: translateX(-50%);
        -o-transform: translateX(-50%);
        transform: translateX(-50%);
    }
}

.playlist-card,
.artist-card {
    background: linear-gradient(135deg, var(--background-white) 0%, rgba(255, 213, 2, 0.02) 100%);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    position: relative;
    border: 1px solid rgba(255, 213, 2, 0.1);
    min-width: 350px;
    max-width: 350px;
    flex-shrink: 0;
}

/* Фиксированная высота для карточек плейлистов */
.playlist-card {
    width: 350px;
    height: 350px;
    display: flex;
    flex-direction: column;
}

/* Фиксированная высота для карточек артистов */
.artist-card {
    width: 350px;
    height: 350px;
    display: flex;
    flex-direction: column;
    -webkit-transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    -moz-transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    -ms-transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    -o-transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    -webkit-transform-origin: center;
    -moz-transform-origin: center;
    -ms-transform-origin: center;
    -o-transform-origin: center;
    transform-origin: center;
    position: relative;
    z-index: 1;
    will-change: transform, height, box-shadow;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

/* Hover эффект для карточек артистов */
.artist-card:hover {
    -webkit-transform: scale(1.1) translateY(-10px);
    -moz-transform: scale(1.1) translateY(-10px);
    -ms-transform: scale(1.1) translateY(-10px);
    -o-transform: scale(1.1) translateY(-10px);
    transform: scale(1.1) translateY(-10px);
    z-index: 100;
    box-shadow: var(--shadow-xl), 0 20px 40px rgba(255, 213, 2, 0.3);
    border-color: rgba(255, 213, 2, 0.5);
}

/* Плавное переключение био */
.artist-card:hover .artist-bio-full {
    transition: opacity 0.3s ease;
}

.artist-card.expanded {
    transform: translateY(-5px) scale(1.02);
    box-shadow: var(--shadow-xl);
    border-color: rgba(255, 213, 2, 0.3);
    z-index: 10;
}

.playlist-card::before,
.artist-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, transparent 0%, rgba(255, 213, 2, 0.1) 50%, transparent 100%);
    opacity: 0;
    transition: var(--transition);
    pointer-events: none;
}

.playlist-card:hover::before,
.artist-card:hover::before {
    opacity: 1;
}

.playlist-card:hover {
    box-shadow: var(--shadow-xl);
    border-color: rgba(255, 213, 2, 0.3);
}

.artist-link {
    text-decoration: none;
    color: inherit;
    cursor: pointer;
    display: block;
    z-index: 10;
    position: relative;
}

.artist-link:hover {
    text-decoration: none;
    color: inherit;
}

.artist-link-indicator {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 0.75rem;
    color: var(--primary-color);
    font-size: 0.875rem;
    font-weight: 500;
    opacity: 0;
    transition: var(--transition);
}

.artist-link:hover .artist-link-indicator {
    opacity: 1;
}

.artist-link-indicator i {
    font-size: 0.75rem;
}

.playlist-image,
.artist-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

/* Фиксированная высота изображения для артистов */
.artist-card .artist-image {
    height: 140px;
    flex-shrink: 0;
}

.playlist-image img,
.artist-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.playlist-info,
.artist-info {
    padding: 1.5rem;
    position: relative;
    z-index: 5;
}

/* Стили для информации о плейлисте */
.playlist-card .playlist-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

/* Стили для информации об артисте */
.artist-card .artist-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    padding: 1rem;
}

.playlist-name,
.artist-name {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.artist-card .artist-name {
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
}

.playlist-description,
.artist-bio {
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

/* Стили для описания плейлиста */
.playlist-card .playlist-description {
    flex: 1;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    line-height: 1.4;
    margin-bottom: 1rem;
}

/* Контейнер для биографии артиста */
.artist-bio-container {
    position: relative;
    flex: 1;
    overflow: hidden;
    display: flex;
    min-height: 0;
    max-height: 120px;
    min-height: 60px;
}

.artist-bio {
    margin-bottom: 0.5rem;
    line-height: 1.5;
    transition: all 0.3s ease;
}

.artist-card .artist-bio {
    font-size: 0.9rem;
    line-height: 1.4;
    margin-bottom: 0.75rem;
}

.artist-card .artist-bio-full {
    max-height: 150px;
}

.artist-bio-short {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    opacity: 1;
    visibility: visible;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.artist-bio-full {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    opacity: 0;
    visibility: hidden;
    overflow: hidden;
    transition: all 0.3s ease;
    flex: 1;
    overflow-y: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
    max-height: 120px;
    scroll-behavior: smooth;
    user-select: none;
    pointer-events: none;
}

/* Показываем полное био при hover */
.artist-card:hover .artist-bio-short {
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.artist-card:hover .artist-bio-full {
    opacity: 1;
    visibility: visible;
    max-height: 120px;
    pointer-events: auto;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}



.artist-bio-full::-webkit-scrollbar {
    display: none;
}

.artist-bio-container.expanded .artist-bio-short {
    display: none;
}

.artist-bio-container.expanded .artist-bio-full {
    display: block;
    opacity: 1;
    max-height: none;
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Скрываем кнопку "Читать далее" */
.read-more-btn {
    display: none !important;
}

/* Социальные ссылки артистов */
.social-links {
    display: flex;
    gap: 0.75rem;
    margin-top: 1rem;
    align-items: center;
    flex-shrink: 0;
}

.artist-card .social-links {
    gap: 0.5rem;
    margin-top: 0.75rem;
}

.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 16px;
    transition: all var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.artist-card .social-link {
    width: 28px;
    height: 28px;
    font-size: 14px;
    /* Override default color from generic .social-link (footer) */
    color: var(--text-secondary);
}

.social-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    background: rgba(255, 255, 255, 0.2);
    color: var(--primary-color);
    text-decoration: none;
}

/* Цвета для каждой социальной сети */
.social-link.vk:hover { color: #4680C2; }
.social-link.telegram:hover { color: #0088cc; }
.social-link.instagram:hover { color: #E4405F; }
.social-link.youtube:hover { color: #FF0000; }
.social-link.spotify:hover { color: #1DB954; }
.social-link.yandex_music:hover { color: #FFCC00; }
.social-link.tiktok:hover { color: #000000; }

/* Адаптивность для артистов */
@media (max-width: 768px) {
    .artist-card {
        height: 340px;
    }
    
    .artist-card:hover {
        transform: scale(1.05) translateY(-8px);
    }
    
    .artist-info {
        padding: 1.25rem;
    }
    
    .artist-name {
        font-size: 1.1rem;
    }
    
    .artist-bio {
        font-size: 0.9rem;
        line-height: 1.5;
    }
    
    .artist-card .artist-bio-full {
        max-height: 100px;
    }
    
    .artist-bio-container {
        min-height: 50px;
    }
    
    .social-links {
        gap: 0.5rem;
        margin-top: 0.75rem;
    }
    
    .social-link {
        width: 32px;
        height: 32px;
        font-size: 14px;
    }
}

.empty-state {
    text-align: center;
    padding: 4rem 2rem;
    color: var(--text-secondary);
}

.empty-state h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

/* Partnership Section */
.partnership-section {
    padding: 6rem 0;
    background-color: var(--background-white);
}

.partnership-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.partnership-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.partnership-subtitle {
    font-size: 1.125rem;
    color: var(--text-secondary);
    margin-bottom: 3rem;
}

.benefits-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.benefit-item {
    display: flex;
    align-items: flex-start; /* исправлено: корректное значение */
    gap: 1rem;
}

.benefit-item i {
    width: 48px;
    height: 48px;
    background: var(--primary-gradient);
    color: var(--text-primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 0.25rem;
    box-shadow: var(--shadow-md);
    position: relative;
    transition: var(--transition);
}

.benefit-item i::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, var(--primary-color), transparent, var(--primary-color));
    border-radius: 14px;
    z-index: -1;
    opacity: 0;
    transition: var(--transition);
}

.benefit-item:hover i::before {
    opacity: 1;
}

/* Icon styles for benefit items */
.benefit-item .fas::before {
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    font-size: 1.25rem;
    position: static;
    background: none;
    border-radius: 0;
    opacity: 1;
    z-index: auto;
}

.benefit-item .fa-music::before {
    content: '\f001';
}

.benefit-item .fa-chart-line::before {
    content: '\f201';
}

.benefit-item .fa-dollar-sign::before {
    content: '\f155';
}

.benefit-item .fa-users::before {
    content: '\f0c0';
}

.benefit-item .fa-star::before {
    content: '\f005';
}

.benefit-item .fa-clock::before {
    content: '\f017';
}

.benefit-item .fa-shield-alt::before {
    content: '\f3ed';
}

.benefit-item .fa-headphones::before {
    content: '\f025';
}

.benefit-item .fa-globe::before {
    content: '\f0ac';
}

.benefit-item .fa-handshake::before {
    content: '\f2b5';
}

.benefit-item .fa-microphone::before {
    content: '\f130';
}

.benefit-item .fa-compact-disc::before {
    content: '\f51f';
}

.benefit-item .fa-broadcast-tower::before {
    content: '\f519';
}

.benefit-item .fa-award::before {
    content: '\f559';
}

.benefit-text {
    text-align: left;
}

.benefit-text h4 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
    color: var(--text-primary);
}

.benefit-text p {
    color: var(--text-secondary);
    font-size: 0.875rem;
}

.partnership-card {
    background: linear-gradient(135deg, var(--background-white) 0%, rgba(255, 213, 2, 0.05) 100%);
    border-radius: 20px;
    padding: 3rem 2.5rem;
    text-align: center;
    border: 2px solid transparent;
    background-clip: padding-box;
    position: relative;
    transition: var(--transition);
    box-shadow: var(--shadow-lg);
}

.partnership-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 2px;
    background: linear-gradient(135deg, var(--primary-color), transparent, var(--primary-color));
    border-radius: 20px;
    mask: linear-gradient(white 0 0) content-box, linear-gradient(white 0 0);
    mask-composite: subtract;
    -webkit-mask-composite: xor;
    opacity: 0;
    transition: var(--transition);
    pointer-events: none;
}

.partnership-card:hover::before {
    opacity: 1;
}

.partnership-card:hover {
    box-shadow: var(--shadow-xl), var(--shadow-glow);
    background: linear-gradient(135deg, var(--background-white) 0%, rgba(255, 213, 2, 0.1) 100%);
}

.partnership-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.partnership-card p {
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

/* Footer */
/* =========================
   Modern Footer Design (2025)
   ========================= */
.footer {
    background: linear-gradient(135deg, var(--background-dark) 0%, #1a1a1a 100%);
    border-top: 1px solid rgba(255, 213, 2, 0.1);
    padding: 4rem 0 2rem;
    position: relative;
    overflow: hidden;
    color: #ffffff;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, var(--primary-color) 50%, transparent 100%);
}

.footer::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 20% 80%, rgba(255, 213, 2, 0.03) 0%, transparent 50%),
                radial-gradient(circle at 80% 20%, rgba(255, 213, 2, 0.03) 0%, transparent 50%);
    pointer-events: none;
}

/* Main Footer Content */
.footer-content {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 3rem;
    position: relative;
    z-index: 1;
}

/* Brand Section */
.footer-brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    text-align: center;
    max-width: 500px;
}

.footer-logo .logo-text {
    font-size: 1.75rem;
    font-weight: 700;
    color: #ffffff;
    text-decoration: none;
    display: inline-block;
    transition: var(--transition);
}

.footer-logo .logo-text:hover {
    transform: translateY(-2px);
    color: var(--primary-color);
}

.footer-description {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1rem;
    line-height: 1.6;
    margin: 0;
}

/* Social Links */
.footer-social {
    display: flex;
    gap: 1rem;
    margin-top: 0.5rem;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 1.125rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.social-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--primary-gradient);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.social-link:hover {
    color: #ffffff;
    border-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 213, 2, 0.2);
}

.social-link:hover::before {
    opacity: 0.1;
}

.social-link i {
    position: relative;
    z-index: 1;
}



/* Footer Bottom */
.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    z-index: 1;
}

.footer-copyright p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.875rem;
    margin: 0;
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-link {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    font-size: 0.875rem;
    transition: color 0.3s ease;
    position: relative;
}

.footer-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

.footer-link:hover {
    color: rgba(255, 255, 255, 0.9);
}

.footer-link:hover::after {
    width: 100%;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .nav-menu {
        display: none;
    }
    
    .nav-cta {
        display: none;
    }
    
    .revenue-content,
    .experience-content,
    .partnership-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-stats {
        gap: 2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .container {
        padding: 0 15px;
    }
    
    /* Carousel responsive styles */
    .playlists-carousel,
    .artists-carousel {
        -webkit-animation-duration: 40s;
        -moz-animation-duration: 40s;
        -o-animation-duration: 40s;
        animation-duration: 40s;
    }
    
    .playlist-card,
    .artist-card {
        min-width: 280px;
        max-width: 320px;
    }
    
    .carousel-container {
        padding: 2rem 0;
        min-height: 400px;
    }
    
    .carousel-container::before,
    .carousel-container::after {
        width: 50px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .btn {
        padding: 10px 20px;
        font-size: 0.875rem;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    /* Carousel mobile styles */
    .playlists-carousel,
    .artists-carousel {
        -webkit-animation-duration: 30s;
        -moz-animation-duration: 30s;
        -o-animation-duration: 30s;
        animation-duration: 30s;
    }
    
    .playlist-card,
    .artist-card {
        min-width: 260px;
        max-width: 300px;
    }
    
    .playlist-card {
        width: 350px;
        height: 350px;
    }
    
    .artist-card {
        height: 350px;
        width: 350px;
    }
    
    .artist-card:hover {
        -webkit-transform: scale(1.03) translateY(-5px);
        -moz-transform: scale(1.03) translateY(-5px);
        -ms-transform: scale(1.03) translateY(-5px);
        -o-transform: scale(1.03) translateY(-5px);
        transform: scale(1.03) translateY(-5px);
    }
    
    .artist-card .artist-bio-full {
        max-height: 80px;
    }
    
    .artist-bio-container {
        min-height: 40px;
    }
    
    .carousel-container {
        padding: 1.5rem 0;
        min-height: 350px;
    }
    
    .carousel-container::before,
    .carousel-container::after {
        width: 30px;
    }
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Card styles */
.card {
    background: linear-gradient(135deg, var(--background-white) 0%, rgba(255, 213, 2, 0.02) 100%);
    border: 1px solid rgba(255, 213, 2, 0.1);
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    overflow: hidden;
}

.card:hover {
    box-shadow: var(--shadow-md);
    border-color: rgba(255, 213, 2, 0.2);
}

.card-header {
    background: linear-gradient(135deg, var(--background-white) 0%, rgba(255, 213, 2, 0.05) 100%);
    border-bottom: 1px solid rgba(255, 213, 2, 0.1);
    padding: 1.5rem;
}

.card-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0;
}

.card-body {
    padding: 1.5rem;
}

/* Table styles */
.table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 0;
}

.table th {
    background: linear-gradient(135deg, var(--background-white) 0%, rgba(255, 213, 2, 0.05) 100%);
    border-bottom: 2px solid var(--primary-color);
    padding: 1rem 0.75rem;
    font-weight: 600;
    color: var(--text-primary);
    text-align: left;
    white-space: nowrap;
}

.table td {
    padding: 1rem 0.75rem;
    border-bottom: 1px solid var(--border-color);
    vertical-align: middle;
}

.table tbody tr {
    transition: background-color 0.2s ease;
}

.table tbody tr:hover {
    background: linear-gradient(135deg, rgba(255, 213, 2, 0.05) 0%, rgba(255, 213, 2, 0.02) 100%);
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 12px;
}

/* Alerts */
.alerts-fixed {
    position: fixed;
    top: 88px; /* ниже фиксированной шапки */
    right: 16px;
    left: auto;
    z-index: 1100; /* выше шапки (1000) */
    pointer-events: none; /* чтобы клики проходили мимо пустых мест */
}

.alert-container {
    width: calc(100vw - 32px);
    max-width: 420px;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 10px;
    pointer-events: none; /* контейнер не ловит клики */
}

.alert {
    display: flex;
    align-items: flex-start;
    /* justify-content: space-between; */
    gap: 12px;
    padding: 14px 14px 14px 16px;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    background: linear-gradient(135deg, var(--background-white) 0%, rgba(255, 213, 2, 0.03) 100%);
    box-shadow: var(--shadow-sm);
    transition: opacity 0.25s ease, transform 0.25s ease;
    pointer-events: auto; /* карточка кликабельна */
}

.alert-content {
    color: var(--text-primary);
    line-height: 1.5;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.alert-close {
    background: transparent;
    border: none;
    color: var(--text-secondary);
    font-size: 20px;
    line-height: 1;
    cursor: pointer;
    opacity: 0.65;
    padding: 0 4px;
}

.alert-close:hover {
    opacity: 1;
    color: var(--text-primary);
}

.alert--hide {
    opacity: 0;
    transform: translateY(-4px);
}

/* Variants */
.alert--info {
    border-left: 4px solid #3b82f6;
}

.alert--success {
    border-left: 4px solid #10b981;
}

.alert--warning {
    border-left: 4px solid #f59e0b;
}

.alert--error {
    border-left: 4px solid #ef4444;
}

.alert.alert--error {
    justify-content: flex-start;
}

@media (max-width: 768px) {
    .alerts-fixed { top: 76px; right: 12px; }
    .alert-container { gap: 8px; width: calc(100vw - 24px); max-width: 420px; }
    .alert {
        border-radius: 10px;
        padding: 12px 12px 12px 14px;
    }
}

::-webkit-scrollbar-track {
    background: linear-gradient(180deg, var(--background-gray) 0%, rgba(255, 213, 2, 0.1) 100%);
    border-radius: 6px;
}

::-webkit-scrollbar-thumb {
    background: var(--primary-gradient);
    border-radius: 6px;
    border: 2px solid transparent;
    background-clip: content-box;
    box-shadow: inset 0 0 10px rgba(255, 213, 2, 0.3);
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #e6c002 0%, #cc8f00 100%);
    box-shadow: inset 0 0 15px rgba(255, 213, 2, 0.5);
}

::-webkit-scrollbar-corner {
    background: var(--background-gray);
}

.artists-grid {
    /* Ensure artist cards only take height they need and do not stretch with the tallest card */
    align-items: start;
}

/* Mobile Navigation Styles */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    cursor: pointer;
}

.nav-toggle span {
    width: 26px;
    height: 3px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: var(--transition);
}

.nav-toggle.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

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

    .nav-menu {
        display: flex;
        position: fixed;
        top: 0;
        right: -100%;
        width: 75%;
        max-width: 340px;
        height: 100vh;
        flex-direction: column;
        align-items: stretch;
        gap: 1rem;
        padding: 5rem 2rem 2rem;
        background: rgba(255, 255, 255, 0.9);
        backdrop-filter: blur(12px) saturate(1.5);
        box-shadow: var(--shadow-lg);
        overflow: hidden;
        transition: right 0.35s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 999;
        border-left: 4px solid var(--primary-color);
    }

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

    /* Улучшенные стили пунктов меню */
    .nav-menu .nav-link {
        display: block;
        width: 100%;
        font-size: 1.125rem;
        font-weight: 600;
        padding: 0.75rem 0;
        color: var(--text-primary);
        border-bottom: 1px solid rgba(0,0,0,0.05);
    }

    .nav-menu .nav-link:last-child {
        border-bottom: none;
    }

    .nav-menu .nav-link:hover {
        color: var(--primary-color);
    }

    .mobile-cta {
        display: inline-flex;
        margin-top: 1rem;
    }
}

@media (min-width: 769px) {
    .mobile-cta {
        display: none;
    }
}

/* Overlay for mobile nav */
.nav-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.4);
    z-index: 998;
}

.nav-overlay.active {
    display: block;
}

body.menu-open {
    overflow: hidden;
}

/* Footer responsive fix */
@media (max-width: 768px) {
    .footer {
        padding: 3rem 0 1.5rem;
    }
    
    .footer-content {
        gap: 2rem;
    }
    
    .footer-brand {
        max-width: 100%;
    }
    
    .footer-description {
        text-align: center;
    }
    
    .footer-social {
        justify-content: center;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .footer-links {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .footer {
        padding: 2rem 0 1rem;
    }
    
    .footer-content {
        gap: 1.5rem;
    }
    
    .social-link {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 0.5rem;
    }
}

/* Default hide close button */
.nav-close {
    display: none;
}

/* =========================
   Modern Burger Menu Redesign (2025)
   ========================= */
@media (max-width: 768px) {
    /* Reset default button styles */
    .nav-toggle {
        background: none;
        border: none;
        padding: 0;
        line-height: 0;
    }
    .nav-toggle:focus-visible {
        outline: 2px dashed var(--primary-color);
        outline-offset: 4px;
    }

    /* Full-width sliding panel with glass effect */
    .nav-menu {
        right: 0; /* anchor to viewport */
        width: 100%;
        max-width: none;
        padding: 7rem 2rem 3rem;
        transform: translateX(100%);
        transition: transform 0.45s cubic-bezier(0.22, 0.61, 0.36, 1);
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(16px) saturate(1.6);
        -webkit-backdrop-filter: blur(16px) saturate(1.6);
        border-left: none; /* override old border */
        box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    }
    .nav-menu.active {
        transform: translateX(0);
    }

    /* Bigger, touch-friendly links */
    .nav-menu .nav-link {
        font-size: 1.25rem;
        padding: 1rem 0;
        text-align: left;
        border: none;
        position: relative;
    }
    .nav-menu .nav-link + .nav-link {
        border-top: 1px solid rgba(0,0,0,0.05);
    }

    /* CTA button more spacing */
    .mobile-cta {
        margin-top: 2rem;
    }

    /* Close button inside menu */
    .nav-close {
        display: block;
        position: absolute;
        top: 1.25rem;
        right: 1.25rem;
        background: transparent;
        border: none;
        font-size: 2rem;
        color: var(--text-primary);
        cursor: pointer;
        line-height: 1;
        transition: color 0.3s ease;
    }
    .nav-close:hover {
        color: var(--primary-color);
    }

    /* Overlay blur + fade */
    .nav-overlay {
        backdrop-filter: blur(2px);
        -webkit-backdrop-filter: blur(2px);
        opacity: 0;
        transition: opacity 0.3s ease;
    }
    .nav-overlay.active {
        display: block;
        opacity: 1;
    }
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    right: 24px;
    bottom: 24px;
    width: 48px;
    height: 48px;
    background: var(--primary-gradient);
    color: var(--text-primary);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    cursor: pointer;
    box-shadow: var(--shadow-md);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s;
    z-index: 1000;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    box-shadow: var(--shadow-xl), var(--shadow-glow);
}

/* Privacy Policy page styles */
.policy-section {
    padding-top: 15vh; /* больше отступ сверху для заголовка */
    padding-bottom: 8vh;
}

.policy-container {
    max-width: 820px; /* сужаем ширину блока для удобства чтения */
    margin: 0 auto;
}

.policy-container ul {
    margin: 0 0 1rem 1.5rem;
    list-style-type: disc;
}

.policy-container li {
    margin-bottom: 0.5rem;
    line-height: 1.6;
    color: var(--text-secondary);
}

.policy-container p {
    margin-bottom: 1rem;
}

.h1 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-primary);
}

.h2 {
    font-size: 1.875rem;
    font-weight: 600;
    margin-top: 2rem;
    color: var(--text-primary);
}

.a2 {
    color: var(--primary-color);
    text-decoration: underline;
}

.a2:hover {
    text-decoration: none;
}

.footer-offer-page {
    margin-top: 3rem;
    text-align: center;
    font-size: 0.875rem;
    color: var(--text-secondary);
}

/* =========================
   Auth (Login) minimal UI
   ========================= */
.auth-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 96px; /* offset for fixed header */
    padding-bottom: 40px;
}

.auth-bg-shape {
    position: absolute;
    inset: 0;
    background: radial-gradient(60% 60% at 20% 20%, rgba(255,213,2,0.12) 0%, rgba(255,213,2,0) 60%),
                radial-gradient(50% 50% at 80% 80%, rgba(255,213,2,0.08) 0%, rgba(255,213,2,0) 60%);
    pointer-events: none;
    z-index: 0;
}

.auth-bg-shape.alt {
    background: radial-gradient(50% 50% at 80% 20%, rgba(255,213,2,0.08) 0%, rgba(255,213,2,0) 60%);
}

.auth-card {
    max-width: 1000px;
    margin: 0 auto;
    background: linear-gradient(135deg, var(--background-white) 0%, rgba(255, 213, 2, 0.04) 100%);
    border: 1px solid rgba(255, 213, 2, 0.18);
    border-radius: 22px;
    padding: 40px 36px;
    box-shadow: var(--shadow-md);
    position: relative;
    z-index: 1;
}

.auth-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    text-align: center;
}

.auth-subtitle {
    text-align: center;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.auth-form .form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 14px;
}

.form-label {
    font-size: 0.95rem;
    color: var(--text-primary);
    font-weight: 600;
}

/* Inputs from Django will inherit, but add unified look */
.auth-form input[type="text"],
.auth-form input[type="email"],
.auth-form input[type="password"] {
    width: 100%;
    padding: 12px 14px;
    border-radius: 10px;
    border: 1px solid var(--border-color);
    background: #fff;
    color: var(--text-primary);
    outline: none;
    transition: box-shadow .2s ease, border-color .2s ease, background .2s ease;
}

.auth-form input::placeholder {
    color: #9aa3af;
}

.auth-form input:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(255, 213, 2, 0.15);
}

.auth-actions {
    margin-top: 10px;
}

.btn-block {
    width: 100%;
}

.form-errors {
    background: #fff7d1;
    border: 1px solid rgba(255, 213, 2, 0.6);
    color: #8a6d00;
    padding: 10px 12px;
    border-radius: 10px;
    margin-bottom: 12px;
    font-size: 0.95rem;
}

.field-error {
    color: #b45309;
    font-size: 0.875rem;
}

.auth-hint {
    margin-top: 14px;
    text-align: center;
    font-size: 0.95rem;
    color: var(--text-secondary);
}

.auth-hint a {
    color: var(--text-primary);
    text-decoration: none;
    border-bottom: 1px dotted rgba(0,0,0,0.25);
}

.auth-hint a:hover {
    color: var(--primary-color);
    border-bottom-color: var(--primary-color);
}

@media (max-width: 520px) {
    .auth-card {
        margin: 0 10px;
        padding: 22px 8px;
        border-radius: 14px;
    }
    .auth-title { font-size: 1.75rem; }
}

@media (max-width: 768px) {
    .auth-section {
        padding-top: 84px;
        padding-bottom: 24px;
    }
}

/* Demo Form Styles */
.demo-card {
    max-width: 700px;
    margin: 0 auto;
    padding: 40px 50px;
    background: linear-gradient(135deg, var(--background-white) 0%, rgba(255, 213, 2, 0.02) 100%);
    border: 1px solid rgba(255, 213, 2, 0.15);
    border-radius: 24px;
    box-shadow: var(--shadow-lg), 0 0 40px rgba(255, 213, 2, 0.08);
    position: relative;
    z-index: 1;
}

.demo-header {
    margin-bottom: 40px;
    text-align: center;
}

.demo-header .auth-title {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 16px;
    position: relative;
}

.demo-header .auth-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--primary-gradient);
    border-radius: 2px;
}

.demo-header .auth-subtitle {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--text-secondary);
    max-width: 500px;
    margin: 0 auto;
}

.demo-form {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.demo-form .form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 0;
}

.demo-form .form-label {
    font-size: 1rem;
    color: var(--text-primary);
    font-weight: 600;
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    gap: 4px;
}

.demo-form .form-help {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 8px;
    font-style: italic;
    line-height: 1.5;
}

/* Стили для всех типов полей формы */
.demo-form input[type="email"],
.demo-form input[type="text"], 
.demo-form input[type="url"],
.demo-form textarea,
.demo-form .form-input,
.demo-form .form-textarea {
    width: 100%;
    padding: 16px 20px;
    border-radius: 12px;
    border: 2px solid var(--border-color);
    background: #fff;
    color: var(--text-primary);
    outline: none;
    transition: all .3s ease;
    font-family: inherit;
    font-size: 1.05rem;
    line-height: 1.5;
}

.demo-form textarea {
    resize: vertical;
    min-height: 140px;
    line-height: 1.6;
}

.demo-form input::placeholder,
.demo-form textarea::placeholder {
    color: #9ca3af;
    font-style: italic;
}

.demo-form input:focus,
.demo-form textarea:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(255, 213, 2, 0.15);
    background: #fffef7;
    transform: translateY(-1px);
}

.demo-form input:hover:not(:focus),
.demo-form textarea:hover:not(:focus) {
    border-color: #d1d5db;
    box-shadow: var(--shadow-sm);
}

.demo-form .auth-actions {
    margin-top: 32px;
    text-align: center;
}

.demo-form .btn-block {
    padding: 18px 40px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 12px;
    transition: all .3s ease;
    text-transform: none;
    letter-spacing: 0.3px;
}

.demo-form .btn-block:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg), 0 0 25px rgba(255, 213, 2, 0.4);
}

.demo-footer {
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 213, 2, 0.2);
    text-align: center;
}

.demo-footer-text {
    font-size: 0.95rem;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: rgba(255, 213, 2, 0.05);
    padding: 12px 20px;
    border-radius: 8px;
    border: 1px solid rgba(255, 213, 2, 0.1);
}

.demo-footer-text i {
    color: var(--primary-color);
    font-size: 1.1rem;
}

/* Адаптивность для демо формы */
@media (max-width: 768px) {
    .demo-card {
        padding: 30px 25px;
        margin: 0 15px;
        border-radius: 20px;
    }
    
    .demo-header .auth-title {
        font-size: 1.8rem;
    }
    
    .demo-header .auth-subtitle {
        font-size: 1rem;
    }
    
    .demo-form input,
    .demo-form textarea {
        padding: 14px 16px;
        font-size: 1rem;
    }
    
    .demo-form .btn-block {
        width: 100%;
        padding: 16px 30px;
    }
}

@media (max-width: 480px) {
    .demo-card {
        padding: 25px 20px;
        margin: 0 10px;
    }
    
    .demo-header {
        margin-bottom: 30px;
    }
    
    .demo-form {
        gap: 20px;
    }
}

.password-change-card {
    max-width: 1000px;
    margin: 0 auto;
    background: linear-gradient(135deg, var(--background-white) 0%, rgba(255, 213, 2, 0.04) 100%);
    border: 1px solid rgba(255, 213, 2, 0.18);
    border-radius: 22px;
    padding: 40px 65px;
    box-shadow: var(--shadow-md);
    position: relative;
    z-index: 1;
}
@media (max-width: 520px) {
    .password-change-card {
        margin: 0 10px;
        padding: 22px 8px;
        border-radius: 14px;
    }
}
.artist-profile-form {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    padding: 2.5rem 2.5rem 2rem 2.5rem;
    background: none;
    border-radius: 0;
    box-shadow: none;
    border: none;
    /* max-width: 700px; */
    /* margin: 0 auto 2.5rem auto; */
}

.artist-profile-form label {
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.2rem;
    font-size: 1rem;
    letter-spacing: 0.01em;
}

.artist-profile-form input,
.artist-profile-form select,
.artist-profile-form textarea {
    width: 100%;
    padding: 13px 16px;
    border-radius: 10px;
    border: 1.5px solid var(--border-color);
    background: #fff;
    color: var(--text-primary);
    font-size: 1.05rem;
    outline: none;
    transition: box-shadow .2s, border-color .2s, background .2s;
    margin-bottom: 0.1rem;
    box-shadow: none;
    font-family: inherit;
    resize: vertical;
}

.artist-profile-form input:focus,
.artist-profile-form select:focus,
.artist-profile-form textarea:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(255, 213, 2, 0.13);
    background: #fffbe6;
}

.artist-profile-form input:disabled,
.artist-profile-form select:disabled,
.artist-profile-form textarea:disabled {
    background: #f3f4f6;
    color: #bdbdbd;
    cursor: not-allowed;
}

.artist-profile-form .field-error,
.artist-profile-form .errorlist {
    color: #e53e3e;
    font-size: 0.97em;
    margin-top: 0.1rem;
    margin-bottom: 0.2rem;
    list-style: none;
    padding-left: 0;
}

.artist-profile-form small {
    color: var(--text-secondary);
    font-size: 0.97em;
    margin-top: 0.1rem;
}

.artist-profile-form button[type="submit"] {
    width: 180px;
    margin-top: 1rem;
    background: var(--primary-gradient);
    color: var(--text-primary);
    border: none;
    border-radius: 8px;
    font-weight: 700;
    font-size: 1.1rem;
    padding: 13px 0;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    align-self: flex-end;
}

.artist-profile-form button[type="submit"]:hover {
    background: linear-gradient(135deg, #e6c002 0%, #cc8f00 100%);
    box-shadow: var(--shadow-xl), var(--shadow-glow);
}

@media (max-width: 600px) {
    .artist-profile-form {
        padding: 1rem 0.5rem 1rem 0.5rem;
    }
    .artist-profile-form button[type="submit"] {
        width: 100%;
        align-self: stretch;
    }
}
.important-news-bar {
    position: relative;
    z-index: 1200;
    margin-bottom: 1.5rem;
    animation: fadeInNews 0.7s;
}
.important-news-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.2rem;
    background: linear-gradient(90deg, #fffbe6 0%, #fff 100%);
    border-left: 6px solid var(--primary-color);
    box-shadow: var(--shadow-md);
    border-radius: 12px;
    padding: 1.1rem 2.5rem 1.1rem 1.5rem;
    min-height: 56px;
    position: relative;
}
.important-news-content strong {
    color: var(--text-on-primary);
}
#important-news-close {
    background: none;
    border: none;
    color: var(--text-secondary);
    font-size: 1.5rem;
    margin-left: 1.5rem;
    cursor: pointer;
    opacity: 0.7;
    position: absolute;
    right: 1.2rem;
    top: 50%;
    transform: translateY(-50%);
    transition: opacity 0.2s;
}
#important-news-close:hover {
    opacity: 1;
    color: var(--primary-color);
}
@keyframes fadeInNews {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}
@media (max-width: 700px) {
    .important-news-content {
        flex-direction: column;
        align-items: flex-start;
        padding: 1rem 1rem 1rem 1rem;
        font-size: 0.98rem;
    }
    #important-news-close {
        right: 0.7rem;
        top: 0.7rem;
        transform: none;
    }
}
.release-title-compact {
    display: inline-block;
    max-width: 220px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    vertical-align: bottom;
}

/* =========================
   Fallback для старых браузеров без поддержки CSS анимаций
   ========================= */

/* Детектор поддержки CSS анимаций */
.no-cssanimations .playlists-carousel,
.no-cssanimations .artists-carousel {
    animation: none !important;
    -webkit-animation: none !important;
    -moz-animation: none !important;
    -o-animation: none !important;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch; /* плавная прокрутка на iOS */
    scrollbar-width: thin;
    scrollbar-color: var(--primary-color) transparent;
}

/* Скрываем скроллбар на webkit браузерах для fallback карусели */
.no-cssanimations .playlists-carousel::-webkit-scrollbar,
.no-cssanimations .artists-carousel::-webkit-scrollbar {
    height: 6px;
}

.no-cssanimations .playlists-carousel::-webkit-scrollbar-track,
.no-cssanimations .artists-carousel::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.1);
    border-radius: 3px;
}

.no-cssanimations .playlists-carousel::-webkit-scrollbar-thumb,
.no-cssanimations .artists-carousel::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 3px;
}

/* Убираем hover эффекты для старых браузеров */
.no-cssanimations .playlists-carousel:hover,
.no-cssanimations .artists-carousel:hover {
    animation-play-state: running !important;
}

/* Альтернативный способ показа карточек для старых браузеров */
.no-cssanimations .carousel-container::before,
.no-cssanimations .carousel-container::after {
    display: none;
}

/* Дополнительные fallback стили для IE и очень старых браузеров */
@media screen and (max-width: 0) {
    /* Этот медиа-запрос будет игнорироваться большинством браузеров, 
       но может помочь IE понять, что нужно применять fallback стили */
}

/* Fallback для браузеров без поддержки flexbox */
.no-flexbox .playlists-carousel,
.no-flexbox .artists-carousel {
    display: block;
    white-space: nowrap;
}

.no-flexbox .playlist-card,
.no-flexbox .artist-card {
    display: inline-block;
    vertical-align: top;
    white-space: normal;
    margin-right: 2rem;
}

/* Улучшенная поддержка старых версий Android Browser */
.playlist-card,
.artist-card {
    -webkit-transform-style: preserve-3d;
    transform-style: preserve-3d;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

/* Дополнительная оптимизация для старых браузеров */
@supports not (animation: none) {
    .playlists-carousel,
    .artists-carousel {
        animation: none !important;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
}