/* ---------------------- GLOBAL COLORS ---------------------- */

body {
    background-color: #f4f4f4;
    color: #000;
    font-family: "Segoe UI", Tahoma, sans-serif;
    padding-top: 110px;
}

section {
    padding: 60px 0;
    scroll-margin-top: 80px;
}

/* ---------------------- HEADER ---------------------- */

.burger {
    display: none !important;
}

.radio-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 999;
    background: #ffffff;
    border-bottom: 2px solid #f0f0f0;
    transition: box-shadow 0.3s ease;
}

.radio-header.scrolled {
    box-shadow: 0 4px 22px rgba(0, 0, 0, 0.12);
}

.header-container {
    max-width: 1330px;
    margin: 0 auto;
    padding-left: 20px;
    padding-right: 20px;
}

.header-logo {
    height: 31px;
}

/* PLAYER CORE */
.radio-player {
    max-width: 500px;
    background: #fff;
    border: 1px solid #dedede;
    border-radius: 40px;
    height: 80px;
    display: flex;
    align-items: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

/* PLAY BUTTON */
.player-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: none;
    background: #ff2a2a;
    color: #fff;
    font-size: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: 0.2s;
}

.player-btn:hover {
    background: #c30000;
}

.player-btn i.bi-play-fill{
    padding-left: 4px;
}


/* TEXT INFO */
.player-info .player-title {
    font-size: 14px;
    font-weight: 600;
    color: #222;
    line-height: 1;
}

.player-info .player-sub {
    font-size: 12px;
    color: #777;
    margin-top: 2px;
    width: 180px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* VOLUME ICON */
.volume-icon {
    border: none;
    background: transparent;
    font-size: 23px;
    /*margin-right: 6px;*/
    cursor: pointer;
    color: #444;
    transition: 0.2s;
}

.volume-icon:hover {
    color: #ed0000;
}

.volume-slider {
    /*width: 80px;*/
    accent-color: #ff2a2a;
    cursor: pointer;
    width: 100%;
}

#muteBtn{
    margin-bottom: 3px;
}

/* MENU */
.menu-link a {
    color: #333;
    font-weight: 500;
    font-size: 16px;
    text-decoration: none;
}

.menu-link a:hover {
    color: #ff2a2a;
}

.lang-switch-inline {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
}

.lang-option {
    font-size: 15px;
    color: #000;
    text-decoration: none;
}

.lang-option:hover {
    opacity: 1;
}

.lang-option.active {
    opacity: 1;
    font-weight: 600;
    text-decoration: underline;
}


/* ---------------------- SLIDER ---------------------- */
.section-slider {
    background: #f4f4f4;
    padding: 40px 0;
}

.section-slider img {
    width: 100%;
    height: 600px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.08);
}

.custom-next, .custom-prev {
    color: #ff2a2a;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: #ffffff;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
}

.custom-next:hover, .custom-prev:hover {
    background: #ff2a2a;
    color: #fff;
}

.custom-next::after, .custom-prev::after {
    font-size: 20px;
}

.custom-prev {
    left: 10px;
}

.custom-next {
    right: 10px;
}

.swiper-pagination {
    bottom: 10px !important;
}

.swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background: #D9D9D9;
    opacity: 1;
}

.swiper-pagination-bullet-active {
    background: #ff2a2a;
}

/* ---------------------- TRACKS PLAYED ---------------------- */
.section-played-tracks {
    background: #ffffff;
    padding: 50px 0;
}

.track-item {
    display: flex;
    align-items: center;
    border: 1px solid #e5e5e5;
    border-radius: 12px;
    padding: 16px 20px;
    gap: 16px;
    position: relative;
    flex: 1;
}

.track-item::before {
    content: "";
    position: absolute;
    left: 0;
    top: 12px;
    bottom: 12px;
    width: 4px;
    border-radius: 4px;
    background: #ff2a2a;
}

.track-time {
    font-size: 15px;
    font-weight: 700;
    color: #ff2a2a;
    min-width: 50px;
}

.track-title {
    font-size: 16px;
    font-weight: 700;
    color: #222;
    line-height: 1.2;
}

.track-song {
    font-size: 14px;
    color: #777;
    line-height: 1.2;
}

.section-played-tracks .row > [class^="col"] {
    display: flex;
}

.track-title,
.track-song {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}



/* ---------------------- ABOUT RADIO ---------------------- */

#about h2 {
    color: #ff2a2a;
    font-weight: 700;
}

/* ---------------------- PROMO CARDS ---------------------- */
.section-promo-cards {
    background-color: #f4f4f4;
    padding: 40px 0;
}

.promo-card {
    background: #fff;
    border-radius: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.promo-card img {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
}

.promo-body {
    padding: 18px 16px 22px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.promo-body h5 {
    font-size: 17px;
    font-weight: 700;
    margin-bottom: auto;
}

.promo-link-wrapper {
    margin-top: auto;
    display: flex;
}

.promo-link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-weight: 600;
    font-size: 15px;
    color: #000;
    text-decoration: none;
    cursor: pointer;
    margin-top: 15px;
}

.promo-link i {
    font-size: 16px;
}

.promo-link:hover {
    color: #ff2a2a;
}

/* ---------------------- LISTEN EVERYWHERE ---------------------- */
.section-listen-us {
    background: #ffffff;
}

.listen-card {
    background: #ffffff;
    padding: 26px 12px;
    border-radius: 8px;
    text-align: center;
    border: 1px solid #e6e6e6;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.05);
}

.listen-icon {
    width: 75px;
    height: 75px;
    border-radius: 18px;
    background: #fafafa;
    border: 1px solid #ddd;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 36px;
    color: #ff2a2a;
    margin: 0 auto 12px;
    transition: 0.25s;
}

.listen-text {
    font-size: 16px;
    font-weight: 600;
    color: #222;
    margin-top: 10px;
    margin-bottom: 4px;
}

.listen-sub {
    font-size: 13px;
    color: #777;
    line-height: 1.3;
    margin: 0;
}

/* ---------------------- LATEST NEWS ---------------------- */
.news-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    transition: 0.25s;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.news-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.news-card .p-3 {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.news-card h5 {
    font-weight: 700;
    min-height: 48px;
    line-height: 1.25;
    margin-bottom: 8px;
}

.news-card p.text-secondary {
    flex-grow: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-link-wrapper {
    margin-top: auto;
    display: flex;
}

.news-link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-weight: 600;
    color: #000;
    text-decoration: none;
    cursor: pointer;
}

.news-link:hover {
    color: #ff2a2a;
}

/* ---------------------- CONTACTS ---------------------- */
.section-contacts {
    background-color: #ffffff;
    padding: 40px 0;
}

.section-contacts iframe {
    display: block;
    width: 100%;
    height: 100%;
    border-radius: 1rem;
}

.social-links i {
    color: #686868;
}

.contact-icon i {
    color: #686868;
}

.contact-item p {
    margin-bottom: 0;
}

/* ---------------------- SUBSCRIBE ---------------------- */
.subscribe-section {
    background: #f4f4f4;
    padding: 35px 0;
    color: #fff;
}

.subscribe-title {
    font-size: 20px;
    font-weight: 600;
    color: #000000;
}

/* form */
.subscribe-form {
    max-width: 600px;
    margin: 0 auto;
}

/* input */
.subscribe-input {
    flex: 1;
    border: none;
    padding: 12px 16px;
    border-radius: 8px 0 0 8px;
    color: #000000;
    outline: none;
}

.subscribe-input::placeholder {
    color: #cfcfcf;
}

/* button */
.subscribe-btn {
    background: #ff2a2a;
    border: none;
    padding: 12px 22px;
    font-size: 13px;
    font-weight: 700;
    color: #fff;
    border-radius: 0 8px 8px 0;
    cursor: pointer;
    transition: 0.25s ease;
    white-space: nowrap;
}

.subscribe-btn:hover {
    background-color: #a70000;
}

/* ---------------------- ABOUT ---------------------- */
.section-about {
    background: #1a1a1a;
    color: #d9d9d9;
    padding: 60px 0;
}

/* ---------------------- FOOTER ---------------------- */

footer {
    background: #232323;
    color: #d9d9d9;
    padding: 50px 0;
}

.footer-menu {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 30px;
    justify-content: center;
    flex-wrap: wrap;
}

.footer-menu li a {
    color: #d9d9d9;
    font-size: 15px;
    text-decoration: none;
    transition: 0.2s;
    font-weight: 500;
}

.footer-menu li a:hover {
    color: #ff2a2a;
}

.footer-contact i {
    color: #ff2a2a;
    margin-right: 6px;
}

.footer-social a {
    font-size: 20px;
    color: #fff;
    margin: 0 8px;
    transition: 0.2s;
}

.footer-social a:hover {
    color: #ff2a2a;
}

.footer-copyright {
    font-size: 14px;
    color: #aaa;
    margin-top: 16px;
}

#NotiflixNotifyWrap {
    left: 50% !important;
    right: auto !important;
    transform: translateX(-50%) !important;
}

/* ---------------------- BUTTON TOP ---------------------- */
.back-to-top {
    position: fixed;
    bottom: 35px;
    right: 35px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #ff2a2a;
    color: #fff;
    border: none;
    font-size: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: 0.25s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
    z-index: 999;
}

.back-to-top:hover {
    background: #a70000;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

/**************** MOBILE *********************/
.burger {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 34px;
    color: #222;
    padding: 6px;
    transition: 0.2s;
    position: relative;
}

.burger i {
    transition: transform 0.3s ease;
}

.burger:active {
    transform: scale(0.85);
}

.mobile-menu {
    display: none;
    background: #fff;
    border-top: 1px solid #eaeaea;
    padding: 14px 20px;
}

.mobile-menu.show {
    display: block;
}

.mobile-menu a {
    display: block;
    padding: 12px 0;
    color: #222;
    font-size: 18px;
    text-decoration: none;
    border-bottom: 1px solid #f3f3f3;
}

.mobile-menu a:last-child {
    border-bottom: none;
}

@media (max-width: 1200px) {
    .radio-player {
        max-width: 420px;
        height: 70px;
    }
}

/* FIXED MOBILE PLAYER AT BOTTOM */
@media (max-width: 1200px) {
    .burger {
        display: block !important;
    }

    .radio-player-wrapper {
        display: none !important;
    }

    .menu-right {
        display: none !important;
    }

    .mobile-player-wrapper {
        display: flex !important;
    }

    .mobile-player-wrapper {
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        background: #ffffff;
        border-top: 1px solid #e5e5e5;
        padding: 12px 14px;
        z-index: 9999;
        box-shadow: 0 -4px 12px rgba(0,0,0,0.12);
        .radio-player-mobile {
            width:100%;
            margin: 0 auto;

        }
    }

    /* updated visual style */
    .radio-player-mobile {
        height: 70px;
        padding: 5px 14px;
        border-radius: 16px;
        background: #ffffff;
        border: 1px solid #e8e8e8;
        display: flex;
        align-items: center;
        justify-content: space-between;

    }

    /* PLAY BUTTON */
    .radio-player-mobile .player-btn {
        width: 45px;
        height: 45px;
        font-size: 26px;
    }

    /* TRACK INFO */
    .radio-player-mobile .player-info {
        margin-left: 10px;
        flex-grow: 1;
        /*max-width: 180px;
        width: 100%;*/
        flex-shrink: 0;
    }

    .radio-player-mobile .player-title {
        font-size: 15px;
    }

    .radio-player-mobile .player-sub {
        font-size: 13px;
    }

    .radio-player-mobile .volume-icon {
        font-size: 30px;
        /*margin-top: 6px;*/
    }

    .volume {
        flex: 1 1;
        max-width: 100%;
    }
    #volumeSliderMobile {
        height: 5px;
        accent-color: #ff2a2a;

    }
    .radio-header {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        background: #ffffff;
        z-index: 999;
        border-bottom: 1px solid #e6e6e6;
        box-shadow: 0 1px 5px rgba(0,0,0,0.08);
    }

    .player-info .player-sub {
        width: 240px;
    }

    body {
        padding-top: 80px;
        padding-bottom: 80px;
    }

    .header-container {
        padding-left: 16px !important;
        padding-right: 16px !important;
    }

    /*Menu burger*/

    .mobile-menu {
        padding: 18px 22px;
        border-top: 1px solid #e5e5e5;
        background: #ffffff;
        box-shadow: 0 6px 18px rgba(0,0,0,0.08);
    }

    .mobile-menu a {
        padding: 14px 0;
        font-size: 17px;
        border-bottom: 1px solid #efefef;
        color: #333;
        letter-spacing: 0.2px;
    }

    .mobile-menu a:hover {
        color: #ff2a2a;
    }

    .mobile-menu a:last-child {
        border-bottom: none;
    }

    .mobile-menu .lang-switch-inline {
        display: flex;
        justify-content: flex-start;
        gap: 16px;
        margin-top: 20px !important;
        font-weight: 600;
    }

    .mobile-menu .lang-option {
        font-size: 16px;
        font-weight: 600;
        opacity: 0.7;
        cursor: pointer;
    }

    .mobile-menu .lang-option.active {
        opacity: 1;
        font-weight: 600;
        text-decoration: underline;
    }

    .back-to-top {
        display: none !important;
    }

    /*Slider*/
    .section-slider {
        padding: 30px 0;
    }

    .section-slider img {
        width: 100%;
        aspect-ratio: 1044 / 540;
        object-fit: cover;
        border-radius: 12px;
        box-shadow: 0 8px 22px rgba(0, 0, 0, 0.08);
    }

    .custom-next, .custom-prev {
        width: 35px;
        height: 35px;
    }

    /* Songs */
    .section-played-tracks {
        padding: 40px 0;
    }

    .section-played-tracks h2 {
        font-size: 26px;
        margin-bottom: 35px;
    }

    .track-item {
        padding: 10px 18px;
        gap: 14px;
        border-radius: 10px;
    }

    .track-item::before {
        top: 10px;
        bottom: 10px;
    }

    .track-time {
        font-size: 14px;
        min-width: 46px;
    }

    .track-title {
        font-size: 15px;
    }

    .track-song {
        font-size: 13.5px;
    }

    /*Promo*/
    .section-promo-cards {
        padding: 30px 0;
    }

    .section-promo-cards .col-sm-6 {
        flex: 0 0 50%;
        max-width: 50%;
    }

    .promo-card img {
        aspect-ratio: 4/3;
    }

    .promo-body {
        padding: 14px;
    }

    .promo-body h5 {
        font-size: 15px;
        line-height: 1.25;
    }

    .promo-link {
        font-size: 14px;
        margin-top: 12px;
    }

    .promo-link i {
        font-size: 14px;
    }

    /*Listen*/
    .section-listen-us {
        padding: 28px 0;
    }

    .listen-card {
        padding: 20px 10px;
        border-radius: 8px;
    }

    .listen-icon {
        width: 60px;
        height: 60px;
        font-size: 28px;
        border-radius: 14px;
        margin-bottom: 10px;
    }

    .listen-text {
        font-size: 15px;
        margin-top: 6px;
    }

    .listen-sub {
        font-size: 12px;
    }

    #listen-us .col-6 {
        flex: 0 0 50%;
        max-width: 50%;
    }

    /*Latest news*/
    .section-latest-news {
        padding: 25px 0;
    }

    .section-latest-news h2 {
        font-size: 22px;
        margin-bottom: 25px !important;
    }

    .news-card img {
        height: 180px;
        object-fit: cover;
    }

    .news-card .p-3 {
        padding: 16px !important;
    }

    /* Дата */
    .news-card small {
        font-size: 12px;
    }

    /* Заголовок */
    .news-card h5 {
        font-size: 16px;
        min-height: auto;
        line-height: 1.3;
    }

    .news-card p.text-secondary {
        font-size: 14px;
        -webkit-line-clamp: 4;
    }

    .news-link {
        font-size: 14px;
        margin-top: 12px;
    }

    #latest-news .col-md-4 {
        flex: 0 0 100%;
        max-width: 100%;
    }

    /*Contacts*/
    .section-contacts {
        padding: 30px 0;
    }

    .section-contacts h2 {
        font-size: 26px;
    }
    .section-contacts p.text-muted {
        font-size: 14px;
    }

    #contact .col-lg-5,
    #contact .col-lg-7 {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .section-contacts .p-4 {
        padding: 20px !important;
    }

    .contact-item {
        margin-bottom: 20px;
    }

    .contact-icon i {
        font-size: 26px !important;
    }

    .contact-item h6 {
        font-size: 15px;
    }

    .contact-item p {
        font-size: 14px;
    }

    .social-links {
        font-size: 24px;
        gap: 10px !important;
    }

    .section-contacts iframe {
        height: 320px !important;
    }

    /*Subscribe*/
    .subscribe-section {
        padding: 30px 0;
    }

    .subscribe-title {
        font-size: 18px;
        line-height: 1.3;
        max-width: 320px;
        margin-left: auto;
        margin-right: auto;
    }

    .subscribe-form {
        max-width: 480px;
    }

    .subscribe-input {
        padding: 12px 14px;
        font-size: 14px;
    }

    .subscribe-btn {
        font-size: 13px;
        padding: 12px 20px;
    }

    /*About*/
    .section-about {
        padding: 45px 0;
    }

    .about-wrapper {
        font-size: 15px !important;
        line-height: 1.65;
    }

    .about-title {
        font-size: 26px !important;
        line-height: 1.3;
        text-align: center;
        max-width: 520px;
        margin: 0 auto 25px;
    }

    .section-about p {
        font-size: 15px;
        margin-bottom: 18px;
    }

    .section-about h4 {
        font-size: 19px !important;
        margin-top: 24px !important;
        margin-bottom: 12px;
        text-align: center;
    }

    /*Footer*/
    footer {
        padding: 40px 0;
    }

    footer img {
        max-width: 160px;
    }

    .footer-menu {
        gap: 18px;
        margin-bottom: 30px;
    }

    .footer-menu li a {
        font-size: 14px;
    }

    .footer-social a {
        font-size: 18px;
        margin: 0 6px;
    }

    .footer-copyright {
        font-size: 13px;
    }
}

@media (max-width: 360px) {
    .player-info .player-sub {
        width: 196px;
    }
}

/* Safari/MacBook fix */
@supports (-webkit-touch-callout: none) {
    .volume-slider {
        height: 4px;
        border-radius: 4px;
    }
}

.mobile-player-wrapper .radio-player-mobile {
    background: #fff;

}
.mobile-player-wrapper {
    box-shadow: 0 -3px 12px rgba(0,0,0,0.08);
}
