/* ============================================
   FOOTER STYLES - Современный подвал сайта
   ============================================ */

.footer {
    margin-top: auto;
}

/* ============================================
   COMPACT FOOTER (NEW)
   ============================================ */

.footer-compact .footer-compact-main {
    background: var(--bg-secondary, #1a1a1a);
    padding: 18px 0;
    border-top: 1px solid var(--border-secondary, rgba(255, 255, 255, 0.08));
}

.footer-compact-inner {
    display: flex;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
}

/* Brand */
.footer-compact-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.footer-compact-name {
    font-weight: 800;
    font-size: 16px;
    color: var(--text-primary, #fff);
    letter-spacing: -0.02em;
}

.footer-compact-tagline {
    font-size: 12px;
    color: var(--text-muted, rgba(255,255,255,0.4));
    white-space: nowrap;
}

.footer-logo-img {
    max-height: 32px;
    width: auto;
}

/* Nav */
.footer-compact-nav {
    display: flex;
    align-items: center;
    gap: 4px;
    flex: 1;
    flex-wrap: wrap;
}

.footer-compact-nav a {
    font-size: 13px;
    color: var(--text-muted, rgba(255,255,255,0.6));
    text-decoration: none;
    padding: 4px 10px;
    border-radius: 6px;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.footer-compact-nav a:hover {
    color: var(--text-primary, #fff);
    background: rgba(255,255,255,0.06);
}

/* Social */
.footer-compact-social {
    display: flex;
    gap: 6px;
    flex-shrink: 0;
}

.footer-compact-social .social-link {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 8px;
    color: var(--text-muted, rgba(255,255,255,0.6));
    font-size: 14px;
    transition: all 0.2s ease;
    text-decoration: none;
}

.footer-compact-social .social-link:hover {
    background: var(--color-primary, #00d4ff);
    border-color: var(--color-primary, #00d4ff);
    color: #fff;
    transform: translateY(-2px);
}

/* Bottom bar */
.footer-modern .footer-bottom {
    background: rgba(0, 0, 0, 0.25);
    padding: 10px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.04);
}

.footer-bottom-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.footer-copyright {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: var(--text-secondary, rgba(255, 255, 255, 0.45));
}

.footer-years {
    font-weight: 600;
    color: var(--text-main, rgba(255, 255, 255, 0.65));
}

.footer-divider {
    opacity: 0.3;
}

.footer-site-name {
    font-weight: 600;
    color: var(--text-main, rgba(255, 255, 255, 0.7));
}

.footer-version {
    display: inline-flex;
    align-items: center;
    padding: 1px 6px;
    background: linear-gradient(135deg, var(--color-primary, #00d4ff) 0%, var(--color-accent-alt, #9b5cff) 100%);
    border-radius: 4px;
    font-size: 10px;
    font-weight: 700;
    color: #fff;
}

.footer-bottom-links {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
}

.footer-bottom-links a {
    font-size: 11px;
    color: var(--text-secondary, rgba(255, 255, 255, 0.45));
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-bottom-links a:hover {
    color: var(--color-primary, #00d4ff);
}

/* Light theme */
html[data-theme="light"] .footer-compact .footer-compact-main,
html[data-theme="light_japan"] .footer-compact .footer-compact-main {
    background: var(--bg-secondary, #f5f5f0);
}

html[data-theme="light"] .footer-compact-name,
html[data-theme="light_japan"] .footer-compact-name {
    color: var(--text-primary, #1a1a1a);
}

html[data-theme="light"] .footer-compact-tagline,
html[data-theme="light_japan"] .footer-compact-tagline {
    color: rgba(0,0,0,0.4);
}

html[data-theme="light"] .footer-compact-nav a,
html[data-theme="light_japan"] .footer-compact-nav a {
    color: rgba(0,0,0,0.6);
}

html[data-theme="light"] .footer-compact-nav a:hover,
html[data-theme="light_japan"] .footer-compact-nav a:hover {
    color: rgba(0,0,0,0.9);
    background: rgba(0,0,0,0.04);
}

html[data-theme="light"] .footer-compact-social .social-link,
html[data-theme="light_japan"] .footer-compact-social .social-link {
    background: rgba(0,0,0,0.04);
    border-color: rgba(0,0,0,0.1);
    color: rgba(0,0,0,0.6);
}

html[data-theme="light"] .footer-modern .footer-bottom,
html[data-theme="light_japan"] .footer-modern .footer-bottom {
    background: rgba(0, 0, 0, 0.03);
    border-top-color: rgba(0, 0, 0, 0.06);
}

html[data-theme="light"] .footer-copyright,
html[data-theme="light"] .footer-years,
html[data-theme="light"] .footer-site-name,
html[data-theme="light_japan"] .footer-copyright,
html[data-theme="light_japan"] .footer-years,
html[data-theme="light_japan"] .footer-site-name {
    color: rgba(0,0,0,0.6);
}

html[data-theme="light"] .footer-bottom-links a,
html[data-theme="light_japan"] .footer-bottom-links a {
    color: rgba(0,0,0,0.45);
}

/* Responsive */
@media (max-width: 768px) {
    .footer-compact-inner {
        gap: 12px;
    }

    .footer-compact-brand {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
    }

    .footer-compact-tagline {
        display: none;
    }

    .footer-compact-nav {
        gap: 2px;
    }

    .footer-compact-nav a {
        padding: 4px 8px;
        font-size: 12px;
    }
}

@media (max-width: 575px) {
    .footer-compact-inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .footer-compact-social {
        align-self: flex-start;
    }

    .footer-bottom-inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
    }

    .footer-bottom-links {
        gap: 10px;
        flex-wrap: wrap;
    }
}

/* ============================================
   COMPACT FOOTER V2 (with 2-column links)
   ============================================ */

.footer-compact-v2 .footer-main-compact {
    background: var(--bg-secondary, #1a1a1a);
    padding: 24px 0 20px;
    border-top: 1px solid var(--border-secondary, rgba(255, 255, 255, 0.08));
}

.footer-grid-compact {
    display: flex;
    align-items: flex-start;
    gap: 0;
}

/* Vertical divider */
.footer-vdivider {
    width: 1px;
    align-self: stretch;
    background: rgba(255, 255, 255, 0.07);
    margin: 0 24px;
    flex-shrink: 0;
}

/* Brand block */
.footer-brand-compact {
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex-shrink: 0;
    min-width: 160px;
    max-width: 200px;
}

.footer-logo-img-sm {
    max-height: 32px;
    width: auto;
}

.footer-brand-name {
    font-weight: 800;
    font-size: 18px;
    color: var(--text-primary, #fff);
    letter-spacing: -0.02em;
}

.footer-brand-tagline {
    font-size: 12px;
    color: var(--text-muted, rgba(255,255,255,0.4));
    margin: 0;
    line-height: 1.4;
}

.footer-social-row {
    display: flex;
    gap: 6px;
    margin-top: 4px;
}

.footer-social-icon {
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 8px;
    color: var(--text-muted, rgba(255,255,255,0.6));
    font-size: 13px;
    transition: all 0.2s ease;
    text-decoration: none;
}

.footer-social-icon:hover {
    background: var(--color-primary, #00d4ff);
    border-color: var(--color-primary, #00d4ff);
    color: #fff;
    transform: translateY(-2px);
}

/* Section block */
.footer-section-compact {
    flex: 1;
    min-width: 160px;
}

.footer-section-title {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--text-secondary, rgba(255,255,255,0.4));
    margin: 0 0 10px;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}

/* 2-column link layout inside a section */
.footer-links-2col {
    display: flex;
    gap: 8px 20px;
}

.footer-links-2col .footer-col {
    display: flex;
    flex-direction: column;
    gap: 5px;
    flex: 1;
}

.footer-links-2col a {
    font-size: 12px;
    color: var(--text-muted, rgba(255,255,255,0.65));
    text-decoration: none;
    transition: color 0.2s ease;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.footer-links-2col a:hover {
    color: var(--color-primary, #00d4ff);
}

/* Quick actions block */
.footer-actions-compact .footer-action-list {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.footer-action-sm {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 10px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 7px;
    color: var(--text-muted, rgba(255,255,255,0.7));
    font-size: 12px;
    font-weight: 500;
    font-family: var(--font-sans);
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.footer-action-sm i {
    font-size: 13px;
    color: var(--color-primary, #00d4ff);
}

.footer-action-sm:hover {
    background: rgba(255,255,255,0.08);
    border-color: rgba(255,255,255,0.15);
    color: var(--text-primary, #fff);
    transform: translateX(2px);
}

/* Light themes */
html[data-theme="light"] .footer-compact-v2 .footer-main-compact,
html[data-theme="light_japan"] .footer-compact-v2 .footer-main-compact {
    background: var(--bg-secondary, #f5f5f0);
}

html[data-theme="light"] .footer-vdivider,
html[data-theme="light_japan"] .footer-vdivider {
    background: rgba(0,0,0,0.08);
}

html[data-theme="light"] .footer-brand-name,
html[data-theme="light_japan"] .footer-brand-name {
    color: var(--text-primary, #1a1a1a);
}

html[data-theme="light"] .footer-brand-tagline,
html[data-theme="light_japan"] .footer-brand-tagline {
    color: rgba(0,0,0,0.45);
}

html[data-theme="light"] .footer-section-title,
html[data-theme="light_japan"] .footer-section-title {
    color: rgba(0,0,0,0.4);
    border-bottom-color: rgba(0,0,0,0.07);
}

html[data-theme="light"] .footer-links-2col a,
html[data-theme="light_japan"] .footer-links-2col a {
    color: rgba(0,0,0,0.65);
}

html[data-theme="light"] .footer-social-icon,
html[data-theme="light_japan"] .footer-social-icon {
    background: rgba(0,0,0,0.04);
    border-color: rgba(0,0,0,0.1);
    color: rgba(0,0,0,0.6);
}

html[data-theme="light"] .footer-action-sm,
html[data-theme="light_japan"] .footer-action-sm {
    background: rgba(0,0,0,0.03);
    border-color: rgba(0,0,0,0.1);
    color: rgba(0,0,0,0.7);
}

html[data-theme="light"] .footer-modern .footer-bottom,
html[data-theme="light_japan"] .footer-modern .footer-bottom {
    background: rgba(0,0,0,0.03);
    border-top-color: rgba(0,0,0,0.06);
}

html[data-theme="light"] .footer-bottom-links a,
html[data-theme="light"] .footer-copyright,
html[data-theme="light"] .footer-years,
html[data-theme="light"] .footer-site-name,
html[data-theme="light_japan"] .footer-bottom-links a,
html[data-theme="light_japan"] .footer-copyright,
html[data-theme="light_japan"] .footer-years,
html[data-theme="light_japan"] .footer-site-name {
    color: rgba(0,0,0,0.55);
}

/* Responsive */
@media (max-width: 992px) {
    .footer-grid-compact {
        flex-wrap: wrap;
        gap: 20px 0;
    }

    .footer-vdivider {
        display: none;
    }

    .footer-brand-compact {
        width: 100%;
        max-width: 100%;
        flex-direction: row;
        align-items: center;
        flex-wrap: wrap;
        gap: 12px;
        padding-bottom: 16px;
        border-bottom: 1px solid rgba(255,255,255,0.07);
    }

    .footer-brand-tagline {
        flex: 1;
        min-width: 160px;
    }

    .footer-section-compact {
        min-width: 140px;
    }
}

@media (max-width: 576px) {
    .footer-compact-v2 .footer-main-compact {
        padding: 20px 0 16px;
    }

    .footer-grid-compact {
        flex-direction: column;
        gap: 16px;
    }

    .footer-brand-compact {
        flex-direction: column;
        align-items: flex-start;
    }

    .footer-actions-compact .footer-action-list {
        flex-direction: row;
        flex-wrap: wrap;
    }

    .footer-bottom-inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
    }

    .footer-bottom-links {
        flex-wrap: wrap;
        gap: 8px;
    }
}

/* OLD STYLES — kept for radio/custom-links components */

/* ============================================
   MODERN FOOTER GRID LAYOUT
   ============================================ */

.footer-modern .footer-grid {
    display: grid;
    grid-template-columns: 1.5fr repeat(3, 1fr) 1.2fr;
    gap: 32px;
    align-items: start;
}

/* Brand section */
.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-brand .footer-logo {
    display: inline-block;
    margin-bottom: 4px;
}

.footer-tagline {
    font-size: 13px;
    color: var(--text-secondary, rgba(255, 255, 255, 0.6));
    line-height: 1.5;
    margin: 0;
    max-width: 280px;
}

/* Nav groups */
.footer-nav-group {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.footer-modern .footer-title {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--text-secondary, rgba(255, 255, 255, 0.5));
    margin-bottom: 14px;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-modern .footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-modern .footer-links li {
    margin: 0;
}

.footer-modern .footer-links a {
    font-size: 13px;
    color: var(--text-main, rgba(255, 255, 255, 0.8));
    text-decoration: none;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.footer-modern .footer-links a:hover {
    color: var(--color-primary, #00d4ff);
    transform: translateX(3px);
}

/* Footer actions */
.footer-actions {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.footer-action-buttons {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-action-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 16px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    color: var(--text-main, #fff);
    font-size: 13px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.25s ease;
    cursor: pointer;
}

.footer-action-btn i {
    font-size: 16px;
    color: var(--color-primary, #00d4ff);
    transition: all 0.25s ease;
}

.footer-action-btn:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--color-primary, #00d4ff);
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2), 0 0 20px var(--color-primary-glow, rgba(0, 212, 255, 0.15));
}

.footer-action-btn:hover i {
    transform: scale(1.1);
}

/* Social links compact */
.footer-modern .footer-social {
    display: flex;
    gap: 8px;
    margin-top: 4px;
}

.footer-modern .social-link {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: var(--text-main, rgba(255, 255, 255, 0.8));
    font-size: 16px;
    transition: all 0.25s ease;
}

.footer-modern .social-link:hover {
    background: var(--color-primary, #00d4ff);
    border-color: var(--color-primary, #00d4ff);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px var(--color-primary-glow, rgba(0, 212, 255, 0.4));
}

/* ============================================
   FOOTER BOTTOM - Modern
   ============================================ */

.footer-modern .footer-bottom {
    background: rgba(0, 0, 0, 0.3);
    padding: 16px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.04);
}

.footer-bottom-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.footer-copyright {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--text-secondary, rgba(255, 255, 255, 0.5));
}

.footer-years {
    font-weight: 600;
    color: var(--text-main, rgba(255, 255, 255, 0.75));
}

.footer-divider {
    opacity: 0.3;
}

.footer-site-name {
    font-weight: 600;
    color: var(--text-main, rgba(255, 255, 255, 0.8));
}

.footer-version {
    display: inline-flex;
    align-items: center;
    padding: 2px 8px;
    background: linear-gradient(135deg, var(--color-primary, #00d4ff) 0%, var(--color-accent-alt, #9b5cff) 100%);
    border-radius: 4px;
    font-size: 10px;
    font-weight: 700;
    color: #fff;
    letter-spacing: 0.05em;
}

.footer-bottom-links {
    display: flex;
    align-items: center;
    gap: 16px;
}

.footer-bottom-links a {
    font-size: 12px;
    color: var(--text-secondary, rgba(255, 255, 255, 0.5));
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-bottom-links a:hover {
    color: var(--color-primary, #00d4ff);
}

/* ============================================
   RESPONSIVE - Footer Grid
   ============================================ */

@media (max-width: 1199px) {
    .footer-modern .footer-grid {
        grid-template-columns: 1.5fr repeat(2, 1fr) 1fr;
    }
    
    .footer-nav-group:nth-child(4) {
        display: none;
    }
}

@media (max-width: 991px) {
    .footer-modern .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 24px;
    }
    
    .footer-brand {
        grid-column: span 2;
    }
    
    .footer-actions {
        grid-column: span 2;
    }
    
    .footer-action-buttons {
        flex-direction: row;
        flex-wrap: wrap;
    }
    
    .footer-nav-group:nth-child(4) {
        display: flex;
    }
}

@media (max-width: 575px) {
    .footer-main {
        padding: 32px 0 20px;
    }
    
    .footer-modern .footer-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .footer-brand {
        grid-column: span 1;
        text-align: center;
        align-items: center;
    }
    
    .footer-tagline {
        text-align: center;
    }
    
    .footer-modern .footer-social {
        justify-content: center;
    }
    
    .footer-nav-group {
        text-align: center;
    }
    
    .footer-modern .footer-title {
        text-align: center;
    }
    
    .footer-modern .footer-links {
        align-items: center;
    }
    
    .footer-actions {
        grid-column: span 1;
        align-items: center;
    }
    
    .footer-action-buttons {
        justify-content: center;
    }
    
    .footer-bottom-inner {
        flex-direction: column;
        text-align: center;
        gap: 12px;
    }
    
    .footer-copyright {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .footer-bottom-links {
        justify-content: center;
        flex-wrap: wrap;
        gap: 12px;
    }
}

/* ============================================
   THEME ADAPTATIONS - Footer
   ============================================ */

html[data-theme="light"] .footer-main,
html[data-theme="light_japan"] .footer-main {
    background: var(--bg-secondary, #f5f5f0);
}

html[data-theme="light"] .footer-modern .footer-title,
html[data-theme="light_japan"] .footer-modern .footer-title {
    color: rgba(0, 0, 0, 0.5);
    border-bottom-color: rgba(0, 0, 0, 0.06);
}

html[data-theme="light"] .footer-modern .footer-links a,
html[data-theme="light_japan"] .footer-modern .footer-links a {
    color: rgba(0, 0, 0, 0.7);
}

html[data-theme="light"] .footer-tagline,
html[data-theme="light_japan"] .footer-tagline {
    color: rgba(0, 0, 0, 0.6);
}

html[data-theme="light"] .footer-action-btn,
html[data-theme="light_japan"] .footer-action-btn {
    background: rgba(0, 0, 0, 0.03);
    border-color: rgba(0, 0, 0, 0.1);
    color: rgba(0, 0, 0, 0.8);
}

html[data-theme="light"] .footer-action-btn:hover,
html[data-theme="light_japan"] .footer-action-btn:hover {
    background: rgba(0, 0, 0, 0.06);
}

html[data-theme="light"] .footer-modern .social-link,
html[data-theme="light_japan"] .footer-modern .social-link {
    background: rgba(0, 0, 0, 0.04);
    border-color: rgba(0, 0, 0, 0.1);
    color: rgba(0, 0, 0, 0.7);
}

html[data-theme="light"] .footer-modern .footer-bottom,
html[data-theme="light_japan"] .footer-modern .footer-bottom {
    background: rgba(0, 0, 0, 0.03);
    border-top-color: rgba(0, 0, 0, 0.06);
}

html[data-theme="light"] .footer-copyright,
html[data-theme="light_japan"] .footer-copyright {
    color: rgba(0, 0, 0, 0.5);
}

html[data-theme="light"] .footer-years,
html[data-theme="light"] .footer-site-name,
html[data-theme="light_japan"] .footer-years,
html[data-theme="light_japan"] .footer-site-name {
    color: rgba(0, 0, 0, 0.7);
}

html[data-theme="light"] .footer-bottom-links a,
html[data-theme="light_japan"] .footer-bottom-links a {
    color: rgba(0, 0, 0, 0.5);
}

/* OLD STYLES - kept for backwards compatibility */

/* Строка логотипов (основной + партнёры) */
.footer-logos-row {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.footer-logos-widget .footer-logo {
    flex-shrink: 0;
}

.partner-logo-link {
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.8;
    transition: all 0.3s ease;
}

.partner-logo-link:hover {
    opacity: 1;
    transform: scale(1.05);
}

.partner-logo-img {
    max-height: 40px;
    width: auto;
    border-radius: 8px;
}

.footer-description {
    color: var(--text-secondary, #aaa);
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 20px;
}

/* Соцсети */
.footer-social {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.social-link {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-tertiary, #2a2a2a);
    border-radius: 10px;
    color: var(--text-main, #fff);
    font-size: 18px;
    transition: all 0.3s ease;
    border: 1px solid var(--border-secondary, rgba(255, 255, 255, 0.08));
}

.social-link:hover {
    background: var(--color-primary, #ff6b35);
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(255, 107, 53, 0.3);
}

/* Заголовки виджетов */
.footer-title {
    color: var(--text-main, #fff);
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Ссылки */
.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: var(--text-secondary, #aaa);
    font-size: 14px;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
}

.footer-links a:hover {
    color: var(--color-primary, #ff6b35);
    transform: translateX(5px);
}

/* Партнёры */
.footer-partners {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px 0;
    border-top: 1px solid var(--border-secondary, rgba(255, 255, 255, 0.08));
}

.partners-label {
    color: var(--text-secondary, #888);
    font-size: 14px;
    font-weight: 600;
}

.partners-logos {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    align-items: center;
}

.partner-logo {
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.partner-logo:hover {
    opacity: 1;
}

.partner-logo img {
    max-height: 30px;
    width: auto;
    filter: grayscale(100%);
    transition: filter 0.3s ease;
}

.partner-logo:hover img {
    filter: grayscale(0%);
}

/* Нижняя часть подвала */
.footer-bottom {
    padding: 20px 0;
    background: var(--color-black, #111);
}

.footer-copyright {
    color: var(--text-secondary, #888);
    font-size: 14px;
}

.footer-bottom-links {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    flex-wrap: wrap;
}

.footer-bottom-links a {
    color: var(--text-secondary, #888);
    font-size: 13px;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-bottom-links a:hover {
    color: var(--color-primary, #ff6b35);
}

.footer-bottom-links .separator {
    color: var(--text-muted, #555);
}

/* Адаптивность */
@media (max-width: 991px) {
    .footer-main {
        padding: 40px 0 20px;
    }
    
    .footer-widget {
        margin-bottom: 30px;
    }
}

@media (max-width: 767px) {
    .footer-partners {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .footer-bottom-links {
        justify-content: center;
        margin-top: 10px;
    }
    
    .footer-copyright {
        text-align: center;
    }
}

/* ============================================
   РАДИО-ПЛАШКА НАД ПОДВАЛОМ
   ============================================ */
.footer-radio-above {
    background: var(--bg-tertiary, #1f1f1f);
    border-bottom: 1px solid var(--border-secondary, rgba(255, 255, 255, 0.08));
    padding: 16px 0;
    transition: all 0.3s ease;
}

.radio-bar-footer {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

.radio-toggle-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 24px;
    border-radius: 30px;
    background: linear-gradient(135deg, var(--color-primary, #ff6b35), var(--color-primary-dark, #e55a2a));
    color: #fff;
    border: none;
    cursor: pointer;
    font-weight: 700;
    font-size: 15px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    position: relative;
    overflow: hidden;
}

/* Свечение при наведении */
.radio-toggle-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.5s, height 0.5s;
}

.radio-toggle-btn:hover::before {
    width: 300px;
    height: 300px;
}

.radio-toggle-btn:hover {
    transform: scale(1.05) translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}

.radio-toggle-btn .toggle-arrow {
    transition: transform 0.3s ease;
    font-size: 12px;
}

.radio-toggle-btn.active .toggle-arrow {
    transform: rotate(180deg);
}

/* Пульсация когда радио активно */
.radio-toggle-btn.radio-playing {
    animation: radio-glow-pulse 2s ease-in-out infinite;
}

@keyframes radio-glow-pulse {
    0%, 100% {
        box-shadow: 0 4px 12px rgba(255, 107, 53, 0.3), 0 0 20px rgba(255, 107, 53, 0.2);
    }
    50% {
        box-shadow: 0 4px 12px rgba(255, 107, 53, 0.5), 0 0 30px rgba(255, 107, 53, 0.4);
    }
}

.radio-controls-expanded {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
    flex-wrap: wrap;
}

.fr-btn {
    padding: 10px 18px;
    border-radius: 25px;
    background: var(--bg-secondary, #2a2a2a);
    color: var(--text-main, #fff);
    border: 1px solid var(--border-secondary, rgba(255, 255, 255, 0.1));
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.25s ease;
    position: relative;
    overflow: hidden;
}

/* Волновой эффект при клике */
.fr-btn::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s, opacity 0.6s;
    opacity: 0;
}

.fr-btn:active::after {
    width: 200px;
    height: 200px;
    opacity: 1;
    transition: 0s;
}

.fr-btn:hover {
    background: var(--color-primary, #ff6b35);
    border-color: var(--color-primary, #ff6b35);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 107, 53, 0.4);
}

/* Кнопка Play — круглая с анимацией */
.fr-btn.fr-play {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    background: linear-gradient(135deg, var(--color-primary, #ff6b35), var(--color-primary-dark, #e55a2a));
    border: 2px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 12px rgba(255, 107, 53, 0.3);
}

.fr-btn.fr-play:hover {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 6px 20px rgba(255, 107, 53, 0.5);
}

/* Пульсация Play при воспроизведении */
.fr-btn.fr-play.playing {
    animation: play-pulse 1.5s ease-in-out infinite;
}

@keyframes play-pulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 4px 12px rgba(255, 107, 53, 0.3);
    }
    50% {
        transform: scale(1.08);
        box-shadow: 0 6px 20px rgba(255, 107, 53, 0.6), 0 0 30px rgba(255, 107, 53, 0.3);
    }
}

/* Трек с градиентной заливкой */
.fr-track {
    flex: 1;
    min-width: 120px;
    max-width: 250px;
    height: 8px;
    background: var(--bg-secondary, #2a2a2a);
    border-radius: 4px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    transition: all 0.25s ease;
}

.fr-track:hover {
    border-color: var(--color-primary, #ff6b35);
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.2), 0 0 12px rgba(255, 107, 53, 0.3);
}

/* Градиентная заливка с переливом */
.fr-fill {
    height: 100%;
    background: linear-gradient(90deg, 
        var(--color-primary, #ff6b35) 0%, 
        #ff8c5a 50%, 
        var(--color-primary, #ff6b35) 100%
    );
    background-size: 200% 100%;
    width: 0%;
    transition: width 0.1s linear;
    position: relative;
    box-shadow: 0 0 8px rgba(255, 107, 53, 0.6);
}

/* Анимация перелива градиента */
.fr-fill.animating {
    animation: gradient-shift 3s ease infinite;
}

@keyframes gradient-shift {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

.fr-time {
    color: var(--text-secondary, #aaa);
    font-size: 13px;
    font-family: 'Courier New', monospace;
    font-weight: 600;
    min-width: 120px;
    text-align: center;
}

.fr-vol {
    width: 100px;
    height: 6px; /* тоньше чем трек (8px) */
    accent-color: var(--color-primary, #ff6b35);
    cursor: pointer;
    transition: all 0.25s ease;
    -webkit-appearance: none;
    appearance: none;
    background: transparent;
}

/* Трек для ползунка громкости */
.fr-vol::-webkit-slider-runnable-track {
    width: 100%;
    height: 6px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 3px;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.fr-vol::-moz-range-track {
    width: 100%;
    height: 6px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 3px;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

/* Ползунок (thumb) */
.fr-vol::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--color-primary, #ff6b35);
    cursor: pointer;
    border: 2px solid #fff;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
    margin-top: -4px; /* центрирование */
}

.fr-vol::-moz-range-thumb {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--color-primary, #ff6b35);
    cursor: pointer;
    border: 2px solid #fff;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
}

.fr-vol:hover::-webkit-slider-thumb {
    transform: scale(1.2);
    box-shadow: 0 2px 8px rgba(255, 107, 53, 0.6);
}

.fr-vol:hover::-moz-range-thumb {
    transform: scale(1.2);
    box-shadow: 0 2px 8px rgba(255, 107, 53, 0.6);
}

@media (max-width: 768px) {
    .footer-radio-above {
        padding: 12px 0;
    }
    
    .radio-bar-footer {
        justify-content: center;
        gap: 10px;
    }
    
    .radio-toggle-btn {
        padding: 10px 20px;
        font-size: 14px;
    }
    
    .radio-controls-expanded {
        justify-content: center;
        width: 100%;
    }
    
    .fr-track {
        max-width: 100%;
        flex: 1 1 100%;
        order: 10;
        margin-top: 8px;
    }
    
    .fr-btn.fr-play {
        width: 44px;
        height: 44px;
        font-size: 16px;
    }
    
    .fr-vol {
        width: 80px;
    }
}

/* ============================================
   БЛОК СВЯЗЕЙ (ССЫЛКИ ИЗ РЕДАКТОРА)
   ============================================ */
.footer-custom-links {
    padding: 20px 0;
    border-top: 1px solid var(--border-secondary, rgba(255, 255, 255, 0.08));
}

.custom-links-list {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-top: 12px;
}

.custom-link-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    border-radius: 25px;
    background: var(--bg-tertiary, #2a2a2a);
    color: var(--text-main, #fff);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    border: 1px solid var(--border-secondary, rgba(255, 255, 255, 0.1));
    transition: all 0.3s ease;
}

.custom-link-item:hover {
    background: var(--color-primary, #ff6b35);
    color: #fff;
    border-color: var(--color-primary, #ff6b35);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 107, 53, 0.25);
}

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


   ============================================ */

.footer {
    margin-top: auto;
}

.footer-main {
    background: var(--bg-secondary, #1a1a1a);
    padding: 50px 0 30px;
    border-top: 1px solid var(--border-secondary, rgba(255, 255, 255, 0.08));
}

.footer-logo-img {
    max-height: 50px;
    width: auto;
}

/* Строка логотипов (основной + партнёры) */
.footer-logos-row {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.footer-logos-widget .footer-logo {
    flex-shrink: 0;
}

.partner-logo-link {
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.8;
    transition: all 0.3s ease;
}

.partner-logo-link:hover {
    opacity: 1;
    transform: scale(1.05);
}

.partner-logo-img {
    max-height: 40px;
    width: auto;
    border-radius: 8px;
}

.footer-description {
    color: var(--text-secondary, #aaa);
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 20px;
}

/* Соцсети */
.footer-social {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.social-link {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-tertiary, #2a2a2a);
    border-radius: 10px;
    color: var(--text-main, #fff);
    font-size: 18px;
    transition: all 0.3s ease;
    border: 1px solid var(--border-secondary, rgba(255, 255, 255, 0.08));
}

.social-link:hover {
    background: var(--color-primary, #ff6b35);
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(255, 107, 53, 0.3);
}

/* Заголовки виджетов */
.footer-title {
    color: var(--text-main, #fff);
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Ссылки */
.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: var(--text-secondary, #aaa);
    font-size: 14px;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
}

.footer-links a:hover {
    color: var(--color-primary, #ff6b35);
    transform: translateX(5px);
}

/* Партнёры */
.footer-partners {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px 0;
    border-top: 1px solid var(--border-secondary, rgba(255, 255, 255, 0.08));
}

.partners-label {
    color: var(--text-secondary, #888);
    font-size: 14px;
    font-weight: 600;
}

.partners-logos {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    align-items: center;
}

.partner-logo {
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.partner-logo:hover {
    opacity: 1;
}

.partner-logo img {
    max-height: 30px;
    width: auto;
    filter: grayscale(100%);
    transition: filter 0.3s ease;
}

.partner-logo:hover img {
    filter: grayscale(0%);
}

/* Нижняя часть подвала */
.footer-bottom {
    padding: 20px 0;
    background: var(--color-black, #111);
}

.footer-copyright {
    color: var(--text-secondary, #888);
    font-size: 14px;
}

.footer-bottom-links {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    flex-wrap: wrap;
}

.footer-bottom-links a {
    color: var(--text-secondary, #888);
    font-size: 13px;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-bottom-links a:hover {
    color: var(--color-primary, #ff6b35);
}

.footer-bottom-links .separator {
    color: var(--text-muted, #555);
}

/* Адаптивность */
@media (max-width: 991px) {
    .footer-main {
        padding: 40px 0 20px;
    }
    
    .footer-widget {
        margin-bottom: 30px;
    }
}

@media (max-width: 767px) {
    .footer-partners {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .footer-bottom-links {
        justify-content: center;
        margin-top: 10px;
    }
    
    .footer-copyright {
        text-align: center;
    }
}

/* ============================================
   РАДИО-ПЛАШКА НАД ПОДВАЛОМ
   ============================================ */
.footer-radio-above {
    background: var(--bg-tertiary, #1f1f1f);
    border-bottom: 1px solid var(--border-secondary, rgba(255, 255, 255, 0.08));
    padding: 16px 0;
    transition: all 0.3s ease;
}

.radio-bar-footer {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

.radio-toggle-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 24px;
    border-radius: 30px;
    background: linear-gradient(135deg, var(--color-primary, #ff6b35), var(--color-primary-dark, #e55a2a));
    color: #fff;
    border: none;
    cursor: pointer;
    font-weight: 700;
    font-size: 15px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    position: relative;
    overflow: hidden;
}

/* Свечение при наведении */
.radio-toggle-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.5s, height 0.5s;
}

.radio-toggle-btn:hover::before {
    width: 300px;
    height: 300px;
}

.radio-toggle-btn:hover {
    transform: scale(1.05) translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}

.radio-toggle-btn .toggle-arrow {
    transition: transform 0.3s ease;
    font-size: 12px;
}

.radio-toggle-btn.active .toggle-arrow {
    transform: rotate(180deg);
}

/* Пульсация когда радио активно */
.radio-toggle-btn.radio-playing {
    animation: radio-glow-pulse 2s ease-in-out infinite;
}

@keyframes radio-glow-pulse {
    0%, 100% {
        box-shadow: 0 4px 12px rgba(255, 107, 53, 0.3), 0 0 20px rgba(255, 107, 53, 0.2);
    }
    50% {
        box-shadow: 0 4px 12px rgba(255, 107, 53, 0.5), 0 0 30px rgba(255, 107, 53, 0.4);
    }
}

.radio-controls-expanded {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
    flex-wrap: wrap;
}

.fr-btn {
    padding: 10px 18px;
    border-radius: 25px;
    background: var(--bg-secondary, #2a2a2a);
    color: var(--text-main, #fff);
    border: 1px solid var(--border-secondary, rgba(255, 255, 255, 0.1));
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.25s ease;
    position: relative;
    overflow: hidden;
}

/* Волновой эффект при клике */
.fr-btn::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s, opacity 0.6s;
    opacity: 0;
}

.fr-btn:active::after {
    width: 200px;
    height: 200px;
    opacity: 1;
    transition: 0s;
}

.fr-btn:hover {
    background: var(--color-primary, #ff6b35);
    border-color: var(--color-primary, #ff6b35);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 107, 53, 0.4);
}

/* Кнопка Play — круглая с анимацией */
.fr-btn.fr-play {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    background: linear-gradient(135deg, var(--color-primary, #ff6b35), var(--color-primary-dark, #e55a2a));
    border: 2px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 12px rgba(255, 107, 53, 0.3);
}

.fr-btn.fr-play:hover {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 6px 20px rgba(255, 107, 53, 0.5);
}

/* Пульсация Play при воспроизведении */
.fr-btn.fr-play.playing {
    animation: play-pulse 1.5s ease-in-out infinite;
}

@keyframes play-pulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 4px 12px rgba(255, 107, 53, 0.3);
    }
    50% {
        transform: scale(1.08);
        box-shadow: 0 6px 20px rgba(255, 107, 53, 0.6), 0 0 30px rgba(255, 107, 53, 0.3);
    }
}

/* Трек с градиентной заливкой */
.fr-track {
    flex: 1;
    min-width: 120px;
    max-width: 250px;
    height: 8px;
    background: var(--bg-secondary, #2a2a2a);
    border-radius: 4px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    transition: all 0.25s ease;
}

.fr-track:hover {
    border-color: var(--color-primary, #ff6b35);
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.2), 0 0 12px rgba(255, 107, 53, 0.3);
}

/* Градиентная заливка с переливом */
.fr-fill {
    height: 100%;
    background: linear-gradient(90deg, 
        var(--color-primary, #ff6b35) 0%, 
        #ff8c5a 50%, 
        var(--color-primary, #ff6b35) 100%
    );
    background-size: 200% 100%;
    width: 0%;
    transition: width 0.1s linear;
    position: relative;
    box-shadow: 0 0 8px rgba(255, 107, 53, 0.6);
}

/* Анимация перелива градиента */
.fr-fill.animating {
    animation: gradient-shift 3s ease infinite;
}

@keyframes gradient-shift {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

.fr-time {
    color: var(--text-secondary, #aaa);
    font-size: 13px;
    font-family: 'Courier New', monospace;
    font-weight: 600;
    min-width: 120px;
    text-align: center;
}

.fr-vol {
    width: 100px;
    height: 6px; /* тоньше чем трек (8px) */
    accent-color: var(--color-primary, #ff6b35);
    cursor: pointer;
    transition: all 0.25s ease;
    -webkit-appearance: none;
    appearance: none;
    background: transparent;
}

/* Трек для ползунка громкости */
.fr-vol::-webkit-slider-runnable-track {
    width: 100%;
    height: 6px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 3px;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.fr-vol::-moz-range-track {
    width: 100%;
    height: 6px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 3px;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

/* Ползунок (thumb) */
.fr-vol::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--color-primary, #ff6b35);
    cursor: pointer;
    border: 2px solid #fff;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
    margin-top: -4px; /* центрирование */
}

.fr-vol::-moz-range-thumb {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--color-primary, #ff6b35);
    cursor: pointer;
    border: 2px solid #fff;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
}

.fr-vol:hover::-webkit-slider-thumb {
    transform: scale(1.2);
    box-shadow: 0 2px 8px rgba(255, 107, 53, 0.6);
}

.fr-vol:hover::-moz-range-thumb {
    transform: scale(1.2);
    box-shadow: 0 2px 8px rgba(255, 107, 53, 0.6);
}

@media (max-width: 768px) {
    .footer-radio-above {
        padding: 12px 0;
    }
    
    .radio-bar-footer {
        justify-content: center;
        gap: 10px;
    }
    
    .radio-toggle-btn {
        padding: 10px 20px;
        font-size: 14px;
    }
    
    .radio-controls-expanded {
        justify-content: center;
        width: 100%;
    }
    
    .fr-track {
        max-width: 100%;
        flex: 1 1 100%;
        order: 10;
        margin-top: 8px;
    }
    
    .fr-btn.fr-play {
        width: 44px;
        height: 44px;
        font-size: 16px;
    }
    
    .fr-vol {
        width: 80px;
    }
}

/* ============================================
   БЛОК СВЯЗЕЙ (ССЫЛКИ ИЗ РЕДАКТОРА)
   ============================================ */
.footer-custom-links {
    padding: 20px 0;
    border-top: 1px solid var(--border-secondary, rgba(255, 255, 255, 0.08));
}

.custom-links-list {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-top: 12px;
}

.custom-link-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    border-radius: 25px;
    background: var(--bg-tertiary, #2a2a2a);
    color: var(--text-main, #fff);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    border: 1px solid var(--border-secondary, rgba(255, 255, 255, 0.1));
    transition: all 0.3s ease;
}

.custom-link-item:hover {
    background: var(--color-primary, #ff6b35);
    color: #fff;
    border-color: var(--color-primary, #ff6b35);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 107, 53, 0.25);
}

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

