html {
    box-sizing: border-box;
}

*,
*::after,
*::before {
    box-sizing: inherit;
}

body {
    font-family: "Montserrat-Regular";
    background-color: #292929;
    color: #fff;
    font-size: 16px;
    margin: 0;
    padding: 0;
}

body.modal-open {
    overflow: hidden;
}

a {
    text-decoration: none;
    color: #fff;
}

section {
    content-visibility: auto;
    contain-intrinsic-size: 600px;
}

.link__int {
    color: #00AACC;
    text-decoration: underline;
    text-underline-offset: 3px;
    font-weight: 500;
}

.link__int:hover,
.link__int:focus {
    color: #0092B0;
}

.link__int:visited {
    color: #0082A0;
}

.header {
    padding: 20px 0;
    border-bottom: 1px solid #4c4c4c;
    position: relative;
    z-index: 1000;
}

.header__inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: nowrap;
}

ul {
    list-style: none;
}

.menu__list {
    display: flex;
    gap: 20px;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 15px;
}

.menu__list-link {
    cursor: pointer;
}

.menu__list-link:hover {
    text-decoration: underline;
    text-underline-offset: 7px;
    text-decoration-color: #00DDFF;
}

.burger {
    width: 30px;
    height: 22px;
    display: none;
    flex-direction: column;
    justify-content: space-between;
    cursor: pointer;
}

.burger span {
    display: block;
    width: 100%;
    height: 4px;
    background: #fff;
    border-radius: 2px;
    transition: 0.3s;
}

.menu-close {
    display: none;
    position: absolute;
    top: 15px;
    right: 20px;
    background: none;
    border: none;
    font-size: 30px;
    color: #fff;
    cursor: pointer;
    z-index: 1000;
    line-height: 1;
}

.menu-close:hover {
    color: #00DDFF;
}

.menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease;
    z-index: 998;
}

.menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

footer {
    padding: 0px 60px;
    margin-top: 65px;
    background-color: #191919;
    height: 80px;
    width: 100%;
    display: flex;
    justify-content: end;
    align-items: center;
}

footer address {
    display: flex;
    gap: 20px;
}

.modal {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.65);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: 0.3s ease;
    backdrop-filter: blur(4px);
    z-index: 999;
    overflow-x: hidden;
}

.modal.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    width: 90%;
    max-width: 420px;
    background: #292929;
    border-radius: 16px;
    padding: 25px 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    color: white;
    transform: translateY(20px);
    transition: 0.3s ease;
    position: relative;
}

.modal.active .modal-content {
    transform: translateY(0);
}

.modal-title {
    font-size: 24px;
    margin-bottom: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    padding-bottom: 10px;
    letter-spacing: .5px;
    text-align: center;
}

.modal-close {
    position: absolute;
    right: 15px;
    top: 15px;
    cursor: pointer;
    font-size: 24px;
    color: #9ca3af;
    transition: 0.2s;
}

.modal-close:hover {
    color: white;
    transform: scale(1.1);
}

.modal-tracks {
    list-style: none;
    margin-top: 10px;
    padding: 0;
    max-height: 220px;
    overflow-y: auto;
}

.modal-tracks li {
    padding: 12px 15px;
    margin-bottom: 8px;
    background: #1f1f1f;
    border-radius: 10px;
    cursor: pointer;
    transition: 0.2s ease;
    font-size: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-tracks li::after {
    content: "▶";
    font-size: 14px;
    opacity: 0.5;
}

.modal-tracks li:hover {
    background: #333333;
}

#audioPlayer {
    width: 100%;
    margin: 15px 0 10px 0;
    outline: none;
    border-radius: 5px;
}

.audio-player {
    margin-top: 15px;
    background: #1f1f1f;
    padding: 14px 18px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.play-btn {
    background: none;
    border: none;
    color: #00DDFF;
    font-size: 28px;
    font-weight: 600;
    cursor: pointer;
    padding: 6px 0;
    width: 45px;
    text-align: center;
    border-radius: 10px;
    transition: 0.2s ease;
    user-select: none;
}

.timeline {
    flex: 1;
    height: 6px;
    background: #3a3a3a;
    border-radius: 5px;
    position: relative;
    cursor: pointer;
    overflow: hidden;
}

.progress {
    height: 100%;
    width: 0%;
    background: #00DDFF;
    border-radius: 5px;
}

.time {
    color: #ccc;
    font-size: 12px;
    min-width: 40px;
    text-align: center;
}

.modal-tracks::-webkit-scrollbar {
    width: 6px;
}

.modal-tracks::-webkit-scrollbar-track {
    background: transparent;
}

.modal-tracks::-webkit-scrollbar-thumb {
    background-color: #00DDFF;
    border-radius: 10px;
}

.modal-tracks::-webkit-scrollbar-thumb:hover {
    background-color: #00bcd4;
}

.modal-tracks {
    scrollbar-width: thin;
    scrollbar-color: #00DDFF transparent;
}

@media (max-width: 992px) {
    .burger {
        display: flex;
    }

    .menu {
        position: fixed;
        top: 0;
        left: -250px;
        width: 250px;
        height: 100%;
        background: #191919;
        padding: 50px 20px;
        flex-direction: column;
        gap: 20px;
        transition: 0.3s;
        z-index: 999;
        overflow-y: auto;
    }

    .menu.active {
        left: 0;
    }

    .menu__list {
        flex-direction: column;
        gap: 20px;
    }

    .menu-close {
        display: block;
    }
}

@media (max-width: 768px) {
    footer {
        padding: 0 20px;
        justify-content: center;
    }
}