/* ——— СБРОС, ПЕРЕМЕННЫЕ, БАЗА ——— */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

body {
    background-color: #0b0e12;
    background-image: radial-gradient(circle at 30% 10%, rgba(60, 80, 120, 0.1) 0%, transparent 40%), radial-gradient(circle at 80% 70%, rgba(180, 130, 200, 0.08) 0%, transparent 45%);
    color: #f0f2f5;
    line-height: 1.5;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
}

/* ——— ФИКСИРОВАННАЯ ШАПКА ——— */
.sticky-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(11, 14, 18, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 0.6rem 1.5rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.hero {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex: 0 1 auto;
}

.photo-frame {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(255, 200, 150, 0.4);
    box-shadow: 0 8px 15px -5px rgba(0, 0, 0, 0.6);
    transition: 0.25s ease;
    background: #2a2f36;
    cursor: pointer;
}

    .photo-frame:hover {
        border-color: #f0b27a;
        transform: scale(1.02);
    }

.hero-text h1 {
    font-size: 1.5rem;
    font-weight: 600;
    letter-spacing: -0.02em;
    background: linear-gradient(to right, #ffffff, #d6dce5);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 0.1rem;
}

.hero-text p {
    font-size: 0.75rem;
    color: #a8b3c0;
    font-weight: 300;
}

/* ——— ДЕСКТОПНОЕ МЕНЮ ——— */
.desktop-nav {
    display: block;
    flex: 2;
    margin-left: 2rem;
    margin-right: 1rem;
}

    .desktop-nav ul {
        display: flex;
        list-style: none;
        gap: 1.5rem;
        justify-content: space-between;
        max-width: 900px;
        width: 100%;
        margin: 0 auto;
    }

@media (min-width: 1400px) {
    .desktop-nav ul {
        max-width: 1100px;
        gap: 2rem;
    }
}

@media (max-width: 1100px) {
    .desktop-nav ul {
        gap: 1rem;
    }

        .desktop-nav ul li a {
            font-size: 0.9rem;
        }
}

.desktop-nav ul li {
    position: relative;
}

    .desktop-nav ul li a {
        color: #e0e5ec;
        text-decoration: none;
        font-size: 1rem;
        padding: 0.5rem 0;
        transition: 0.2s;
        display: flex;
        align-items: center;
        gap: 0.3rem;
        white-space: nowrap;
        font-weight: 500;
    }

        .desktop-nav ul li a:hover {
            color: #f0b27a;
        }

        .desktop-nav ul li a i {
            font-size: 0.8rem;
            transition: transform 0.2s;
        }

    .desktop-nav ul li:hover a i {
        transform: rotate(180deg);
    }

/* ——— СТИЛЬ ДЛЯ МЕНЮ ПОЛЬЗОВАТЕЛЯ ——— */
.user-menu {
    position: relative;
}

.user-menu-trigger {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    padding: 0.2rem 0.6rem;
    background: rgba(240, 180, 120, 0.1);
    border-radius: 30px;
    border: 1px solid rgba(240, 180, 120, 0.3);
    transition: 0.2s;
    max-width: 160px;
}

    .user-menu-trigger:hover {
        background: rgba(240, 180, 120, 0.2);
        border-color: #f0b27a;
    }

    .user-menu-trigger i {
        color: #f0b27a;
        font-size: 0.9rem;
    }

.user-name {
    font-weight: 500;
    color: #f0b27a;
    font-size: 0.8rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 90px;
    line-height: 1.2;
}

.user-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    background: rgba(18, 22, 28, 0.98);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 12px;
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: 0.2s;
    z-index: 1001;
    margin-top: 0.5rem;
    box-shadow: 0 8px 25px rgba(0,0,0,0.5);
}

.user-menu:hover .user-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.user-dropdown li {
    list-style: none;
    padding: 0;
}

.user-dropdown a {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.8rem 1.5rem;
    color: #e0e5ec;
    text-decoration: none;
    transition: 0.2s;
    font-size: 0.95rem;
    white-space: nowrap;
}

    .user-dropdown a:hover {
        background: rgba(240,180,120,0.1);
        color: #f0b27a;
        padding-left: 2rem;
    }

    .user-dropdown a i {
        width: 20px;
        color: #f0b27a;
    }

/* ——— ВЫПАДАЮЩЕЕ МЕНЮ ДЛЯ ПУНКТОВ ——— */
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: rgba(18, 22, 28, 0.98);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 0.5rem 0;
    min-width: 220px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1001;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
    pointer-events: none;
    display: flex;
    flex-direction: column;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
}

.dropdown-menu li {
    width: 100%;
    list-style: none;
}

    .dropdown-menu li a {
        padding: 0.7rem 1.5rem;
        font-size: 0.95rem;
        width: 100%;
        white-space: nowrap;
        transition: 0.2s;
        display: flex;
        align-items: center;
        gap: 0.8rem;
    }

        .dropdown-menu li a i {
            font-size: 1rem;
            width: 20px;
            color: #f0b27a;
        }

        .dropdown-menu li a:hover {
            background: rgba(240, 180, 120, 0.1);
            padding-left: 2rem;
        }

/* ——— БУРГЕР-МЕНЮ ——— */
.burger-menu {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 30px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
}

    .burger-menu span {
        width: 30px;
        height: 3px;
        background: #f0b27a;
        border-radius: 10px;
        transition: all 0.3s linear;
    }

/* ——— БОКОВОЕ МЕНЮ ——— */
.side-menu {
    position: fixed;
    top: 0;
    right: -350px;
    width: 320px;
    height: 100vh;
    background: rgba(18, 22, 28, 0.98);
    backdrop-filter: blur(10px);
    z-index: 2000;
    transition: right 0.3s ease;
    display: flex;
    flex-direction: column;
    border-left: 1px solid rgba(255, 255, 255, 0.1);
    overflow-y: auto;
}

    .side-menu.open {
        right: 0;
    }

.side-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

    .side-menu-header h3 {
        color: #f0b27a;
        font-size: 1.3rem;
    }

.close-menu {
    background: transparent;
    border: none;
    color: #b0c2d1;
    font-size: 1.5rem;
    cursor: pointer;
}

    .close-menu:hover {
        color: #f0b27a;
    }

.side-menu-list {
    list-style: none;
    padding: 1rem 0;
    flex: 1;
}

    .side-menu-list li {
        padding: 0.5rem 1.5rem;
    }

    .side-menu-list .menu-section {
        color: #f0b27a;
        font-size: 0.85rem;
        text-transform: uppercase;
        letter-spacing: 1px;
        padding: 1rem 1.5rem 0.25rem;
        font-weight: 600;
    }

    .side-menu-list a {
        color: #e0e5ec;
        text-decoration: none;
        display: flex;
        align-items: center;
        gap: 1rem;
        font-size: 1rem;
        padding: 0.5rem 0;
        transition: 0.2s;
    }

        .side-menu-list a:hover {
            color: #f0b27a;
            transform: translateX(-5px);
        }

        .side-menu-list a i {
            width: 24px;
            color: #f0b27a;
        }

.side-menu-footer {
    padding: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #6f7a84;
    font-size: 0.8rem;
    text-align: center;
}

/* ——— ОВЕРЛЕЙ ——— */
.menu-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1999;
}

    .menu-overlay.active {
        display: block;
    }

/* ——— МОДАЛЬНЫЕ ОКНА ——— */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 3000;
    overflow-y: auto;
}

.modal-content {
    position: relative;
    background: rgba(20, 25, 32, 0.98);
    backdrop-filter: blur(10px);
    margin: 5% auto;
    padding: 2rem;
    width: 90%;
    max-width: 800px;
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #f0f2f5;
    animation: modalFade 0.3s;
}

@keyframes modalFade {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modal-content h2 {
    color: #f0b27a;
    margin-bottom: 1.5rem;
    font-size: 2rem;
}

.modal-content h3 {
    color: #f0b27a;
    margin: 1.5rem 0 0.5rem;
    font-size: 1.3rem;
}

.modal-content p, .modal-content ul {
    margin-bottom: 1rem;
    line-height: 1.7;
    color: #b0c2d1;
}

.modal-content ul {
    padding-left: 1.5rem;
}

.modal-content li {
    margin-bottom: 0.5rem;
}

.modal-content strong {
    color: #f0f2f5;
}

.photo-modal {
    max-width: 600px;
    text-align: center;
    background: transparent;
    border: none;
}

.enlarged-photo {
    width: 100%;
    height: auto;
    border-radius: 24px;
    border: 3px solid rgba(255, 200, 150, 0.4);
}

.close-modal {
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    color: #b0c2d1;
    font-size: 2rem;
    cursor: pointer;
    transition: 0.2s;
    z-index: 3010;
    line-height: 1;
}

    .close-modal:hover {
        color: #f0b27a;
    }

/* ——— КНОПКА НАЗАД ——— */
.back-link {
    margin-bottom: 2rem;
}

    .back-link a {
        color: #f0b27a;
        text-decoration: none;
        font-weight: 500;
        display: inline-flex;
        align-items: center;
        gap: 0.5rem;
        transition: 0.2s;
        font-size: 1rem;
        padding: 0.5rem 1rem;
        background: rgba(240, 180, 120, 0.1);
        border-radius: 30px;
        border: 1px solid rgba(240, 180, 120, 0.2);
    }

        .back-link a:hover {
            background: rgba(240, 180, 120, 0.2);
            color: #ffd2a5;
            border-color: #f0b27a;
            transform: translateX(-5px);
        }

        .back-link a i {
            font-size: 0.9rem;
        }

/* ——— ПЛЕЕР ——— */
.player-container.full-width {
    width: 100%;
    background: rgba(18, 22, 28, 0.7);
    backdrop-filter: blur(5px);
    border-radius: 40px;
    padding: 0.6rem 1.2rem;
    border: 1px solid rgba(255, 255, 255, 0.07);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

#globalAudio {
    width: 100%;
    border-radius: 30px;
    background-color: rgba(0,0,0,0.3);
    height: 36px;
}

    #globalAudio::-webkit-media-controls-panel {
        background: linear-gradient(to right, #262e38, #1a1f26);
        border-radius: 30px;
    }

.custom-controls {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    margin: 0.4rem 0;
    flex-wrap: wrap;
}

.control-btn {
    background: transparent;
    border: 1px solid rgba(255,255,255,0.2);
    color: white;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    font-size: 0.85rem;
    cursor: pointer;
    transition: 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .control-btn:hover {
        background: rgba(240,180,120,0.2);
        border-color: #f0b27a;
        color: #f0b27a;
    }

#playPauseBtn {
    background: #f0b27a;
    color: #0b0e12;
    border: none;
}

    #playPauseBtn:hover {
        background: #f3b37c;
    }

.volume-control {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    color: #b0c2d1;
    margin-left: auto;
}

    .volume-control input[type="range"] {
        width: 60px;
        height: 4px;
        -webkit-appearance: none;
        background: rgba(255,255,255,0.2);
        border-radius: 2px;
        outline: none;
    }

        .volume-control input[type="range"]::-webkit-slider-thumb {
            -webkit-appearance: none;
            width: 10px;
            height: 10px;
            border-radius: 50%;
            background: #f0b27a;
            cursor: pointer;
        }

.now-playing {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    margin-top: 0.3rem;
    padding-top: 0.3rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    font-size: 0.9rem;
}

    .now-playing img {
        width: 40px;
        height: 40px;
        border-radius: 6px;
        object-fit: cover;
    }

/* ——— ОСНОВНОЙ КОНТЕНТ ——— */
.main-content {
    margin-top: 160px;
    flex: 1;
}

.container {
    max-width: 1440px;
    margin: 0 auto;
    width: 100%;
    padding: 0 1.5rem 2rem 1.5rem;
}

.cabinet-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem 2rem 1.5rem;
}

/* ——— СЕТКА КАРТОЧЕК (ГЛАВНАЯ) ——— */
.songs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 2rem 1.5rem;
}

.song-card {
    background: rgba(20, 25, 32, 0.6);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-radius: 24px;
    padding: 1.5rem 1rem 1.5rem;
    transition: all 0.25s cubic-bezier(0.2, 0, 0, 1);
    border: 1px solid rgba(255, 255, 255, 0.03);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    box-shadow: 0 12px 25px -12px rgba(0,0,0,0.6);
    cursor: pointer;
    position: relative;
}

    .song-card:hover {
        background: rgba(30, 36, 45, 0.9);
        border-color: rgba(255, 200, 150, 0.2);
        transform: translateY(-6px);
        box-shadow: 0 25px 30px -12px #00000080;
    }

.card-cover-container {
    width: 140px;
    height: 140px;
    margin-bottom: 1.2rem;
}

.card-cover {
    width: 140px;
    height: 140px;
    border-radius: 16px;
    object-fit: cover;
    box-shadow: 0 12px 25px -8px black;
    background: linear-gradient(145deg, #2b3139, #171c21);
    transition: 0.2s;
    border: 1px solid rgba(255,215,150,0.2);
}

.song-card:hover .card-cover {
    border-color: rgba(255,200,120,0.5);
    transform: scale(1.02);
}

.card-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #f2f6fc;
    line-height: 1.4;
    width: 100%;
    white-space: normal;
    word-break: break-word;
    padding: 0 0.2rem;
}

.card-buttons {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    width: 100%;
    margin-top: auto;
}

.play-icon, .info-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(240, 180, 120, 0.9);
    color: #0b0e12;
    border: none;
    border-radius: 40px;
    padding: 0.6rem 1.4rem;
    font-weight: 600;
    font-size: 0.95rem;
    gap: 8px;
    transition: 0.15s;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 6px 14px rgba(200, 130, 50, 0.2);
    width: 100%;
    cursor: pointer;
}

.info-icon {
    background: rgba(100, 120, 140, 0.8);
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.3);
}

    .play-icon i, .info-icon i {
        font-size: 0.9rem;
    }

.song-card:hover .play-icon {
    background: #f3b37c;
    border-color: rgba(255, 245, 200, 0.6);
    transform: scale(1.02);
}

.song-card:hover .info-icon {
    background: rgba(120, 140, 160, 0.9);
    transform: scale(1.02);
}

.no-cover {
    display: flex;
    align-items: center;
    justify-content: center;
    background: radial-gradient(circle at 30% 30%, #37424e, #1b2027);
    color: rgba(255,255,255,0.5);
    font-size: 2.8rem;
    border-radius: 16px;
    width: 140px;
    height: 140px;
}

    .no-cover i {
        filter: drop-shadow(0 4px 6px black);
    }

.playing-now {
    background: linear-gradient(145deg, #28303b, #1b2128);
    border: 1px solid #f0b27a80;
    box-shadow: 0 0 0 2px rgba(240, 180, 120, 0.2);
}

/* ——— СТИЛИ ДЛЯ ЛИЧНОГО КАБИНЕТА ——— */
.welcome-section {
    margin-bottom: 2rem;
    padding: 2rem;
    background: rgba(20, 25, 32, 0.8);
    border-radius: 24px;
    border: 1px solid rgba(255,255,255,0.05);
}

    .welcome-section h1 {
        font-size: 2rem;
        margin-bottom: 0.5rem;
        background: linear-gradient(to right, #ffffff, #d6dce5);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
    }

.user-name-display {
    color: #f0b27a;
    font-size: 1.2rem;
    font-weight: 600;
}

.development-badge {
    display: inline-block;
    background: rgba(240, 180, 120, 0.2);
    border: 1px solid #f0b27a;
    color: #f0b27a;
    padding: 0.2rem 1rem;
    border-radius: 40px;
    font-size: 0.8rem;
    margin-left: 1rem;
}

.cabinet-nav {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding-bottom: 1rem;
    flex-wrap: wrap;
}

.cabinet-tab {
    background: transparent;
    border: none;
    color: #b0c2d1;
    font-size: 1rem;
    padding: 0.5rem 1.5rem;
    cursor: pointer;
    transition: 0.2s;
    border-radius: 30px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

    .cabinet-tab:hover {
        color: #f0b27a;
        background: rgba(240,180,120,0.1);
    }

    .cabinet-tab.active {
        background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
        color: white;
    }

.cabinet-section {
    background: rgba(20, 25, 32, 0.6);
    border-radius: 24px;
    padding: 2rem;
    margin: 2rem 0;
    border: 1px solid rgba(255,255,255,0.05);
}

.section-title {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

    .section-title h2 {
        color: #f0b27a;
        font-size: 1.5rem;
    }

.soon-badge {
    background: rgba(255, 170, 0, 0.2);
    border: 1px solid #ffaa00;
    color: #ffaa00;
    padding: 0.2rem 0.8rem;
    border-radius: 40px;
    font-size: 0.7rem;
    font-weight: 600;
    margin-left: 1rem;
}

.profile-field {
    margin-bottom: 1.5rem;
}

    .profile-field label {
        display: block;
        margin-bottom: 0.5rem;
        color: #b0c2d1;
        font-size: 0.9rem;
    }

    .profile-field input {
        width: 100%;
        padding: 0.8rem 1rem;
        background: rgba(0,0,0,0.3);
        border: 1px solid rgba(255,255,255,0.1);
        border-radius: 12px;
        color: white;
        font-size: 1rem;
    }

        .profile-field input:focus {
            outline: none;
            border-color: #f0b27a;
        }

/* ——— ТАРИФЫ ——— */
.tariff-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.tariff-card {
    background: rgba(20, 25, 32, 0.8);
    border-radius: 24px;
    padding: 1.5rem;
    border: 1px solid rgba(255,255,255,0.05);
    transition: 0.3s;
}

    .tariff-card:hover {
        border-color: #f0b27a;
        transform: translateY(-5px);
    }

    .tariff-card.current {
        border: 2px solid #f0b27a;
        background: rgba(240, 180, 120, 0.1);
    }

.tariff-name {
    font-size: 1.3rem;
    font-weight: 600;
    color: #f0b27a;
    margin-bottom: 0.5rem;
}

.tariff-price {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

    .tariff-price small {
        font-size: 0.9rem;
        color: #b0c2d1;
        font-weight: 400;
    }

.tariff-features {
    list-style: none;
    padding: 0;
    margin: 1rem 0;
}

    .tariff-features li {
        padding: 0.3rem 0;
        color: #b0c2d1;
        font-size: 0.9rem;
        display: flex;
        align-items: center;
        gap: 0.5rem;
    }

    .tariff-features i {
        color: #48c774;
        font-size: 0.8rem;
    }

        .tariff-features i.fa-times {
            color: #ff6b6b;
        }

.tariff-badge {
    display: inline-block;
    background: rgba(240, 180, 120, 0.2);
    border: 1px solid #f0b27a;
    border-radius: 40px;
    padding: 0.2rem 0.8rem;
    font-size: 0.7rem;
    margin-top: 0.5rem;
}

/* ——— СТРАНИЦЫ ПОЭТОВ ——— */
.poet-page {
    padding: 2rem;
    background: rgba(20, 25, 32, 0.8);
    backdrop-filter: blur(8px);
    border-radius: 32px;
    border: 1px solid rgba(255, 255, 255, 0.07);
}

.poet-header {
    display: flex;
    gap: 3rem;
    align-items: center;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.poet-photo {
    width: 250px;
    height: 250px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid rgba(240, 180, 120, 0.3);
    background: #2a3038;
}

.poet-bio {
    flex: 1;
}

.poet-name {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    background: linear-gradient(to right, #ffffff, #d6dce5);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.poet-description {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #b0c2d1;
}

.poet-songs {
    margin-top: 2rem;
}

    .poet-songs h2 {
        color: #f0b27a;
        margin-bottom: 1.5rem;
    }

.songs-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1rem;
}

.song-item {
    padding: 1rem;
    background: rgba(30, 36, 45, 0.5);
    border-radius: 16px;
    border-left: 4px solid #f0b27a;
    transition: 0.2s;
    cursor: pointer;
}

    .song-item:hover {
        background: rgba(40, 46, 55, 0.8);
        transform: translateX(5px);
    }

    .song-item h3 {
        color: white;
        margin-bottom: 0.5rem;
    }

    .song-item p {
        color: #b0c2d1;
        font-size: 0.9rem;
    }

/* ——— СТРАНИЦЫ ТРЕКА ——— */
.song-info-container {
    display: flex;
    gap: 3rem;
    align-items: flex-start;
    background: rgba(20, 25, 32, 0.8);
    backdrop-filter: blur(8px);
    border-radius: 32px;
    padding: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.07);
    box-shadow: 0 20px 35px -10px black;
}

.song-info-cover {
    flex: 0 0 300px;
}

    .song-info-cover .cover {
        width: 100%;
        height: auto;
        aspect-ratio: 1/1;
        border-radius: 24px;
        object-fit: cover;
        border: 2px solid rgba(255,200,150,0.3);
        background: #2a3038;
    }

.song-info-details {
    flex: 1;
    min-width: 0;
}

.title-artist h1 {
    font-size: 2.2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    background: linear-gradient(to right, #ffffff, #d6dce5);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.title-artist p {
    font-size: 1.3rem;
    color: #b0c2d1;
    margin-bottom: 1.5rem;
}

.info-section {
    margin: 1.5rem 0;
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 1.5rem;
}

.info-row {
    display: flex;
    margin-bottom: 1rem;
    line-height: 1.6;
}

.info-label {
    width: 140px;
    color: #a8b3c0;
    font-weight: 400;
}

.info-value {
    flex: 1;
    color: white;
}

.lyrics-container {
    max-height: 400px;
    overflow-y: auto;
    background: rgba(0,0,0,0.3);
    border-radius: 20px;
    padding: 1.5rem;
    border: 1px solid rgba(255,255,255,0.05);
}

.lyrics {
    white-space: pre-wrap;
    font-size: 1rem;
    line-height: 1.7;
}

/* ——— АВТОРИЗАЦИЯ ——— */
.auth-modal {
    max-width: 400px;
}

.auth-tabs {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding-bottom: 1rem;
}

.auth-tab {
    background: transparent;
    border: none;
    color: #b0c2d1;
    font-size: 1.1rem;
    padding: 0.5rem 1rem;
    cursor: pointer;
    transition: 0.2s;
    position: relative;
}

    .auth-tab.active {
        color: #f0b27a;
    }

        .auth-tab.active::after {
            content: '';
            position: absolute;
            bottom: -1rem;
            left: 0;
            width: 100%;
            height: 2px;
            background: #f0b27a;
        }

.auth-form {
    display: none;
}

    .auth-form.active {
        display: block;
    }

    .auth-form h2 {
        color: #f0b27a;
        margin-bottom: 1.5rem;
        font-size: 1.5rem;
    }

.form-group {
    margin-bottom: 1.5rem;
}

    .form-group label {
        display: block;
        margin-bottom: 0.5rem;
        color: #b0c2d1;
        font-size: 0.9rem;
    }

    .form-group input {
        width: 100%;
        padding: 0.8rem 1rem;
        background: rgba(255,255,255,0.05);
        border: 1px solid rgba(255,255,255,0.1);
        border-radius: 8px;
        color: white;
        font-size: 1rem;
        transition: 0.2s;
    }

        .form-group input:focus {
            outline: none;
            border-color: #f0b27a;
            background: rgba(255,255,255,0.1);
        }

.auth-submit {
    width: 100%;
    padding: 1rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: 0.2s;
}

    .auth-submit:hover {
        opacity: 0.9;
        transform: translateY(-2px);
    }

.auth-message {
    margin-top: 1rem;
    text-align: center;
}

.error-message {
    color: #ff6b6b;
    padding: 0.5rem;
    background: rgba(255,107,107,0.1);
    border-radius: 4px;
}

/* ——— УВЕДОМЛЕНИЯ ——— */
.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 1rem 1.5rem;
    background: rgba(20, 25, 32, 0.98);
    backdrop-filter: blur(10px);
    border-left: 4px solid;
    border-radius: 8px;
    color: white;
    z-index: 5000;
    transform: translateX(120%);
    transition: transform 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

    .notification.show {
        transform: translateX(0);
    }

.notification-success {
    border-left-color: #48c774;
}

.notification-error {
    border-left-color: #ff6b6b;
}

.notification-info {
    border-left-color: #f0b27a;
}

/* ——— ЗАГРУЗЧИК ——— */
.loading-spinner {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 2px solid rgba(240,180,120,0.3);
    border-radius: 50%;
    border-top-color: #f0b27a;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* ——— СКРОЛЛБАР ——— */
::-webkit-scrollbar {
    width: 7px;
}

::-webkit-scrollbar-track {
    background: #0f1318;
}

::-webkit-scrollbar-thumb {
    background: #454f5c;
    border-radius: 6px;
}

    ::-webkit-scrollbar-thumb:hover {
        background: #5a6572;
    }

/* ——— ФУТЕР ——— */
.site-footer {
    background: rgba(11, 14, 18, 0.95);
    backdrop-filter: blur(10px);
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding: 2rem 1.5rem;
    margin-top: auto;
}

.footer-content {
    max-width: 1440px;
    margin: 0 auto;
    text-align: center;
    color: #6f7a84;
    font-size: 0.9rem;
}

    .footer-content i {
        color: #f0b27a;
        margin-right: 0.3rem;
    }

.footer-copyright {
    margin-top: 0.5rem;
    font-size: 0.8rem;
    color: #4f5a64;
}

/* ——— АДАПТАЦИЯ ——— */
@media (max-width: 768px) {
    .desktop-nav {
        display: none;
    }

    .burger-menu {
        display: flex;
    }

    .song-info-container {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .song-info-cover {
        flex: 0 0 250px;
        width: 250px;
    }

    .info-row {
        flex-direction: column;
        gap: 0.2rem;
    }

    .info-label {
        width: auto;
    }

    .poet-header {
        flex-direction: column;
        text-align: center;
    }

    .cabinet-nav {
        justify-content: center;
    }

    .tariff-grid {
        grid-template-columns: 1fr;
    }

    .site-footer {
        padding: 1.5rem 1rem;
    }
}

@media (max-width: 640px) {
    .main-content {
        margin-top: 200px;
    }

    .hero h1 {
        font-size: 1.2rem;
    }

    .hero p {
        font-size: 0.7rem;
    }

    .photo-frame {
        width: 50px;
        height: 50px;
    }

    .songs-grid {
        grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
        gap: 1.2rem;
    }

    .card-cover-container,
    .card-cover,
    .no-cover {
        width: 120px;
        height: 120px;
    }

    .card-title {
        font-size: 1rem;
    }

    .play-icon, .info-icon {
        padding: 0.4rem 1rem;
        font-size: 0.85rem;
    }

    .back-link a {
        font-size: 0.9rem;
        padding: 0.4rem 0.8rem;
    }

    .welcome-section h1 {
        font-size: 1.5rem;
    }

    .user-name-display {
        font-size: 1rem;
    }

    .footer-content {
        font-size: 0.8rem;
    }
}

@media (max-width: 420px) {
    .songs-grid {
        grid-template-columns: 1fr 1fr;
        gap: 1rem;
    }

    .card-cover-container,
    .card-cover,
    .no-cover {
        width: 100%;
        height: auto;
        aspect-ratio: 1/1;
    }
}
