/* CSS cho animations và modal */
@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideOut {
    from {
        transform: translateX(0);
        opacity: 1;
    }
    to {
        transform: translateX(100%);
        opacity: 0;
    }
}

/* Share Modal Styles */
.share-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
}

.share-modal-content {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    max-width: 400px;
    width: 90%;
}

.share-modal-content h3 {
    margin-top: 0;
    color: #333;
    text-align: center;
}

.share-options {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 20px 0;
}

.share-option {
    flex: 1 1 calc(50% - 5px);
    padding: 10px;
    text-align: center;
    text-decoration: none;
    color: white;
    border-radius: 5px;
    transition: transform 0.2s;
}

.share-option:hover {
    transform: scale(1.05);
}

.share-option.facebook {
    background: #131313;
}

.share-option.x {
    background: #131313;
}

.share-option.telegram {
    background: #131313;
}

.share-option.whatsapp {
    background: #131313;
}

.share-option.copy-link {
    background: #666;
    border: none;
    cursor: pointer;
    font-size: 14px;
}

.close-modal {
    width: 100%;
    padding: 10px;
    background: #f44336;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
}

.close-modal:hover {
    background: #d32f2f;
}

/* Responsive */
@media (max-width: 480px) {
    .share-option {
        flex: 1 1 100%;
    }
}
