/* Общий сброс и базовые стили */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    overflow-y: auto;
}
html::-webkit-scrollbar {
    width: 8px;
}
html::-webkit-scrollbar-track {
    background: #1a1a1a;
}
html::-webkit-scrollbar-thumb {
    background: #666;
    border-radius: 4px;
}

body {
    font-family: 'Inter', 'Helvetica Neue', sans-serif;
    background: #1a1a1a;
    color: #d0d0d0;
    overflow-x: hidden;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

/* Контейнер */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 0px;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* Хедер */
.tech-header {
    background: rgba(20, 20, 20, 0.9);
    backdrop-filter: blur(12px);
    padding: 12px 16px;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.header-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    font-size: 22px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    background: linear-gradient(3deg, #fff, #717171);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    transition: transform 0.2s ease;
}

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

.burger {
    display: none;
    background: rgba(255, 255, 255, 0.05);
    border: none;
    cursor: pointer;
    padding: 8px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    transition: background 0.2s ease;
}

.burger:hover {
    background: rgba(255, 255, 255, 0.1);
}

.burger span {
    display: block;
    width: 24px;
    height: 2px;
    background: #00eaff;
    margin: 5px 0;
    border-radius: 1px;
    transition: all 0.3s ease;
}

.burger.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

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

.burger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* Сайдбар */
aside {
    width: 280px;
    background: rgba(25, 25, 25, 0.95);
    backdrop-filter: blur(12px);
    position: fixed;
    top: 64px;
    bottom: 80px;
    z-index: 999;
    border-right: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 0 12px 12px 0;
    transition: left 0.3s ease;
}

aside.active {
    display: block;
}

.sidebar-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow-y: auto;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.sidebar-wrapper::-webkit-scrollbar {
    display: none;
}

.sidebar-content {
    padding: 20px;
}

.sidebar-section {
    margin-bottom: 24px;
}

.sidebar-section h2 {
    font-size: 18px;
    font-weight: 600;
    color: #00eaff;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

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

.sidebar-section li {
    margin: 8px 0;
}

.sidebar-section a {
    color: #d0d0d0;
    text-decoration: none;
    font-size: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 12px;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.sidebar-section a:hover {
    color: #fff;
    background: rgba(0, 234, 255, 0.1);
}

.sidebar-section a.active {
    background: rgba(0, 234, 255, 0.15);
    color: #fff;
}

.sidebar-section a i {
    font-size: 16px;
    color: #ff00cc;
}

.sidebar-section.loaded {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

/* Основной контент */
main, section {
    flex-grow: 1;
    padding: 24px;
    margin-top: 64px;
    margin-left: 0;
    margin-right: 0;
    background: rgba(22, 22, 22, 0.98);
    border-radius: 12px;
    margin-bottom: 80px;
    max-width: calc(1400px - 280px);background: rgba(30, 30, 30, 0.9);
}

.breadcrumbs {
    font-size: 14px;
    color: #a0a0a0;
    margin-bottom: 16px;
    padding: 8px 12px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 6px;
}

.breadcrumbs a {
    color: #00eaff;
    text-decoration: none;
    transition: color 0.2s ease;
}

.breadcrumbs a:hover {
    color: #66f0ff;
}

.breadcrumbs span {
    margin: 0 6px;
}

/* Блок песни */
.song {
    position: relative;
    background: rgb(25 25 25);
    padding: 12px 16px;
    margin: 12px 0;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: all 0.2s ease;
}

.song:hover {
    background: rgba(35, 35, 35, 0.95);
    transform: translateY(-2px);
}

.song-info {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.song-link {
    text-decoration: none;
    display: block;
}

.song-title {
    color: #fff;
    font-size: 18px;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: color 0.2s ease;
}

.song-title:hover {
    color: #00eaff;
}

.song-artist {
    color: #a0a0a0;
    font-size: 14px;
    margin-top: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.song-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 5px; /* Увеличили для видимости */
    background: rgba(255, 255, 255, 0.1);
    border-radius: 0 0 10px 10px;
    opacity: 0; /* Скрыт по умолчанию */
    transition: opacity 0.2s ease;
    cursor: pointer;
    pointer-events: none; /* Отключаем взаимодействие по умолчанию */
}

.song-progress.active {
    opacity: 1; /* Показываем только для активной песни */
    pointer-events: auto; /* Включаем взаимодействие */
}

.song-progress-bar {
    height: 100%;
    background: linear-gradient(90deg, #152b2f, #ffffff);
    width: 0;
     
    transition: width 0.1s linear;
}

.song-duration {
    color: #a0a0a0;
    font-size: 14px;
    margin: 0 12px;
}

.song button {
    background: rgba(255, 255, 255, 0.05);
    border: none;
    padding: 0;
    color: #fff;
    cursor: pointer;
    border-radius: 50%;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    margin-left: 12px;
    transition: all 0.2s ease;
}

 

.repeat-btn {
    background: rgba(255, 255, 255, 0.05);
    font-size: 16px;
    border: none;
    border-radius: 50%;
    width: 48px;
    height: 48px;
    color: #fff; /* Белый цвет текста по умолчанию */
    cursor: pointer;
    transition: all 0.2s ease;
}

 

.repeat-btn.disabled {
    opacity: 0.5;
    pointer-events: none;
}

/* Удаляем или комментируем переопределения для .song .repeat-btn */
.song .repeat-btn {
    background: rgba(255, 255, 255, 0.05);
    font-size: 16px;
}

 

/* Страница песни */
.song-page {
    background: rgba(30, 30, 30, 0.9);
    padding: 24px;
    border-radius: 12px;
    margin: 20px 0;
    min-height: 400px;
}

.song-header {
    margin-bottom: 24px;
}

.song-header h1 {
    font-size: 28px;
    font-weight: 700;
    color: #fff;
    margin: 0;
}

.song-header .artist {
    font-size: 16px;
    color: #a0a0a0;
    margin-top: 6px;
}

.song-player {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-bottom: 24px;
    padding: 16px;
    border-radius: 10px;
    background: rgb(25 25 25);
}

.song-cover {
    width: 100px;
    height: 100px;
    border-radius: 10px;
    object-fit: cover;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.custom-player {
    flex-grow: 1;
    display: flex;
    align-items: center;
    justify-content: space-around;
    gap: 12px;
}

.custom-player button {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
    font-size: 18px;
    transition: all 0.2s ease;
}

.custom-player button:hover {
    background: rgba(0, 234, 255, 0.2);
}

 

.repeat-btn.active {
   background: #c7c7c7;
    color: #1d1d1d;
}

 

 

.repeat-btn.disabled {
    opacity: 0.5;
    pointer-events: none;
}

.download-btn {
    background: rgba(255, 255, 255, 0.05);
}

.download-btn:hover {
    background: rgba(0, 234, 255, 0.2);
}

.like-dislike {
    display: flex;
    gap: 12px;
}

.like-btn,
.dislike-btn {
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
    width: 48px;
    height: 48px;
    font-size: 18px;
}

.like-btn:hover,
.dislike-btn:hover {
    background: rgba(0, 234, 255, 0.2);
}

.like-btn.active {
    background: #00eaff;
    color: #1a1a1a;
}

.dislike-btn.active {
    background: #ff00cc;
    color: #1a1a1a;
}

.progress-container {
    flex-grow: 1;
    display: flex;
    align-items: center;
    gap: 12px;
}

.progress-bar {
    width: 100%;
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    position: relative;
    cursor: pointer;
}

.progress {
    height: 100%;
    background: linear-gradient(90deg, #152b2f, #ffffff);
    width: 0;
    border-radius: 2px;
    transition: width 0.1s linear;
}

.time {
    font-size: 14px;
    color: #a0a0a0;
}

.song-page .song-info {
    padding: 0;
    margin: 0;
}

.song-page .song-info .song-seo {
    font-size: 16px;
    color: #b0b0b0;
    line-height: 1.6;
    margin-bottom: 20px;
    padding: 12px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 8px;
}

.song-page .song-info ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex
;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: flex-start;
}

.song-page .song-info li {
    display: flex;
    gap: 2px;
    font-size: 15px;
    color: #b0b0b0;
    padding: 5px 5px;
    border-radius: 8px;
    transition: background 0.2s ease;
    background-color: #2d2d2d;
    margin: 5px;
    align-items: center;
}

.song-page .song-info li:hover {
    background: rgba(255, 255, 255, 0.05);
}

.song-page .song-info i {
    color: #ff00cc;
    font-size: 16px;
    width: 20px;
    text-align: center;
}

.song-page .song-info .label {
    color: #fff;
    font-weight: 500;
    margin-right: 8px;
}

.song-info span {
    color: #ff00cc;
    margin-right: 6px;
}

.song-tags {
    margin: 16px 0;
    padding: 12px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.03);
}

.song-tags h3 {
    color: #00eaff;
    font-size: 18px;
    font-weight: 600;
    margin: 0 0 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.song-tags .tag-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.song-tags .tag {
    color: #d0d0d0;
    text-decoration: none;
    font-size: 14px;
    padding: 6px 14px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    transition: all 0.2s ease;
}

.song-tags .tag:hover {
    color: #fff;
    background: #ff00cc;
}

.song-description {
    font-size: 16px;
    color: #b0b0b0;
    line-height: 1.6;
}

.share-buttons {
    display: flex;
    gap: 12px;
    margin-top: 24px;
}

.share-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    text-decoration: none;
    color: #fff;
    font-size: 20px;
    transition: all 0.2s ease;
}

.share-btn:hover {
    transform: scale(1.05);
}

.vk {
    background: #4680C2;
}

.telegram {
    background: #2AABEE;
}

.whatsapp {
    background: #25D366;
}

.ok {
    background: #EE8208;
}

.related-songs {
    margin-top: 32px;
}

.related-songs h2 {
    font-size: 20px;
    font-weight: 600;
    color: #00eaff;
    margin-bottom: 16px;
}

.related-songs .song {
     
}

/* Заголовки */
h2 {
    color: #00eaff;
    font-size: 20px;
    font-weight: 600;
    margin: 0 0 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Футер */
footer {
    background: rgba(20, 20, 20, 0.9);
    backdrop-filter: blur(12px);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 64px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    z-index: 1000;
}
 
span#current-song {
    font-size: 14px;
    color: #d0d0d0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 60%;
}

.volume-control {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #d0d0d0;
}

.volume-control i {
    font-size: 18px;
}

.volume-bar {
    width: 120px;
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    position: relative;
    cursor: pointer;
}

.volume {
    height: 100%;
    background: linear-gradient(90deg, #152b2f, #ff00cc);
    width: 100%;
    border-radius: 2px;
    transition: width 0.1s ease;
}

/* Кнопка Load More */
#load-more {
    display: block;
    margin: 32px auto;
    padding: 12px 32px;
    background: rgba(255, 255, 255, 0.05);
    border: none;
    border-radius: 24px;
    color: #fff;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.2s ease;
}

#load-more:hover {
    background: #00eaff;
    color: #1a1a1a;
}

#load-more.loading::after {
    content: " Загрузка...";
}
     
/* Пагинация */
.pagination {
       margin: 20px 0;
    text-align: center;
    display: flex
;
    flex-wrap: wrap;
    justify-content: center;
    align-items: flex-end;
}

.pagination a {
    display: inline-block;
    padding: 10px 16px;
    margin: 4px;
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.pagination a:hover {
    background: #00eaff;
    color: #1a1a1a;
}

.pagination a.active {
    background: #ff00cc;
    color: #fff;
}

/* Анимация подсветки */
.song-highlight {
    animation: highlight 1.5s ease-out forwards;
}

@keyframes highlight {
    0% {
        background: rgba(0, 234, 255, 0.15);
        box-shadow: 0 0 12px rgba(0, 234, 255, 0.3);
    }
    100% {
        background: rgba(30, 30, 30, 0.9);
        box-shadow: none;
    }
}

/* Медиа-запросы */
@media (max-width: 430px) {

.song-info {
        max-width: 180px;
    }
}
@media (max-width: 767px) {
    .tech-header {
        padding: 10px 12px;
        height: 56px;
    }

    .logo {
        font-size: 20px;
    }

    .burger {
        display: block;
    }

    aside {
        width: 85%;
        max-width: 320px;
        left: -100%;
        top: 56px;
        bottom: 80px;
        display: none;
    }

    aside.active {
        left: 0;
    }

    main, section {
        padding: 10px;
        margin-top: 56px;
        margin-left: 0;
    }

    .song {
        padding: 12px;
        margin: 8px -4px;
        width: calc(100% + 8px);
    }

    .song-info {
          
    }

    .song-title {
        font-size: 16px;
    }

    .song-artist {
        font-size: 14px;
    }

    .song-duration {
        font-size: 14px;
        margin: 0 8px;
    }

    .song button {
        width: 48px;
        height: 48px;
        font-size: 18px;
        margin-left: 8px;
    }

    .song-page {
        padding: 16px;
        margin: 12px 0;
        min-height: 320px;
    }

    .song-header h1 {
        font-size: 24px;
    }

    .song-header .artist {
        font-size: 14px;
    }

    .song-player {
        flex-direction: column;
        align-items: flex-start;
        padding: 12px;
        gap: 16px;
    }

    .song-cover {
        width: 100px;
        height: 100px;
    }

    .custom-player {
        width: 100%;
        flex-wrap: wrap;
        gap: 12px;
    }

    .custom-player button {
        width: 48px;
        height: 48px;
    }

    .play-pause {
        width: 56px;
        height: 56px;
    }

    .progress-container {
        width: 100%;
        order: -1;
    }

    .progress-bar {
        height: 4px;
    }

    .time {
        font-size: 14px;
    }

    footer {
        padding: 10px 12px;
        height: 56px;
    }

    .volume-bar {
        width: 100px;
    }
}

@media (min-width: 768px) and (max-width: 1024px) {
    .container {
        padding: 0 20px;
    }

    aside {
        display: block;
        width: 240px;
        top: 64px;
        bottom: 80px;
    }

    main, section {
        margin-left: 260px;
        padding: 20px;
    }

    .song {
        padding: 12px 16px;
    }

    .song-info {
         
    }

    .song-player {
        gap: 20px;
    }

    .song-cover {
        width: 100px;
        height: 100px;
    }

    .custom-player {
        width: 100%;
        flex-wrap: wrap;
        gap: 12px;
    }
}

@media (min-width: 1025px) {
    aside {
        display: block;
        width: 280px;
        top: 64px;
        bottom: 80px;
    }

    main, section {
        margin-left: 300px;
        padding: 24px;
        margin-bottom: 80px;
    }
}







        .sidebar-section a.active { background: rgba(0, 212, 255, 0.2); color: #fff; }
        .sidebar-section.loaded { opacity: 1; transition: opacity 0.3s ease; transform: translateY(0); }
        .song-highlight { animation: highlight 2s ease-out forwards; }
        @keyframes highlight { 0% { background-color: rgba(0, 212, 255, 0.2); box-shadow: 0 0 10px rgba(0, 212, 255, 0.5); } 100% { background-color: transparent; box-shadow: none; } }
        .download-btn { position: relative; transition: opacity 0.2s ease; }
        .download-btn.loading::after { content: ''; position: absolute; width: 16px; height: 16px; top: 50%; left: 50%; transform: translate(-50%, -50%); border: 2px solid #fff; border-top: 2px solid transparent; border-radius: 50%; animation: spin 1s linear infinite; }
        @keyframes spin { 0% { transform: translate(-50%, -50%) rotate(0deg); } 100% { transform: translate(-50%, -50%) rotate(360deg); } }
        a { color: #d0d0d0; text-decoration: none; }
        .sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); border: 0; }
        .song-stopped { animation: stopped 1s ease-out forwards; }
        @keyframes stopped { 0% { background-color: rgba(255, 0, 0, 0.2); } 100% { background-color: transparent; } }
        .play-pause.loading::after {
            content: '';
            position: absolute;
            width: 16px;
            height: 16px;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            border: 2px solid #fff;
            border-top: 2px solid transparent;
            border-radius: 50%;
            animation: spin 1s linear infinite;
        }
         
        .song.playing { background: rgba(0, 212, 255, 0.1); } 
		
		
		/* Блок "А вы знали что?" */
/* Блок "А вы знали что?" */
.did-you-know {
    background: rgba(35, 35, 35, 0.95); /* Чуть светлее, чем фон main */
    border-radius: 12px; /* Скругление как у других элементов */
    padding: 16px 20px; /* Больше воздуха внутри */
    margin: 0 0 20px 0; /* Отступ снизу для разделения с article */
    
    position: relative;
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.did-you-know:hover {
    transform: translateY(-2px); /* Лёгкий подъём при наведении */
    
}

.did-you-know h3 {
    font-size: 18px;
    font-weight: 600;
    color: #00eaff; /* Голубой акцент */
    margin: 0 0 10px 0; /* Уменьшен отступ снизу */
    display: flex;
    align-items: center;
    gap: 6px; /* Меньше расстояние между иконкой и текстом */
}

.did-you-know h3 i {
    color: #ff00cc; /* Розовый акцент */
    font-size: 18px; /* Фиксированный размер */
}

.did-you-know p {
    font-size: 15px; /* Компактный текст */
    color: #d0d0d0; /* Основной текст сайта */
    line-height: 1.5; /* Чуть меньше для компактности */
    margin: 0;
}

/* Адаптивность */
@media (max-width: 767px) {
    .did-you-know {
        padding: 12px 16px;
        margin: 0 0 16px 0;
    }

    .did-you-know h3 {
        font-size: 16px;
        margin-bottom: 8px;
    }

    .did-you-know p {
        font-size: 14px;
    }
}

@media (min-width: 768px) and (max-width: 1024px) {
    .did-you-know {
        padding: 14px 18px;
    }
}	 
.buffered {
    position: absolute;
    height: 100%;
    top: 0;
    left: 0;
    background: rgba(255, 255, 255, 0.3); /* Полупрозрачная зона загрузки */
    z-index: 1;
}


