/* ============================================
   ТЕМНАЯ ТЕМА ДЛЯ ОСНОВНОГО САЙТА
   Полное оформление для темной темы
   ============================================ */

/* === ОСНОВНЫЕ БЛОКИ КОНТЕНТА === */
.music-content {
    background-color: rgba(33, 37, 41, 0.95) !important;
    color: #e9ecef !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5) !important;
}

.music-content h3,
.music-content h4,
.music-content h5,
.music-content h2 {
    color: #fff !important;
}

.music-content p {
    color: #ced4da !important;
}

.music-content a {
    color: #8ab4f8 !important;
    text-decoration: none;
}

.music-content a:hover {
    color: #adc6ff !important;
    text-decoration: underline;
}

/* === ВИДЕО КОНТЕЙНЕРЫ === */
.media-content {
    background: rgba(33, 37, 41, 0.9);
    padding: 15px;
    border-radius: 10px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.6);
    border: 1px solid rgba(138, 43, 226, 0.3);
    transition: all 0.3s ease;
}

.media-content:hover {
    box-shadow: 0 12px 35px rgba(138, 43, 226, 0.4);
    transform: translateY(-2px);
    border-color: rgba(138, 43, 226, 0.5);
}

.media-content iframe {
    border-radius: 8px;
}

/* === АДАПТИВНОЕ ВИДЕО === */
.ratio {
    position: relative;
    width: 100%;
}

.ratio::before {
    display: block;
    padding-top: var(--bs-aspect-ratio);
    content: "";
}

.ratio > * {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.ratio-16x9 {
    --bs-aspect-ratio: 56.25%; /* 9/16 * 100% */
}

.ratio-16x9::before {
    padding-top: 56.25%;
}

/* === ФИКС НАВИГАЦИИ === */
/* Фикс для совместимости Bootstrap 3 CSS с Bootstrap 5 разметкой */
@media (min-width: 992px) {
    .navbar-expand-lg .navbar-collapse {
        display: flex !important;
        flex-basis: auto;
    }
    
    .navbar-expand-lg .navbar-nav {
        flex-direction: row;
    }
    
    .navbar-expand-lg .navbar-nav .nav-link {
        padding-right: 0.5rem;
        padding-left: 0.5rem;
    }
}

/* Navbar основные стили */
.navbar-collapse {
    flex-grow: 1;
    align-items: center;
}

.navbar-content {
    display: flex;
    align-items: center;
    width: 100%;
}

/* === КНОПКИ === */
.btn-info {
    background: linear-gradient(135deg, #5bc0de 0%, #4aa3c1 100%) !important;
    border: 2px solid #46b8da !important;
    color: #fff !important;
    font-weight: 600 !important;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3) !important;
    box-shadow: 0 4px 15px rgba(91, 192, 222, 0.4) !important;
    transition: all 0.3s ease !important;
}

.btn-info:hover {
    background: linear-gradient(135deg, #31b0d5 0%, #2a8fa6 100%) !important;
    border-color: #269abc !important;
    box-shadow: 0 6px 20px rgba(91, 192, 222, 0.6) !important;
    transform: translateY(-2px) !important;
}

.btn-info:active,
.btn-info:focus {
    background: linear-gradient(135deg, #269abc 0%, #1f7a8e 100%) !important;
    border-color: #1b6d85 !important;
}

/* Фан-клуб кнопка */
a[href*="fanlink"],
.btn-info,
button.btn-info {
    background: linear-gradient(135deg, #00c6ff 0%, #0072ff 100%) !important;
    border: 2px solid #0072ff !important;
    color: #fff !important;
    font-weight: bold !important;
    padding: 12px 30px !important;
    border-radius: 25px !important;
    box-shadow: 0 4px 20px rgba(0, 114, 255, 0.5) !important;
    transition: all 0.3s ease !important;
    text-decoration: none !important;
}

a[href*="fanlink"]:hover,
.btn-info:hover,
button.btn-info:hover {
    background: linear-gradient(135deg, #0072ff 0%, #00c6ff 100%) !important;
    box-shadow: 0 6px 30px rgba(0, 114, 255, 0.7) !important;
    transform: translateY(-3px) scale(1.05) !important;
}

/* === КАРТОЧКИ АЛЬБОМОВ/РЕЛИЗОВ === */
.splide__slide {
    background: rgba(33, 37, 41, 0.8);
    border-radius: 12px;
    padding: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.splide__slide:hover {
    background: rgba(40, 44, 52, 0.9);
    border-color: rgba(138, 43, 226, 0.5);
    box-shadow: 0 8px 25px rgba(138, 43, 226, 0.3);
}

.splide__slide img {
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
}

.splide__slide p,
.splide__slide h3,
.splide__slide h4 {
    color: #fff !important;
}

/* === ФУТЕР === */
footer {
    background-color: #1a1d20 !important;
    border-top: 1px solid rgba(138, 43, 226, 0.3);
}

footer p,
footer a {
    color: #ced4da !important;
}

footer a:hover {
    color: #fff !important;
}

/* === СЕКЦИИ === */
section {
    background-color: transparent;
}

/* Заголовки секций */
.section-title,
h2.section-title,
h3.section-title {
    color: #fff !important;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

/* === ТЕКСТ === */
body {
    color: #e9ecef !important;
}

p {
    color: #ced4da;
}

h1, h2, h3, h4, h5, h6 {
    color: #fff !important;
}

/* === ССЫЛКИ === */
a {
    color: #8ab4f8;
}

a:hover {
    color: #adc6ff;
}

/* === МУЗЫКАЛЬНЫЙ ПОСТЕР === */
.music-poster {
    background: transparent;
    padding: 20px;
    border-radius: 0;
    border: none;
}

.music-poster img {
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
}

.music-poster p {
    color: #fff !important;
}

.music-poster a {
    color: #8ab4f8 !important;
}

/* === НАВИГАЦИЯ === */
.navbar {
    background: rgba(26, 29, 32, 0.95) !important;
    backdrop-filter: blur(10px);
}

.navbar-dark .navbar-nav .nav-link {
    color: rgba(255, 255, 255, 0.9) !important;
}

.navbar-dark .navbar-nav .nav-link:hover {
    color: #fff !important;
    text-shadow: 0 0 10px rgba(138, 43, 226, 0.6);
}

/* === КАРТОЧКИ КОНЦЕРТОВ === */
.concert-card,
.card {
    background: rgba(33, 37, 41, 0.9) !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    color: #e9ecef !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5) !important;
}

.card-title {
    color: #fff !important;
}

.card-text {
    color: #ced4da !important;
}

/* === ФОРМЫ === */
input,
textarea,
select {
    background-color: rgba(33, 37, 41, 0.9) !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    color: #fff !important;
}

input::placeholder,
textarea::placeholder {
    color: rgba(255, 255, 255, 0.5) !important;
}

input:focus,
textarea:focus,
select:focus {
    background-color: rgba(40, 44, 52, 0.95) !important;
    border-color: rgba(138, 43, 226, 0.6) !important;
    box-shadow: 0 0 0 0.2rem rgba(138, 43, 226, 0.25) !important;
    color: #fff !important;
}

/* === ТАБЛИЦЫ === */
table {
    color: #e9ecef !important;
}

th {
    background-color: rgba(33, 37, 41, 0.95) !important;
    color: #fff !important;
    border-color: rgba(255, 255, 255, 0.15) !important;
}

td {
    background-color: rgba(40, 44, 52, 0.8) !important;
    border-color: rgba(255, 255, 255, 0.1) !important;
}

tr:hover td {
    background-color: rgba(50, 54, 62, 0.9) !important;
}

/* === МОДАЛЬНЫЕ ОКНА === */
.modal-content {
    background-color: #212529 !important;
    border: 1px solid rgba(138, 43, 226, 0.3) !important;
    color: #e9ecef !important;
}

.modal-header {
    border-bottom-color: rgba(255, 255, 255, 0.15) !important;
}

.modal-footer {
    border-top-color: rgba(255, 255, 255, 0.15) !important;
}

/* === BREADCRUMBS === */
.breadcrumb {
    background-color: rgba(33, 37, 41, 0.8) !important;
}

.breadcrumb-item {
    color: #ced4da !important;
}

.breadcrumb-item.active {
    color: #fff !important;
}

/* === PAGINATION === */
.pagination .page-link {
    background-color: rgba(33, 37, 41, 0.9) !important;
    border-color: rgba(255, 255, 255, 0.15) !important;
    color: #8ab4f8 !important;
}

.pagination .page-link:hover {
    background-color: rgba(138, 43, 226, 0.3) !important;
    border-color: rgba(138, 43, 226, 0.5) !important;
    color: #fff !important;
}

.pagination .page-item.active .page-link {
    background-color: #8a2be2 !important;
    border-color: #8a2be2 !important;
}

/* === ALERTS === */
.alert {
    background-color: rgba(33, 37, 41, 0.95) !important;
    border-color: rgba(255, 255, 255, 0.15) !important;
    color: #e9ecef !important;
}

.alert-info {
    background-color: rgba(91, 192, 222, 0.2) !important;
    border-color: rgba(91, 192, 222, 0.5) !important;
    color: #5bc0de !important;
}

/* === ПРОКРУТКА === */
::-webkit-scrollbar {
    width: 12px;
    background: rgba(26, 29, 32, 0.9);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #8a2be2 0%, #5bc0de 100%);
    border-radius: 6px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #9b3ef5 0%, #6cd0ed 100%);
}

/* === ДОПОЛНИТЕЛЬНЫЕ УЛУЧШЕНИЯ === */
hr {
    border-color: rgba(255, 255, 255, 0.15) !important;
}

.text-muted {
    color: rgba(255, 255, 255, 0.5) !important;
}

.bg-light {
    background-color: rgba(33, 37, 41, 0.5) !important;
}

.bg-white {
    background-color: rgba(33, 37, 41, 0.95) !important;
}

/* === СПИСКИ === */
ul li,
ol li {
    color: #ced4da;
}

/* === ЦИТАТЫ === */
blockquote {
    border-left-color: #8a2be2 !important;
    color: #ced4da !important;
}

/* === ЯРКАЯ РАМКА ДЛЯ ФОКУСА === */
:focus-visible {
    outline: 2px solid rgba(138, 43, 226, 0.6) !important;
    outline-offset: 2px;
}

