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

body {
    font-family: 'Montserrat', sans-serif;
    background-color: #e3f2fd;
    color: #0a1224;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 5%;
    background: rgba(227, 242, 253, 0.9);
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(10px);
}

.header-profile {
    display: flex;
    align-items: center;
    gap: 15px;
}

.header-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #e51d3b;
    box-shadow: 0 0 15px rgba(229, 29, 59, 0.4);
}

.header-info {
    display: flex;
    flex-direction: column;
}

.header-name {
    font-size: 20px;
    font-weight: 800;
    letter-spacing: 1px;
    color: #0a1224;
}

.header-location {
    color: #555555;
    font-size: 12px;
    font-weight: 600;
    margin-top: 2px;
}

.header-location i {
    color: #e51d3b;
    margin-right: 5px;
}

nav a {
    color: #0a1224;
    text-decoration: none;
    margin-left: 20px;
    font-weight: 600;
    transition: color 0.3s ease;
}

nav a:hover {
    color: #e51d3b;
}

.main-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 18px 4%;
}

.music-release {
    width: 100%;
    max-width: 1320px;
}

.releases-grid {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.section-title {
    text-align: center;
    margin-bottom: 10px;
    font-size: 22px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.section-note {
    text-align: center;
    margin-bottom: 12px;
    color: #555555;
    font-size: 12px;
    line-height: 1.4;
}

.player-card {
    display: flex;
    background: #ffffff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    border: 1px solid #bbdefb;
}

.artwork {
    width: 400px;
    flex-shrink: 0;
}

.artwork img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    background-color: #162445; /* Фолбэк, если фото еще нет */
}

.track-details {
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 100%;
}

.track-name {
    font-size: 28px;
    margin-bottom: 5px;
}

.artist-name {
    color: #555555;
    font-size: 16px;
    margin-bottom: 30px;
}

.audio-controls {
    margin-bottom: 30px;
}

.waveform {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.progress-bar {
    flex: 1;
    height: 6px;
    background: #333;
    border-radius: 3px;
    cursor: pointer;
    position: relative;
}

.progress {
    height: 100%;
    background: #e51d3b;
    border-radius: 3px;
    width: 0%;
    position: relative;
    transition: width 0.1s linear;
}

.progress::after {
    content: '';
    position: absolute;
    right: -6px;
    top: -5px;
    width: 16px;
    height: 16px;
    background: #fff;
    border-radius: 50%;
    box-shadow: 0 0 5px rgba(0,0,0,0.5);
}

.buttons-row {
    display: flex;
    justify-content: center;
}

.play-btn {    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #e51d3b;
    color: #ffffff;
    border: none;
    font-size: 20px;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: transform 0.2s ease, background 0.3s;
    padding-left: 4px; /* Для визуального центрирования иконки play */
}

.play-btn:hover {
    transform: scale(1.05);
    background: #fc2d4d;
}

.download-section h3 {
    font-size: 14px;
    color: #888;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.download-buttons {
    display: flex;
    gap: 15px;
}

.btn {
    padding: 12px 20px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.download-btn {
    background: #bbdefb;
    color: #0a1224;
}

.download-btn:hover {
    background: #e51d3b;
}

.download-btn.outline {
    background: transparent;
    border: 1px solid #233866;
}

.download-btn.outline:hover {
    border-color: #e51d3b;
    color: #e51d3b;
    background: rgba(229, 29, 59, 0.1);
}

footer {
    text-align: center;
    padding: 12px 20px;
    background: #bbdefb;
    border-top: 1px solid #90caf9;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.socials a {
    color: #555555;
    font-size: 18px;
    margin: 0 8px;
    transition: color 0.3s;
}

.socials a:hover {
    color: #e51d3b;
}

.releases-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 6px;
}

.compact-track {
    display: grid;
    grid-template-columns: 34px 28px minmax(0, 1fr) auto;
    align-items: center;
    background: #ffffff;
    padding: 6px 8px;
    border-radius: 10px;
    gap: 4px 8px;
    border: 1px solid #bbdefb;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
    transition: transform 0.2s;
}
.compact-track:hover {
    transform: translateY(-1px);
    border-color: #e51d3b;
}

.compact-thumb {
    width: 32px;
    height: 32px;
    border-radius: 5px;
    object-fit: cover;
    flex-shrink: 0;
    background: #162445;
}

.play-btn-small {    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #e51d3b;
    color: #ffffff;
    border: none;
    font-size: 10px;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: transform 0.2s ease, background 0.3s;
    padding-left: 2px;
    flex-shrink: 0;
}
.play-btn-small:hover {
    transform: scale(1.1);
    background: #fc2d4d;
}

.track-core {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.compact-title {
    font-size: 12px;
    font-weight: 700;
    line-height: 1.1;
    white-space: normal;
    overflow: visible;
    text-overflow: clip;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.compact-waveform {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 8px;
    color: #555555;
}

.compact-waveform .progress-bar {
    height: 4px;
}

.compact-downloads {
    display: flex;
    gap: 4px;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: flex-end;
}

.dl-badge {
    background: #bbdefb;
    color: #0a1224;
    padding: 4px 6px;
    border-radius: 4px;
    text-decoration: none;
    font-size: 8px;
    font-weight: 600;
    transition: background 0.3s;
    white-space: nowrap;
}
.dl-badge:hover {
    background: #e51d3b;
}
.dl-badge.outline {
    background: transparent;
    border: 1px solid #233866;
}
.dl-badge.outline:hover {
    border-color: #e51d3b;
    color: #e51d3b;
    background: rgba(229, 29, 59, 0.1);
}

@media (max-width: 768px) {
    .header {
        padding: 8px 3%;
        gap: 8px;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }

    .header-left {
        flex: 0;
    }

    .header-right {
        display: none;
    }

    .header-profile {
        gap: 8px;
    }

    .header-avatar {
        width: 46px;
        height: 46px;
    }

    .logo-title {
        font-size: 22px;
        letter-spacing: 3px;
        margin: 0;
    }

    .main-content {
        padding: 10px 3% 8px;
    }

    .section-title {
        margin-bottom: 6px;
        font-size: 18px;
    }

    .section-note {
        display: none;
    }

    .compact-track {
        grid-template-columns: 28px 24px minmax(0, 1fr) auto;
        padding: 5px 6px;
        gap: 4px 6px;
    }

    .compact-thumb {
        width: 28px;
        height: 28px;
    }

    .compact-waveform {
        width: 100%;
        gap: 3px;
    }

    .compact-title {
        font-size: 11px;
    }

    .play-btn-small {
        width: 24px;
        height: 24px;
    }

    .dl-badge {
        padding: 3px 5px;
        font-size: 7px;
    }

    .compact-downloads {
        justify-content: flex-start;
    }

    footer {
        padding: 8px 12px;
        gap: 6px;
    }
}

.header-left, .header-right {
    flex: 1;
    display: flex;
    align-items: center;
}

.header-right {
    justify-content: flex-end;
}

.header-center {
    display: flex;
    justify-content: center;
}

.logo-title {
    font-size: 32px;
    font-weight: 900;
    color: #0a1224;
    letter-spacing: 5px;
    text-shadow: 0 0 15px rgba(229, 29, 59, 0.4);
    margin: 0 20px;
}

.header-contact {
    color: #0a1224;
    text-decoration: none;
    font-size: 16px;
    font-weight: 700;
    transition: color 0.3s;
    white-space: nowrap;
}

.header-contact:hover {
    color: #e51d3b;
}

.header-contact i {
    color: #e51d3b;
    margin-right: 6px;
}

@media (max-width: 768px) {
    .header {
        flex-direction: column;
        gap: 15px;
    }
    .header-left, .header-right {
        justify-content: center;
    }
    .logo-title {
        font-size: 26px;
    }
}


