/* Базовые стили */

html, body {
    height: 100%;
    margin: 0;
}

body {
    background-color: #f8f9fa;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* Основной контейнер */
.main-container.container {
    flex: 1 0 auto;
    margin-top: 65px;
    padding: 10px;
    width: 100%;
    max-width: 100%;
}

/* Навбар */
.custom-navbar {
    background-color: #ffffff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    height: 50px;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: transform 0.3s ease;
}

.custom-navbar.hidden {
    transform: translateY(-100%);
}

.custom-navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 15px;
    height: 100%;
    width: 100%;
    max-width: 100%;
}

.navbar-brand {
    display: flex;
    align-items: center;
    font-size: 1.25rem;
    color: #333;
    font-weight: 700;
    text-decoration: none;
    padding: 0;
}

/*dark-light*/
.theme-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

.theme-toggle input[type="checkbox"] {
    display: none; 
}

.theme-toggle label {
    cursor: pointer;
    color: #333;
    font-size: 0.95rem;
    padding: 6px 10px; 
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    transition: color 0.2s ease;
}

.theme-toggle label:hover {
    color: #f1c40f;
}

.theme-toggle label i {
    font-size: 1.2rem;
    margin-left: 4px;
}

/* Переключаем иконки в зависимости от состояния */
.theme-toggle input[type="checkbox"]:checked + label i::before {
    content: "\f185"; /* Солнце для светлой темы */
}

.theme-toggle input[type="checkbox"]:not(:checked) + label i::before {
    content: "\f186"; /* Луна для тёмной темы */
}

/* Стили для логотипа в навбаре */
.navbar-logo {
    height: 25px;
    width: auto;
    margin-right: 8px;
    vertical-align: middle;
}

/* Гамбургер */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    outline: none;
    -webkit-tap-highlight-color: transparent;
}

.hamburger .bar {
    width: 25px;
    height: 3px;
    background-color: #333;
    margin: 3px auto;
    transition: all 0.3s ease-in-out;
    border-radius: 2px;
}

/* Меню */
.navbar-menu {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-link {
    color: #333;
    font-size: 0.95rem;
    text-decoration: none;
    padding: 6px 10px;
    transition: color 0.2s ease;
}

.nav-link:hover {
    color: #007bff;
}

.favorite-link {
    background-color: #dc3545;
    color: #fff;
    border-radius: 20px;
    padding: 4px 10px;
    transition: background-color 0.3s ease;
}

.favorite-link:hover {
    background-color: #b02a37;
    color: #fff;
}

/* Search Container */
.search-container .btn-outline-secondary {
    border-radius: 0.25rem;
    padding: 0.375rem 0.75rem;
    min-width: auto;
    height: auto;
}

#search-results {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    max-height: 300px;
    overflow-y: auto;
    border: 1px solid #ddd;
    border-radius: 5px;
    background-color: #fff;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    display: none;
}

#search-results .list-group-item {
    border: none;
    border-bottom: 1px solid #eee;
    padding: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

#search-results .list-group-item:last-child {
    border-bottom: none;
}

#search-results .station-logo {
    width: 30px;
    height: 30px;
    border-radius: 5px;
    object-fit: cover;
}

#search-results .no-logo {
    width: 30px;
    height: 30px;
    border-radius: 5px;
    background-color: #e9ecef;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6c757d;
    font-size: 0.8rem;
}


/* Breadcrumbs */
.breadcrumbs {
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    padding: 10px 15px;
    margin-bottom: 15px;
}

.breadcrumb-list {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    padding: 0;
    margin: 0;
    gap: 8px;
    align-items: center;
}

.breadcrumb-item {
    font-size: 0.85rem;
    color: #6c757d;
}

.breadcrumb-item a {
    color: #007bff;
    text-decoration: none;
    transition: color 0.2s ease;
}

.breadcrumb-item a:hover {
    color: #0056b3;
    text-decoration: underline;
}

.breadcrumb-item.active {
    color: #333;
    font-weight: 600;
}

.breadcrumb-item + .breadcrumb-item::before {
    content: ">";
    margin-right: 8px;
    color: #6c757d;
    font-size: 0.9rem;
}

/* Карточка радиостанции */
.station-card {
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    padding: 15px;
    margin-bottom: 15px;
}

.station-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.station-logo-container {
    flex-shrink: 0;
}

.station-logo, .no-logo {
    width: 90px; 
    height: 90px;
    border-radius: 8px;
    object-fit: cover;
    border: 1px solid #e9ecef;
    transition: transform 0.2s ease;
}

.station-logo:hover {
    transform: scale(1.05);
}

.no-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6c757d;
    font-size: 1.5rem;
    background-color: #e9ecef;
}

.station-info {
    flex-grow: 1;
}

.station-info h1 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #333;
    margin: 0 0 5px 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: normal; 
    word-wrap: break-word;
    max-width: 100%;
}

.country-cell {
    display: flex;
    align-items: center;
    gap: 5px;
}

.country-group {
    display: inline;
}

.separator {
    margin-right: 1px; 
}

.country-flag {
    width: 24px;
    height: 18px;
    border-radius: 3px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.country-link {
    color: #007bff;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s;
}

.state-link {
    color: #007bff;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s;
}

.country-link:hover {
    color: #0056b3;
    text-decoration: underline;
}

.genres-container {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    margin-top: 5px;
}

.genre-link {
    background-color: #e9ecef;
    color: #333;
    padding: 4px 8px;
    border-radius: 12px;
    text-decoration: none;
    font-size: 0.85rem;
    transition: background-color 0.3s ease;
}

.genre-link:hover {
    text-decoration: none;
    background-color: #dee2e6;
}
/*rating*/
.station-rating .rating-stars {
    cursor: pointer;
    transition: transform 0.2s ease, color 0.2s ease; 
}

/*now play*/
.now-playing {
    opacity: 1;
    transition: opacity 0.3s ease-in-out;
    width: 100%; 
    max-width: 100%;
    overflow: hidden; 
}

.now-playing.loading {
    opacity: 0.5;
}

.now-playing.hidden {
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
}

/* Related Stations */
.related-stations {
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    padding: 15px;
    margin-bottom: 15px;
}

.related-stations-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 15px;
    text-align: left;
}

.related-stations-table {
    width: 100%;
    margin-bottom: 0;
    background-color: transparent;
    box-shadow: none;
    border-radius: 0;
}

.related-stations-table th,
.related-stations-table td {
    vertical-align: middle;
    padding: 12px;
    border-bottom: 1px solid #e9ecef;
}

.related-stations-table th {
    font-weight: 600;
    color: #333;
    font-size: 0.9rem;
}

.related-stations-table td {
    font-size: 0.85rem;
}

.related-stations-table .station-logo {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    object-fit: cover;
    border: 1px solid #e9ecef;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.related-stations-table .station-logo:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.related-stations-table .country-cell {
    display: flex;
    align-items: center;
    gap: 5px;
}

.related-stations-table .country-flag {
    width: 20px;
    height: 15px;
    border-radius: 3px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.related-stations-table .genre-list {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
}

.related-stations-table .genre-link {
    background-color: #e9ecef;
    color: #333;
    padding: 4px 8px;
    border-radius: 12px;
    text-decoration: none;
    font-size: 0.85rem;
    transition: background-color 0.3s ease;
}

.related-stations-table .genre-link:hover {
    background-color: #dee2e6;
}

.related-stations-table .badge-info {
    background-color: #6c757d;
    padding: 4px 8px;
    font-size: 0.8rem;
    border-radius: 10px;
    color: #fff;
}

.related-stations-table .play-button {
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, #28a745, #1e7e34);
    border: none;
    border-radius: 50%;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    outline: none;
    -webkit-tap-highlight-color: transparent;
    position: relative;
}

.related-stations-table .play-button:hover {
    background: linear-gradient(135deg, #218838, #1e7e34);
    transform: scale(1.1);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.related-stations-table .play-button.playing {
    background: linear-gradient(135deg, #dc3545, #b02a37);
}

.related-stations-table .play-button i {
    font-size: 14px;
}

.related-stations-table .play-button.loading::before {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    border-radius: 50%;
    border: 3px solid transparent;
    background: linear-gradient(135deg, #28a745, #1e7e34) border-box;
    animation: pulseRing 1.5s infinite ease-in-out, gradientShift 3s infinite ease-in-out;
    opacity: 0.7;
}

.related-stations-table .play-button:hover,
.related-stations-table .play-button:focus,
.related-stations-table .play-button:active {
    transform: none;
    box-shadow: none;
    outline: none;
}

.related-stations-table .favorite-btn {
    width: 100%;
    padding: 6px 12px;
    font-size: 0.9rem;
    border-radius: 20px;
    background-color: #ffc107;
    border: none;
    color: #000;
    transition: background-color 0.3s ease;
}

.related-stations-table .favorite-btn.added {
    background-color: #28a745;
    color: #fff;
}

.related-stations-table .favorite-btn:hover {
    background-color: #e0a800;
}

.related-stations-table .favorite-btn.added:hover {
    background-color: #218838;
}

.comment-form-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 15px;
    text-align: left;
}

/* Элементы управления */
.station-controls {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 15px;
    justify-content: center;
    margin-bottom: 15px;
}

.station-player {
    display: flex;
    align-items: center;
    gap: 10px;
}

.play-button {
    width: 65px;
    height: 65px;
    background: linear-gradient(135deg, #28a745, #1e7e34);
    border: none;
    border-radius: 50%;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    outline: none;
    -webkit-tap-highlight-color: transparent;
    position: relative;
}

.play-button:hover {
    background: linear-gradient(135deg, #218838, #1e7e34);
    transform: scale(1.1);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.play-button.playing {
    background: linear-gradient(135deg, #dc3545, #b02a37);
}

.play-button i {
    font-size: 35px;
}

.station-player .play-button i.fa-play {
    transform: translateX(5px);
}

.play-button:hover,
.play-button:focus,
.play-button:active {
    transform: none;
    box-shadow: none;
    outline: none;
}

/* Volume Control */
.volume-control {
    display: flex;
    align-items: center;
    gap: 8px;
}

.mute-button {
    background: none;
    border: none;
    color: #6c757d;
    font-size: 1.2rem;
    cursor: pointer;
    transition: color 0.2s ease;
    outline: none;
    -webkit-tap-highlight-color: transparent;
}

.mute-button:hover {
    color: #333;
}

.mute-button.muted i::before {
    content: "\f6a9";
}

.volume-slider {
    width: 80px;
    height: 4px;
    -webkit-appearance: none;
    background: #6c757d;
    border-radius: 2px;
    outline: none;
    transition: background 0.3s ease;
}

.volume-slider:hover {
    background: #5a6268;
}

.volume-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 12px;
    height: 12px;
    background: #28a745;
    border-radius: 50%;
    cursor: pointer;
    transition: background 0.3s ease;
}

.volume-slider::-webkit-slider-thumb:hover {
    background: #218838;
}

.volume-slider::-moz-range-thumb {
    width: 12px;
    height: 12px;
    background: #28a745;
    border-radius: 50%;
    cursor: pointer;
    border: none;
    transition: background 0.3s ease;
}

.volume-slider::-moz-range-thumb:hover {
    background: #218838;
}

/* Битрейт */
.bitrate-badge {
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    background-color: #6c757d;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 35px;
    transition: background-color 0.3s ease; 
}

.bitrate-link {
    color: white;
    text-decoration: none;
}

.bitrate-badge:hover {
    background-color: #5a6268;
}

.bitrate-link:hover {
    text-decoration: none; 
    color: white; 
}

.station-actions {
    display: flex;
    gap: 10px;
}

/* Базовые стили для .btn */
.btn {
    padding: 8px 16px;
    font-size: 0.9rem;
    border-radius: 20px;
    min-width: 90px; 
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    outline: none;
    -webkit-tap-highlight-color: transparent;
}

/* Специфические стили для btn-primary и btn-success */
.btn-primary {
    background-color: #007bff;
    border: none;
    color: white;
}

.btn-primary:hover {
    background-color: #0056b3;
}

.btn-success {
    background-color: #28a745;
    border: none;
    color: white;
}

.btn-success:hover {
    background-color: #218838;
}

/* Базовые стили для .favorite-btn (вне медиа-запросов остаются как плашка) */
.favorite-btn {
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    background-color: #ffc107;
    border: none;
    color: #000;
    transition: background-color 0.3s ease;
    min-width: 90px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
}

.favorite-btn.added {
    background-color: #28a745;
    color: #fff;
}

.favorite-btn:hover,
.favorite-btn:focus,
.favorite-btn:active {
    transform: none;
    box-shadow: none;
    outline: none;
    background-color: #e0a800;
}

.favorite-btn.added:hover {
    background-color: #218838;
}

/*Сейчас играет*/
.now-playing .card {
    border: none;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    background-color: #f8f9fa;
}

.now-playing-icon {
    flex-shrink: 0;
    font-size: 1.2rem; 
    margin-right: 8px; 
}

.now-playing-info {
    flex-grow: 1;
    width: 100%; 
    overflow: hidden; 
    white-space: normal; 
    word-wrap: break-word; 
    text-overflow: ellipsis;
}

.now-playing-info span {
    display: inline-block; 
    max-width: 100%; 
    overflow: hidden; 
    text-overflow: ellipsis; 
    white-space: nowrap; 
}

.now-playing-info h5 {
    font-size: 1.1rem;
    color: #333;
}

.now-playing-info p {
    font-size: 0.95rem;
    line-height: 1.4;
}

.now-playing-info .text-muted {
    color: #6c757d !important;
}

.now-playing-info .small {
    font-size: 0.85rem;
}

/* Рейтинг */
.rating-stars-input {
    display: inline-block;
}

.rating-stars-input i {
    color: #ffc107;
    font-size: 1rem;
    cursor: pointer;
    margin-right: 2px;
}

.rating-stars-input i:hover,
.rating-stars-input i.active {
    color: #ffaa00;
}

.station-rating {
    display: flex;
    align-items: center;
    gap: 5px;
}

.rating-stars {
    color: #ffc107;
    font-size: 1.2rem;
}

.rating-text {
    color: #6c757d;
    font-size: 1rem;
}

.favorite-btn.active-favorite {
    background-color: #28a745;
    color: white;
}

/* Уведомления */
.toast {
    position: fixed;
    top: 20px;
    right: 20px;
    min-width: 200px;
    padding: 12px 15px;
    background-color: #333;
    color: white;
    font-size: 0.85rem;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    opacity: 0;
    transform: translateY(-20px);
    transition: opacity 0.3s ease, transform 0.3s ease;
    z-index: 1000;
}

.toast.show {
    opacity: 1;
    transform: translateY(0);
}

.toast.hide {
    opacity: 0;
    transform: translateY(-20px);
}

.toast.success {
    background-color: #28a745;
}

.toast.error {
    background-color: #dc3545;
}

.toast .favorites-link {
    color: #ffc107;
    text-decoration: underline;
    margin-left: 8px;
}

.toast .favorites-link:hover {
    color: #fff;
}

/* Кольцо пульсации */
.play-button {
    position: relative;
}

.play-button.loading::before {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    border-radius: 50%;
    border: 3px solid transparent;
    background: linear-gradient(135deg, #28a745, #1e7e34) border-box;
    animation: pulseRing 1.5s infinite ease-in-out, gradientShift 3s infinite ease-in-out;
    opacity: 0.7;
}

.play-button.loading .fa-play,
.play-button.loading .fa-pause {
    display: none;
}

@keyframes pulseRing {
    0% { transform: scale(0.8); opacity: 0.7; }
    50% { transform: scale(1.2); opacity: 0.3; }
    100% { transform: scale(0.8); opacity: 0.7; }
}

@keyframes gradientShift {
    0% { background: linear-gradient(135deg, #28a745, #1e7e34); }
    50% { background: linear-gradient(135deg, #1e7e34, #28a745); }
    100% { background: linear-gradient(135deg, #28a745, #1e7e34); }
}
/*футер*/
.custom-footer {
    background-color: #ffffff;
    box-shadow: 0 -2px 4px rgba(0, 0, 0, 0.1);
    padding: 20px 0;
    margin-top: 15px;
    flex-shrink: 0;
}

/* Контейнер внутри футера */
.custom-footer .container {
    padding: 0 15px;
    width: 100%;
    max-width: 100%;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-section {
    flex: 1;
    min-width: 200px;
}

.footer-section h5 {
    font-size: 1.1rem;
    color: #333;
    margin-bottom: 10px;
}

.footer-section p {
    font-size: 0.9rem;
    color: #6c757d;
    margin: 0;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 8px;
}

.footer-links a {
    color: #007bff;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s ease;
}

.footer-links a:hover {
    color: #0056b3;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 20px;
    border-top: 1px solid #e9ecef;
    padding-top: 10px;
}

.footer-bottom p {
    font-size: 0.85rem;
    color: #6c757d;
    margin: 0;
}

.scroll-top-btn {
    background-color: #007bff;
    color: #fff;
    border: none;
    border-radius: 20px;
    padding: 6px 12px;
    font-size: 0.9rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.scroll-top-btn:hover {
    background-color: #0056b3;
}

.scroll-top-btn:focus,
.scroll-top-btn:active {
    outline: none;
}

/* Плашка */
.player-bar {
    position: fixed;
    bottom: -80px; /* Увеличена высота */
    left: 0;
    right: 0;
    height: 80px; /* Более крупная плашка */
    background: rgba(0, 0, 0, 0.85);
    box-shadow: 0 -2px 15px rgba(0, 0, 0, 0.4);
    z-index: 2000;
    transition: bottom 0.4s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Плашка в активном состоянии */
.player-bar.active {
    bottom: 0;
}

/* Контент внутри плашки */
.player-bar-content {
    display: flex;
    align-items: center;
    gap: 20px;
    width: 100%;
    max-width: 1200px;
    padding: 0 20px;
    justify-content: center;
}

/* Логотип станции */
.player-bar-logo-container {
    position: relative;
    width: 50px;
    height: 50px;
    flex-shrink: 0;
}

.player-bar-logo {
    width: 100%;
    height: 100%;
    border-radius: 8px;
    object-fit: cover;
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: none;
}

.player-bar-logo.active {
    display: block;
    animation: rotateSlowly 20s linear infinite;
}

.player-bar-no-logo {
    width: 100%;
    height: 100%;
    border-radius: 8px;
    background-color: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.5rem;
    display: none;
}

.player-bar-no-logo.active {
    display: flex;
}

/* Анимация вращения */
@keyframes rotateSlowly {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

/* Кнопка воспроизведения */
/* Кнопка воспроизведения */
.player-bar .play-button {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #28a745, #1e7e34);
    border: none;
    border-radius: 50%;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    outline: none;
    position: relative;
	aspect-ratio: 1 / 1;
}

.player-bar .play-button:hover {
    background: linear-gradient(135deg, #218838, #1e7e34);
    transform: scale(1.05);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.player-bar .play-button.playing {
    background: linear-gradient(135deg, #dc3545, #b02a37);
}

.player-bar .play-button.loading::before {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    border-radius: 50%;
    border: 3px solid transparent;
    background: linear-gradient(135deg, #28a745, #1e7e34) border-box;
    animation: pulseRing 1.5s infinite ease-in-out, gradientShift 3s infinite ease-in-out;
    opacity: 0.7;
}

.player-bar .play-button i {
    font-size: 24px;
}

/* Иконка ноты */
.player-bar-icon {
    color: #fff;
    font-size: 20px;
    opacity: 0.8;
}

/* Информация о станции */
.player-bar-info {
    flex-grow: 1;
    color: #fff;
    font-size: 1.1rem;
    font-weight: 500;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    max-width: 40%;
}

/* Элементы управления */
.player-bar-controls {
    display: flex;
    align-items: center;
    gap: 15px;
}

/* Громкость */
.player-bar .volume-control {
    display: flex;
    align-items: center;
    gap: 8px;
}

.player-bar .mute-button {
    background: none;
    border: none;
    color: #fff;
    font-size: 1.2rem;
    cursor: pointer;
    transition: color 0.2s ease;
    outline: none;
}

.player-bar .mute-button:hover {
    color: #ccc;
}

.player-bar .mute-button.muted i::before {
    content: "\f6a9";
}

.player-bar .volume-slider {
    width: 100px;
    height: 4px;
    -webkit-appearance: none;
    background: #fff;
    border-radius: 2px;
    outline: none;
    transition: background 0.3s ease;
}

.player-bar .volume-slider:hover {
    background: #ccc;
}

.player-bar .volume-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 12px;
    height: 12px;
    background: #28a745;
    border-radius: 50%;
    cursor: pointer;
    transition: background 0.3s ease;
}

.player-bar .volume-slider::-webkit-slider-thumb:hover {
    background: #218838;
}

.player-bar .volume-slider::-moz-range-thumb {
    width: 12px;
    height: 12px;
    background: #28a745;
    border-radius: 50%;
    cursor: pointer;
    border: none;
    transition: background 0.3s ease;
}

.player-bar .volume-slider::-moz-range-thumb:hover {
    background: #218838;
}

/* Кнопка избранного */
.player-bar .favorite-btn {
    width: 45px;
    height: 45px;
    padding: 0;
    border-radius: 50%;
    background-color: #ffc107;
    border: none;
    color: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s ease;
    outline: none;
}

.player-bar .favorite-btn::before {
    content: "\f004";
    font-family: "Font Awesome 5 Free";
    font-weight: 400;
    font-size: 1.2rem;
}

.player-bar .favorite-btn.added::before {
    content: "\f00c";
    font-weight: 900;
}

.player-bar .favorite-btn:hover {
    background-color: #e0a800;
}

.player-bar .favorite-btn.added {
    background-color: #ffc107;
    color: #000;
}

.player-bar .favorite-btn.added:hover {
    background-color: #e0a800;
}

#player-bar-station-name {
    max-width: 100%;
}

#player-bar-no-logo {
    display: none;
}

/* ==========================================================================
   Медиа-запросы
   ========================================================================== */
   
@media (max-width: 320px) {
    .breadcrumbs {
        display: none;
    }
	
	.now-playing {
        padding: 8px; 
    }

    .now-playing-info {
        font-size: 0.85rem; 
    }

    .now-playing-info span {
        font-size: 0.8rem;
        line-height: 1.2; 
    }

.now-playing-icon {
        font-size: 1.2rem; 
        margin-right: 5px;
    }
	/*плашка*/
	.player-bar {
        height: 60px;
    }

    .player-bar-content {
        gap: 8px;
        padding: 0 10px;
        justify-content: space-between;
    }

    .player-bar-logo-container {
        width: 30px;
        height: 30px;
    }

    .player-bar-logo,
    .player-bar-no-logo {
        border-radius: 6px;
    }

    .player-bar-no-logo {
        font-size: 1rem;
    }

    .player-bar .play-button {
        width: 40px;
        height: 40px;
    }

    .player-bar .play-button i {
        font-size: 16px;
    }

    .player-bar-icon {
        display: none;
    }

    .player-bar-info {
        font-size: 0.9rem;
        max-width: 35%;
    }

    .player-bar .volume-control {
        gap: 5px;
    }

    .player-bar .mute-button {
        font-size: 1rem;
    }

    .player-bar .volume-slider {
        width: 60px;
    }

.player-bar .favorite-btn {
        display: none; 
    }
}

@media (min-width: 321px) and (max-width: 767px) {
    .breadcrumb-item.active {
        display: none;
    }
	
	.player-bar {
        height: 70px;
    }

    .player-bar-content {
        gap: 10px;
        padding: 0 12px;
        justify-content: space-between;
    }

    .player-bar-logo-container {
        width: 40px;
        height: 40px;
    }

    .player-bar-no-logo {
        font-size: 1.2rem;
    }

    .player-bar .play-button {
        width: 50px;
        height: 50px;
    }

    .player-bar .play-button i {
        font-size: 20px;
    }

    .player-bar-icon {
        font-size: 16px;
    }

    .player-bar-info {
        font-size: 1rem;
        max-width: 40%;
    }

    .player-bar .volume-slider {
        width: 80px;
    }

    .player-bar .favorite-btn {
        width: 40px;
        height: 40px;
    }

    .player-bar .favorite-btn::before {
        font-size: 1.1rem;
    }
	
}

/* Мобильная версия (до 767px) */
@media (max-width: 767px) {
   
   .main-container.container {
        margin-top: 65px;
        padding: 10px;
        width: 100%;
        max-width: 100%;
    }
	
	.now-playing {
        padding: 10px;
    }

    .now-playing-info {
        font-size: 0.9rem; 
        line-height: 1.3;
    }

    .now-playing-info span {
        white-space: normal; 
        word-break: break-word;
    }

.now-playing-icon {
        font-size: 1.2rem; 
        margin-right: 5px; 
    }
	
	/*навбар*/
	
	.hamburger {
        display: flex;
    }

    .navbar-menu {
        position: fixed;
        top: 50px;
        left: 0;
        right: 0;
        background-color: #ffffff;
        flex-direction: column;
        width: 100%;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.6s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    }

    .navbar-menu.active {
        max-height: 500px;
    }

    .nav-link {
        padding: 10px;
        text-align: center;
        width: 100%;
        border-bottom: 1px solid #e9ecef;
        transition: background-color 0.2s ease;
    }

    .nav-link:hover {
        background-color: #f8f9fa;
        color: #007bff;
    }

    .nav-link:last-child {
        border-bottom: none;
    }
	
	/* Новый стиль для favorite-link на мобильной версии */
    .favorite-link {
        background-color: transparent;
        color: #dc3545;
        border-radius: 0;
        padding: 10px;
    }

    .favorite-link:hover {
        background-color: #f8f9fa;
        color: #b02a37;
    }

    .hamburger.active .bar:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }

    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }

    .custom-navbar .container {
        justify-content: space-between;
    }

    .navbar-brand {
        margin-left: 0;
    }
	
	/*хлеб*/
	.breadcrumbs {
        padding: 8px 10px;
        margin-bottom: 10px;
    }

    .breadcrumb-list {
        gap: 6px;
    }

    .breadcrumb-item {
        font-size: 0.85rem;
    }

    .breadcrumb-item + .breadcrumb-item::before {
        margin-right: 6px;
    }
	
	.mobile-hidden {
        display: none; 
    }
   
   /*карточка станции*/
    .station-card {
        display: block;
        padding: 15px;
        background-color: #ffffff;
        border-radius: 8px;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
        margin-bottom: 15px;
        border: 1px solid #e9ecef;
    }

    .station-header {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 10px;
    }

    .station-logo-container {
        margin: 0 auto;
    }

.station-logo, .no-logo {
        width: 90px; 
        height: 90px;
    }

.station-logo:hover, .no-logo:hover {
        transform: none; 
        box-shadow: none;
    }

.station-info h1 {
        font-size: 1.5rem; 
        text-align: center; 
        white-space: normal;
        word-wrap: break-word;
        max-width: 100%; 
    }

    .country-cell {
        justify-content: center;
        gap: 8px;
        margin-top: 5px;
    }

.country-flag {
        width: 24px;
        height: 18px;
    }



    .country-link:hover {
        color: #0056b3;
        text-decoration: underline;
    }

    .genres-container {
        justify-content: center;
        gap: 6px;
        margin-top: 10px;
    }

    .genre-link {
        font-size: 1.15rem;
        padding: 5px 10px;
    }

    .genre-link:hover {
        background-color: #dee2e6;
    }

    .station-controls {
        flex-direction: column;
        gap: 15px;
    }

    .station-player {
        justify-content: center;
    }

    .play-button {
        width: 80px;
        height: 80px;
    }

    .play-button.playing {
        background: linear-gradient(135deg, #dc3545, #b02a37);
    }

    .play-button i {
        font-size: 2.5rem;
    }

    .play-button i.fa-play {
        transform: translateX(5px);
    }

    .play-button:hover,
    .play-button:focus,
    .play-button:active {
        transform: none;
        box-shadow: none;
        outline: none;
    }

    .play-button.loading::before {
        top: -8px;
        left: -8px;
        right: -8px;
        bottom: -8px;
        border-width: 4px;
    }

    .volume-control {
        display: none;
    }

    .bitrate-badge,
    .station-actions .btn-primary,
    .station-actions .btn-success,
    .station-rating {
        display: none;
    }

/* favorites */
    .favorite-btn {
        width: 80px !important; 
        height: 80px !important; 
        padding: 0 !important; 
        border-radius: 50% !important; 
        background-color: #ffc107;
        border: none;
        color: #000;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: background-color 0.3s ease;
        outline: none;
        -webkit-tap-highlight-color: transparent;
        box-sizing: border-box; 
        min-width: 0 !important;
    }

    .favorite-btn::before {
        content: "\f004"; 
        font-family: "Font Awesome 5 Free";
        font-weight: 400;
        font-size: 2.5rem; 
    }

    .favorite-btn.added::before {
        content: "\f00c"; 
        font-weight: 900;
    }

    .favorite-btn span {
        display: none; 
    }

    .favorite-btn.added {
        background-color: #ffc107; 
        color: #000;
    }

    .favorite-btn:hover,
    .favorite-btn:focus,
    .favorite-btn:active {
        background-color: #e0a800; 
        transform: none;
        box-shadow: none;
        outline: none;
    }

    .favorite-btn.added:hover {
        background-color: #e0a800; 
    }

    /* Related Stations */
    .related-stations {
        padding: 15px;
    }

    .related-stations-title {
        font-size: 1.25rem;
        margin-bottom: 15px;
    }

    .related-stations-table {
        display: block;
        overflow-x: auto;
        border: none;
        background: none; 
    }

    .related-stations-table thead {
        display: none;
    }

    .related-stations-table tbody {
        display: block;
        width: 100%;
    }

    .related-stations-table tr {
        display: block;
        width: 100%;
        background-color: #ffffff; 
        border-radius: 8px;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
        margin-bottom: 10px;
        padding: 10px;
        border: 1px solid #e9ecef;
    }
	
    .table.table-striped tr,
    .table.table-hover tr,
    .table tr:hover,
    .table tr:nth-child(odd),
    .table tr:nth-child(even) {
        background-color: #ffffff !important;
    }

    .related-stations-table td {
        display: block;
        width: 100%;
        border: none;
        padding: 5px;
        text-align: center;
    }

    .related-stations-table td::before {
        content: attr(data-label);
        font-weight: 600;
        color: #333;
        display: block;
        margin-bottom: 5px;
        font-size: 1.2rem;
    }

    .related-stations-table td[data-label="Logo"]::before,
    .related-stations-table td[data-label="Name"]::before,
    .related-stations-table td[data-label="Country"]::before,
    .related-stations-table td[data-label="Play"]::before,
    .related-stations-table td[data-label="Favorites"]::before,
    .related-stations-table td[data-label="Bitrate"]::before {
        display: none;
    }

    .related-stations-table td[data-label="Genres"]::before {
        display: none;
    }

    .related-stations-table td.row-number {
        display: none;
    }

    .related-stations-table td[data-label="Logo"] .station-logo {
        width: 80px;
        height: 80px;
        margin: 0 auto;
        border-radius: 12px;
        transition: none;
    }

    .related-stations-table td[data-label="Logo"] .station-logo:hover {
        transform: none;
        box-shadow: none;
    }

    .related-stations-table td[data-label="Name"] .station-link {
        font-size: 1.5rem;
        font-weight: 700;
        line-height: 1.2;
    }

    .related-stations-table td[data-label="Country"] .country-flag {
        width: 24px;
        height: 18px;
    }

    .related-stations-table td[data-label="Country"] .country-link {
        font-size: 0.9rem;
    }

    .related-stations-table td[data-label="Genres"] .genre-list {
        display: flex;
        justify-content: center;
        gap: 6px;
    }

    .related-stations-table td[data-label="Genres"] .genre-link {
        font-size: 1.15rem;
        padding: 5px 10px;
    }

    .related-stations-table td[data-label="Bitrate"] {
        display: none;
    }

    .related-stations-table td[data-label="Play"] .play-button {
        width: 80px;
        height: 80px;
        background: linear-gradient(135deg, #28a745, #1e7e34);
        margin: 0 auto;
    }

    .related-stations-table td[data-label="Play"] .play-button.playing {
        background: linear-gradient(135deg, #dc3545, #b02a37);
    }

    .related-stations-table td[data-label="Play"] .play-button i {
        font-size: 2.5rem;
    }

    .related-stations-table td[data-label="Play"] .play-button i.fa-play {
        transform: translateX(5px);
    }

    .related-stations-table td[data-label="Play"] .play-button:hover,
    .related-stations-table td[data-label="Play"] .play-button:focus,
    .related-stations-table td[data-label="Play"] .play-button:active {
        transform: none;
        box-shadow: None;
        outline: none;
    }

    .related-stations-table td[data-label="Play"] .play-button.loading::before {
        top: -8px;
        left: -8px;
        right: -8px;
        bottom: -8px;
        border-width: 4px;
    }

/* Related Stations - Favorites */
    .related-stations-table td[data-label="Favorites"] .favorite-btn {
        width: 80px !important; 
        height: 80px !important;
        padding: 0 !important; 
        border-radius: 50% !important;
        background-color: #ffc107;
        border: none;
        color: #000;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: background-color 0.3s ease;
        margin: 0 auto;
        box-sizing: border-box;
        min-width: 0 !important;
    }

    .related-stations-table td[data-label="Favorites"] .favorite-btn::before {
        content: "\f004"; 
        font-family: "Font Awesome 5 Free";
        font-weight: 400;
        font-size: 2.5rem; 
    }

    .related-stations-table td[data-label="Favorites"] .favorite-btn.added::before {
        content: "\f00c"; 
        font-weight: 900;
    }

    .related-stations-table td[data-label="Favorites"] .favorite-btn.added {
        background-color: #ffc107;
        color: #000;
    }

    .related-stations-table td[data-label="Favorites"] .favorite-btn:hover,
    .related-stations-table td[data-label="Favorites"] .favorite-btn:focus,
    .related-stations-table td[data-label="Favorites"] .favorite-btn:active {
        background-color: #e0a800;
        transform: none;
        box-shadow: none;
        outline: none;
    }

    .related-stations-table td[data-label="Favorites"] .favorite-btn.added:hover {
        background-color: #e0a800;
    }
	
    .comment-form-title {
        font-size: 1.25rem;
        margin-bottom: 15px;
    }

    /* Комментарии */
    .comments-card {
        padding: 15px;
        border-radius: 8px;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
        margin-bottom: 15px;
        border: 1px solid #e9ecef;
    }

    .comment-header {
        flex-wrap: wrap;
        gap: 5px;
    }

    .user-rating-stars {
        font-size: 0.8rem;
    }

    .rating-value {
        font-size: 0.7rem;
    }

    .comment-content p {
        font-size: 0.85rem;
    }

    .comment-content small {
        font-size: 0.75rem;
    }
	
	/*footer*/
    .custom-footer {
        padding: 15px 0;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }

    .footer-section {
        min-width: 100%;
    }

    .footer-section h5 {
        font-size: 1rem;
    }

    .footer-section p,
    .footer-links a {
        font-size: 0.85rem;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }

    .scroll-top-btn {
        margin-top: 10px;
        padding: 5px 10px;
        font-size: 0.8rem;
    }
	
	.custom-footer .container {
        padding: 0 10px;
    }
	/*кнопка бара*/
	.player-bar {
        height: 70px;
    }

.player-bar-content {
        gap: 10px;
        padding: 0 10px;
        justify-content: center;
        flex-wrap: nowrap;
    }

    .player-bar-logo-container {
        display: none;
    }

.player-bar .play-button {
        width: 50px;
        height: 50px;
        aspect-ratio: 1 / 1;
        min-width: 50px;
        min-height: 50px;
    }

    .player-bar .play-button i {
        font-size: 20px;
    }

    .player-bar-icon {
        font-size: 16px;
    }

    .player-bar-info {
        font-size: 0.95rem;
        max-width: 30%;
    }

    .player-bar .volume-slider {
        width: 80px;
    }

    .player-bar .favorite-btn {
        width: 40px !important;
        height: 40px !important;
    }

    .player-bar .favorite-btn::before {
        font-size: 1rem;
    }
	
	
}

/* Остальные медиа-запросы оставлены без изменений */
/* Общие стили для 768px+ */
@media (min-width: 768px) {
    .main-container.container {
        max-width: 720px;
        padding: 15px;
        margin-top: 65px;
    }

    /* Навбар */
    .custom-navbar .container {
        max-width: 720px;
    }

    .navbar-menu {
        display: flex;
        position: static;
        background: none;
        box-shadow: none;
        max-height: none;
        overflow: visible;
    }

    .nav-link {
        border-bottom: none;
    }

    /* Хлебные крошки */
    .breadcrumbs {
        padding: 12px 15px;
        margin-bottom: 15px;
    }

    .breadcrumb-item {
        font-size: 0.85rem;
    }
	
	.mobile-hidden {
        display: inline; 
    }
    .breadcrumb-item.active {
        max-width: 250px; 
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    /* Карточка станции */
.station-logo, .no-logo {
        width: 90px;
        height: 90px;
    }
	
	.country-flag {
        width: 24px;
        height: 18px;
    }

    .station-info h1 {
        font-size: 1.5rem;
        margin-bottom: 8px;
    }

.station-controls {
        display: flex;
        flex-wrap: wrap;
        justify-content: flex-start;
        align-items: center;
        gap: 15px; 
        margin-bottom: 15px;
    }

    .station-player {
        display: flex;
        align-items: center;
        gap: 10px;
    }

    .play-button {
        /* Оставляем как есть */
    }

    .volume-control {
        display: flex;
        align-items: center;
        gap: 8px;
    }

    .volume-slider {
        width: 100px;
    }

.bitrate-badge {
        padding: 8px 16px;
        height: 35px; 
        min-width: 0; 
    }

    .station-actions {
        display: flex;
        align-items: center;
        gap: 10px;
    }

.btn {
        padding: 8px 16px;
        min-width: 90px;
        height: 35px; 
    }

    /* Кнопка "Избранное" — круглая с иконкой */
    .favorite-btn {
        width: 40px;
        height: 40px;
        padding: 0;
        border-radius: 50%;
        background-color: #ffc107;
        border: none;
        color: #000;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: background-color 0.3s ease;
        min-width: 0;
    }

    .favorite-btn::before {
        content: "\f004"; 
        font-family: "Font Awesome 5 Free";
        font-weight: 400;
        font-size: 1.2rem;
    }

    .favorite-btn.added::before {
        content: "\f00c"; 
        font-weight: 900;
    }

    .favorite-btn span {
        display: none; 
    }

    .favorite-btn.added {
        background-color: #ffc107;
        color: #000;
    }

    .favorite-btn:hover {
        background-color: #e0a800;
    }

    .favorite-btn.added:hover {
         background-color: #e0a800;
    }

    /* Таблица связанных станций */
    .related-stations-table td {
        padding: 8px;
        vertical-align: middle;
    }

    .related-stations-table .badge-info {
        padding: 4px 8px;
        font-size: 0.8rem;
        border-radius: 10px;
        display: inline-flex; 
    }

/* Уточняем стили для кнопки Favorites */
    .related-stations-table .favorite-btn {
        width: 45px;
        height: 45px;
        margin: 0 auto; 
        display: flex; 
        align-items: center;
		border-radius: 50%;
        justify-content: center;
    }

    .related-stations-table .favorite-btn::before {
        content: "\f004";
        font-family: "Font Awesome 5 Free";
        font-weight: 400;
        font-size: 1.1rem;
    }

    .related-stations-table .favorite-btn.added {
        background-color: #ffc107;
        color: #000;
    }

    .related-stations-table .favorite-btn.added::before {
        content: "\f00c"; /* Галочка */
        font-weight: 900;
    }

    .related-stations-table .favorite-btn:hover {
        background-color: #e0a800;
    }

    .related-stations-table .favorite-btn.added:hover {
        background-color: #e0a800;
    }

    .related-stations-table .favorite-btn span {
        display: none; 
    }
	
	.related-stations-table td[data-label="Favorites"] {
        text-align: center; 
        padding: 12px; 
    }
}

/* Планшеты (768px - 1023px) */
@media (min-width: 768px) and (max-width: 1023px) {
	
.breadcrumb-item.active {
        max-width: 150px;
    }
	
    .main-container.container {
        max-width: 720px;
        padding: 15px;
    }

    .custom-navbar .container {
        max-width: 720px;
        padding: 0 15px;
    }

    .navbar-menu {
        gap: 6px;
    }

    .nav-link {
        padding: 6px 8px;
    }

    /* Плеер */
    .station-controls {
        justify-content: flex-start; 
        gap: 10px;
        flex-wrap: wrap; 
    }

.station-info h1 {
        font-size: 1.1rem;
        white-space: normal;
        word-wrap: break-word;
        max-width: 100%;
    }

    .station-logo, .no-logo {
        width: 90px;
        height: 90px;
    }

    .btn {
        min-width: 80px;
        padding: 5px 10px;
        display: inline-flex; 
    }

    .bitrate-badge {
        min-width: 0; 
        display: inline-flex;
    }

    .station-actions {
        display: flex;
        gap: 10px;
    }

    .favorite-btn {
        width: 35px;
        height: 35px;
    }

    /* Таблица */
    .related-stations-table th,
    .related-stations-table td {
        padding: 6px;
    }

    .related-stations-table .station-logo {
        width: 35px;
        height: 35px;
    }

    .related-stations-table .country-flag {
        width: 24px;
        height: 18px;
    }

    .related-stations-table .genre-link {
        padding: 3px 6px;
        font-size: 0.8rem;
    }

    .related-stations-table .play-button {
        width: 45px; 
        height: 45px;
    }

    .related-stations-table .favorite-btn {
        width: 45px; 
        height: 45px;
        padding: 0;
        border-radius: 50%;
        background-color: #ffc107;
        border: none;
        color: #000;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: background-color 0.3s ease;
    }

    .related-stations-table .favorite-btn::before {
        content: "\f004"; 
        font-family: "Font Awesome 5 Free";
        font-weight: 400;
        font-size: 1.1rem;
    }

    .related-stations-table .favorite-btn.added::before {
        content: "\f00c";
        font-weight: 900;
    }

    .related-stations-table .favorite-btn span {
        display: none; 
    }

    /* Футер */
    .custom-footer {
        padding: 20px 0;
    }

    .footer-content {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: space-around;
        gap: 20px;
    }

    .footer-section {
        flex: 1 1 45%;
        min-width: 180px;
    }

    .footer-bottom {
        flex-direction: row;
        justify-content: space-between;
    }

    .custom-footer .container {
        max-width: 720px;
        padding: 0 15px;
    }
	
	.player-bar-content {
        gap: 12px;
        padding: 0 15px;
        max-width: 720px;
    }

    .player-bar-logo-container {
        width: 45px;
        height: 45px;
    }

    .player-bar .play-button {
        width: 55px;
        height: 55px;
    }

    .player-bar .play-button i {
        font-size: 22px;
    }

    .player-bar-info {
        font-size: 1.05rem;
        max-width: 45%;
    }

    .player-bar .volume-slider {
        width: 90px;
    }
	
}

/* 1024px+ */
@media (min-width: 1024px) {
	
	.breadcrumb-item.active {
        max-width: 350px; 
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap; 
    }
	
    .main-container.container {
        max-width: 960px;
    }

    .custom-navbar .container {
        max-width: 960px;
    }



    .station-logo, .no-logo {
        width: 90px;
        height: 90px;
    }

.station-info h1 {
        font-size: 1.2rem;
        white-space: normal;
        word-wrap: break-word;
        max-width: 100%;
    }

.station-controls {
        gap: 15px; 
    }
	
	/* Фиксируем стили кнопок как на 768px */
    .btn {
        padding: 6px 12px;
        font-size: 0.9rem;
        min-width: 90px;
        border-radius: 20px;
        display: inline-flex;
    }

    .favorite-btn {
        width: 35px;
        height: 35px;
        padding: 0;
        border-radius: 50%;
        background-color: #ffc107;
        border: none;
        color: #000;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: background-color 0.3s ease;
        min-width: 0;
    }

    .favorite-btn::before {
        content: "\f004"; 
        font-family: "Font Awesome 5 Free";
        font-weight: 400;
        font-size: 1.2rem;
    }

    .favorite-btn.added::before {
        content: "\f00c";
        font-weight: 900;
    }

    .favorite-btn span {
        display: none;
    }

    .favorite-btn.added {
        background-color: #ffc107;
        color: #000;
    }

    .favorite-btn:hover {
        background-color: #e0a800;
    }

    .favorite-btn.added:hover {
        background-color: #e0a800;
    }

    .related-stations-table .station-logo {
        width: 35px;
        height: 35px;
    }

    .related-stations-table .favorite-btn {
        width: 45px;
        height: 45px;
    }

    .custom-footer .container {
        max-width: 960px;
    }
}

/* Средние десктопы (1024px–1199px): чуть больше места */
@media (min-width: 1024px) and (max-width: 1199px) {
    .breadcrumb-item.active {
        max-width: 250px;
    }
	.player-bar-content {
        max-width: 960px;
    }
}

/* 1200px+ */
@media (min-width: 1200px) {
	
.breadcrumb-item.active {
        max-width: none;
        overflow: visible;
        white-space: normal; 
    }
    .main-container.container {
        max-width: 1140px;
    }

    .custom-navbar .container {
        max-width: 1140px;
    }

.station-info h1 {
        font-size: 1.3rem;
        white-space: normal;
        word-wrap: break-word;
        max-width: 100%;
    }

.station-controls {
        gap: 15px; 
    }


    .related-stations-table .favorite-btn {
        width: 45px;
        height: 45px;
    }

    .custom-footer .container {
        max-width: 1140px;
    }
	
.player-bar-content {
        max-width: 1140px;
    }
}

@media (min-width: 1440px) {
.main-container.container {
        max-width: 1320px;
    }
	
	.custom-navbar .container {
        max-width: 1320px;
    }
	
	.custom-footer .container {
        max-width: 1320px;
    }
	
	.station-info h1 {
        font-size: 1.4rem;
        white-space: normal;
        word-wrap: break-word;
        max-width: 100%;
    }
	
	.player-bar-content {
        max-width: 1320px;
    }
	
}

@media (min-width: 1920px) {
.main-container.container {
        max-width: 1600px;
    }
	
	.custom-navbar .container {
        max-width: 1600px;
    }

	.station-info h1 {
        font-size: 1.5rem;
        white-space: normal;
        word-wrap: break-word;
        max-width: 100%;
    }

.station-logo, .no-logo {
        width: 90px; 
        height: 90px;
    }

    .country-flag {
        width: 24px;
        height: 18px;
    }
	
	.custom-footer .container {
        max-width: 1600px;
    }

    .footer-section h5 {
        font-size: 1.2rem;
    }

    .footer-section p,
    .footer-links a {
        font-size: 1rem;
    }
}