
    /* ===== СТИЛИ ДЛЯ КНОПОК ПОДЕЛИТЬСЯ ===== */
.post-share {
    margin: 40px 0 30px;
    padding: 25px 0;
    border-top: 2px dashed var(--dark-border);
    border-bottom: 2px dashed var(--dark-border);
    background: rgba(0, 0, 0, 0.2);
    border-radius: 20px;
}

.share-label {
    display: block;
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 20px;
    text-align: center;
    letter-spacing: 0.5px;
}

.share-label::before,
.share-label::after {
    content: '✦';
    margin: 0 10px;
    color: var(--primary-color);
    font-size: 16px;
    opacity: 0.7;
}

.share-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    align-items: center;
}

.share-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    font-size: 22px;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    background: var(--dark-card);
    color: var(--text-primary);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.share-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: currentColor;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
}

.share-btn i {
    position: relative;
    z-index: 2;
    transition: transform 0.3s ease;
}

/* Цвета для каждой соцсети */
.share-btn.vk {
    background: #4a76a8;
    color: white;
}

.share-btn.telegram {
    background: #0088cc;
    color: white;
}

.share-btn.ok {
    background: #ee8208;
    color: white;
}

.share-btn.whatsapp {
    background: #25D366;
    color: white;
}

.share-btn.viber {
    background: #7b519d;
    color: white;
}

.share-btn.copy-link {
    background: var(--primary-color);
    color: white;
}

.share-btn.native-share {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

/* Эффекты при наведении */
.share-btn:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

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

.share-btn.vk:hover {
    box-shadow: 0 5px 20px rgba(74, 118, 168, 0.5);
}

.share-btn.telegram:hover {
    box-shadow: 0 5px 20px rgba(0, 136, 204, 0.5);
}

.share-btn.ok:hover {
    box-shadow: 0 5px 20px rgba(238, 130, 8, 0.5);
}

.share-btn.whatsapp:hover {
    box-shadow: 0 5px 20px rgba(37, 211, 102, 0.5);
}

.share-btn.viber:hover {
    box-shadow: 0 5px 20px rgba(123, 81, 157, 0.5);
}

.share-btn.copy-link:hover {
    background: var(--primary-dark);
    box-shadow: 0 5px 20px rgba(59, 130, 246, 0.5);
}

.share-btn.native-share:hover {
    box-shadow: 0 5px 20px rgba(102, 126, 234, 0.5);
}

/* Эффект пульсации при клике */
.share-btn:active {
    transform: scale(0.95);
}

.share-btn:active::before {
    opacity: 0.2;
}

/* Анимация для кнопки копирования при успехе */
.share-btn.copy-link.success {
    background: var(--secondary-color);
    animation: successPulse 0.5s ease;
}

@keyframes successPulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.2); }
    100% { transform: scale(1); }
}

/* Уведомление о копировании */
.copy-toast {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    background: var(--dark-card);
    border: 1px solid var(--primary-color);
    border-radius: 50px;
    padding: 12px 24px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    z-index: 9999;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    backdrop-filter: blur(10px);
}

.copy-toast.show {
    transform: translateX(-50%) translateY(0);
}

.copy-toast i {
    color: var(--secondary-color);
    font-size: 20px;
    animation: bounceIn 0.3s ease;
}

.copy-toast span {
    color: var(--text-primary);
    font-size: 14px;
    font-weight: 500;
}

@keyframes bounceIn {
    0% { transform: scale(0); }
    50% { transform: scale(1.2); }
    100% { transform: scale(1); }
}

/* Адаптация для мобильных */
@media (max-width: 768px) {
    .post-share {
        margin: 30px 0 20px;
        padding: 20px 0;
    }
    
    .share-label {
        font-size: 16px;
        margin-bottom: 15px;
    }
    
    .share-buttons {
        gap: 10px;
    }
    
    .share-btn {
        width: 44px;
        height: 44px;
        font-size: 20px;
    }
    
    .copy-toast {
        bottom: 20px;
        padding: 10px 20px;
    }
}

@media (max-width: 480px) {
    .share-buttons {
        gap: 8px;
    }
    
    .share-btn {
        width: 40px;
        height: 40px;
        font-size: 18px;
    }
    
    .share-label::before,
    .share-label::after {
        margin: 0 5px;
    }
}

/* Стили для тёмной темы (уже используется) */
@media (prefers-color-scheme: dark) {
    .share-btn {
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
    }
}

/* Отключаем нативный шаринг если не поддерживается */
.share-btn.native-share.hidden {
    display: none;
}
/* Стили для всплывающих подсказок */
.share-tooltip {
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(-5px);
    background: var(--dark-bg);
    color: var(--text-primary);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    white-space: nowrap;
    pointer-events: none;
    opacity: 0;
    transition: all 0.2s ease;
    border: 1px solid var(--primary-color);
    margin-bottom: 8px;
    z-index: 1000;
}

.share-tooltip::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border-width: 5px;
    border-style: solid;
    border-color: var(--primary-color) transparent transparent transparent;
}

/* Анимация для кнопок при появлении */
.share-btn {
    animation: fadeInUp 0.5s ease backwards;
}

.share-btn:nth-child(1) { animation-delay: 0.1s; }
.share-btn:nth-child(2) { animation-delay: 0.2s; }
.share-btn:nth-child(3) { animation-delay: 0.3s; }
.share-btn:nth-child(4) { animation-delay: 0.4s; }
.share-btn:nth-child(5) { animation-delay: 0.5s; }
.share-btn:nth-child(6) { animation-delay: 0.6s; }
.share-btn:nth-child(7) { animation-delay: 0.7s; }

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
/* ===== СТИЛИ ДЛЯ ЧЕКБОКСА ===== */
.checkbox-group {
    margin: 20px 0 10px;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    cursor: pointer;
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.5;
    position: relative;
}

.checkbox-label input {
    position: absolute;
    opacity: 0;
    width: 20px;
    height: 20px;
    left: 0;
    top: 2px;
    margin: 0;
    cursor: pointer;
    z-index: 3;
}

.checkbox-custom {
    width: 20px;
    height: 20px;
    border: 2px solid var(--dark-border);
    border-radius: 6px;
    display: inline-block;
    position: relative;
    flex-shrink: 0;
    margin-top: 2px;
    transition: all 0.2s ease;
    background: var(--dark-bg);
    z-index: 1;
}

.checkbox-label input:checked + .checkbox-custom {
    background: var(--primary-color);
    border-color: var(--primary-color);
}

.checkbox-label input:checked + .checkbox-custom::after {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 12px;
}

.checkbox-label input:focus + .checkbox-custom {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.2);
}

.checkbox-text a {
    color: var(--primary-color);
    text-decoration: none;
}

.checkbox-text a:hover {
    text-decoration: underline;
}

        /* Стили для лайтбокса */
        .lightbox {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.95);
            z-index: 999999;
            opacity: 0;
            transition: opacity 0.3s ease;
        }
        
        .lightbox.active {
            display: flex !important;
            align-items: center;
            justify-content: center;
            opacity: 1;
        }
        
        .lightbox-content {
            position: relative;
            max-width: 90vw;
            max-height: 90vh;
            animation: zoomIn 0.3s ease;
        }
        
        .lightbox-content img {
            max-width: 100%;
            max-height: 90vh;
            object-fit: contain;
            border-radius: 8px;
            box-shadow: 0 10px 30px rgba(0,0,0,0.5);
        }
        
        .lightbox-close,
        .lightbox-prev,
        .lightbox-next {
            position: absolute;
            width: 50px;
            height: 50px;
            background: rgba(255,255,255,0.2);
            border: none;
            border-radius: 50%;
            color: white;
            font-size: 24px;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: all 0.3s;
            z-index: 1000000;
            backdrop-filter: blur(5px);
        }
        
        .lightbox-close:hover,
        .lightbox-prev:hover,
        .lightbox-next:hover {
            background: rgba(255,255,255,0.4);
            transform: scale(1.1);
        }
        
        .lightbox-close {
            top: 20px;
            right: 20px;
        }
        
        .lightbox-prev {
            left: 20px;
            top: 50%;
            transform: translateY(-50%);
        }
        
        .lightbox-next {
            right: 20px;
            top: 50%;
            transform: translateY(-50%);
        }
        
        .lightbox-caption {
            position: absolute;
            bottom: -40px;
            left: 0;
            right: 0;
            text-align: center;
            color: white;
            font-size: 14px;
            padding: 10px;
            background: rgba(0,0,0,0.5);
            border-radius: 8px;
        }
        
        @keyframes zoomIn {
            from {
                transform: scale(0.9);
                opacity: 0;
            }
            to {
                transform: scale(1);
                opacity: 1;
            }
        }
        
        /* Стили для галереи */
        .media-gallery-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
            gap: 15px;
            margin: 20px 0;
        }
        
        .media-gallery-item {
            position: relative;
            aspect-ratio: 1;
            overflow: hidden;
            border-radius: 8px;
            cursor: pointer;
        }
        
        .media-gallery-item img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.3s;
        }
        
        .media-gallery-item:hover img {
            transform: scale(1.05);
        }
        
        .media-gallery-item:hover .gallery-overlay {
            opacity: 1;
        }
        
        .gallery-overlay {
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: rgba(0,0,0,0.5);
            display: flex;
            align-items: center;
            justify-content: center;
            opacity: 0;
            transition: opacity 0.3s;
            color: white;
            font-size: 24px;
        }
 