/* Социальные кнопки шаринга */
.social-share {
    margin: 30px 0;
    padding: 25px;
    background: linear-gradient(135deg, rgba(139, 69, 19, 0.1) 0%, rgba(101, 67, 33, 0.05) 100%);
    border-radius: 12px;
    border: 1px solid rgba(139, 69, 19, 0.2);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.social-share__title {
    font-size: 1.2rem;
    font-weight: 600;
    color: #8B4513;
    margin: 0 0 20px 0;
    text-align: center;
    font-family: 'Sylfaen', 'Arial Unicode MS', sans-serif;
}

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

.social-share__button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    color: #fff;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    position: relative;
    overflow: hidden;
}

.social-share__button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.social-share__button:hover::before {
    left: 100%;
}

.social-share__button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

.social-share__button:active {
    transform: translateY(0);
}

.social-share__icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

/* Facebook */
.social-share__button--facebook {
    background: linear-gradient(135deg, #1877f2 0%, #0d5dbf 100%);
}

.social-share__button--facebook:hover {
    background: linear-gradient(135deg, #0d5dbf 0%, #1877f2 100%);
}

/* Twitter */
.social-share__button--twitter {
    background: linear-gradient(135deg, #1da1f2 0%, #0c85d0 100%);
}

.social-share__button--twitter:hover {
    background: linear-gradient(135deg, #0c85d0 0%, #1da1f2 100%);
}

/* Telegram */
.social-share__button--telegram {
    background: linear-gradient(135deg, #0088cc 0%, #006699 100%);
}

.social-share__button--telegram:hover {
    background: linear-gradient(135deg, #006699 0%, #0088cc 100%);
}

/* WhatsApp */
.social-share__button--whatsapp {
    background: linear-gradient(135deg, #25d366 0%, #1da851 100%);
}

.social-share__button--whatsapp:hover {
    background: linear-gradient(135deg, #1da851 0%, #25d366 100%);
}

/* VK */
.social-share__button--vk {
    background: linear-gradient(135deg, #4680c2 0%, #3a6ba5 100%);
}

.social-share__button--vk:hover {
    background: linear-gradient(135deg, #3a6ba5 0%, #4680c2 100%);
}

/* Адаптивность */
@media (max-width: 768px) {
    .social-share {
        padding: 20px 15px;
        margin: 20px 0;
    }

    .social-share__title {
        font-size: 1.1rem;
        margin-bottom: 15px;
    }

    .social-share__buttons {
        gap: 10px;
    }

    .social-share__button {
        padding: 8px 14px;
        font-size: 0.9rem;
    }

    .social-share__icon {
        width: 18px;
        height: 18px;
    }
}

@media (max-width: 480px) {
    .social-share__buttons {
        flex-direction: column;
        width: 100%;
    }

    .social-share__button {
        width: 100%;
        justify-content: center;
        padding: 12px 16px;
    }
}

/* Темная тема */
@media (prefers-color-scheme: dark) {
    .social-share {
        background: linear-gradient(135deg, rgba(139, 69, 19, 0.15) 0%, rgba(101, 67, 33, 0.1) 100%);
        border-color: rgba(139, 69, 19, 0.3);
    }

    .social-share__title {
        color: #d4a574;
    }
}

/* Анимация появления */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.social-share {
    animation: fadeInUp 0.6s ease-out;
}

/* Эффект пульсации для привлечения внимания */
@keyframes pulse {
    0%, 100% {
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    }
    50% {
        box-shadow: 0 4px 16px rgba(139, 69, 19, 0.3);
    }
}

.social-share:hover {
    animation: pulse 2s ease-in-out infinite;
}
