/* ===== БАЗОВЫЕ СТИЛИ ===== */
body {
    background: #1A0F0A; /* Глубокий тёмно-коричневый, как горький шоколад */
    font-family: 'Georgia', 'Times New Roman', serif;
    color: #E8D5B5;
    margin: 0;
    padding: 0;
}

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

/* ===== ШАПКА ===== */
.site-header {
    background: #0D0704;
    padding: 25px 0;
    text-align: center;
    border-bottom: 2px solid #D4AF37;
    box-shadow: 0 4px 20px rgba(0,0,0,0.4);
}

.site-title a {
    color: #D4AF37;
    text-decoration: none;
    font-size: 38px;
    font-weight: bold;
    letter-spacing: 3px;
}

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

.main-menu li a {
    color: #D4AF37;
    text-decoration: none;
    font-weight: bold;
    font-size: 18px;
    transition: 0.2s;
    padding: 8px 16px;
    border-radius: 40px;
}

.main-menu li a:hover {
    background: rgba(212, 175, 55, 0.15);
    color: #FFE4A0;
}

/* ===== ЗАГОЛОВКИ СЕКЦИЙ ===== */
.section-title {
    color: #D4AF37;
    border-left: 6px solid #D4AF37;
    padding-left: 20px;
    margin-bottom: 30px;
    font-size: 32px;
    font-weight: normal;
}

.section-title.gold {
    color: #D4AF37;
    text-shadow: 0 0 5px rgba(212,175,55,0.3);
}

/* ===== КАРТОЧКИ ТРЕКОВ ===== */
.ozvuchka-card {
    background: #2C1A12;
    border-radius: 28px;
    overflow: hidden;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.4);
    transition: transform 0.3s ease, box-shadow 0.3s;
    height: 100%;
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(212, 175, 55, 0.2);
}

.ozvuchka-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 35px rgba(0, 0, 0, 0.5);
    border-color: rgba(212, 175, 55, 0.5);
}

.card-image-link {
    display: block;
    overflow: hidden;
}

.card-image {
    width: 100%;
    height: 240px;
    object-fit: cover;
    transition: transform 0.4s ease;
    border-radius: 28px 28px 0 0;
}

.ozvuchka-card:hover .card-image {
    transform: scale(1.03);
}

.card-image-placeholder {
    width: 100%;
    height: 240px;
    background: #3D261C;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 64px;
    color: #D4AF37;
}

.card-content {
    padding: 22px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.card-title {
    font-size: 22px;
    margin: 0 0 15px 0;
    font-weight: bold;
}

.card-title a {
    color: #F0E0B0;
    text-decoration: none;
    transition: 0.2s;
}

.card-title a:hover {
    color: #D4AF37;
}

/* ===== ПЛЕЕР ===== */
.custom-player {
    background: #1A0F0A;
    border-radius: 20px;
    padding: 16px;
    margin-top: auto;
    border: 1px solid rgba(212, 175, 55, 0.3);
}

.player-meta {
    margin-bottom: 12px;
    font-size: 13px;
    line-height: 1.5;
}

.meta-item {
    color: #D4AF37;
    margin-bottom: 5px;
    word-break: break-word;
}

.audio-player {
    width: 100%;
    margin: 12px 0;
    border-radius: 40px;
    background: #2C1A12;
}

.audio-player::-webkit-media-controls-panel {
    background: #2C1A12;
}

.download-btn {
    display: inline-block;
    background: #D4AF37;
    color: #1A0F0A;
    padding: 8px 20px;
    border-radius: 40px;
    text-decoration: none;
    font-weight: bold;
    font-size: 14px;
    transition: 0.2s;
    border: none;
    cursor: pointer;
    text-align: center;
}

.download-btn:hover {
    background: #E8C84A;
    transform: scale(1.02);
    box-shadow: 0 2px 10px rgba(212,175,55,0.4);
}

.no-audio {
    color: #A08060;
    font-size: 12px;
    font-style: italic;
    margin: 10px 0 0;
}

/* ===== КАРУСЕЛИ SWIPER ===== */
.swiper {
    padding: 10px 0 50px 0;
    overflow: visible;
}

.swiper-slide {
    height: auto;
}

.swiper-button-prev,
.swiper-button-next {
    background: rgba(26, 15, 10, 0.85);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    backdrop-filter: blur(4px);
    border: 1px solid rgba(212, 175, 55, 0.5);
}

.swiper-button-prev:after,
.swiper-button-next:after {
    font-size: 18px;
    color: #D4AF37;
    font-weight: bold;
}

.swiper-pagination-bullet {
    background: #D4AF37;
    opacity: 0.4;
}

.swiper-pagination-bullet-active {
    background: #D4AF37;
    opacity: 1;
}

/* ===== КНОПКА ЗАГРУЗИТЬ ЕЩЁ ===== */
.load-more-wrapper {
    text-align: center;
    margin: 50px 0 30px;
}

.load-more-btn {
    font-size: 18px;
    padding: 14px 35px;
    background: #D4AF37;
    color: #1A0F0A;
}

.load-more-btn:hover {
    background: #E8C84A;
}

/* ===== ФУТЕР ===== */
.site-footer {
    background: #0D0704;
    color: #D4AF37;
    text-align: center;
    padding: 35px 20px;
    margin-top: 70px;
    border-top: 1px solid rgba(212, 175, 55, 0.3);
}

.footer-links a {
    color: #D4AF37;
    text-decoration: none;
    margin: 0 12px;
}

.footer-links a:hover {
    text-decoration: underline;
}

/* ===== АДАПТИВНОСТЬ ===== */
@media (max-width: 768px) {
    .section-title {
        font-size: 26px;
    }
    .card-title {
        font-size: 18px;
    }
    .card-image, .card-image-placeholder {
        height: 180px;
    }
    .meta-item {
        font-size: 11px;
    }
    .swiper-button-prev,
    .swiper-button-next {
        display: none;
    }
    .main-menu {
        gap: 15px;
    }
    .main-menu li a {
        font-size: 14px;
        padding: 5px 10px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 15px;
    }
    .card-content {
        padding: 15px;
    }
    .custom-player {
        padding: 12px;
    }
}
